Package com.google.cloud.workflows.v1
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.v1.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.v1.Workflow-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllKmsKeys(Iterable<String> values) Output only.addAllAllKmsKeysVersions(Iterable<String> values) Output only.addAllKmsKeys(String value) Output only.addAllKmsKeysBytes(com.google.protobuf.ByteString value) Output only.addAllKmsKeysVersions(String value) Output only.addAllKmsKeysVersionsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Optional.Output only.Optional.Output only.Description of the workflow provided by the user.Optional.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.Output only.booleancontainsLabels(String key) Labels associated with this workflow.booleancontainsTags(String key) Optional.booleanOptional.getAllKmsKeys(int index) Output only.com.google.protobuf.ByteStringgetAllKmsKeysBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getAllKmsKeysVersions(int index) Output only.com.google.protobuf.ByteStringgetAllKmsKeysVersionsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Optional.intOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput 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.DescriptorOptional.intOptional.Deprecated.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.Deprecated.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.Output only.Output only.Output only.intOutput only.getTags()Deprecated.intOptional.Optional.getTagsOrDefault(String key, String defaultValue) Optional.getTagsOrThrow(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intOptional.Optional.getUserEnvVarsOrDefault(String key, String defaultValue) Optional.Optional.booleanOutput only.booleanOutput only.booleanWorkflow code to be executed.booleanOutput only.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.Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels associated with this workflow.putAllTags(Map<String, String> values) Optional.putAllUserEnvVars(Map<String, String> values) Optional.Labels associated with this workflow.Optional.putUserEnvVars(String key, String value) Optional.removeLabels(String key) Labels associated with this workflow.removeTags(String key) Optional.removeUserEnvVars(String key) Optional.setAllKmsKeys(int index, String value) Output only.setAllKmsKeysVersions(int index, String value) Output only.Optional.setCallLogLevelValue(int value) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setCryptoKeyName(String value) Optional.setCryptoKeyNameBytes(com.google.protobuf.ByteString value) Optional.setCryptoKeyVersion(String value) Output only.setCryptoKeyVersionBytes(com.google.protobuf.ByteString value) 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.Optional.setExecutionHistoryLevelValue(int value) Optional.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.setStateError(Workflow.StateError value) Output only.setStateError(Workflow.StateError.Builder builderForValue) 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}. This is a workflow-wide field and is not tied to a specific revision.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}. This is a workflow-wide field and is not tied to a specific revision.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}. This is a workflow-wide field and is not tied to a specific revision.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}. This is a workflow-wide field and is not tied to a specific revision.string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents] The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three 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.v1.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents] The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three 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.v1.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents] The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three 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.v1.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents] The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three 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.v1.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents] The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three 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 for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
.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 for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceWorkflowOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceWorkflowOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
.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 timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceWorkflowOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceWorkflowOrBuilder
-
hasRevisionCreateTime
public boolean hasRevisionCreateTime()Output only. The timestamp for the latest revision of the workflow's creation.
.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 for the latest revision of the workflow's creation.
.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 for the latest revision of the workflow's creation.
.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 for the latest revision of the workflow's creation.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRevisionCreateTime
Output only. The timestamp for the latest revision of the workflow's creation.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRevisionCreateTime
Output only. The timestamp for the latest revision of the workflow's creation.
.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 for the latest revision of the workflow's creation.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()Output only. The timestamp for the latest revision of the workflow's creation.
.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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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. This is a workflow-wide field and is not tied to a specific revision.
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.
-
getCryptoKeyName
Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCryptoKeyNamein interfaceWorkflowOrBuilder- Returns:
- The cryptoKeyName.
-
getCryptoKeyNameBytes
public com.google.protobuf.ByteString getCryptoKeyNameBytes()Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCryptoKeyNameBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for cryptoKeyName.
-
setCryptoKeyName
Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The cryptoKeyName to set.- Returns:
- This builder for chaining.
-
clearCryptoKeyName
Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCryptoKeyNameBytes
Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for cryptoKeyName to set.- Returns:
- This builder for chaining.
-
hasStateError
public boolean hasStateError()Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStateErrorin interfaceWorkflowOrBuilder- Returns:
- Whether the stateError field is set.
-
getStateError
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateErrorin interfaceWorkflowOrBuilder- Returns:
- The stateError.
-
setStateError
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStateError
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStateError
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStateError
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateErrorBuilder
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateErrorOrBuilder
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateErrorOrBuilderin interfaceWorkflowOrBuilder
-
getCallLogLevelValue
public int getCallLogLevelValue()Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.
.google.cloud.workflows.v1.Workflow.CallLogLevel call_log_level = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCallLogLevelValuein interfaceWorkflowOrBuilder- Returns:
- The enum numeric value on the wire for callLogLevel.
-
setCallLogLevelValue
Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.
.google.cloud.workflows.v1.Workflow.CallLogLevel call_log_level = 13 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for callLogLevel to set.- Returns:
- This builder for chaining.
-
getCallLogLevel
Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.
.google.cloud.workflows.v1.Workflow.CallLogLevel call_log_level = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCallLogLevelin interfaceWorkflowOrBuilder- Returns:
- The callLogLevel.
-
setCallLogLevel
Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.
.google.cloud.workflows.v1.Workflow.CallLogLevel call_log_level = 13 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The callLogLevel to set.- Returns:
- This builder for chaining.
-
clearCallLogLevel
Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.
.google.cloud.workflows.v1.Workflow.CallLogLevel call_log_level = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getUserEnvVarsCount
public int getUserEnvVarsCount()Description copied from interface:WorkflowOrBuilderOptional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserEnvVarsCountin interfaceWorkflowOrBuilder
-
containsUserEnvVars
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsUserEnvVarsin interfaceWorkflowOrBuilder
-
getUserEnvVars
Deprecated.UsegetUserEnvVarsMap()instead.- Specified by:
getUserEnvVarsin interfaceWorkflowOrBuilder
-
getUserEnvVarsMap
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserEnvVarsMapin interfaceWorkflowOrBuilder
-
getUserEnvVarsOrDefault
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserEnvVarsOrDefaultin interfaceWorkflowOrBuilder
-
getUserEnvVarsOrThrow
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserEnvVarsOrThrowin interfaceWorkflowOrBuilder
-
clearUserEnvVars
-
removeUserEnvVars
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableUserEnvVars
Deprecated.Use alternate mutation accessors instead. -
putUserEnvVars
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL]; -
putAllUserEnvVars
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL]; -
getExecutionHistoryLevelValue
public int getExecutionHistoryLevelValue()Optional. Describes the execution history level to apply to this workflow.
.google.cloud.workflows.v1.ExecutionHistoryLevel execution_history_level = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionHistoryLevelValuein interfaceWorkflowOrBuilder- Returns:
- The enum numeric value on the wire for executionHistoryLevel.
-
setExecutionHistoryLevelValue
Optional. Describes the execution history level to apply to this workflow.
.google.cloud.workflows.v1.ExecutionHistoryLevel execution_history_level = 15 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for executionHistoryLevel to set.- Returns:
- This builder for chaining.
-
getExecutionHistoryLevel
Optional. Describes the execution history level to apply to this workflow.
.google.cloud.workflows.v1.ExecutionHistoryLevel execution_history_level = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExecutionHistoryLevelin interfaceWorkflowOrBuilder- Returns:
- The executionHistoryLevel.
-
setExecutionHistoryLevel
Optional. Describes the execution history level to apply to this workflow.
.google.cloud.workflows.v1.ExecutionHistoryLevel execution_history_level = 15 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The executionHistoryLevel to set.- Returns:
- This builder for chaining.
-
clearExecutionHistoryLevel
Optional. Describes the execution history level to apply to this workflow.
.google.cloud.workflows.v1.ExecutionHistoryLevel execution_history_level = 15 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getAllKmsKeysList
public com.google.protobuf.ProtocolStringList getAllKmsKeysList()Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAllKmsKeysListin interfaceWorkflowOrBuilder- Returns:
- A list containing the allKmsKeys.
-
getAllKmsKeysCount
public int getAllKmsKeysCount()Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAllKmsKeysCountin interfaceWorkflowOrBuilder- Returns:
- The count of allKmsKeys.
-
getAllKmsKeys
Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAllKmsKeysin interfaceWorkflowOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allKmsKeys at the given index.
-
getAllKmsKeysBytes
public com.google.protobuf.ByteString getAllKmsKeysBytes(int index) Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAllKmsKeysBytesin interfaceWorkflowOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allKmsKeys at the given index.
-
setAllKmsKeys
Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The allKmsKeys to set.- Returns:
- This builder for chaining.
-
addAllKmsKeys
Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The allKmsKeys to add.- Returns:
- This builder for chaining.
-
addAllAllKmsKeys
Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
values- The allKmsKeys to add.- Returns:
- This builder for chaining.
-
clearAllKmsKeys
Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addAllKmsKeysBytes
Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the allKmsKeys to add.- Returns:
- This builder for chaining.
-
getAllKmsKeysVersionsList
public com.google.protobuf.ProtocolStringList getAllKmsKeysVersionsList()Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAllKmsKeysVersionsListin interfaceWorkflowOrBuilder- Returns:
- A list containing the allKmsKeysVersions.
-
getAllKmsKeysVersionsCount
public int getAllKmsKeysVersionsCount()Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAllKmsKeysVersionsCountin interfaceWorkflowOrBuilder- Returns:
- The count of allKmsKeysVersions.
-
getAllKmsKeysVersions
Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAllKmsKeysVersionsin interfaceWorkflowOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allKmsKeysVersions at the given index.
-
getAllKmsKeysVersionsBytes
public com.google.protobuf.ByteString getAllKmsKeysVersionsBytes(int index) Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAllKmsKeysVersionsBytesin interfaceWorkflowOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allKmsKeysVersions at the given index.
-
setAllKmsKeysVersions
Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The allKmsKeysVersions to set.- Returns:
- This builder for chaining.
-
addAllKmsKeysVersions
Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The allKmsKeysVersions to add.- Returns:
- This builder for chaining.
-
addAllAllKmsKeysVersions
Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
values- The allKmsKeysVersions to add.- Returns:
- This builder for chaining.
-
clearAllKmsKeysVersions
Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addAllKmsKeysVersionsBytes
Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.
repeated string all_kms_keys_versions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the allKmsKeysVersions to add.- Returns:
- This builder for chaining.
-
getCryptoKeyVersion
Output only. The resource name of a KMS crypto key version used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}string crypto_key_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCryptoKeyVersionin interfaceWorkflowOrBuilder- Returns:
- The cryptoKeyVersion.
-
getCryptoKeyVersionBytes
public com.google.protobuf.ByteString getCryptoKeyVersionBytes()Output only. The resource name of a KMS crypto key version used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}string crypto_key_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCryptoKeyVersionBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for cryptoKeyVersion.
-
setCryptoKeyVersion
Output only. The resource name of a KMS crypto key version used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}string crypto_key_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The cryptoKeyVersion to set.- Returns:
- This builder for chaining.
-
clearCryptoKeyVersion
Output only. The resource name of a KMS crypto key version used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}string crypto_key_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCryptoKeyVersionBytes
Output only. The resource name of a KMS crypto key version used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}string crypto_key_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for cryptoKeyVersion to set.- Returns:
- This builder for chaining.
-
getTagsCount
public int getTagsCount()Description copied from interface:WorkflowOrBuilderOptional. Input only. Immutable. Tags associated with this workflow.
map<string, string> tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsCountin interfaceWorkflowOrBuilder
-
containsTags
Optional. Input only. Immutable. Tags associated with this workflow.
map<string, string> tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
containsTagsin interfaceWorkflowOrBuilder
-
getTags
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceWorkflowOrBuilder
-
getTagsMap
Optional. Input only. Immutable. Tags associated with this workflow.
map<string, string> tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsMapin interfaceWorkflowOrBuilder
-
getTagsOrDefault
Optional. Input only. Immutable. Tags associated with this workflow.
map<string, string> tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsOrDefaultin interfaceWorkflowOrBuilder
-
getTagsOrThrow
Optional. Input only. Immutable. Tags associated with this workflow.
map<string, string> tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsOrThrowin interfaceWorkflowOrBuilder
-
clearTags
-
removeTags
Optional. Input only. Immutable. Tags associated with this workflow.
map<string, string> tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL]; -
getMutableTags
Deprecated.Use alternate mutation accessors instead. -
putTags
Optional. Input only. Immutable. Tags associated with this workflow.
map<string, string> tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL]; -
putAllTags
Optional. Input only. Immutable. Tags associated with this workflow.
map<string, string> tags = 19 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
-