Class CreateScriptRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.CreateScriptRequest
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CreateScriptRequestOrBuilder, Serializable
@Generated
public final class CreateScriptRequest
extends com.google.protobuf.GeneratedMessage
implements CreateScriptRequestOrBuilder
Request to create a new script.Protobuf type
soulfire.v1.CreateScriptRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest to create a new 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 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 CreateScriptRequestOptional description of what the script does.com.google.protobuf.ByteStringOptional description of what the script does.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEdges(int index) Initial edges for the script graph.intInitial edges for the script graph.Initial edges for the script graph.getEdgesOrBuilder(int index) Initial edges for the script graph.List<? extends ScriptEdgeOrBuilder> Initial edges for the script graph.The instance to create the script in.com.google.protobuf.ByteStringThe instance to create the script in.getName()The human-readable name for the script.com.google.protobuf.ByteStringThe human-readable name for the script.getNodes(int index) Initial nodes for the script graph.intInitial nodes for the script graph.Initial nodes for the script graph.getNodesOrBuilder(int index) Initial nodes for the script graph.List<? extends ScriptNodeOrBuilder> Initial nodes for the script graph.com.google.protobuf.Parser<CreateScriptRequest> booleanWhether the script should be created in paused state.Optional resource quotas for this script.Optional resource quotas for this script.intinthashCode()booleanOptional resource quotas for this script.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CreateScriptRequest.Builderstatic CreateScriptRequest.BuildernewBuilder(CreateScriptRequest prototype) protected CreateScriptRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CreateScriptRequestparseDelimitedFrom(InputStream input) static CreateScriptRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateScriptRequestparseFrom(byte[] data) static CreateScriptRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateScriptRequestparseFrom(com.google.protobuf.ByteString data) static CreateScriptRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateScriptRequestparseFrom(com.google.protobuf.CodedInputStream input) static CreateScriptRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateScriptRequestparseFrom(InputStream input) static CreateScriptRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateScriptRequestparseFrom(ByteBuffer data) static CreateScriptRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CreateScriptRequest> 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:
-
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:
-
PAUSED_FIELD_NUMBER
public static final int PAUSED_FIELD_NUMBER- See Also:
-
QUOTAS_FIELD_NUMBER
public static final int 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 to create the script in. Format: UUID string.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceCreateScriptRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The instance to create the script in. Format: UUID string.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceCreateScriptRequestOrBuilder- Returns:
- The bytes for instanceId.
-
getName
The human-readable name for the script.
string name = 2;- Specified by:
getNamein interfaceCreateScriptRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The human-readable name for the script.
string name = 2;- Specified by:
getNameBytesin interfaceCreateScriptRequestOrBuilder- Returns:
- The bytes for name.
-
getDescription
Optional description of what the script does.
string description = 3;- Specified by:
getDescriptionin interfaceCreateScriptRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional description of what the script does.
string description = 3;- Specified by:
getDescriptionBytesin interfaceCreateScriptRequestOrBuilder- Returns:
- The bytes for description.
-
getNodesList
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5;- Specified by:
getNodesListin interfaceCreateScriptRequestOrBuilder
-
getNodesOrBuilderList
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5;- Specified by:
getNodesOrBuilderListin interfaceCreateScriptRequestOrBuilder
-
getNodesCount
public int getNodesCount()Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5;- Specified by:
getNodesCountin interfaceCreateScriptRequestOrBuilder
-
getNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5;- Specified by:
getNodesin interfaceCreateScriptRequestOrBuilder
-
getNodesOrBuilder
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5;- Specified by:
getNodesOrBuilderin interfaceCreateScriptRequestOrBuilder
-
getEdgesList
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6;- Specified by:
getEdgesListin interfaceCreateScriptRequestOrBuilder
-
getEdgesOrBuilderList
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6;- Specified by:
getEdgesOrBuilderListin interfaceCreateScriptRequestOrBuilder
-
getEdgesCount
public int getEdgesCount()Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6;- Specified by:
getEdgesCountin interfaceCreateScriptRequestOrBuilder
-
getEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6;- Specified by:
getEdgesin interfaceCreateScriptRequestOrBuilder
-
getEdgesOrBuilder
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6;- Specified by:
getEdgesOrBuilderin interfaceCreateScriptRequestOrBuilder
-
getPaused
public boolean getPaused()Whether the script should be created in paused state. If false (default), the script starts running immediately after creation.
bool paused = 7;- Specified by:
getPausedin interfaceCreateScriptRequestOrBuilder- Returns:
- The paused.
-
hasQuotas
public boolean hasQuotas()Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8;- Specified by:
hasQuotasin interfaceCreateScriptRequestOrBuilder- Returns:
- Whether the quotas field is set.
-
getQuotas
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8;- Specified by:
getQuotasin interfaceCreateScriptRequestOrBuilder- Returns:
- The quotas.
-
getQuotasOrBuilder
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8;- Specified by:
getQuotasOrBuilderin interfaceCreateScriptRequestOrBuilder
-
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 CreateScriptRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScriptRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScriptRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScriptRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScriptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScriptRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CreateScriptRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CreateScriptRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CreateScriptRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CreateScriptRequest 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 CreateScriptRequest.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
-