public static final class Workflow.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder> implements WorkflowOrBuilder
Workflow program to be executed by Workflows.Protobuf type
google.cloud.workflows.v1.Workflow| Modifier and Type | Method and Description |
|---|---|
Workflow.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Workflow |
build() |
Workflow |
buildPartial() |
Workflow.Builder |
clear() |
Workflow.Builder |
clearCallLogLevel()
Optional.
|
Workflow.Builder |
clearCreateTime()
Output only.
|
Workflow.Builder |
clearCryptoKeyName()
Optional.
|
Workflow.Builder |
clearDescription()
Description of the workflow provided by the user.
|
Workflow.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Workflow.Builder |
clearLabels() |
Workflow.Builder |
clearName()
The resource name of the workflow.
|
Workflow.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Workflow.Builder |
clearRevisionCreateTime()
Output only.
|
Workflow.Builder |
clearRevisionId()
Output only.
|
Workflow.Builder |
clearServiceAccount()
The service account associated with the latest workflow version.
|
Workflow.Builder |
clearSourceCode() |
Workflow.Builder |
clearSourceContents()
Workflow code to be executed.
|
Workflow.Builder |
clearState()
Output only.
|
Workflow.Builder |
clearStateError()
Output only.
|
Workflow.Builder |
clearUpdateTime()
Output only.
|
Workflow.Builder |
clearUserEnvVars() |
Workflow.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with this workflow.
|
boolean |
containsUserEnvVars(String key)
Optional.
|
Workflow.CallLogLevel |
getCallLogLevel()
Optional.
|
int |
getCallLogLevelValue()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCryptoKeyName()
Optional.
|
com.google.protobuf.ByteString |
getCryptoKeyNameBytes()
Optional.
|
Workflow |
getDefaultInstanceForType() |
String |
getDescription()
Description of the workflow provided by the user.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the workflow provided by the user.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this workflow.
|
Map<String,String> |
getLabelsMap()
Labels associated with this workflow.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this workflow.
|
String |
getLabelsOrThrow(String key)
Labels associated with this workflow.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
Map<String,String> |
getMutableUserEnvVars()
Deprecated.
|
String |
getName()
The resource name of the workflow.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the workflow.
|
com.google.protobuf.Timestamp |
getRevisionCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getRevisionCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getRevisionCreateTimeOrBuilder()
Output only.
|
String |
getRevisionId()
Output only.
|
com.google.protobuf.ByteString |
getRevisionIdBytes()
Output only.
|
String |
getServiceAccount()
The service account associated with the latest workflow version.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
The service account associated with the latest workflow version.
|
Workflow.SourceCodeCase |
getSourceCodeCase() |
String |
getSourceContents()
Workflow code to be executed.
|
com.google.protobuf.ByteString |
getSourceContentsBytes()
Workflow code to be executed.
|
Workflow.State |
getState()
Output only.
|
Workflow.StateError |
getStateError()
Output only.
|
Workflow.StateError.Builder |
getStateErrorBuilder()
Output only.
|
Workflow.StateErrorOrBuilder |
getStateErrorOrBuilder()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
Map<String,String> |
getUserEnvVars()
Deprecated.
|
int |
getUserEnvVarsCount()
Optional.
|
Map<String,String> |
getUserEnvVarsMap()
Optional.
|
String |
getUserEnvVarsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getUserEnvVarsOrThrow(String key)
Optional.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasRevisionCreateTime()
Output only.
|
boolean |
hasSourceContents()
Workflow code to be executed.
|
boolean |
hasStateError()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Workflow.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Workflow.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Workflow.Builder |
mergeFrom(com.google.protobuf.Message other) |
Workflow.Builder |
mergeFrom(Workflow other) |
Workflow.Builder |
mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Workflow.Builder |
mergeStateError(Workflow.StateError value)
Output only.
|
Workflow.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Workflow.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Workflow.Builder |
putAllLabels(Map<String,String> values)
Labels associated with this workflow.
|
Workflow.Builder |
putAllUserEnvVars(Map<String,String> values)
Optional.
|
Workflow.Builder |
putLabels(String key,
String value)
Labels associated with this workflow.
|
Workflow.Builder |
putUserEnvVars(String key,
String value)
Optional.
|
Workflow.Builder |
removeLabels(String key)
Labels associated with this workflow.
|
Workflow.Builder |
removeUserEnvVars(String key)
Optional.
|
Workflow.Builder |
setCallLogLevel(Workflow.CallLogLevel value)
Optional.
|
Workflow.Builder |
setCallLogLevelValue(int value)
Optional.
|
Workflow.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Workflow.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Workflow.Builder |
setCryptoKeyName(String value)
Optional.
|
Workflow.Builder |
setCryptoKeyNameBytes(com.google.protobuf.ByteString value)
Optional.
|
Workflow.Builder |
setDescription(String value)
Description of the workflow provided by the user.
|
Workflow.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the workflow provided by the user.
|
Workflow.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Workflow.Builder |
setName(String value)
The resource name of the workflow.
|
Workflow.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the workflow.
|
Workflow.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Workflow.Builder |
setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Workflow.Builder |
setRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Workflow.Builder |
setRevisionId(String value)
Output only.
|
Workflow.Builder |
setRevisionIdBytes(com.google.protobuf.ByteString value)
Output only.
|
Workflow.Builder |
setServiceAccount(String value)
The service account associated with the latest workflow version.
|
Workflow.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account associated with the latest workflow version.
|
Workflow.Builder |
setSourceContents(String value)
Workflow code to be executed.
|
Workflow.Builder |
setSourceContentsBytes(com.google.protobuf.ByteString value)
Workflow code to be executed.
|
Workflow.Builder |
setState(Workflow.State value)
Output only.
|
Workflow.Builder |
setStateError(Workflow.StateError.Builder builderForValue)
Output only.
|
Workflow.Builder |
setStateError(Workflow.StateError value)
Output only.
|
Workflow.Builder |
setStateValue(int value)
Output only.
|
Workflow.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Workflow.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Workflow.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Workflow build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Workflow buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Workflow.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Workflow.Builder>public Workflow.Builder mergeFrom(Workflow other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public Workflow.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Workflow.Builder>IOExceptionpublic Workflow.SourceCodeCase getSourceCodeCase()
getSourceCodeCase in interface WorkflowOrBuilderpublic Workflow.Builder clearSourceCode()
public String getName()
The resource name of the workflow.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;getName in interface WorkflowOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the workflow.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;getNameBytes in interface WorkflowOrBuilderpublic Workflow.Builder setName(String value)
The resource name of the workflow.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;value - The name to set.public Workflow.Builder clearName()
The resource name of the workflow.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;public Workflow.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the workflow.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;value - The bytes for name to set.public String getDescription()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;getDescription in interface WorkflowOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;getDescriptionBytes in interface WorkflowOrBuilderpublic Workflow.Builder setDescription(String value)
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;value - The description to set.public Workflow.Builder clearDescription()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;public Workflow.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;value - The bytes for description to set.public int getStateValue()
Output only. State of the workflow deployment.
.google.cloud.workflows.v1.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface WorkflowOrBuilderpublic Workflow.Builder setStateValue(int value)
Output only. State of the workflow deployment.
.google.cloud.workflows.v1.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Workflow.State getState()
Output only. State of the workflow deployment.
.google.cloud.workflows.v1.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface WorkflowOrBuilderpublic Workflow.Builder setState(Workflow.State value)
Output only. State of the workflow deployment.
.google.cloud.workflows.v1.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Workflow.Builder clearState()
Output only. State of the workflow deployment.
.google.cloud.workflows.v1.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String 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];getRevisionId in interface WorkflowOrBuilderpublic 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];getRevisionIdBytes in interface WorkflowOrBuilderpublic Workflow.Builder setRevisionId(String value)
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];value - The revisionId to set.public Workflow.Builder 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];public Workflow.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
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];value - The bytes for revisionId to set.public boolean hasCreateTime()
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface WorkflowOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface WorkflowOrBuilderpublic Workflow.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Workflow.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Workflow.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Workflow.Builder clearCreateTime()
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface WorkflowOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface WorkflowOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface WorkflowOrBuilderpublic Workflow.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Workflow.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Workflow.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Workflow.Builder clearUpdateTime()
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface WorkflowOrBuilderpublic 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];
hasRevisionCreateTime in interface WorkflowOrBuilderpublic 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];
getRevisionCreateTime in interface WorkflowOrBuilderpublic Workflow.Builder setRevisionCreateTime(com.google.protobuf.Timestamp value)
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];
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];
public Workflow.Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
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];
public Workflow.Builder 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];
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];
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];
getRevisionCreateTimeOrBuilder in interface WorkflowOrBuilderpublic int getLabelsCount()
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;getLabelsCount in interface WorkflowOrBuilderpublic boolean containsLabels(String key)
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;containsLabels in interface WorkflowOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface WorkflowOrBuilderpublic Map<String,String> 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;getLabelsMap in interface WorkflowOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
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;getLabelsOrDefault in interface WorkflowOrBuilderpublic String getLabelsOrThrow(String key)
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;getLabelsOrThrow in interface WorkflowOrBuilderpublic Workflow.Builder clearLabels()
public Workflow.Builder removeLabels(String key)
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;@Deprecated public Map<String,String> getMutableLabels()
public Workflow.Builder putLabels(String key, String value)
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;public Workflow.Builder putAllLabels(Map<String,String> values)
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;public String 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;getServiceAccount in interface WorkflowOrBuilderpublic 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;getServiceAccountBytes in interface WorkflowOrBuilderpublic Workflow.Builder setServiceAccount(String value)
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;value - The serviceAccount to set.public Workflow.Builder 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;public Workflow.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
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;value - The bytes for serviceAccount to set.public boolean hasSourceContents()
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;hasSourceContents in interface WorkflowOrBuilderpublic String getSourceContents()
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;getSourceContents in interface WorkflowOrBuilderpublic com.google.protobuf.ByteString getSourceContentsBytes()
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;getSourceContentsBytes in interface WorkflowOrBuilderpublic Workflow.Builder setSourceContents(String value)
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;value - The sourceContents to set.public Workflow.Builder clearSourceContents()
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;public Workflow.Builder setSourceContentsBytes(com.google.protobuf.ByteString value)
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;value - The bytes for sourceContents to set.public String 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) = { ... }
getCryptoKeyName in interface WorkflowOrBuilderpublic 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) = { ... }
getCryptoKeyNameBytes in interface WorkflowOrBuilderpublic Workflow.Builder setCryptoKeyName(String value)
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) = { ... }
value - The cryptoKeyName to set.public Workflow.Builder 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) = { ... }
public Workflow.Builder setCryptoKeyNameBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for cryptoKeyName to set.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];
hasStateError in interface WorkflowOrBuilderpublic Workflow.StateError 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];
getStateError in interface WorkflowOrBuilderpublic Workflow.Builder setStateError(Workflow.StateError value)
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];
public Workflow.Builder setStateError(Workflow.StateError.Builder builderForValue)
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];
public Workflow.Builder mergeStateError(Workflow.StateError value)
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];
public Workflow.Builder 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];
public Workflow.StateError.Builder 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];
public Workflow.StateErrorOrBuilder 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];
getStateErrorOrBuilder in interface WorkflowOrBuilderpublic 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];
getCallLogLevelValue in interface WorkflowOrBuilderpublic Workflow.Builder setCallLogLevelValue(int value)
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];
value - The enum numeric value on the wire for callLogLevel to set.public Workflow.CallLogLevel 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];
getCallLogLevel in interface WorkflowOrBuilderpublic Workflow.Builder setCallLogLevel(Workflow.CallLogLevel value)
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];
value - The callLogLevel to set.public Workflow.Builder 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];
public int getUserEnvVarsCount()
WorkflowOrBuilderOptional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
getUserEnvVarsCount in interface WorkflowOrBuilderpublic boolean containsUserEnvVars(String key)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
containsUserEnvVars in interface WorkflowOrBuilder@Deprecated public Map<String,String> getUserEnvVars()
getUserEnvVarsMap() instead.getUserEnvVars in interface WorkflowOrBuilderpublic Map<String,String> 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 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
getUserEnvVarsMap in interface WorkflowOrBuilderpublic String getUserEnvVarsOrDefault(String key, String defaultValue)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
getUserEnvVarsOrDefault in interface WorkflowOrBuilderpublic String getUserEnvVarsOrThrow(String key)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
getUserEnvVarsOrThrow in interface WorkflowOrBuilderpublic Workflow.Builder clearUserEnvVars()
public Workflow.Builder removeUserEnvVars(String key)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableUserEnvVars()
public Workflow.Builder putUserEnvVars(String key, String value)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
public Workflow.Builder putAllUserEnvVars(Map<String,String> values)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
public final Workflow.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>public final Workflow.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>Copyright © 2024 Google LLC. All rights reserved.