Class UpdateScriptRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.UpdateScriptRequest
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateScriptRequestOrBuilder, Serializable
@Generated
public final class UpdateScriptRequest
extends com.google.protobuf.GeneratedMessage
implements UpdateScriptRequestOrBuilder
Request to update an existing script.Protobuf type
soulfire.v1.UpdateScriptRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest to update an existing script.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UpdateScriptRequestUpdated description for the script.com.google.protobuf.ByteStringUpdated description for the script.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEdges(int index) Updated list of edges.intUpdated list of edges.Updated list of edges.getEdgesOrBuilder(int index) Updated list of edges.List<? extends ScriptEdgeOrBuilder> Updated list of edges.The instance containing the script.com.google.protobuf.ByteStringThe instance containing the script.getName()Updated name for the script.com.google.protobuf.ByteStringUpdated name for the script.getNodes(int index) Updated list of nodes.intUpdated list of nodes.Updated list of nodes.getNodesOrBuilder(int index) Updated list of nodes.List<? extends ScriptNodeOrBuilder> Updated list of nodes.com.google.protobuf.Parser<UpdateScriptRequest> booleanUpdated paused setting.Updated resource quotas for this script.Updated resource quotas for this script.The ID of the script to update.com.google.protobuf.ByteStringThe ID of the script to update.intbooleanWhether the edges field should be updated (allows setting to empty list).booleanWhether the nodes field should be updated (allows setting to empty list).booleanWhether the quotas field should be updated (allows clearing quotas).booleanUpdated description for the script.inthashCode()booleanhasName()Updated name for the script.booleanUpdated paused setting.booleanUpdated resource quotas for this script.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic UpdateScriptRequest.Builderstatic UpdateScriptRequest.BuildernewBuilder(UpdateScriptRequest prototype) protected UpdateScriptRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static UpdateScriptRequestparseDelimitedFrom(InputStream input) static UpdateScriptRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScriptRequestparseFrom(byte[] data) static UpdateScriptRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScriptRequestparseFrom(com.google.protobuf.ByteString data) static UpdateScriptRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScriptRequestparseFrom(com.google.protobuf.CodedInputStream input) static UpdateScriptRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScriptRequestparseFrom(InputStream input) static UpdateScriptRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScriptRequestparseFrom(ByteBuffer data) static UpdateScriptRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateScriptRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INSTANCE_ID_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER- See Also:
-
SCRIPT_ID_FIELD_NUMBER
public static final int SCRIPT_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER- See Also:
-
EDGES_FIELD_NUMBER
public static final int EDGES_FIELD_NUMBER- See Also:
-
UPDATE_NODES_FIELD_NUMBER
public static final int UPDATE_NODES_FIELD_NUMBER- See Also:
-
UPDATE_EDGES_FIELD_NUMBER
public static final int UPDATE_EDGES_FIELD_NUMBER- See Also:
-
PAUSED_FIELD_NUMBER
public static final int PAUSED_FIELD_NUMBER- See Also:
-
QUOTAS_FIELD_NUMBER
public static final int QUOTAS_FIELD_NUMBER- See Also:
-
UPDATE_QUOTAS_FIELD_NUMBER
public static final int UPDATE_QUOTAS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getInstanceId
The instance containing the script. Format: UUID string.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceUpdateScriptRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The instance containing the script. Format: UUID string.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceUpdateScriptRequestOrBuilder- Returns:
- The bytes for instanceId.
-
getScriptId
The ID of the script to update. Format: UUID string.
string script_id = 2;- Specified by:
getScriptIdin interfaceUpdateScriptRequestOrBuilder- Returns:
- The scriptId.
-
getScriptIdBytes
public com.google.protobuf.ByteString getScriptIdBytes()The ID of the script to update. Format: UUID string.
string script_id = 2;- Specified by:
getScriptIdBytesin interfaceUpdateScriptRequestOrBuilder- Returns:
- The bytes for scriptId.
-
hasName
public boolean hasName()Updated name for the script. If not set, the name remains unchanged.
optional string name = 3;- Specified by:
hasNamein interfaceUpdateScriptRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
Updated name for the script. If not set, the name remains unchanged.
optional string name = 3;- Specified by:
getNamein interfaceUpdateScriptRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Updated name for the script. If not set, the name remains unchanged.
optional string name = 3;- Specified by:
getNameBytesin interfaceUpdateScriptRequestOrBuilder- Returns:
- The bytes for name.
-
hasDescription
public boolean hasDescription()Updated description for the script. If not set, the description remains unchanged.
optional string description = 4;- Specified by:
hasDescriptionin interfaceUpdateScriptRequestOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Updated description for the script. If not set, the description remains unchanged.
optional string description = 4;- Specified by:
getDescriptionin interfaceUpdateScriptRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Updated description for the script. If not set, the description remains unchanged.
optional string description = 4;- Specified by:
getDescriptionBytesin interfaceUpdateScriptRequestOrBuilder- Returns:
- The bytes for description.
-
getNodesList
Updated list of nodes. If provided, replaces the entire node list. If not provided, nodes remain unchanged.
repeated .soulfire.v1.ScriptNode nodes = 6;- Specified by:
getNodesListin interfaceUpdateScriptRequestOrBuilder
-
getNodesOrBuilderList
Updated list of nodes. If provided, replaces the entire node list. If not provided, nodes remain unchanged.
repeated .soulfire.v1.ScriptNode nodes = 6;- Specified by:
getNodesOrBuilderListin interfaceUpdateScriptRequestOrBuilder
-
getNodesCount
public int getNodesCount()Updated list of nodes. If provided, replaces the entire node list. If not provided, nodes remain unchanged.
repeated .soulfire.v1.ScriptNode nodes = 6;- Specified by:
getNodesCountin interfaceUpdateScriptRequestOrBuilder
-
getNodes
Updated list of nodes. If provided, replaces the entire node list. If not provided, nodes remain unchanged.
repeated .soulfire.v1.ScriptNode nodes = 6;- Specified by:
getNodesin interfaceUpdateScriptRequestOrBuilder
-
getNodesOrBuilder
Updated list of nodes. If provided, replaces the entire node list. If not provided, nodes remain unchanged.
repeated .soulfire.v1.ScriptNode nodes = 6;- Specified by:
getNodesOrBuilderin interfaceUpdateScriptRequestOrBuilder
-
getEdgesList
Updated list of edges. If provided, replaces the entire edge list. If not provided, edges remain unchanged.
repeated .soulfire.v1.ScriptEdge edges = 7;- Specified by:
getEdgesListin interfaceUpdateScriptRequestOrBuilder
-
getEdgesOrBuilderList
Updated list of edges. If provided, replaces the entire edge list. If not provided, edges remain unchanged.
repeated .soulfire.v1.ScriptEdge edges = 7;- Specified by:
getEdgesOrBuilderListin interfaceUpdateScriptRequestOrBuilder
-
getEdgesCount
public int getEdgesCount()Updated list of edges. If provided, replaces the entire edge list. If not provided, edges remain unchanged.
repeated .soulfire.v1.ScriptEdge edges = 7;- Specified by:
getEdgesCountin interfaceUpdateScriptRequestOrBuilder
-
getEdges
Updated list of edges. If provided, replaces the entire edge list. If not provided, edges remain unchanged.
repeated .soulfire.v1.ScriptEdge edges = 7;- Specified by:
getEdgesin interfaceUpdateScriptRequestOrBuilder
-
getEdgesOrBuilder
Updated list of edges. If provided, replaces the entire edge list. If not provided, edges remain unchanged.
repeated .soulfire.v1.ScriptEdge edges = 7;- Specified by:
getEdgesOrBuilderin interfaceUpdateScriptRequestOrBuilder
-
getUpdateNodes
public boolean getUpdateNodes()Whether the nodes field should be updated (allows setting to empty list).
bool update_nodes = 8;- Specified by:
getUpdateNodesin interfaceUpdateScriptRequestOrBuilder- Returns:
- The updateNodes.
-
getUpdateEdges
public boolean getUpdateEdges()Whether the edges field should be updated (allows setting to empty list).
bool update_edges = 9;- Specified by:
getUpdateEdgesin interfaceUpdateScriptRequestOrBuilder- Returns:
- The updateEdges.
-
hasPaused
public boolean hasPaused()Updated paused setting. If not set, the paused setting remains unchanged. If set to false and script was paused, the script will be restarted.
optional bool paused = 10;- Specified by:
hasPausedin interfaceUpdateScriptRequestOrBuilder- Returns:
- Whether the paused field is set.
-
getPaused
public boolean getPaused()Updated paused setting. If not set, the paused setting remains unchanged. If set to false and script was paused, the script will be restarted.
optional bool paused = 10;- Specified by:
getPausedin interfaceUpdateScriptRequestOrBuilder- Returns:
- The paused.
-
hasQuotas
public boolean hasQuotas()Updated resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 11;- Specified by:
hasQuotasin interfaceUpdateScriptRequestOrBuilder- Returns:
- Whether the quotas field is set.
-
getQuotas
Updated resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 11;- Specified by:
getQuotasin interfaceUpdateScriptRequestOrBuilder- Returns:
- The quotas.
-
getQuotasOrBuilder
Updated resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 11;- Specified by:
getQuotasOrBuilderin interfaceUpdateScriptRequestOrBuilder
-
getUpdateQuotas
public boolean getUpdateQuotas()Whether the quotas field should be updated (allows clearing quotas).
bool update_quotas = 12;- Specified by:
getUpdateQuotasin interfaceUpdateScriptRequestOrBuilder- Returns:
- The updateQuotas.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpdateScriptRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScriptRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScriptRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScriptRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScriptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScriptRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UpdateScriptRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UpdateScriptRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateScriptRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateScriptRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpdateScriptRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-