public static final class CreateWorkflowRequest.Builder extends GeneratedMessageV3.Builder<CreateWorkflowRequest.Builder> implements CreateWorkflowRequestOrBuilder
Request for the
CreateWorkflow
method.
Protobuf type google.cloud.workflows.v1beta.CreateWorkflowRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkflowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateWorkflowRequest build()
buildPartial()
public CreateWorkflowRequest buildPartial()
clear()
public CreateWorkflowRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateWorkflowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWorkflowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clearWorkflow()
public CreateWorkflowRequest.Builder clearWorkflow()
Required. Workflow to be created.
.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
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];
clone()
public CreateWorkflowRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateWorkflowRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for parent.
|
getWorkflow()
public Workflow getWorkflow()
Required. Workflow to be created.
.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Workflow |
The workflow.
|
getWorkflowBuilder()
public Workflow.Builder getWorkflowBuilder()
Required. Workflow to be created.
.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
hasWorkflow()
public boolean hasWorkflow()
Required. Workflow to be created.
.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the workflow field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateWorkflowRequest other)
public CreateWorkflowRequest.Builder mergeFrom(CreateWorkflowRequest other)
public CreateWorkflowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateWorkflowRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkflowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeWorkflow(Workflow value)
public CreateWorkflowRequest.Builder mergeWorkflow(Workflow value)
Required. Workflow to be created.
.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Workflow
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkflowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateWorkflowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkflowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWorkflow(Workflow value)
public CreateWorkflowRequest.Builder setWorkflow(Workflow value)
Required. Workflow to be created.
.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Workflow
|
setWorkflow(Workflow.Builder builderForValue)
public CreateWorkflowRequest.Builder setWorkflow(Workflow.Builder builderForValue)
Required. Workflow to be created.
.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|