Class BotListEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BotListEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder>
com.soulfiremc.grpc.generated.BotListEntry.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BotListEntryOrBuilder, Cloneable
- Enclosing class:
BotListEntry
public static final class BotListEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder>
implements BotListEntryOrBuilder
Entry representing a single bot in the bot list. Contains summary information suitable for display in a list view.Protobuf type
soulfire.v1.BotListEntry-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Whether the bot is currently connected to a Minecraft server.Live state of the bot if online and player data is available.The Minecraft profile UUID of the bot.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether the bot is currently connected to a Minecraft server.Live state of the bot if online and player data is available.Live state of the bot if online and player data is available.Live state of the bot if online and player data is available.The Minecraft profile UUID of the bot.com.google.protobuf.ByteStringThe Minecraft profile UUID of the bot.booleanLive state of the bot if online and player data is available.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BotListEntry other) mergeLiveState(BotLiveState value) Live state of the bot if online and player data is available.setIsOnline(boolean value) Whether the bot is currently connected to a Minecraft server.setLiveState(BotLiveState value) Live state of the bot if online and player data is available.setLiveState(BotLiveState.Builder builderForValue) Live state of the bot if online and player data is available.setProfileId(String value) The Minecraft profile UUID of the bot.setProfileIdBytes(com.google.protobuf.ByteString value) The Minecraft profile UUID of the bot.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BotListEntry.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.GeneratedMessage.Builder<BotListEntry.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BotListEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder>
-
mergeFrom
public BotListEntry.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<BotListEntry.Builder>- Throws:
IOException
-
getProfileId
The Minecraft profile UUID of the bot. This uniquely identifies the bot within the instance.
string profile_id = 1;- Specified by:
getProfileIdin interfaceBotListEntryOrBuilder- Returns:
- The profileId.
-
getProfileIdBytes
public com.google.protobuf.ByteString getProfileIdBytes()The Minecraft profile UUID of the bot. This uniquely identifies the bot within the instance.
string profile_id = 1;- Specified by:
getProfileIdBytesin interfaceBotListEntryOrBuilder- Returns:
- The bytes for profileId.
-
setProfileId
The Minecraft profile UUID of the bot. This uniquely identifies the bot within the instance.
string profile_id = 1;- Parameters:
value- The profileId to set.- Returns:
- This builder for chaining.
-
clearProfileId
The Minecraft profile UUID of the bot. This uniquely identifies the bot within the instance.
string profile_id = 1;- Returns:
- This builder for chaining.
-
setProfileIdBytes
The Minecraft profile UUID of the bot. This uniquely identifies the bot within the instance.
string profile_id = 1;- Parameters:
value- The bytes for profileId to set.- Returns:
- This builder for chaining.
-
getIsOnline
public boolean getIsOnline()Whether the bot is currently connected to a Minecraft server. When false, the bot exists in configuration but is not active.
bool is_online = 2;- Specified by:
getIsOnlinein interfaceBotListEntryOrBuilder- Returns:
- The isOnline.
-
setIsOnline
Whether the bot is currently connected to a Minecraft server. When false, the bot exists in configuration but is not active.
bool is_online = 2;- Parameters:
value- The isOnline to set.- Returns:
- This builder for chaining.
-
clearIsOnline
Whether the bot is currently connected to a Minecraft server. When false, the bot exists in configuration but is not active.
bool is_online = 2;- Returns:
- This builder for chaining.
-
hasLiveState
public boolean hasLiveState()Live state of the bot if online and player data is available. Will be absent if the bot is offline or the player hasn't fully spawned. Note: For list views, inventory data is NOT included (too expensive).
optional .soulfire.v1.BotLiveState live_state = 3;- Specified by:
hasLiveStatein interfaceBotListEntryOrBuilder- Returns:
- Whether the liveState field is set.
-
getLiveState
Live state of the bot if online and player data is available. Will be absent if the bot is offline or the player hasn't fully spawned. Note: For list views, inventory data is NOT included (too expensive).
optional .soulfire.v1.BotLiveState live_state = 3;- Specified by:
getLiveStatein interfaceBotListEntryOrBuilder- Returns:
- The liveState.
-
setLiveState
Live state of the bot if online and player data is available. Will be absent if the bot is offline or the player hasn't fully spawned. Note: For list views, inventory data is NOT included (too expensive).
optional .soulfire.v1.BotLiveState live_state = 3; -
setLiveState
Live state of the bot if online and player data is available. Will be absent if the bot is offline or the player hasn't fully spawned. Note: For list views, inventory data is NOT included (too expensive).
optional .soulfire.v1.BotLiveState live_state = 3; -
mergeLiveState
Live state of the bot if online and player data is available. Will be absent if the bot is offline or the player hasn't fully spawned. Note: For list views, inventory data is NOT included (too expensive).
optional .soulfire.v1.BotLiveState live_state = 3; -
clearLiveState
Live state of the bot if online and player data is available. Will be absent if the bot is offline or the player hasn't fully spawned. Note: For list views, inventory data is NOT included (too expensive).
optional .soulfire.v1.BotLiveState live_state = 3; -
getLiveStateBuilder
Live state of the bot if online and player data is available. Will be absent if the bot is offline or the player hasn't fully spawned. Note: For list views, inventory data is NOT included (too expensive).
optional .soulfire.v1.BotLiveState live_state = 3; -
getLiveStateOrBuilder
Live state of the bot if online and player data is available. Will be absent if the bot is offline or the player hasn't fully spawned. Note: For list views, inventory data is NOT included (too expensive).
optional .soulfire.v1.BotLiveState live_state = 3;- Specified by:
getLiveStateOrBuilderin interfaceBotListEntryOrBuilder
-