Class CreateConversionWorkspaceRequest.Builder (2.41.0)

public static final class CreateConversionWorkspaceRequest.Builder extends GeneratedMessageV3.Builder<CreateConversionWorkspaceRequest.Builder> implements CreateConversionWorkspaceRequestOrBuilder

Request message to create a new Conversion Workspace in the specified project and region.

Protobuf type google.cloud.clouddms.v1.CreateConversionWorkspaceRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateConversionWorkspaceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

build()

public CreateConversionWorkspaceRequest build()
Returns
Type Description
CreateConversionWorkspaceRequest

buildPartial()

public CreateConversionWorkspaceRequest buildPartial()
Returns
Type Description
CreateConversionWorkspaceRequest

clear()

public CreateConversionWorkspaceRequest.Builder clear()
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

clearConversionWorkspace()

public CreateConversionWorkspaceRequest.Builder clearConversionWorkspace()

Required. Represents a conversion workspace object.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

clearConversionWorkspaceId()

public CreateConversionWorkspaceRequest.Builder clearConversionWorkspaceId()

Required. The ID of the conversion workspace to create.

string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateConversionWorkspaceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConversionWorkspaceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

clearParent()

public CreateConversionWorkspaceRequest.Builder clearParent()

Required. The parent which owns this collection of conversion workspaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

clearRequestId()

public CreateConversionWorkspaceRequest.Builder clearRequestId()

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 4;

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

clone()

public CreateConversionWorkspaceRequest.Builder clone()
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

getConversionWorkspace()

public ConversionWorkspace getConversionWorkspace()

Required. Represents a conversion workspace object.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionWorkspace

The conversionWorkspace.

getConversionWorkspaceBuilder()

public ConversionWorkspace.Builder getConversionWorkspaceBuilder()

Required. Represents a conversion workspace object.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionWorkspace.Builder

getConversionWorkspaceId()

public String getConversionWorkspaceId()

Required. The ID of the conversion workspace to create.

string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The conversionWorkspaceId.

getConversionWorkspaceIdBytes()

public ByteString getConversionWorkspaceIdBytes()

Required. The ID of the conversion workspace to create.

string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for conversionWorkspaceId.

getConversionWorkspaceOrBuilder()

public ConversionWorkspaceOrBuilder getConversionWorkspaceOrBuilder()

Required. Represents a conversion workspace object.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionWorkspaceOrBuilder

getDefaultInstanceForType()

public CreateConversionWorkspaceRequest getDefaultInstanceForType()
Returns
Type Description
CreateConversionWorkspaceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent which owns this collection of conversion workspaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent which owns this collection of conversion workspaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 4;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 4;

Returns
Type Description
ByteString

The bytes for requestId.

hasConversionWorkspace()

public boolean hasConversionWorkspace()

Required. Represents a conversion workspace object.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversionWorkspace field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversionWorkspace(ConversionWorkspace value)

public CreateConversionWorkspaceRequest.Builder mergeConversionWorkspace(ConversionWorkspace value)

Required. Represents a conversion workspace object.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversionWorkspace
Returns
Type Description
CreateConversionWorkspaceRequest.Builder

mergeFrom(CreateConversionWorkspaceRequest other)

public CreateConversionWorkspaceRequest.Builder mergeFrom(CreateConversionWorkspaceRequest other)
Parameter
Name Description
other CreateConversionWorkspaceRequest
Returns
Type Description
CreateConversionWorkspaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateConversionWorkspaceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateConversionWorkspaceRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversionWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

setConversionWorkspace(ConversionWorkspace value)

public CreateConversionWorkspaceRequest.Builder setConversionWorkspace(ConversionWorkspace value)

Required. Represents a conversion workspace object.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversionWorkspace
Returns
Type Description
CreateConversionWorkspaceRequest.Builder

setConversionWorkspace(ConversionWorkspace.Builder builderForValue)

public CreateConversionWorkspaceRequest.Builder setConversionWorkspace(ConversionWorkspace.Builder builderForValue)

Required. Represents a conversion workspace object.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConversionWorkspace.Builder
Returns
Type Description
CreateConversionWorkspaceRequest.Builder

setConversionWorkspaceId(String value)

public CreateConversionWorkspaceRequest.Builder setConversionWorkspaceId(String value)

Required. The ID of the conversion workspace to create.

string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The conversionWorkspaceId to set.

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

setConversionWorkspaceIdBytes(ByteString value)

public CreateConversionWorkspaceRequest.Builder setConversionWorkspaceIdBytes(ByteString value)

Required. The ID of the conversion workspace to create.

string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for conversionWorkspaceId to set.

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConversionWorkspaceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

setParent(String value)

public CreateConversionWorkspaceRequest.Builder setParent(String value)

Required. The parent which owns this collection of conversion workspaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateConversionWorkspaceRequest.Builder setParentBytes(ByteString value)

Required. The parent which owns this collection of conversion workspaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateConversionWorkspaceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides

setRequestId(String value)

public CreateConversionWorkspaceRequest.Builder setRequestId(String value)

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 4;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateConversionWorkspaceRequest.Builder setRequestIdBytes(ByteString value)

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 4;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversionWorkspaceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateConversionWorkspaceRequest.Builder
Overrides