// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: plugin/hai_friend_relations.proto
package com.akaxin.proto.plugin;
public final class HaiFriendRelationsProto {
private HaiFriendRelationsProto() {}
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 HaiFriendRelationsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:plugin.HaiFriendRelationsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string site_user_id = 1;
*/
java.lang.String getSiteUserId();
/**
* string site_user_id = 1;
*/
com.google.protobuf.ByteString
getSiteUserIdBytes();
/**
*
*需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
java.util.List*需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
int getTargetSiteUserIdCount();
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
java.lang.String getTargetSiteUserId(int index);
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
com.google.protobuf.ByteString
getTargetSiteUserIdBytes(int index);
}
/**
* ** *获取某用户与其他用户的好友关系 *---- *接口名 *---- * /hai/friend/relations *错误码 *---- * success * error.alert ** * Protobuf type {@code plugin.HaiFriendRelationsRequest} */ public static final class HaiFriendRelationsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:plugin.HaiFriendRelationsRequest) HaiFriendRelationsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use HaiFriendRelationsRequest.newBuilder() to construct. private HaiFriendRelationsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private HaiFriendRelationsRequest() { siteUserId_ = ""; targetSiteUserId_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HaiFriendRelationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); 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: { java.lang.String s = input.readStringRequireUtf8(); siteUserId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { targetSiteUserId_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } targetSiteUserId_.add(s); 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 { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { targetSiteUserId_ = targetSiteUserId_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.plugin.HaiFriendRelationsProto.internal_static_plugin_HaiFriendRelationsRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.plugin.HaiFriendRelationsProto.internal_static_plugin_HaiFriendRelationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest.class, com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest.Builder.class); } private int bitField0_; public static final int SITE_USER_ID_FIELD_NUMBER = 1; private volatile java.lang.Object siteUserId_; /** *
string site_user_id = 1;
*/
public java.lang.String getSiteUserId() {
java.lang.Object ref = siteUserId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
siteUserId_ = s;
return s;
}
}
/**
* string site_user_id = 1;
*/
public com.google.protobuf.ByteString
getSiteUserIdBytes() {
java.lang.Object ref = siteUserId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
siteUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TARGET_SITE_USER_ID_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList targetSiteUserId_;
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public com.google.protobuf.ProtocolStringList
getTargetSiteUserIdList() {
return targetSiteUserId_;
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public int getTargetSiteUserIdCount() {
return targetSiteUserId_.size();
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public java.lang.String getTargetSiteUserId(int index) {
return targetSiteUserId_.get(index);
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public com.google.protobuf.ByteString
getTargetSiteUserIdBytes(int index) {
return targetSiteUserId_.getByteString(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 {
if (!getSiteUserIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, siteUserId_);
}
for (int i = 0; i < targetSiteUserId_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetSiteUserId_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSiteUserIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, siteUserId_);
}
{
int dataSize = 0;
for (int i = 0; i < targetSiteUserId_.size(); i++) {
dataSize += computeStringSizeNoTag(targetSiteUserId_.getRaw(i));
}
size += dataSize;
size += 1 * getTargetSiteUserIdList().size();
}
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.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest)) {
return super.equals(obj);
}
com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest other = (com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest) obj;
boolean result = true;
result = result && getSiteUserId()
.equals(other.getSiteUserId());
result = result && getTargetSiteUserIdList()
.equals(other.getTargetSiteUserIdList());
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 = (37 * hash) + SITE_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getSiteUserId().hashCode();
if (getTargetSiteUserIdCount() > 0) {
hash = (37 * hash) + TARGET_SITE_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getTargetSiteUserIdList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest 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;
}
/**
* ** *获取某用户与其他用户的好友关系 *---- *接口名 *---- * /hai/friend/relations *错误码 *---- * success * error.alert ** * Protobuf type {@code plugin.HaiFriendRelationsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
string site_user_id = 1;
*/
public java.lang.String getSiteUserId() {
java.lang.Object ref = siteUserId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
siteUserId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string site_user_id = 1;
*/
public com.google.protobuf.ByteString
getSiteUserIdBytes() {
java.lang.Object ref = siteUserId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
siteUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string site_user_id = 1;
*/
public Builder setSiteUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
siteUserId_ = value;
onChanged();
return this;
}
/**
* string site_user_id = 1;
*/
public Builder clearSiteUserId() {
siteUserId_ = getDefaultInstance().getSiteUserId();
onChanged();
return this;
}
/**
* string site_user_id = 1;
*/
public Builder setSiteUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
siteUserId_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList targetSiteUserId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTargetSiteUserIdIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
targetSiteUserId_ = new com.google.protobuf.LazyStringArrayList(targetSiteUserId_);
bitField0_ |= 0x00000002;
}
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public com.google.protobuf.ProtocolStringList
getTargetSiteUserIdList() {
return targetSiteUserId_.getUnmodifiableView();
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public int getTargetSiteUserIdCount() {
return targetSiteUserId_.size();
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public java.lang.String getTargetSiteUserId(int index) {
return targetSiteUserId_.get(index);
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public com.google.protobuf.ByteString
getTargetSiteUserIdBytes(int index) {
return targetSiteUserId_.getByteString(index);
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public Builder setTargetSiteUserId(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTargetSiteUserIdIsMutable();
targetSiteUserId_.set(index, value);
onChanged();
return this;
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public Builder addTargetSiteUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTargetSiteUserIdIsMutable();
targetSiteUserId_.add(value);
onChanged();
return this;
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public Builder addAllTargetSiteUserId(
java.lang.Iterable*需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public Builder clearTargetSiteUserId() {
targetSiteUserId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* *需要查询关系的用户ID ** *
repeated string target_site_user_id = 2;
*/
public Builder addTargetSiteUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTargetSiteUserIdIsMutable();
targetSiteUserId_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:plugin.HaiFriendRelationsRequest)
}
// @@protoc_insertion_point(class_scope:plugin.HaiFriendRelationsRequest)
private static final com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest();
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser*查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
java.util.List*查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
com.akaxin.proto.core.UserProto.UserRelationProfile getUserProfile(int index);
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
int getUserProfileCount();
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
java.util.List extends com.akaxin.proto.core.UserProto.UserRelationProfileOrBuilder>
getUserProfileOrBuilderList();
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
com.akaxin.proto.core.UserProto.UserRelationProfileOrBuilder getUserProfileOrBuilder(
int index);
}
/**
* Protobuf type {@code plugin.HaiFriendRelationsResponse}
*/
public static final class HaiFriendRelationsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:plugin.HaiFriendRelationsResponse)
HaiFriendRelationsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use HaiFriendRelationsResponse.newBuilder() to construct.
private HaiFriendRelationsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HaiFriendRelationsResponse() {
userProfile_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HaiFriendRelationsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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)) {
userProfile_ = new java.util.ArrayList*查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public java.util.List*查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public java.util.List extends com.akaxin.proto.core.UserProto.UserRelationProfileOrBuilder>
getUserProfileOrBuilderList() {
return userProfile_;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public int getUserProfileCount() {
return userProfile_.size();
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public com.akaxin.proto.core.UserProto.UserRelationProfile getUserProfile(int index) {
return userProfile_.get(index);
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public com.akaxin.proto.core.UserProto.UserRelationProfileOrBuilder getUserProfileOrBuilder(
int index) {
return userProfile_.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 < userProfile_.size(); i++) {
output.writeMessage(1, userProfile_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < userProfile_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, userProfile_.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.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse)) {
return super.equals(obj);
}
com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse other = (com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse) obj;
boolean result = true;
result = result && getUserProfileList()
.equals(other.getUserProfileList());
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 (getUserProfileCount() > 0) {
hash = (37 * hash) + USER_PROFILE_FIELD_NUMBER;
hash = (53 * hash) + getUserProfileList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse 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.plugin.HaiFriendRelationsProto.HaiFriendRelationsResponse 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 plugin.HaiFriendRelationsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public java.util.List*查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public int getUserProfileCount() {
if (userProfileBuilder_ == null) {
return userProfile_.size();
} else {
return userProfileBuilder_.getCount();
}
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public com.akaxin.proto.core.UserProto.UserRelationProfile getUserProfile(int index) {
if (userProfileBuilder_ == null) {
return userProfile_.get(index);
} else {
return userProfileBuilder_.getMessage(index);
}
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder setUserProfile(
int index, com.akaxin.proto.core.UserProto.UserRelationProfile value) {
if (userProfileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserProfileIsMutable();
userProfile_.set(index, value);
onChanged();
} else {
userProfileBuilder_.setMessage(index, value);
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder setUserProfile(
int index, com.akaxin.proto.core.UserProto.UserRelationProfile.Builder builderForValue) {
if (userProfileBuilder_ == null) {
ensureUserProfileIsMutable();
userProfile_.set(index, builderForValue.build());
onChanged();
} else {
userProfileBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder addUserProfile(com.akaxin.proto.core.UserProto.UserRelationProfile value) {
if (userProfileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserProfileIsMutable();
userProfile_.add(value);
onChanged();
} else {
userProfileBuilder_.addMessage(value);
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder addUserProfile(
int index, com.akaxin.proto.core.UserProto.UserRelationProfile value) {
if (userProfileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserProfileIsMutable();
userProfile_.add(index, value);
onChanged();
} else {
userProfileBuilder_.addMessage(index, value);
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder addUserProfile(
com.akaxin.proto.core.UserProto.UserRelationProfile.Builder builderForValue) {
if (userProfileBuilder_ == null) {
ensureUserProfileIsMutable();
userProfile_.add(builderForValue.build());
onChanged();
} else {
userProfileBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder addUserProfile(
int index, com.akaxin.proto.core.UserProto.UserRelationProfile.Builder builderForValue) {
if (userProfileBuilder_ == null) {
ensureUserProfileIsMutable();
userProfile_.add(index, builderForValue.build());
onChanged();
} else {
userProfileBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder addAllUserProfile(
java.lang.Iterable extends com.akaxin.proto.core.UserProto.UserRelationProfile> values) {
if (userProfileBuilder_ == null) {
ensureUserProfileIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, userProfile_);
onChanged();
} else {
userProfileBuilder_.addAllMessages(values);
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder clearUserProfile() {
if (userProfileBuilder_ == null) {
userProfile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
userProfileBuilder_.clear();
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public Builder removeUserProfile(int index) {
if (userProfileBuilder_ == null) {
ensureUserProfileIsMutable();
userProfile_.remove(index);
onChanged();
} else {
userProfileBuilder_.remove(index);
}
return this;
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public com.akaxin.proto.core.UserProto.UserRelationProfile.Builder getUserProfileBuilder(
int index) {
return getUserProfileFieldBuilder().getBuilder(index);
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public com.akaxin.proto.core.UserProto.UserRelationProfileOrBuilder getUserProfileOrBuilder(
int index) {
if (userProfileBuilder_ == null) {
return userProfile_.get(index); } else {
return userProfileBuilder_.getMessageOrBuilder(index);
}
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public java.util.List extends com.akaxin.proto.core.UserProto.UserRelationProfileOrBuilder>
getUserProfileOrBuilderList() {
if (userProfileBuilder_ != null) {
return userProfileBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(userProfile_);
}
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public com.akaxin.proto.core.UserProto.UserRelationProfile.Builder addUserProfileBuilder() {
return getUserProfileFieldBuilder().addBuilder(
com.akaxin.proto.core.UserProto.UserRelationProfile.getDefaultInstance());
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public com.akaxin.proto.core.UserProto.UserRelationProfile.Builder addUserProfileBuilder(
int index) {
return getUserProfileFieldBuilder().addBuilder(
index, com.akaxin.proto.core.UserProto.UserRelationProfile.getDefaultInstance());
}
/**
* *查询的结果 ** *
repeated .core.UserRelationProfile user_profile = 1;
*/
public java.util.List