Class CreateScriptRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CreateScriptRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<CreateScriptRequest.Builder>
com.soulfiremc.grpc.generated.CreateScriptRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CreateScriptRequestOrBuilder, Cloneable
- Enclosing class:
CreateScriptRequest
public static final class CreateScriptRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreateScriptRequest.Builder>
implements CreateScriptRequestOrBuilder
Request to create a new script.Protobuf type
soulfire.v1.CreateScriptRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllEdges(Iterable<? extends ScriptEdge> values) Initial edges for the script graph.addAllNodes(Iterable<? extends ScriptNode> values) Initial nodes for the script graph.addEdges(int index, ScriptEdge value) Initial edges for the script graph.addEdges(int index, ScriptEdge.Builder builderForValue) Initial edges for the script graph.addEdges(ScriptEdge value) Initial edges for the script graph.addEdges(ScriptEdge.Builder builderForValue) Initial edges for the script graph.Initial edges for the script graph.addEdgesBuilder(int index) Initial edges for the script graph.addNodes(int index, ScriptNode value) Initial nodes for the script graph.addNodes(int index, ScriptNode.Builder builderForValue) Initial nodes for the script graph.addNodes(ScriptNode value) Initial nodes for the script graph.addNodes(ScriptNode.Builder builderForValue) Initial nodes for the script graph.Initial nodes for the script graph.addNodesBuilder(int index) Initial nodes for the script graph.build()clear()Optional description of what the script does.Initial edges for the script graph.The instance to create the script in.The human-readable name for the script.Initial nodes for the script graph.Whether the script should be created in paused state.Optional resource quotas for this script.Optional 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.getEdgesBuilder(int index) Initial edges for the script graph.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.getNodesBuilder(int index) Initial nodes for the script graph.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.booleanWhether the script should be created in paused state.Optional resource quotas for this script.Optional resource quotas for this script.Optional resource quotas for this script.booleanOptional resource quotas for this script.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CreateScriptRequest other) mergeQuotas(ScriptQuotas value) Optional resource quotas for this script.removeEdges(int index) Initial edges for the script graph.removeNodes(int index) Initial nodes for the script graph.setDescription(String value) Optional description of what the script does.setDescriptionBytes(com.google.protobuf.ByteString value) Optional description of what the script does.setEdges(int index, ScriptEdge value) Initial edges for the script graph.setEdges(int index, ScriptEdge.Builder builderForValue) Initial edges for the script graph.setInstanceId(String value) The instance to create the script in.setInstanceIdBytes(com.google.protobuf.ByteString value) The instance to create the script in.The human-readable name for the script.setNameBytes(com.google.protobuf.ByteString value) The human-readable name for the script.setNodes(int index, ScriptNode value) Initial nodes for the script graph.setNodes(int index, ScriptNode.Builder builderForValue) Initial nodes for the script graph.setPaused(boolean value) Whether the script should be created in paused state.setQuotas(ScriptQuotas value) Optional resource quotas for this script.setQuotas(ScriptQuotas.Builder builderForValue) Optional resource quotas for this script.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<CreateScriptRequest.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<CreateScriptRequest.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<CreateScriptRequest.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<CreateScriptRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateScriptRequest.Builder>
-
mergeFrom
public CreateScriptRequest.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<CreateScriptRequest.Builder>- Throws:
IOException
-
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.
-
setInstanceId
The instance to create the script in. Format: UUID string.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The instance to create the script in. Format: UUID string.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The instance to create the script in. Format: UUID string.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
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.
-
setName
The human-readable name for the script.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The human-readable name for the script.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
The human-readable name for the script.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setDescription
Optional description of what the script does.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional description of what the script does.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional description of what the script does.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
setNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
addNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
addNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
addNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
addNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
addAllNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
clearNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
removeNodes
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
getNodesBuilder
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
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
-
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
-
addNodesBuilder
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
addNodesBuilder
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
getNodesBuilderList
Initial nodes for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptNode nodes = 5; -
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
-
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
-
setEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
setEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
addEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
addEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
addEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
addEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
addAllEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
clearEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
removeEdges
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
getEdgesBuilder
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
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
-
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
-
addEdgesBuilder
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
addEdgesBuilder
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
getEdgesBuilderList
Initial edges for the script graph. Can be empty to create a blank script.
repeated .soulfire.v1.ScriptEdge edges = 6; -
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.
-
setPaused
Whether the script should be created in paused state. If false (default), the script starts running immediately after creation.
bool paused = 7;- Parameters:
value- The paused to set.- Returns:
- This builder for chaining.
-
clearPaused
Whether the script should be created in paused state. If false (default), the script starts running immediately after creation.
bool paused = 7;- Returns:
- This builder for chaining.
-
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.
-
setQuotas
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8; -
setQuotas
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8; -
mergeQuotas
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8; -
clearQuotas
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8; -
getQuotasBuilder
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8; -
getQuotasOrBuilder
Optional resource quotas for this script.
.soulfire.v1.ScriptQuotas quotas = 8;- Specified by:
getQuotasOrBuilderin interfaceCreateScriptRequestOrBuilder
-