Package emu.grasscutter.net.proto
Class DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
emu.grasscutter.net.proto.DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder,Cloneable
- Enclosing class:
- DestroyMaterialRspOuterClass.DestroyMaterialRsp
public static final class DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
implements DestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder
Name: JFDLBMJGCDD CmdId: 679Protobuf type
DestroyMaterialRsp-
Method Summary
Modifier and TypeMethodDescriptionaddAllItemCountList(Iterable<? extends Integer> values) repeated uint32 item_count_list = 13;addAllItemIdList(Iterable<? extends Integer> values) repeated uint32 item_id_list = 3;addItemCountList(int value) repeated uint32 item_count_list = 13;addItemIdList(int value) repeated uint32 item_id_list = 3;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) repeated uint32 item_count_list = 13;repeated uint32 item_id_list = 3;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) int32 retcode = 15;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintgetItemCountList(int index) repeated uint32 item_count_list = 13;intrepeated uint32 item_count_list = 13;repeated uint32 item_count_list = 13;intgetItemIdList(int index) repeated uint32 item_id_list = 3;intrepeated uint32 item_id_list = 3;repeated uint32 item_id_list = 3;intint32 retcode = 15;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setItemCountList(int index, int value) repeated uint32 item_count_list = 13;setItemIdList(int index, int value) repeated uint32 item_id_list = 3;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetcode(int value) int32 retcode = 15;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
setField
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
clearField
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
clearOneof
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
setRepeatedField
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
addRepeatedField
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
mergeFrom
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
mergeFrom
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>- Throws:
IOException
-
getRetcode
public int getRetcode()int32 retcode = 15;- Specified by:
getRetcodein interfaceDestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder- Returns:
- The retcode.
-
setRetcode
int32 retcode = 15;- Parameters:
value- The retcode to set.- Returns:
- This builder for chaining.
-
clearRetcode
int32 retcode = 15;- Returns:
- This builder for chaining.
-
getItemIdListList
repeated uint32 item_id_list = 3;- Specified by:
getItemIdListListin interfaceDestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder- Returns:
- A list containing the itemIdList.
-
getItemIdListCount
public int getItemIdListCount()repeated uint32 item_id_list = 3;- Specified by:
getItemIdListCountin interfaceDestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder- Returns:
- The count of itemIdList.
-
getItemIdList
public int getItemIdList(int index) repeated uint32 item_id_list = 3;- Specified by:
getItemIdListin interfaceDestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The itemIdList at the given index.
-
setItemIdList
repeated uint32 item_id_list = 3;- Parameters:
index- The index to set the value at.value- The itemIdList to set.- Returns:
- This builder for chaining.
-
addItemIdList
repeated uint32 item_id_list = 3;- Parameters:
value- The itemIdList to add.- Returns:
- This builder for chaining.
-
addAllItemIdList
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder addAllItemIdList(Iterable<? extends Integer> values) repeated uint32 item_id_list = 3;- Parameters:
values- The itemIdList to add.- Returns:
- This builder for chaining.
-
clearItemIdList
repeated uint32 item_id_list = 3;- Returns:
- This builder for chaining.
-
getItemCountListList
repeated uint32 item_count_list = 13;- Specified by:
getItemCountListListin interfaceDestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder- Returns:
- A list containing the itemCountList.
-
getItemCountListCount
public int getItemCountListCount()repeated uint32 item_count_list = 13;- Specified by:
getItemCountListCountin interfaceDestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder- Returns:
- The count of itemCountList.
-
getItemCountList
public int getItemCountList(int index) repeated uint32 item_count_list = 13;- Specified by:
getItemCountListin interfaceDestroyMaterialRspOuterClass.DestroyMaterialRspOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The itemCountList at the given index.
-
setItemCountList
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder setItemCountList(int index, int value) repeated uint32 item_count_list = 13;- Parameters:
index- The index to set the value at.value- The itemCountList to set.- Returns:
- This builder for chaining.
-
addItemCountList
repeated uint32 item_count_list = 13;- Parameters:
value- The itemCountList to add.- Returns:
- This builder for chaining.
-
addAllItemCountList
public DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder addAllItemCountList(Iterable<? extends Integer> values) repeated uint32 item_count_list = 13;- Parameters:
values- The itemCountList to add.- Returns:
- This builder for chaining.
-
clearItemCountList
repeated uint32 item_count_list = 13;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-
mergeUnknownFields
public final DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DestroyMaterialRspOuterClass.DestroyMaterialRsp.Builder>
-