public static final class CreateWorkflowRequest.Builder extends GeneratedMessageV3.Builder<CreateWorkflowRequest.Builder> implements CreateWorkflowRequestOrBuilder
Request for the
CreateWorkflow
method.
Protobuf type google.cloud.workflows.v1.CreateWorkflowRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkflowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateWorkflowRequest build()
Returns
buildPartial()
public CreateWorkflowRequest buildPartial()
Returns
clear()
public CreateWorkflowRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateWorkflowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWorkflowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateWorkflowRequest.Builder clearParent()
Required. Project and location in which the workflow should be created.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearWorkflow()
public CreateWorkflowRequest.Builder clearWorkflow()
Required. Workflow to be created.
.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearWorkflowId()
public CreateWorkflowRequest.Builder clearWorkflowId()
Required. The ID of the workflow to be created. It has to fulfill the
following requirements:
- Must contain only letters, numbers, underscores and hyphens.
- Must start with a letter.
- Must be between 1-64 characters.
- Must end with a number or a letter.
- Must be unique within the customer project and location.
string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateWorkflowRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateWorkflowRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. Project and location in which the workflow should be created.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Project and location in which the workflow should be created.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getWorkflow()
public Workflow getWorkflow()
Required. Workflow to be created.
.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getWorkflowBuilder()
public Workflow.Builder getWorkflowBuilder()
Required. Workflow to be created.
.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getWorkflowId()
public String getWorkflowId()
Required. The ID of the workflow to be created. It has to fulfill the
following requirements:
- Must contain only letters, numbers, underscores and hyphens.
- Must start with a letter.
- Must be between 1-64 characters.
- Must end with a number or a letter.
- Must be unique within the customer project and location.
string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The workflowId.
|
getWorkflowIdBytes()
public ByteString getWorkflowIdBytes()
Required. The ID of the workflow to be created. It has to fulfill the
following requirements:
- Must contain only letters, numbers, underscores and hyphens.
- Must start with a letter.
- Must be between 1-64 characters.
- Must end with a number or a letter.
- Must be unique within the customer project and location.
string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for workflowId.
|
getWorkflowOrBuilder()
public WorkflowOrBuilder getWorkflowOrBuilder()
Required. Workflow to be created.
.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasWorkflow()
public boolean hasWorkflow()
Required. Workflow to be created.
.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the workflow field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateWorkflowRequest other)
public CreateWorkflowRequest.Builder mergeFrom(CreateWorkflowRequest other)
Parameter
Returns
public CreateWorkflowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateWorkflowRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkflowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWorkflow(Workflow value)
public CreateWorkflowRequest.Builder mergeWorkflow(Workflow value)
Required. Workflow to be created.
.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkflowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateWorkflowRequest.Builder setParent(String value)
Required. Project and location in which the workflow should be created.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateWorkflowRequest.Builder setParentBytes(ByteString value)
Required. Project and location in which the workflow should be created.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateWorkflowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkflowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWorkflow(Workflow value)
public CreateWorkflowRequest.Builder setWorkflow(Workflow value)
Required. Workflow to be created.
.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setWorkflow(Workflow.Builder builderForValue)
public CreateWorkflowRequest.Builder setWorkflow(Workflow.Builder builderForValue)
Required. Workflow to be created.
.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setWorkflowId(String value)
public CreateWorkflowRequest.Builder setWorkflowId(String value)
Required. The ID of the workflow to be created. It has to fulfill the
following requirements:
- Must contain only letters, numbers, underscores and hyphens.
- Must start with a letter.
- Must be between 1-64 characters.
- Must end with a number or a letter.
- Must be unique within the customer project and location.
string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The workflowId to set.
|
Returns
setWorkflowIdBytes(ByteString value)
public CreateWorkflowRequest.Builder setWorkflowIdBytes(ByteString value)
Required. The ID of the workflow to be created. It has to fulfill the
following requirements:
- Must contain only letters, numbers, underscores and hyphens.
- Must start with a letter.
- Must be between 1-64 characters.
- Must end with a number or a letter.
- Must be unique within the customer project and location.
string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for workflowId to set.
|
Returns