Class Workflow.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
- com.google.cloud.workflows.v1beta.Workflow.Builder
-
- All Implemented Interfaces:
WorkflowOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Workflow
public static final class Workflow.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder> implements WorkflowOrBuilder
Workflow program to be executed by Workflows.
Protobuf typegoogle.cloud.workflows.v1beta.Workflow
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Workflow.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Workflowbuild()WorkflowbuildPartial()Workflow.Builderclear()Workflow.BuilderclearCreateTime()Output only.Workflow.BuilderclearDescription()Description of the workflow provided by the user.Workflow.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Workflow.BuilderclearLabels()Workflow.BuilderclearName()The resource name of the workflow.Workflow.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Workflow.BuilderclearRevisionCreateTime()Output only.Workflow.BuilderclearRevisionId()Output only.Workflow.BuilderclearServiceAccount()Name of the service account associated with the latest workflow version.Workflow.BuilderclearSourceCode()Workflow.BuilderclearSourceContents()Workflow code to be executed.Workflow.BuilderclearState()Output only.Workflow.BuilderclearUpdateTime()Output only.Workflow.Builderclone()booleancontainsLabels(String key)Labels associated with this workflow.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.WorkflowgetDefaultInstanceForType()StringgetDescription()Description of the workflow provided by the user.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the workflow provided by the user.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels associated with this workflow.Map<String,String>getLabelsMap()Labels associated with this workflow.StringgetLabelsOrDefault(String key, String defaultValue)Labels associated with this workflow.StringgetLabelsOrThrow(String key)Labels associated with this workflow.Map<String,String>getMutableLabels()Deprecated.StringgetName()The resource name of the workflow.com.google.protobuf.ByteStringgetNameBytes()The resource name of the workflow.com.google.protobuf.TimestampgetRevisionCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetRevisionCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetRevisionCreateTimeOrBuilder()Output only.StringgetRevisionId()Output only.com.google.protobuf.ByteStringgetRevisionIdBytes()Output only.StringgetServiceAccount()Name of the service account associated with the latest workflow version.com.google.protobuf.ByteStringgetServiceAccountBytes()Name of the service account associated with the latest workflow version.Workflow.SourceCodeCasegetSourceCodeCase()StringgetSourceContents()Workflow code to be executed.com.google.protobuf.ByteStringgetSourceContentsBytes()Workflow code to be executed.Workflow.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasRevisionCreateTime()Output only.booleanhasSourceContents()Workflow code to be executed.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Workflow.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Workflow.BuildermergeFrom(Workflow other)Workflow.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Workflow.BuildermergeFrom(com.google.protobuf.Message other)Workflow.BuildermergeRevisionCreateTime(com.google.protobuf.Timestamp value)Output only.Workflow.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Workflow.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Workflow.BuilderputAllLabels(Map<String,String> values)Labels associated with this workflow.Workflow.BuilderputLabels(String key, String value)Labels associated with this workflow.Workflow.BuilderremoveLabels(String key)Labels associated with this workflow.Workflow.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Workflow.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Workflow.BuildersetDescription(String value)Description of the workflow provided by the user.Workflow.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Description of the workflow provided by the user.Workflow.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Workflow.BuildersetName(String value)The resource name of the workflow.Workflow.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the workflow.Workflow.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Workflow.BuildersetRevisionCreateTime(com.google.protobuf.Timestamp value)Output only.Workflow.BuildersetRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Workflow.BuildersetRevisionId(String value)Output only.Workflow.BuildersetRevisionIdBytes(com.google.protobuf.ByteString value)Output only.Workflow.BuildersetServiceAccount(String value)Name of the service account associated with the latest workflow version.Workflow.BuildersetServiceAccountBytes(com.google.protobuf.ByteString value)Name of the service account associated with the latest workflow version.Workflow.BuildersetSourceContents(String value)Workflow code to be executed.Workflow.BuildersetSourceContentsBytes(com.google.protobuf.ByteString value)Workflow code to be executed.Workflow.BuildersetState(Workflow.State value)Output only.Workflow.BuildersetStateValue(int value)Output only.Workflow.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Workflow.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Workflow.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
clear
public Workflow.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Workflow.Builder>
-
getDefaultInstanceForType
public Workflow getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Workflow build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Workflow buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Workflow.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
setField
public Workflow.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
clearField
public Workflow.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
clearOneof
public Workflow.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
setRepeatedField
public Workflow.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
addRepeatedField
public Workflow.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
mergeFrom
public Workflow.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Workflow.Builder>
-
mergeFrom
public Workflow.Builder mergeFrom(Workflow other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public Workflow.SourceCodeCase getSourceCodeCase()
- Specified by:
getSourceCodeCasein interfaceWorkflowOrBuilder
-
clearSourceCode
public Workflow.Builder clearSourceCode()
-
getName
public String getName()
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Specified by:
getNamein interfaceWorkflowOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Specified by:
getNameBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for name.
-
setName
public Workflow.Builder setName(String value)
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Workflow.Builder clearName()
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Specified by:
getDescriptionin interfaceWorkflowOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Specified by:
getDescriptionBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Workflow.Builder setDescription(String value)
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Workflow.Builder clearDescription()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceWorkflowOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Workflow.Builder setStateValue(int value)
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Workflow.State getState()
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceWorkflowOrBuilder- Returns:
- The state.
-
setState
public Workflow.Builder setState(Workflow.State value)
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Workflow.Builder clearState()
Output only. State of the workflow deployment.
.google.cloud.workflows.v1beta.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getRevisionId
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 fields of a workflow: - `source_code` - `service_account` The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdin interfaceWorkflowOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()
Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following fields of a workflow: - `source_code` - `service_account` The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for revisionId.
-
setRevisionId
public 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 fields of a workflow: - `source_code` - `service_account` The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The revisionId to set.- Returns:
- This builder for chaining.
-
clearRevisionId
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 fields of a workflow: - `source_code` - `service_account` The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRevisionIdBytes
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 fields of a workflow: - `source_code` - `service_account` The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for revisionId to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceWorkflowOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceWorkflowOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Workflow.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Workflow.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Workflow.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Workflow.Builder clearCreateTime()
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceWorkflowOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceWorkflowOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceWorkflowOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Workflow.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Workflow.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Workflow.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Workflow.Builder clearUpdateTime()
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceWorkflowOrBuilder
-
hasRevisionCreateTime
public boolean hasRevisionCreateTime()
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevisionCreateTimein interfaceWorkflowOrBuilder- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public com.google.protobuf.Timestamp getRevisionCreateTime()
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimein interfaceWorkflowOrBuilder- Returns:
- The revisionCreateTime.
-
setRevisionCreateTime
public Workflow.Builder setRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setRevisionCreateTime
public Workflow.Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeRevisionCreateTime
public Workflow.Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearRevisionCreateTime
public Workflow.Builder clearRevisionCreateTime()
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRevisionCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. The timestamp that the latest revision of the workflow was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimeOrBuilderin interfaceWorkflowOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:WorkflowOrBuilderLabels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceWorkflowOrBuilder
-
containsLabels
public 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;- Specified by:
containsLabelsin interfaceWorkflowOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceWorkflowOrBuilder
-
getLabelsMap
public 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;- Specified by:
getLabelsMapin interfaceWorkflowOrBuilder
-
getLabelsOrDefault
public 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;- Specified by:
getLabelsOrDefaultin interfaceWorkflowOrBuilder
-
getLabelsOrThrow
public 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;- Specified by:
getLabelsOrThrowin interfaceWorkflowOrBuilder
-
clearLabels
public Workflow.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
getServiceAccount
public String getServiceAccount()
Name of 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} Using `-` as a wildcard for the `{project}` 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()
Name of 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} Using `-` as a wildcard for the `{project}` 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
public Workflow.Builder setServiceAccount(String value)
Name of 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} Using `-` as a wildcard for the `{project}` 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
public Workflow.Builder clearServiceAccount()
Name of 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} Using `-` as a wildcard for the `{project}` 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
public Workflow.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Name of 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} Using `-` as a wildcard for the `{project}` 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 32KB.
string source_contents = 10;- Specified by:
hasSourceContentsin interfaceWorkflowOrBuilder- Returns:
- Whether the sourceContents field is set.
-
getSourceContents
public String getSourceContents()
Workflow code to be executed. The size limit is 32KB.
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 32KB.
string source_contents = 10;- Specified by:
getSourceContentsBytesin interfaceWorkflowOrBuilder- Returns:
- The bytes for sourceContents.
-
setSourceContents
public Workflow.Builder setSourceContents(String value)
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;- Parameters:
value- The sourceContents to set.- Returns:
- This builder for chaining.
-
clearSourceContents
public Workflow.Builder clearSourceContents()
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;- Returns:
- This builder for chaining.
-
setSourceContentsBytes
public Workflow.Builder setSourceContentsBytes(com.google.protobuf.ByteString value)
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;- Parameters:
value- The bytes for sourceContents to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Workflow.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
mergeUnknownFields
public final Workflow.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Workflow.Builder>
-
-