Package emu.grasscutter.net.proto
Class ItemGivingReqOuterClass.ItemGivingReq.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ItemGivingReqOuterClass.ItemGivingReqOrBuilder,Cloneable
- Enclosing class:
- ItemGivingReqOuterClass.ItemGivingReq
public static final class ItemGivingReqOuterClass.ItemGivingReq.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
implements ItemGivingReqOuterClass.ItemGivingReqOrBuilder
Name: OEFLPBMLBLP CmdId: 108Protobuf type
ItemGivingReq-
Method Summary
Modifier and TypeMethodDescriptionaddAllItemParamList(Iterable<? extends ItemParamOuterClass.ItemParam> values) repeated .ItemParam item_param_list = 15;addItemParamList(int index, ItemParamOuterClass.ItemParam value) repeated .ItemParam item_param_list = 15;addItemParamList(int index, ItemParamOuterClass.ItemParam.Builder builderForValue) repeated .ItemParam item_param_list = 15;repeated .ItemParam item_param_list = 15;addItemParamList(ItemParamOuterClass.ItemParam.Builder builderForValue) repeated .ItemParam item_param_list = 15;repeated .ItemParam item_param_list = 15;addItemParamListBuilder(int index) repeated .ItemParam item_param_list = 15;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) uint32 giving_id = 2;.ItemGivingReq.ItemGivingType item_giving_type = 1;repeated .ItemParam item_param_list = 15;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleancontainsItemGuidCountMap(long key) map<uint64, uint32> item_guid_count_map = 10;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintuint32 giving_id = 2;.ItemGivingReq.ItemGivingType item_giving_type = 1;int.ItemGivingReq.ItemGivingType item_giving_type = 1;Deprecated.intmap<uint64, uint32> item_guid_count_map = 10;map<uint64, uint32> item_guid_count_map = 10;intgetItemGuidCountMapOrDefault(long key, int defaultValue) map<uint64, uint32> item_guid_count_map = 10;intgetItemGuidCountMapOrThrow(long key) map<uint64, uint32> item_guid_count_map = 10;getItemParamList(int index) repeated .ItemParam item_param_list = 15;getItemParamListBuilder(int index) repeated .ItemParam item_param_list = 15;repeated .ItemParam item_param_list = 15;intrepeated .ItemParam item_param_list = 15;repeated .ItemParam item_param_list = 15;getItemParamListOrBuilder(int index) repeated .ItemParam item_param_list = 15;List<? extends ItemParamOuterClass.ItemParamOrBuilder>repeated .ItemParam item_param_list = 15;Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllItemGuidCountMap(Map<Long, Integer> values) map<uint64, uint32> item_guid_count_map = 10;putItemGuidCountMap(long key, int value) map<uint64, uint32> item_guid_count_map = 10;removeItemGuidCountMap(long key) map<uint64, uint32> item_guid_count_map = 10;removeItemParamList(int index) repeated .ItemParam item_param_list = 15;setGivingId(int value) uint32 giving_id = 2;.ItemGivingReq.ItemGivingType item_giving_type = 1;setItemGivingTypeValue(int value) .ItemGivingReq.ItemGivingType item_giving_type = 1;setItemParamList(int index, ItemParamOuterClass.ItemParam value) repeated .ItemParam item_param_list = 15;setItemParamList(int index, ItemParamOuterClass.ItemParam.Builder builderForValue) repeated .ItemParam item_param_list = 15;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.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<ItemGivingReqOuterClass.ItemGivingReq.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<ItemGivingReqOuterClass.ItemGivingReq.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<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
setField
public ItemGivingReqOuterClass.ItemGivingReq.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<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
clearField
public ItemGivingReqOuterClass.ItemGivingReq.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
clearOneof
public ItemGivingReqOuterClass.ItemGivingReq.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
setRepeatedField
public ItemGivingReqOuterClass.ItemGivingReq.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<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
addRepeatedField
public ItemGivingReqOuterClass.ItemGivingReq.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<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
mergeFrom
public ItemGivingReqOuterClass.ItemGivingReq.Builder mergeFrom(ItemGivingReqOuterClass.ItemGivingReq other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
mergeFrom
public ItemGivingReqOuterClass.ItemGivingReq.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<ItemGivingReqOuterClass.ItemGivingReq.Builder>- Throws:
IOException
-
getItemGuidCountMapCount
public int getItemGuidCountMapCount()Description copied from interface:ItemGivingReqOuterClass.ItemGivingReqOrBuildermap<uint64, uint32> item_guid_count_map = 10;- Specified by:
getItemGuidCountMapCountin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
containsItemGuidCountMap
public boolean containsItemGuidCountMap(long key) map<uint64, uint32> item_guid_count_map = 10;- Specified by:
containsItemGuidCountMapin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
getItemGuidCountMap
Deprecated.UsegetItemGuidCountMapMap()instead.- Specified by:
getItemGuidCountMapin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
getItemGuidCountMapMap
map<uint64, uint32> item_guid_count_map = 10;- Specified by:
getItemGuidCountMapMapin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
getItemGuidCountMapOrDefault
public int getItemGuidCountMapOrDefault(long key, int defaultValue) map<uint64, uint32> item_guid_count_map = 10;- Specified by:
getItemGuidCountMapOrDefaultin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
getItemGuidCountMapOrThrow
public int getItemGuidCountMapOrThrow(long key) map<uint64, uint32> item_guid_count_map = 10;- Specified by:
getItemGuidCountMapOrThrowin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
clearItemGuidCountMap
-
removeItemGuidCountMap
map<uint64, uint32> item_guid_count_map = 10; -
getMutableItemGuidCountMap
Deprecated.Use alternate mutation accessors instead. -
putItemGuidCountMap
map<uint64, uint32> item_guid_count_map = 10; -
putAllItemGuidCountMap
public ItemGivingReqOuterClass.ItemGivingReq.Builder putAllItemGuidCountMap(Map<Long, Integer> values) map<uint64, uint32> item_guid_count_map = 10; -
getItemParamListList
repeated .ItemParam item_param_list = 15;- Specified by:
getItemParamListListin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
getItemParamListCount
public int getItemParamListCount()repeated .ItemParam item_param_list = 15;- Specified by:
getItemParamListCountin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
getItemParamList
repeated .ItemParam item_param_list = 15;- Specified by:
getItemParamListin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
setItemParamList
public ItemGivingReqOuterClass.ItemGivingReq.Builder setItemParamList(int index, ItemParamOuterClass.ItemParam value) repeated .ItemParam item_param_list = 15; -
setItemParamList
public ItemGivingReqOuterClass.ItemGivingReq.Builder setItemParamList(int index, ItemParamOuterClass.ItemParam.Builder builderForValue) repeated .ItemParam item_param_list = 15; -
addItemParamList
public ItemGivingReqOuterClass.ItemGivingReq.Builder addItemParamList(ItemParamOuterClass.ItemParam value) repeated .ItemParam item_param_list = 15; -
addItemParamList
public ItemGivingReqOuterClass.ItemGivingReq.Builder addItemParamList(int index, ItemParamOuterClass.ItemParam value) repeated .ItemParam item_param_list = 15; -
addItemParamList
public ItemGivingReqOuterClass.ItemGivingReq.Builder addItemParamList(ItemParamOuterClass.ItemParam.Builder builderForValue) repeated .ItemParam item_param_list = 15; -
addItemParamList
public ItemGivingReqOuterClass.ItemGivingReq.Builder addItemParamList(int index, ItemParamOuterClass.ItemParam.Builder builderForValue) repeated .ItemParam item_param_list = 15; -
addAllItemParamList
public ItemGivingReqOuterClass.ItemGivingReq.Builder addAllItemParamList(Iterable<? extends ItemParamOuterClass.ItemParam> values) repeated .ItemParam item_param_list = 15; -
clearItemParamList
repeated .ItemParam item_param_list = 15; -
removeItemParamList
repeated .ItemParam item_param_list = 15; -
getItemParamListBuilder
repeated .ItemParam item_param_list = 15; -
getItemParamListOrBuilder
repeated .ItemParam item_param_list = 15;- Specified by:
getItemParamListOrBuilderin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
getItemParamListOrBuilderList
repeated .ItemParam item_param_list = 15;- Specified by:
getItemParamListOrBuilderListin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder
-
addItemParamListBuilder
repeated .ItemParam item_param_list = 15; -
addItemParamListBuilder
repeated .ItemParam item_param_list = 15; -
getItemParamListBuilderList
repeated .ItemParam item_param_list = 15; -
getItemGivingTypeValue
public int getItemGivingTypeValue().ItemGivingReq.ItemGivingType item_giving_type = 1;- Specified by:
getItemGivingTypeValuein interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder- Returns:
- The enum numeric value on the wire for itemGivingType.
-
setItemGivingTypeValue
.ItemGivingReq.ItemGivingType item_giving_type = 1;- Parameters:
value- The enum numeric value on the wire for itemGivingType to set.- Returns:
- This builder for chaining.
-
getItemGivingType
.ItemGivingReq.ItemGivingType item_giving_type = 1;- Specified by:
getItemGivingTypein interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder- Returns:
- The itemGivingType.
-
setItemGivingType
public ItemGivingReqOuterClass.ItemGivingReq.Builder setItemGivingType(ItemGivingReqOuterClass.ItemGivingReq.ItemGivingType value) .ItemGivingReq.ItemGivingType item_giving_type = 1;- Parameters:
value- The itemGivingType to set.- Returns:
- This builder for chaining.
-
clearItemGivingType
.ItemGivingReq.ItemGivingType item_giving_type = 1;- Returns:
- This builder for chaining.
-
getGivingId
public int getGivingId()uint32 giving_id = 2;- Specified by:
getGivingIdin interfaceItemGivingReqOuterClass.ItemGivingReqOrBuilder- Returns:
- The givingId.
-
setGivingId
uint32 giving_id = 2;- Parameters:
value- The givingId to set.- Returns:
- This builder for chaining.
-
clearGivingId
uint32 giving_id = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ItemGivingReqOuterClass.ItemGivingReq.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-
mergeUnknownFields
public final ItemGivingReqOuterClass.ItemGivingReq.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ItemGivingReqOuterClass.ItemGivingReq.Builder>
-