// Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetFriendShowAvatarInfoRsp.proto package emu.grasscutter.net.proto; public final class GetFriendShowAvatarInfoRspOuterClass { private GetFriendShowAvatarInfoRspOuterClass() {} 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 GetFriendShowAvatarInfoRspOrBuilder extends // @@protoc_insertion_point(interface_extends:GetFriendShowAvatarInfoRsp) com.google.protobuf.MessageOrBuilder { /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ java.util.List getShowAvatarInfoListList(); /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo getShowAvatarInfoList(int index); /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ int getShowAvatarInfoListCount(); /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ java.util.List getShowAvatarInfoListOrBuilderList(); /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfoOrBuilder getShowAvatarInfoListOrBuilder( int index); /** * int32 retcode = 12; * @return The retcode. */ int getRetcode(); /** * uint32 uid = 13; * @return The uid. */ int getUid(); } /** * Protobuf type {@code GetFriendShowAvatarInfoRsp} */ public static final class GetFriendShowAvatarInfoRsp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:GetFriendShowAvatarInfoRsp) GetFriendShowAvatarInfoRspOrBuilder { private static final long serialVersionUID = 0L; // Use GetFriendShowAvatarInfoRsp.newBuilder() to construct. private GetFriendShowAvatarInfoRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetFriendShowAvatarInfoRsp() { showAvatarInfoList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFriendShowAvatarInfoRsp(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetFriendShowAvatarInfoRsp( 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; case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { showAvatarInfoList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } showAvatarInfoList_.add( input.readMessage(emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.parser(), extensionRegistry)); break; } case 96: { retcode_ = input.readInt32(); break; } case 104: { uid_ = input.readUInt32(); break; } default: { if (!parseUnknownField( 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { showAvatarInfoList_ = java.util.Collections.unmodifiableList(showAvatarInfoList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.internal_static_GetFriendShowAvatarInfoRsp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.internal_static_GetFriendShowAvatarInfoRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp.class, emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp.Builder.class); } /** * Protobuf enum {@code GetFriendShowAvatarInfoRsp.DBNKIEDKCKB} */ public enum DBNKIEDKCKB implements com.google.protobuf.ProtocolMessageEnum { /** * NONE = 0; */ NONE(0, 0), /** * PEPPOHPHJOJ = 4027; */ PEPPOHPHJOJ(1, 4027), /** * NNBKOLMPOEA = 1; */ NNBKOLMPOEA(3, 1), UNRECOGNIZED(-1, -1), ; /** * DCDNILFDFLB = 0; */ public static final DBNKIEDKCKB DCDNILFDFLB = NONE; /** * NONE = 0; */ public static final int NONE_VALUE = 0; /** * PEPPOHPHJOJ = 4027; */ public static final int PEPPOHPHJOJ_VALUE = 4027; /** * DCDNILFDFLB = 0; */ public static final int DCDNILFDFLB_VALUE = 0; /** * NNBKOLMPOEA = 1; */ public static final int NNBKOLMPOEA_VALUE = 1; public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DBNKIEDKCKB valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static DBNKIEDKCKB forNumber(int value) { switch (value) { case 0: return NONE; case 4027: return PEPPOHPHJOJ; case 1: return NNBKOLMPOEA; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< DBNKIEDKCKB> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DBNKIEDKCKB findValueByNumber(int number) { return DBNKIEDKCKB.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (index == -1) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp.getDescriptor().getEnumTypes().get(0); } private static final DBNKIEDKCKB[] VALUES = getStaticValuesArray(); private static DBNKIEDKCKB[] getStaticValuesArray() { return new DBNKIEDKCKB[] { NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, }; } public static DBNKIEDKCKB valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int index; private final int value; private DBNKIEDKCKB(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:GetFriendShowAvatarInfoRsp.DBNKIEDKCKB) } public static final int SHOWAVATARINFOLIST_FIELD_NUMBER = 3; private java.util.List showAvatarInfoList_; /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ @java.lang.Override public java.util.List getShowAvatarInfoListList() { return showAvatarInfoList_; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ @java.lang.Override public java.util.List getShowAvatarInfoListOrBuilderList() { return showAvatarInfoList_; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ @java.lang.Override public int getShowAvatarInfoListCount() { return showAvatarInfoList_.size(); } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ @java.lang.Override public emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo getShowAvatarInfoList(int index) { return showAvatarInfoList_.get(index); } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ @java.lang.Override public emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfoOrBuilder getShowAvatarInfoListOrBuilder( int index) { return showAvatarInfoList_.get(index); } public static final int RETCODE_FIELD_NUMBER = 12; private int retcode_; /** * int32 retcode = 12; * @return The retcode. */ @java.lang.Override public int getRetcode() { return retcode_; } public static final int UID_FIELD_NUMBER = 13; private int uid_; /** * uint32 uid = 13; * @return The uid. */ @java.lang.Override public int getUid() { return uid_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < showAvatarInfoList_.size(); i++) { output.writeMessage(3, showAvatarInfoList_.get(i)); } if (retcode_ != 0) { output.writeInt32(12, retcode_); } if (uid_ != 0) { output.writeUInt32(13, uid_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < showAvatarInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, showAvatarInfoList_.get(i)); } if (retcode_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, retcode_); } if (uid_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, uid_); } 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 emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp)) { return super.equals(obj); } emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp other = (emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp) obj; if (!getShowAvatarInfoListList() .equals(other.getShowAvatarInfoListList())) return false; if (getRetcode() != other.getRetcode()) return false; if (getUid() != other.getUid()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getShowAvatarInfoListCount() > 0) { hash = (37 * hash) + SHOWAVATARINFOLIST_FIELD_NUMBER; hash = (53 * hash) + getShowAvatarInfoListList().hashCode(); } hash = (37 * hash) + RETCODE_FIELD_NUMBER; hash = (53 * hash) + getRetcode(); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp 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 emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp 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 emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override 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 GetFriendShowAvatarInfoRsp} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:GetFriendShowAvatarInfoRsp) emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRspOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.internal_static_GetFriendShowAvatarInfoRsp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.internal_static_GetFriendShowAvatarInfoRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp.class, emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp.Builder.class); } // Construct using emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getShowAvatarInfoListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (showAvatarInfoListBuilder_ == null) { showAvatarInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { showAvatarInfoListBuilder_.clear(); } retcode_ = 0; uid_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.internal_static_GetFriendShowAvatarInfoRsp_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp getDefaultInstanceForType() { return emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp build() { emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp buildPartial() { emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp result = new emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp(this); int from_bitField0_ = bitField0_; if (showAvatarInfoListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { showAvatarInfoList_ = java.util.Collections.unmodifiableList(showAvatarInfoList_); bitField0_ = (bitField0_ & ~0x00000001); } result.showAvatarInfoList_ = showAvatarInfoList_; } else { result.showAvatarInfoList_ = showAvatarInfoListBuilder_.build(); } result.retcode_ = retcode_; result.uid_ = uid_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp) { return mergeFrom((emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp other) { if (other == emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp.getDefaultInstance()) return this; if (showAvatarInfoListBuilder_ == null) { if (!other.showAvatarInfoList_.isEmpty()) { if (showAvatarInfoList_.isEmpty()) { showAvatarInfoList_ = other.showAvatarInfoList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureShowAvatarInfoListIsMutable(); showAvatarInfoList_.addAll(other.showAvatarInfoList_); } onChanged(); } } else { if (!other.showAvatarInfoList_.isEmpty()) { if (showAvatarInfoListBuilder_.isEmpty()) { showAvatarInfoListBuilder_.dispose(); showAvatarInfoListBuilder_ = null; showAvatarInfoList_ = other.showAvatarInfoList_; bitField0_ = (bitField0_ & ~0x00000001); showAvatarInfoListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getShowAvatarInfoListFieldBuilder() : null; } else { showAvatarInfoListBuilder_.addAllMessages(other.showAvatarInfoList_); } } } if (other.getRetcode() != 0) { setRetcode(other.getRetcode()); } if (other.getUid() != 0) { setUid(other.getUid()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List showAvatarInfoList_ = java.util.Collections.emptyList(); private void ensureShowAvatarInfoListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { showAvatarInfoList_ = new java.util.ArrayList(showAvatarInfoList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfoOrBuilder> showAvatarInfoListBuilder_; /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public java.util.List getShowAvatarInfoListList() { if (showAvatarInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(showAvatarInfoList_); } else { return showAvatarInfoListBuilder_.getMessageList(); } } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public int getShowAvatarInfoListCount() { if (showAvatarInfoListBuilder_ == null) { return showAvatarInfoList_.size(); } else { return showAvatarInfoListBuilder_.getCount(); } } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo getShowAvatarInfoList(int index) { if (showAvatarInfoListBuilder_ == null) { return showAvatarInfoList_.get(index); } else { return showAvatarInfoListBuilder_.getMessage(index); } } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder setShowAvatarInfoList( int index, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo value) { if (showAvatarInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShowAvatarInfoListIsMutable(); showAvatarInfoList_.set(index, value); onChanged(); } else { showAvatarInfoListBuilder_.setMessage(index, value); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder setShowAvatarInfoList( int index, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder builderForValue) { if (showAvatarInfoListBuilder_ == null) { ensureShowAvatarInfoListIsMutable(); showAvatarInfoList_.set(index, builderForValue.build()); onChanged(); } else { showAvatarInfoListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder addShowAvatarInfoList(emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo value) { if (showAvatarInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShowAvatarInfoListIsMutable(); showAvatarInfoList_.add(value); onChanged(); } else { showAvatarInfoListBuilder_.addMessage(value); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder addShowAvatarInfoList( int index, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo value) { if (showAvatarInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShowAvatarInfoListIsMutable(); showAvatarInfoList_.add(index, value); onChanged(); } else { showAvatarInfoListBuilder_.addMessage(index, value); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder addShowAvatarInfoList( emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder builderForValue) { if (showAvatarInfoListBuilder_ == null) { ensureShowAvatarInfoListIsMutable(); showAvatarInfoList_.add(builderForValue.build()); onChanged(); } else { showAvatarInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder addShowAvatarInfoList( int index, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder builderForValue) { if (showAvatarInfoListBuilder_ == null) { ensureShowAvatarInfoListIsMutable(); showAvatarInfoList_.add(index, builderForValue.build()); onChanged(); } else { showAvatarInfoListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder addAllShowAvatarInfoList( java.lang.Iterable values) { if (showAvatarInfoListBuilder_ == null) { ensureShowAvatarInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, showAvatarInfoList_); onChanged(); } else { showAvatarInfoListBuilder_.addAllMessages(values); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder clearShowAvatarInfoList() { if (showAvatarInfoListBuilder_ == null) { showAvatarInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { showAvatarInfoListBuilder_.clear(); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public Builder removeShowAvatarInfoList(int index) { if (showAvatarInfoListBuilder_ == null) { ensureShowAvatarInfoListIsMutable(); showAvatarInfoList_.remove(index); onChanged(); } else { showAvatarInfoListBuilder_.remove(index); } return this; } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder getShowAvatarInfoListBuilder( int index) { return getShowAvatarInfoListFieldBuilder().getBuilder(index); } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfoOrBuilder getShowAvatarInfoListOrBuilder( int index) { if (showAvatarInfoListBuilder_ == null) { return showAvatarInfoList_.get(index); } else { return showAvatarInfoListBuilder_.getMessageOrBuilder(index); } } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public java.util.List getShowAvatarInfoListOrBuilderList() { if (showAvatarInfoListBuilder_ != null) { return showAvatarInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(showAvatarInfoList_); } } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder addShowAvatarInfoListBuilder() { return getShowAvatarInfoListFieldBuilder().addBuilder( emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.getDefaultInstance()); } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder addShowAvatarInfoListBuilder( int index) { return getShowAvatarInfoListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.getDefaultInstance()); } /** * repeated .ShowAvatarInfo showAvatarInfoList = 3; */ public java.util.List getShowAvatarInfoListBuilderList() { return getShowAvatarInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfoOrBuilder> getShowAvatarInfoListFieldBuilder() { if (showAvatarInfoListBuilder_ == null) { showAvatarInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfo.Builder, emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.ShowAvatarInfoOrBuilder>( showAvatarInfoList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); showAvatarInfoList_ = null; } return showAvatarInfoListBuilder_; } private int retcode_ ; /** * int32 retcode = 12; * @return The retcode. */ @java.lang.Override public int getRetcode() { return retcode_; } /** * int32 retcode = 12; * @param value The retcode to set. * @return This builder for chaining. */ public Builder setRetcode(int value) { retcode_ = value; onChanged(); return this; } /** * int32 retcode = 12; * @return This builder for chaining. */ public Builder clearRetcode() { retcode_ = 0; onChanged(); return this; } private int uid_ ; /** * uint32 uid = 13; * @return The uid. */ @java.lang.Override public int getUid() { return uid_; } /** * uint32 uid = 13; * @param value The uid to set. * @return This builder for chaining. */ public Builder setUid(int value) { uid_ = value; onChanged(); return this; } /** * uint32 uid = 13; * @return This builder for chaining. */ public Builder clearUid() { uid_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:GetFriendShowAvatarInfoRsp) } // @@protoc_insertion_point(class_scope:GetFriendShowAvatarInfoRsp) private static final emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp(); } public static emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetFriendShowAvatarInfoRsp parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetFriendShowAvatarInfoRsp(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public emu.grasscutter.net.proto.GetFriendShowAvatarInfoRspOuterClass.GetFriendShowAvatarInfoRsp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_GetFriendShowAvatarInfoRsp_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_GetFriendShowAvatarInfoRsp_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n GetFriendShowAvatarInfoRsp.proto\032\024Show" + "AvatarInfo.proto\"\270\001\n\032GetFriendShowAvatar" + "InfoRsp\022+\n\022showAvatarInfoList\030\003 \003(\0132\017.Sh" + "owAvatarInfo\022\017\n\007retcode\030\014 \001(\005\022\013\n\003uid\030\r \001" + "(\r\"O\n\013DBNKIEDKCKB\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJ" + "OJ\020\273\037\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032" + "\002\020\001B\033\n\031emu.grasscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.getDescriptor(), }); internal_static_GetFriendShowAvatarInfoRsp_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_GetFriendShowAvatarInfoRsp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetFriendShowAvatarInfoRsp_descriptor, new java.lang.String[] { "ShowAvatarInfoList", "Retcode", "Uid", }); emu.grasscutter.net.proto.ShowAvatarInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }