- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.1
- 2.1.10
public static final class Workflow.Builder extends GeneratedMessageV3.Builder<Workflow.Builder> implements WorkflowOrBuilder
Workflow program to be executed by Workflows.
Protobuf type google.cloud.workflows.v1beta.Workflow
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Workflow.BuilderImplements
WorkflowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Workflow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Workflow.Builder |
build()
public Workflow build()
Type | Description |
Workflow |
buildPartial()
public Workflow buildPartial()
Type | Description |
Workflow |
clear()
public Workflow.Builder clear()
Type | Description |
Workflow.Builder |
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];
Type | Description |
Workflow.Builder |
clearDescription()
public Workflow.Builder clearDescription()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;
Type | Description |
Workflow.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Workflow.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Workflow.Builder |
clearLabels()
public Workflow.Builder clearLabels()
Type | Description |
Workflow.Builder |
clearName()
public Workflow.Builder clearName()
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;
Type | Description |
Workflow.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Workflow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Workflow.Builder |
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];
Type | Description |
Workflow.Builder |
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];
Type | Description |
Workflow.Builder | 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;
Type | Description |
Workflow.Builder | This builder for chaining. |
clearSourceCode()
public Workflow.Builder clearSourceCode()
Type | Description |
Workflow.Builder |
clearSourceContents()
public Workflow.Builder clearSourceContents()
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;
Type | Description |
Workflow.Builder | 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];
Type | Description |
Workflow.Builder | This builder for chaining. |
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];
Type | Description |
Workflow.Builder |
clone()
public Workflow.Builder clone()
Type | Description |
Workflow.Builder |
containsLabels(String key)
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;
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public 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];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Workflow getDefaultInstanceForType()
Type | Description |
Workflow |
getDescription()
public String getDescription()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
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;
Type | Description |
int |
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;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
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;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getRevisionCreateTime()
public 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];
Type | Description |
Timestamp | The revisionCreateTime. |
getRevisionCreateTimeBuilder()
public 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];
Type | Description |
Builder |
getRevisionCreateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
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];
Type | Description |
String | The revisionId. |
getRevisionIdBytes()
public 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];
Type | Description |
ByteString | The bytes for revisionId. |
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;
Type | Description |
String | The serviceAccount. |
getServiceAccountBytes()
public 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;
Type | Description |
ByteString | The bytes for serviceAccount. |
getSourceCodeCase()
public Workflow.SourceCodeCase getSourceCodeCase()
Type | Description |
Workflow.SourceCodeCase |
getSourceContents()
public String getSourceContents()
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;
Type | Description |
String | The sourceContents. |
getSourceContentsBytes()
public ByteString getSourceContentsBytes()
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;
Type | Description |
ByteString | The bytes for sourceContents. |
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];
Type | Description |
Workflow.State | The state. |
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];
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
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];
Type | Description |
boolean | Whether the createTime field is set. |
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];
Type | Description |
boolean | Whether the revisionCreateTime field is set. |
hasSourceContents()
public boolean hasSourceContents()
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;
Type | Description |
boolean | Whether the sourceContents field is set. |
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Workflow.Builder mergeCreateTime(Timestamp value)
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Workflow.Builder |
mergeFrom(Workflow other)
public Workflow.Builder mergeFrom(Workflow other)
Name | Description |
other | Workflow |
Type | Description |
Workflow.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Workflow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Workflow.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Workflow.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Workflow.Builder |
mergeRevisionCreateTime(Timestamp value)
public Workflow.Builder mergeRevisionCreateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
Workflow.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Workflow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Workflow.Builder |
mergeUpdateTime(Timestamp value)
public Workflow.Builder mergeUpdateTime(Timestamp value)
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Workflow.Builder |
putAllLabels(Map<String,String> values)
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;
Name | Description |
values | Map<String,String> |
Type | Description |
Workflow.Builder |
putLabels(String key, String value)
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;
Name | Description |
key | String |
value | String |
Type | Description |
Workflow.Builder |
removeLabels(String key)
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;
Name | Description |
key | String |
Type | Description |
Workflow.Builder |
setCreateTime(Timestamp value)
public Workflow.Builder setCreateTime(Timestamp value)
Output only. The timestamp of when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Workflow.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Workflow.Builder setCreateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
Workflow.Builder |
setDescription(String value)
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;
Name | Description |
value | String The description to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Workflow.Builder setDescriptionBytes(ByteString value)
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Workflow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Workflow.Builder |
setName(String value)
public Workflow.Builder setName(String value)
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Workflow.Builder setNameBytes(ByteString value)
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Workflow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Workflow.Builder |
setRevisionCreateTime(Timestamp value)
public Workflow.Builder setRevisionCreateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
Workflow.Builder |
setRevisionCreateTime(Timestamp.Builder builderForValue)
public Workflow.Builder setRevisionCreateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
Workflow.Builder |
setRevisionId(String value)
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];
Name | Description |
value | String The revisionId to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setRevisionIdBytes(ByteString value)
public Workflow.Builder setRevisionIdBytes(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];
Name | Description |
value | ByteString The bytes for revisionId to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setServiceAccount(String value)
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;
Name | Description |
value | String The serviceAccount to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setServiceAccountBytes(ByteString value)
public Workflow.Builder setServiceAccountBytes(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;
Name | Description |
value | ByteString The bytes for serviceAccount to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setSourceContents(String value)
public Workflow.Builder setSourceContents(String value)
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;
Name | Description |
value | String The sourceContents to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setSourceContentsBytes(ByteString value)
public Workflow.Builder setSourceContentsBytes(ByteString value)
Workflow code to be executed. The size limit is 32KB.
string source_contents = 10;
Name | Description |
value | ByteString The bytes for sourceContents to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setState(Workflow.State value)
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];
Name | Description |
value | Workflow.State The state to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setStateValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Workflow.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Workflow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Workflow.Builder |
setUpdateTime(Timestamp value)
public Workflow.Builder setUpdateTime(Timestamp value)
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Workflow.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Workflow.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last update timestamp of the workflow.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Workflow.Builder |