Class SeedConversionWorkspaceRequest.Builder (2.46.0)

public static final class SeedConversionWorkspaceRequest.Builder extends GeneratedMessageV3.Builder<SeedConversionWorkspaceRequest.Builder> implements SeedConversionWorkspaceRequestOrBuilder

Request message for 'SeedConversionWorkspace' request.

Protobuf type google.cloud.clouddms.v1.SeedConversionWorkspaceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SeedConversionWorkspaceRequest build()
Returns
Type Description
SeedConversionWorkspaceRequest

buildPartial()

public SeedConversionWorkspaceRequest buildPartial()
Returns
Type Description
SeedConversionWorkspaceRequest

clear()

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

clearAutoCommit()

public SeedConversionWorkspaceRequest.Builder clearAutoCommit()

Should the conversion workspace be committed automatically after the seed operation.

bool auto_commit = 2;

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

clearDestinationConnectionProfile()

public SeedConversionWorkspaceRequest.Builder clearDestinationConnectionProfile()

Optional. Fully qualified (Uri) name of the destination connection profile.

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public SeedConversionWorkspaceRequest.Builder clearName()

Name of the conversion workspace resource to seed with new database structure, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeedFrom()

public SeedConversionWorkspaceRequest.Builder clearSeedFrom()
Returns
Type Description
SeedConversionWorkspaceRequest.Builder

clearSourceConnectionProfile()

public SeedConversionWorkspaceRequest.Builder clearSourceConnectionProfile()

Optional. Fully qualified (Uri) name of the source connection profile.

string source_connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

clone()

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

getAutoCommit()

public boolean getAutoCommit()

Should the conversion workspace be committed automatically after the seed operation.

bool auto_commit = 2;

Returns
Type Description
boolean

The autoCommit.

getDefaultInstanceForType()

public SeedConversionWorkspaceRequest getDefaultInstanceForType()
Returns
Type Description
SeedConversionWorkspaceRequest

getDescriptorForType()

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

getDestinationConnectionProfile()

public String getDestinationConnectionProfile()

Optional. Fully qualified (Uri) name of the destination connection profile.

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The destinationConnectionProfile.

getDestinationConnectionProfileBytes()

public ByteString getDestinationConnectionProfileBytes()

Optional. Fully qualified (Uri) name of the destination connection profile.

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for destinationConnectionProfile.

getName()

public String getName()

Name of the conversion workspace resource to seed with new database structure, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the conversion workspace resource to seed with new database structure, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getSeedFromCase()

public SeedConversionWorkspaceRequest.SeedFromCase getSeedFromCase()
Returns
Type Description
SeedConversionWorkspaceRequest.SeedFromCase

getSourceConnectionProfile()

public String getSourceConnectionProfile()

Optional. Fully qualified (Uri) name of the source connection profile.

string source_connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sourceConnectionProfile.

getSourceConnectionProfileBytes()

public ByteString getSourceConnectionProfileBytes()

Optional. Fully qualified (Uri) name of the source connection profile.

string source_connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sourceConnectionProfile.

hasDestinationConnectionProfile()

public boolean hasDestinationConnectionProfile()

Optional. Fully qualified (Uri) name of the destination connection profile.

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destinationConnectionProfile field is set.

hasSourceConnectionProfile()

public boolean hasSourceConnectionProfile()

Optional. Fully qualified (Uri) name of the source connection profile.

string source_connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sourceConnectionProfile field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SeedConversionWorkspaceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutoCommit(boolean value)

public SeedConversionWorkspaceRequest.Builder setAutoCommit(boolean value)

Should the conversion workspace be committed automatically after the seed operation.

bool auto_commit = 2;

Parameter
Name Description
value boolean

The autoCommit to set.

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setDestinationConnectionProfile(String value)

public SeedConversionWorkspaceRequest.Builder setDestinationConnectionProfile(String value)

Optional. Fully qualified (Uri) name of the destination connection profile.

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The destinationConnectionProfile to set.

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setDestinationConnectionProfileBytes(ByteString value)

public SeedConversionWorkspaceRequest.Builder setDestinationConnectionProfileBytes(ByteString value)

Optional. Fully qualified (Uri) name of the destination connection profile.

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for destinationConnectionProfile to set.

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public SeedConversionWorkspaceRequest.Builder setName(String value)

Name of the conversion workspace resource to seed with new database structure, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

string name = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SeedConversionWorkspaceRequest.Builder setNameBytes(ByteString value)

Name of the conversion workspace resource to seed with new database structure, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

string name = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

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

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

setSourceConnectionProfile(String value)

public SeedConversionWorkspaceRequest.Builder setSourceConnectionProfile(String value)

Optional. Fully qualified (Uri) name of the source connection profile.

string source_connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The sourceConnectionProfile to set.

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setSourceConnectionProfileBytes(ByteString value)

public SeedConversionWorkspaceRequest.Builder setSourceConnectionProfileBytes(ByteString value)

Optional. Fully qualified (Uri) name of the source connection profile.

string source_connection_profile = 100 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for sourceConnectionProfile to set.

Returns
Type Description
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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