Class CreateConversionWorkspaceRequest.Builder (2.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateConversionWorkspaceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder
Overrides

build()

public CreateConversionWorkspaceRequest build()
Returns
TypeDescription
CreateConversionWorkspaceRequest

buildPartial()

public CreateConversionWorkspaceRequest buildPartial()
Returns
TypeDescription
CreateConversionWorkspaceRequest

clear()

public CreateConversionWorkspaceRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateConversionWorkspaceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConversionWorkspaceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

clone()

public CreateConversionWorkspaceRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConversionWorkspaceOrBuilder

getDefaultInstanceForType()

public CreateConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateConversionWorkspaceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the conversionWorkspace field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConversionWorkspace
Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder

mergeFrom(CreateConversionWorkspaceRequest other)

public CreateConversionWorkspaceRequest.Builder mergeFrom(CreateConversionWorkspaceRequest other)
Parameter
NameDescription
otherCreateConversionWorkspaceRequest
Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateConversionWorkspaceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateConversionWorkspaceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversionWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueConversionWorkspace
Returns
TypeDescription
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
NameDescription
builderForValueConversionWorkspace.Builder
Returns
TypeDescription
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
NameDescription
valueString

The conversionWorkspaceId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for conversionWorkspaceId to set.

Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConversionWorkspaceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversionWorkspaceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateConversionWorkspaceRequest.Builder
Overrides