// Generated by the protocol buffer compiler. DO NOT EDIT! // source: site/api_friend_applyList.proto package com.akaxin.proto.site; public final class ApiFriendApplyListProto { private ApiFriendApplyListProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } public interface ApiFriendApplyListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:site.ApiFriendApplyListRequest) com.google.protobuf.MessageOrBuilder { } /** *
* string site_user_id = 1; //用户自身ID ** * Protobuf type {@code site.ApiFriendApplyListRequest} */ public static final class ApiFriendApplyListRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:site.ApiFriendApplyListRequest) ApiFriendApplyListRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ApiFriendApplyListRequest.newBuilder() to construct. private ApiFriendApplyListRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private ApiFriendApplyListRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ApiFriendApplyListRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.site.ApiFriendApplyListProto.internal_static_site_ApiFriendApplyListRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.site.ApiFriendApplyListProto.internal_static_site_ApiFriendApplyListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest.class, com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest.Builder.class); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest)) { return super.equals(obj); } com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest other = (com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
* string site_user_id = 1; //用户自身ID ** * Protobuf type {@code site.ApiFriendApplyListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
*好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
java.util.List*好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
com.akaxin.proto.core.UserProto.ApplyUserProfile getList(int index);
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
int getListCount();
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
java.util.List extends com.akaxin.proto.core.UserProto.ApplyUserProfileOrBuilder>
getListOrBuilderList();
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
com.akaxin.proto.core.UserProto.ApplyUserProfileOrBuilder getListOrBuilder(
int index);
}
/**
* Protobuf type {@code site.ApiFriendApplyListResponse}
*/
public static final class ApiFriendApplyListResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:site.ApiFriendApplyListResponse)
ApiFriendApplyListResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ApiFriendApplyListResponse.newBuilder() to construct.
private ApiFriendApplyListResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApiFriendApplyListResponse() {
list_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ApiFriendApplyListResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
list_ = new java.util.ArrayList*好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public java.util.List*好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public java.util.List extends com.akaxin.proto.core.UserProto.ApplyUserProfileOrBuilder>
getListOrBuilderList() {
return list_;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public int getListCount() {
return list_.size();
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public com.akaxin.proto.core.UserProto.ApplyUserProfile getList(int index) {
return list_.get(index);
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public com.akaxin.proto.core.UserProto.ApplyUserProfileOrBuilder getListOrBuilder(
int index) {
return list_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < list_.size(); i++) {
output.writeMessage(1, list_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < list_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, list_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse)) {
return super.equals(obj);
}
com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse other = (com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse) obj;
boolean result = true;
result = result && getListList()
.equals(other.getListList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getListCount() > 0) {
hash = (37 * hash) + LIST_FIELD_NUMBER;
hash = (53 * hash) + getListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.akaxin.proto.site.ApiFriendApplyListProto.ApiFriendApplyListResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code site.ApiFriendApplyListResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public java.util.List*好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public int getListCount() {
if (listBuilder_ == null) {
return list_.size();
} else {
return listBuilder_.getCount();
}
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public com.akaxin.proto.core.UserProto.ApplyUserProfile getList(int index) {
if (listBuilder_ == null) {
return list_.get(index);
} else {
return listBuilder_.getMessage(index);
}
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder setList(
int index, com.akaxin.proto.core.UserProto.ApplyUserProfile value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.set(index, value);
onChanged();
} else {
listBuilder_.setMessage(index, value);
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder setList(
int index, com.akaxin.proto.core.UserProto.ApplyUserProfile.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.set(index, builderForValue.build());
onChanged();
} else {
listBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder addList(com.akaxin.proto.core.UserProto.ApplyUserProfile value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.add(value);
onChanged();
} else {
listBuilder_.addMessage(value);
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder addList(
int index, com.akaxin.proto.core.UserProto.ApplyUserProfile value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.add(index, value);
onChanged();
} else {
listBuilder_.addMessage(index, value);
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder addList(
com.akaxin.proto.core.UserProto.ApplyUserProfile.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.add(builderForValue.build());
onChanged();
} else {
listBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder addList(
int index, com.akaxin.proto.core.UserProto.ApplyUserProfile.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.add(index, builderForValue.build());
onChanged();
} else {
listBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder addAllList(
java.lang.Iterable extends com.akaxin.proto.core.UserProto.ApplyUserProfile> values) {
if (listBuilder_ == null) {
ensureListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, list_);
onChanged();
} else {
listBuilder_.addAllMessages(values);
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder clearList() {
if (listBuilder_ == null) {
list_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
listBuilder_.clear();
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public Builder removeList(int index) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.remove(index);
onChanged();
} else {
listBuilder_.remove(index);
}
return this;
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public com.akaxin.proto.core.UserProto.ApplyUserProfile.Builder getListBuilder(
int index) {
return getListFieldBuilder().getBuilder(index);
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public com.akaxin.proto.core.UserProto.ApplyUserProfileOrBuilder getListOrBuilder(
int index) {
if (listBuilder_ == null) {
return list_.get(index); } else {
return listBuilder_.getMessageOrBuilder(index);
}
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public java.util.List extends com.akaxin.proto.core.UserProto.ApplyUserProfileOrBuilder>
getListOrBuilderList() {
if (listBuilder_ != null) {
return listBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(list_);
}
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public com.akaxin.proto.core.UserProto.ApplyUserProfile.Builder addListBuilder() {
return getListFieldBuilder().addBuilder(
com.akaxin.proto.core.UserProto.ApplyUserProfile.getDefaultInstance());
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public com.akaxin.proto.core.UserProto.ApplyUserProfile.Builder addListBuilder(
int index) {
return getListFieldBuilder().addBuilder(
index, com.akaxin.proto.core.UserProto.ApplyUserProfile.getDefaultInstance());
}
/**
* *好友申请列表 ** *
repeated .core.ApplyUserProfile list = 1;
*/
public java.util.List