Class BotUpdateConfigEntryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BotUpdateConfigEntryRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<BotUpdateConfigEntryRequest.Builder>
com.soulfiremc.grpc.generated.BotUpdateConfigEntryRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BotUpdateConfigEntryRequestOrBuilder, Cloneable
- Enclosing class:
BotUpdateConfigEntryRequest
public static final class BotUpdateConfigEntryRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BotUpdateConfigEntryRequest.Builder>
implements BotUpdateConfigEntryRequestOrBuilder
Request to update a single configuration entry for a specific bot. This allows granular updates without replacing the entire configuration.Protobuf type
soulfire.v1.BotUpdateConfigEntryRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The profile UUID of the bot to update configuration for.The UUID of the SoulFire instance containing the bot.clearKey()The key within the namespace to update.The settings namespace (e.g., plugin ID or "bot" for core bot settings).The new value to set for this configuration entry.getBotId()The profile UUID of the bot to update configuration for.com.google.protobuf.ByteStringThe profile UUID of the bot to update configuration for.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe UUID of the SoulFire instance containing the bot.com.google.protobuf.ByteStringThe UUID of the SoulFire instance containing the bot.getKey()The key within the namespace to update.com.google.protobuf.ByteStringThe key within the namespace to update.The settings namespace (e.g., plugin ID or "bot" for core bot settings).com.google.protobuf.ByteStringThe settings namespace (e.g., plugin ID or "bot" for core bot settings).com.google.protobuf.ValuegetValue()The new value to set for this configuration entry.com.google.protobuf.Value.BuilderThe new value to set for this configuration entry.com.google.protobuf.ValueOrBuilderThe new value to set for this configuration entry.booleanhasValue()The new value to set for this configuration entry.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeValue(com.google.protobuf.Value value) The new value to set for this configuration entry.The profile UUID of the bot to update configuration for.setBotIdBytes(com.google.protobuf.ByteString value) The profile UUID of the bot to update configuration for.setInstanceId(String value) The UUID of the SoulFire instance containing the bot.setInstanceIdBytes(com.google.protobuf.ByteString value) The UUID of the SoulFire instance containing the bot.The key within the namespace to update.setKeyBytes(com.google.protobuf.ByteString value) The key within the namespace to update.setNamespace(String value) The settings namespace (e.g., plugin ID or "bot" for core bot settings).setNamespaceBytes(com.google.protobuf.ByteString value) The settings namespace (e.g., plugin ID or "bot" for core bot settings).setValue(com.google.protobuf.Value value) The new value to set for this configuration entry.setValue(com.google.protobuf.Value.Builder builderForValue) The new value to set for this configuration entry.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<BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BotUpdateConfigEntryRequest.Builder>
-
mergeFrom
public BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.Builder>- Throws:
IOException
-
getInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getBotId
The profile UUID of the bot to update configuration for.
string bot_id = 2;- Specified by:
getBotIdin interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The botId.
-
getBotIdBytes
public com.google.protobuf.ByteString getBotIdBytes()The profile UUID of the bot to update configuration for.
string bot_id = 2;- Specified by:
getBotIdBytesin interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The bytes for botId.
-
setBotId
The profile UUID of the bot to update configuration for.
string bot_id = 2;- Parameters:
value- The botId to set.- Returns:
- This builder for chaining.
-
clearBotId
The profile UUID of the bot to update configuration for.
string bot_id = 2;- Returns:
- This builder for chaining.
-
setBotIdBytes
The profile UUID of the bot to update configuration for.
string bot_id = 2;- Parameters:
value- The bytes for botId to set.- Returns:
- This builder for chaining.
-
getNamespace
The settings namespace (e.g., plugin ID or "bot" for core bot settings). Examples: "bot", "auto-reconnect", "chat-message-controller"
string namespace = 3;- Specified by:
getNamespacein interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The settings namespace (e.g., plugin ID or "bot" for core bot settings). Examples: "bot", "auto-reconnect", "chat-message-controller"
string namespace = 3;- Specified by:
getNamespaceBytesin interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The settings namespace (e.g., plugin ID or "bot" for core bot settings). Examples: "bot", "auto-reconnect", "chat-message-controller"
string namespace = 3;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The settings namespace (e.g., plugin ID or "bot" for core bot settings). Examples: "bot", "auto-reconnect", "chat-message-controller"
string namespace = 3;- Returns:
- This builder for chaining.
-
setNamespaceBytes
The settings namespace (e.g., plugin ID or "bot" for core bot settings). Examples: "bot", "auto-reconnect", "chat-message-controller"
string namespace = 3;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getKey
The key within the namespace to update. Must be a valid setting key defined for that namespace.
string key = 4;- Specified by:
getKeyin interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()The key within the namespace to update. Must be a valid setting key defined for that namespace.
string key = 4;- Specified by:
getKeyBytesin interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The bytes for key.
-
setKey
The key within the namespace to update. Must be a valid setting key defined for that namespace.
string key = 4;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
The key within the namespace to update. Must be a valid setting key defined for that namespace.
string key = 4;- Returns:
- This builder for chaining.
-
setKeyBytes
The key within the namespace to update. Must be a valid setting key defined for that namespace.
string key = 4;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).
.google.protobuf.Value value = 5;- Specified by:
hasValuein interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- Whether the value field is set.
-
getValue
public com.google.protobuf.Value getValue()The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).
.google.protobuf.Value value = 5;- Specified by:
getValuein interfaceBotUpdateConfigEntryRequestOrBuilder- Returns:
- The value.
-
setValue
The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).
.google.protobuf.Value value = 5; -
setValue
public BotUpdateConfigEntryRequest.Builder setValue(com.google.protobuf.Value.Builder builderForValue) The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).
.google.protobuf.Value value = 5; -
mergeValue
The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).
.google.protobuf.Value value = 5; -
clearValue
The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).
.google.protobuf.Value value = 5; -
getValueBuilder
public com.google.protobuf.Value.Builder getValueBuilder()The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).
.google.protobuf.Value value = 5; -
getValueOrBuilder
public com.google.protobuf.ValueOrBuilder getValueOrBuilder()The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).
.google.protobuf.Value value = 5;- Specified by:
getValueOrBuilderin interfaceBotUpdateConfigEntryRequestOrBuilder
-