Package emu.grasscutter.net.proto
Class GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
emu.grasscutter.net.proto.GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder,Cloneable
- Enclosing class:
- GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll
public static final class GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
implements GCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder
Protobuf type
GCGMsgDiceReroll-
Method Summary
Modifier and TypeMethodDescriptionaddAllDiceSideList(Iterable<? extends GCGDiceSideTypeOuterClass.GCGDiceSideType> values) repeated .GCGDiceSideType dice_side_list = 8;addAllDiceSideListValue(Iterable<Integer> values) repeated .GCGDiceSideType dice_side_list = 8;addAllSelectDiceIndexList(Iterable<? extends Integer> values) repeated uint32 select_dice_index_list = 12;repeated .GCGDiceSideType dice_side_list = 8;addDiceSideListValue(int value) repeated .GCGDiceSideType dice_side_list = 8;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSelectDiceIndexList(int value) repeated uint32 select_dice_index_list = 12;build()clear()uint32 controller_id = 1;repeated .GCGDiceSideType dice_side_list = 8;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated uint32 select_dice_index_list = 12;clone()intuint32 controller_id = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDiceSideList(int index) repeated .GCGDiceSideType dice_side_list = 8;intrepeated .GCGDiceSideType dice_side_list = 8;repeated .GCGDiceSideType dice_side_list = 8;intgetDiceSideListValue(int index) repeated .GCGDiceSideType dice_side_list = 8;repeated .GCGDiceSideType dice_side_list = 8;intgetSelectDiceIndexList(int index) repeated uint32 select_dice_index_list = 12;intrepeated uint32 select_dice_index_list = 12;repeated uint32 select_dice_index_list = 12;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) setControllerId(int value) uint32 controller_id = 1;setDiceSideList(int index, GCGDiceSideTypeOuterClass.GCGDiceSideType value) repeated .GCGDiceSideType dice_side_list = 8;setDiceSideListValue(int index, int value) repeated .GCGDiceSideType dice_side_list = 8;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSelectDiceIndexList(int index, int value) repeated uint32 select_dice_index_list = 12;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<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.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<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.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<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.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<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
setField
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.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<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
clearField
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
clearOneof
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
setRepeatedField
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.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<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
addRepeatedField
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.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<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
mergeFrom
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
mergeFrom
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder mergeFrom(GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
mergeFrom
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.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<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>- Throws:
IOException
-
getControllerId
public int getControllerId()uint32 controller_id = 1;- Specified by:
getControllerIdin interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Returns:
- The controllerId.
-
setControllerId
uint32 controller_id = 1;- Parameters:
value- The controllerId to set.- Returns:
- This builder for chaining.
-
clearControllerId
uint32 controller_id = 1;- Returns:
- This builder for chaining.
-
getDiceSideListList
repeated .GCGDiceSideType dice_side_list = 8;- Specified by:
getDiceSideListListin interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Returns:
- A list containing the diceSideList.
-
getDiceSideListCount
public int getDiceSideListCount()repeated .GCGDiceSideType dice_side_list = 8;- Specified by:
getDiceSideListCountin interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Returns:
- The count of diceSideList.
-
getDiceSideList
repeated .GCGDiceSideType dice_side_list = 8;- Specified by:
getDiceSideListin interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The diceSideList at the given index.
-
setDiceSideList
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder setDiceSideList(int index, GCGDiceSideTypeOuterClass.GCGDiceSideType value) repeated .GCGDiceSideType dice_side_list = 8;- Parameters:
index- The index to set the value at.value- The diceSideList to set.- Returns:
- This builder for chaining.
-
addDiceSideList
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder addDiceSideList(GCGDiceSideTypeOuterClass.GCGDiceSideType value) repeated .GCGDiceSideType dice_side_list = 8;- Parameters:
value- The diceSideList to add.- Returns:
- This builder for chaining.
-
addAllDiceSideList
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder addAllDiceSideList(Iterable<? extends GCGDiceSideTypeOuterClass.GCGDiceSideType> values) repeated .GCGDiceSideType dice_side_list = 8;- Parameters:
values- The diceSideList to add.- Returns:
- This builder for chaining.
-
clearDiceSideList
repeated .GCGDiceSideType dice_side_list = 8;- Returns:
- This builder for chaining.
-
getDiceSideListValueList
repeated .GCGDiceSideType dice_side_list = 8;- Specified by:
getDiceSideListValueListin interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Returns:
- A list containing the enum numeric values on the wire for diceSideList.
-
getDiceSideListValue
public int getDiceSideListValue(int index) repeated .GCGDiceSideType dice_side_list = 8;- Specified by:
getDiceSideListValuein interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of diceSideList at the given index.
-
setDiceSideListValue
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder setDiceSideListValue(int index, int value) repeated .GCGDiceSideType dice_side_list = 8;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of diceSideList at the given index.
-
addDiceSideListValue
repeated .GCGDiceSideType dice_side_list = 8;- Parameters:
value- The enum numeric value on the wire for diceSideList to add.- Returns:
- This builder for chaining.
-
addAllDiceSideListValue
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder addAllDiceSideListValue(Iterable<Integer> values) repeated .GCGDiceSideType dice_side_list = 8;- Parameters:
values- The enum numeric values on the wire for diceSideList to add.- Returns:
- This builder for chaining.
-
getSelectDiceIndexListList
repeated uint32 select_dice_index_list = 12;- Specified by:
getSelectDiceIndexListListin interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Returns:
- A list containing the selectDiceIndexList.
-
getSelectDiceIndexListCount
public int getSelectDiceIndexListCount()repeated uint32 select_dice_index_list = 12;- Specified by:
getSelectDiceIndexListCountin interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Returns:
- The count of selectDiceIndexList.
-
getSelectDiceIndexList
public int getSelectDiceIndexList(int index) repeated uint32 select_dice_index_list = 12;- Specified by:
getSelectDiceIndexListin interfaceGCGMsgDiceRerollOuterClass.GCGMsgDiceRerollOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The selectDiceIndexList at the given index.
-
setSelectDiceIndexList
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder setSelectDiceIndexList(int index, int value) repeated uint32 select_dice_index_list = 12;- Parameters:
index- The index to set the value at.value- The selectDiceIndexList to set.- Returns:
- This builder for chaining.
-
addSelectDiceIndexList
repeated uint32 select_dice_index_list = 12;- Parameters:
value- The selectDiceIndexList to add.- Returns:
- This builder for chaining.
-
addAllSelectDiceIndexList
public GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder addAllSelectDiceIndexList(Iterable<? extends Integer> values) repeated uint32 select_dice_index_list = 12;- Parameters:
values- The selectDiceIndexList to add.- Returns:
- This builder for chaining.
-
clearSelectDiceIndexList
repeated uint32 select_dice_index_list = 12;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-
mergeUnknownFields
public final GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GCGMsgDiceRerollOuterClass.GCGMsgDiceReroll.Builder>
-