Class Workflow.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Workflow.Builder>
com.google.cloud.workflows.v1beta.Workflow.Builder
- All Implemented Interfaces:
WorkflowOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Workflow
public static final class Workflow.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Workflow.Builder>
implements WorkflowOrBuilder
Workflow program to be executed by Workflows.Protobuf type
google.cloud.workflows.v1beta.Workflow-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Description of the workflow provided by the user.The resource name of the workflow.Output only.Output only.The service account associated with the latest workflow version.Workflow code to be executed.Output only.Output only.booleancontainsLabels(String key) Labels associated with this workflow.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Description of the workflow provided by the user.com.google.protobuf.ByteStringDescription of the workflow provided by the user.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intLabels associated with this workflow.Labels associated with this workflow.getLabelsOrDefault(String key, String defaultValue) Labels associated with this workflow.getLabelsOrThrow(String key) Labels associated with this workflow.Deprecated.getName()The resource name of the workflow.com.google.protobuf.ByteStringThe resource name of the workflow.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.The service account associated with the latest workflow version.com.google.protobuf.ByteStringThe service account associated with the latest workflow version.Workflow code to be executed.com.google.protobuf.ByteStringWorkflow code to be executed.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanWorkflow code to be executed.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRevisionCreateTime(com.google.protobuf.Timestamp value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels associated with this workflow.Labels associated with this workflow.removeLabels(String key) Labels associated with this workflow.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Description of the workflow provided by the user.setDescriptionBytes(com.google.protobuf.ByteString value) Description of the workflow provided by the user.The resource name of the workflow.setNameBytes(com.google.protobuf.ByteString value) The resource name of the workflow.setRevisionCreateTime(com.google.protobuf.Timestamp value) Output only.setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setRevisionId(String value) Output only.setRevisionIdBytes(com.google.protobuf.ByteString value) Output only.setServiceAccount(String value) The service account associated with the latest workflow version.setServiceAccountBytes(com.google.protobuf.ByteString value) The service account associated with the latest workflow version.setSourceContents(String value) Workflow code to be executed.setSourceContentsBytes(com.google.protobuf.ByteString value) Workflow code to be executed.setState(Workflow.State value) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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, internalGetMutableMapField, 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 java.lang.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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Workflow.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Workflow.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Workflow.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<Workflow.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<Workflow.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<Workflow.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Workflow.Builder>
-
mergeFrom
public Workflow.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<Workflow.Builder>- Throws:
IOException
-
getSourceCodeCase
- Specified by:
getSourceCodeCasein interfaceWorkflowOrBuilder
-
clearSourceCode
-
getName
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Specified by:
getNamein interfaceWorkflowOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Specified by:
getNameBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for name.
-
setName
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Specified by:
getDescriptionin interfaceWorkflowOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Specified by:
getDescriptionBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceWorkflowOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceWorkflowOrBuilder- Returns:
- The state.
-
setState
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getRevisionId
Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - [Service account][google.cloud.workflows.v1beta.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1beta.Workflow.source_contents] The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdin interfaceWorkflowOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - [Service account][google.cloud.workflows.v1beta.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1beta.Workflow.source_contents] The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for revisionId.
-
setRevisionId
Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - [Service account][google.cloud.workflows.v1beta.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1beta.Workflow.source_contents] The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The revisionId to set.- Returns:
- This builder for chaining.
-
clearRevisionId
Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - [Service account][google.cloud.workflows.v1beta.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1beta.Workflow.source_contents] The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRevisionIdBytes
Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - [Service account][google.cloud.workflows.v1beta.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1beta.Workflow.source_contents] The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for revisionId to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceWorkflowOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceWorkflowOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceWorkflowOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceWorkflowOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceWorkflowOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceWorkflowOrBuilder
-
hasRevisionCreateTime
public boolean hasRevisionCreateTime()Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevisionCreateTimein interfaceWorkflowOrBuilder- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public com.google.protobuf.Timestamp getRevisionCreateTime()Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimein interfaceWorkflowOrBuilder- Returns:
- The revisionCreateTime.
-
setRevisionCreateTime
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRevisionCreateTime
public Workflow.Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRevisionCreateTime
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRevisionCreateTime
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRevisionCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimeOrBuilderin interfaceWorkflowOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:WorkflowOrBuilderLabels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceWorkflowOrBuilder
-
containsLabels
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;- Specified by:
containsLabelsin interfaceWorkflowOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceWorkflowOrBuilder
-
getLabelsMap
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;- Specified by:
getLabelsMapin interfaceWorkflowOrBuilder
-
getLabelsOrDefault
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;- Specified by:
getLabelsOrDefaultin interfaceWorkflowOrBuilder
-
getLabelsOrThrow
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;- Specified by:
getLabelsOrThrowin interfaceWorkflowOrBuilder
-
clearLabels
-
removeLabels
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8; -
putAllLabels
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8; -
getServiceAccount
The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.string service_account = 9;- Specified by:
getServiceAccountin interfaceWorkflowOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.string service_account = 9;- Specified by:
getServiceAccountBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.string service_account = 9;- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.string service_account = 9;- Returns:
- This builder for chaining.
-
setServiceAccountBytes
The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.string service_account = 9;- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
hasSourceContents
public boolean hasSourceContents()Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;- Specified by:
hasSourceContentsin interfaceWorkflowOrBuilder- Returns:
- Whether the sourceContents field is set.
-
getSourceContents
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;- Specified by:
getSourceContentsin interfaceWorkflowOrBuilder- Returns:
- The sourceContents.
-
getSourceContentsBytes
public com.google.protobuf.ByteString getSourceContentsBytes()Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;- Specified by:
getSourceContentsBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for sourceContents.
-
setSourceContents
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;- Parameters:
value- The sourceContents to set.- Returns:
- This builder for chaining.
-
clearSourceContents
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;- Returns:
- This builder for chaining.
-
setSourceContentsBytes
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;- Parameters:
value- The bytes for sourceContents to set.- Returns:
- This builder for chaining.
-