Package emu.grasscutter.net.proto
Class PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder,Cloneable
- Enclosing class:
- PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify
public static final class PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
implements PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 4172;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
Protobuf type PlayerMatchInfoNotify-
Method Summary
Modifier and TypeMethodDescriptionaddAllMatchParamList(Iterable<? extends Integer> values) repeated uint32 match_param_list = 11;addMatchParamList(int value) repeated uint32 match_param_list = 11;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()uint32 dungeon_id = 4;uint32 estimate_match_cost_time = 10;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) uint32 host_uid = 12;uint32 match_begin_time = 5;uint32 match_id = 7;repeated uint32 match_param_list = 11;.MatchType match_type = 13;uint32 mechanicus_difficult_level = 15;uint32 mp_play_id = 2;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintuint32 dungeon_id = 4;intuint32 estimate_match_cost_time = 10;intuint32 host_uid = 12;intuint32 match_begin_time = 5;intuint32 match_id = 7;intgetMatchParamList(int index) repeated uint32 match_param_list = 11;intrepeated uint32 match_param_list = 11;repeated uint32 match_param_list = 11;.MatchType match_type = 13;int.MatchType match_type = 13;intuint32 mechanicus_difficult_level = 15;intuint32 mp_play_id = 2;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) setDungeonId(int value) uint32 dungeon_id = 4;setEstimateMatchCostTime(int value) uint32 estimate_match_cost_time = 10;setHostUid(int value) uint32 host_uid = 12;setMatchBeginTime(int value) uint32 match_begin_time = 5;setMatchId(int value) uint32 match_id = 7;setMatchParamList(int index, int value) repeated uint32 match_param_list = 11;.MatchType match_type = 13;setMatchTypeValue(int value) .MatchType match_type = 13;setMechanicusDifficultLevel(int value) uint32 mechanicus_difficult_level = 15;setMpPlayId(int value) uint32 mp_play_id = 2;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, 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<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.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<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.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<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.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<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
setField
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.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<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
clearField
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
clearOneof
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
setRepeatedField
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.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<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
addRepeatedField
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.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<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
mergeFrom
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
mergeFrom
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.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<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>- Throws:
IOException
-
getDungeonId
public int getDungeonId()uint32 dungeon_id = 4;- Specified by:
getDungeonIdin interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The dungeonId.
-
setDungeonId
uint32 dungeon_id = 4;- Parameters:
value- The dungeonId to set.- Returns:
- This builder for chaining.
-
clearDungeonId
uint32 dungeon_id = 4;- Returns:
- This builder for chaining.
-
getMatchBeginTime
public int getMatchBeginTime()uint32 match_begin_time = 5;- Specified by:
getMatchBeginTimein interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The matchBeginTime.
-
setMatchBeginTime
uint32 match_begin_time = 5;- Parameters:
value- The matchBeginTime to set.- Returns:
- This builder for chaining.
-
clearMatchBeginTime
uint32 match_begin_time = 5;- Returns:
- This builder for chaining.
-
getEstimateMatchCostTime
public int getEstimateMatchCostTime()uint32 estimate_match_cost_time = 10;- Specified by:
getEstimateMatchCostTimein interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The estimateMatchCostTime.
-
setEstimateMatchCostTime
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder setEstimateMatchCostTime(int value) uint32 estimate_match_cost_time = 10;- Parameters:
value- The estimateMatchCostTime to set.- Returns:
- This builder for chaining.
-
clearEstimateMatchCostTime
uint32 estimate_match_cost_time = 10;- Returns:
- This builder for chaining.
-
getHostUid
public int getHostUid()uint32 host_uid = 12;- Specified by:
getHostUidin interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The hostUid.
-
setHostUid
uint32 host_uid = 12;- Parameters:
value- The hostUid to set.- Returns:
- This builder for chaining.
-
clearHostUid
uint32 host_uid = 12;- Returns:
- This builder for chaining.
-
getMatchTypeValue
public int getMatchTypeValue().MatchType match_type = 13;- Specified by:
getMatchTypeValuein interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The enum numeric value on the wire for matchType.
-
setMatchTypeValue
.MatchType match_type = 13;- Parameters:
value- The enum numeric value on the wire for matchType to set.- Returns:
- This builder for chaining.
-
getMatchType
.MatchType match_type = 13;- Specified by:
getMatchTypein interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The matchType.
-
setMatchType
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder setMatchType(MatchTypeOuterClass.MatchType value) .MatchType match_type = 13;- Parameters:
value- The matchType to set.- Returns:
- This builder for chaining.
-
clearMatchType
.MatchType match_type = 13;- Returns:
- This builder for chaining.
-
getMechanicusDifficultLevel
public int getMechanicusDifficultLevel()uint32 mechanicus_difficult_level = 15;- Specified by:
getMechanicusDifficultLevelin interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The mechanicusDifficultLevel.
-
setMechanicusDifficultLevel
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder setMechanicusDifficultLevel(int value) uint32 mechanicus_difficult_level = 15;- Parameters:
value- The mechanicusDifficultLevel to set.- Returns:
- This builder for chaining.
-
clearMechanicusDifficultLevel
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder clearMechanicusDifficultLevel()uint32 mechanicus_difficult_level = 15;- Returns:
- This builder for chaining.
-
getMpPlayId
public int getMpPlayId()uint32 mp_play_id = 2;- Specified by:
getMpPlayIdin interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The mpPlayId.
-
setMpPlayId
uint32 mp_play_id = 2;- Parameters:
value- The mpPlayId to set.- Returns:
- This builder for chaining.
-
clearMpPlayId
uint32 mp_play_id = 2;- Returns:
- This builder for chaining.
-
getMatchId
public int getMatchId()uint32 match_id = 7;- Specified by:
getMatchIdin interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The matchId.
-
setMatchId
uint32 match_id = 7;- Parameters:
value- The matchId to set.- Returns:
- This builder for chaining.
-
clearMatchId
uint32 match_id = 7;- Returns:
- This builder for chaining.
-
getMatchParamListList
repeated uint32 match_param_list = 11;- Specified by:
getMatchParamListListin interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- A list containing the matchParamList.
-
getMatchParamListCount
public int getMatchParamListCount()repeated uint32 match_param_list = 11;- Specified by:
getMatchParamListCountin interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Returns:
- The count of matchParamList.
-
getMatchParamList
public int getMatchParamList(int index) repeated uint32 match_param_list = 11;- Specified by:
getMatchParamListin interfacePlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The matchParamList at the given index.
-
setMatchParamList
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder setMatchParamList(int index, int value) repeated uint32 match_param_list = 11;- Parameters:
index- The index to set the value at.value- The matchParamList to set.- Returns:
- This builder for chaining.
-
addMatchParamList
repeated uint32 match_param_list = 11;- Parameters:
value- The matchParamList to add.- Returns:
- This builder for chaining.
-
addAllMatchParamList
public PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder addAllMatchParamList(Iterable<? extends Integer> values) repeated uint32 match_param_list = 11;- Parameters:
values- The matchParamList to add.- Returns:
- This builder for chaining.
-
clearMatchParamList
repeated uint32 match_param_list = 11;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-
mergeUnknownFields
public final PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder>
-