Class SeedConversionWorkspaceRequest.Builder (2.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SeedConversionWorkspaceRequest build()
Returns
TypeDescription
SeedConversionWorkspaceRequest

buildPartial()

public SeedConversionWorkspaceRequest buildPartial()
Returns
TypeDescription
SeedConversionWorkspaceRequest

clear()

public SeedConversionWorkspaceRequest.Builder clear()
Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder
Overrides

clearAutoCommit()

public SeedConversionWorkspaceRequest.Builder clearAutoCommit()

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

bool auto_commit = 2;

Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

clearDestinationConnectionProfile()

public SeedConversionWorkspaceRequest.Builder clearDestinationConnectionProfile()

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

string destination_connection_profile = 101;

Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SeedConversionWorkspaceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SeedConversionWorkspaceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder
Overrides

clearSeedFrom()

public SeedConversionWorkspaceRequest.Builder clearSeedFrom()
Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

clearSourceConnectionProfile()

public SeedConversionWorkspaceRequest.Builder clearSourceConnectionProfile()

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

string source_connection_profile = 100;

Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

clone()

public SeedConversionWorkspaceRequest.Builder clone()
Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder
Overrides

getAutoCommit()

public boolean getAutoCommit()

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

bool auto_commit = 2;

Returns
TypeDescription
boolean

The autoCommit.

getDefaultInstanceForType()

public SeedConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
SeedConversionWorkspaceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationConnectionProfile()

public String getDestinationConnectionProfile()

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

string destination_connection_profile = 101;

Returns
TypeDescription
String

The destinationConnectionProfile.

getDestinationConnectionProfileBytes()

public ByteString getDestinationConnectionProfileBytes()

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

string destination_connection_profile = 101;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getSeedFromCase()

public SeedConversionWorkspaceRequest.SeedFromCase getSeedFromCase()
Returns
TypeDescription
SeedConversionWorkspaceRequest.SeedFromCase

getSourceConnectionProfile()

public String getSourceConnectionProfile()

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

string source_connection_profile = 100;

Returns
TypeDescription
String

The sourceConnectionProfile.

getSourceConnectionProfileBytes()

public ByteString getSourceConnectionProfileBytes()

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

string source_connection_profile = 100;

Returns
TypeDescription
ByteString

The bytes for sourceConnectionProfile.

hasDestinationConnectionProfile()

public boolean hasDestinationConnectionProfile()

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

string destination_connection_profile = 101;

Returns
TypeDescription
boolean

Whether the destinationConnectionProfile field is set.

hasSourceConnectionProfile()

public boolean hasSourceConnectionProfile()

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

string source_connection_profile = 100;

Returns
TypeDescription
boolean

Whether the sourceConnectionProfile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SeedConversionWorkspaceRequest other)

public SeedConversionWorkspaceRequest.Builder mergeFrom(SeedConversionWorkspaceRequest other)
Parameter
NameDescription
otherSeedConversionWorkspaceRequest
Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SeedConversionWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The autoCommit to set.

Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setDestinationConnectionProfile(String value)

public SeedConversionWorkspaceRequest.Builder setDestinationConnectionProfile(String value)

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

string destination_connection_profile = 101;

Parameter
NameDescription
valueString

The destinationConnectionProfile to set.

Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setDestinationConnectionProfileBytes(ByteString value)

public SeedConversionWorkspaceRequest.Builder setDestinationConnectionProfileBytes(ByteString value)

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

string destination_connection_profile = 101;

Parameter
NameDescription
valueByteString

The bytes for destinationConnectionProfile to set.

Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder
Overrides

setSourceConnectionProfile(String value)

public SeedConversionWorkspaceRequest.Builder setSourceConnectionProfile(String value)

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

string source_connection_profile = 100;

Parameter
NameDescription
valueString

The sourceConnectionProfile to set.

Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setSourceConnectionProfileBytes(ByteString value)

public SeedConversionWorkspaceRequest.Builder setSourceConnectionProfileBytes(ByteString value)

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

string source_connection_profile = 100;

Parameter
NameDescription
valueByteString

The bytes for sourceConnectionProfile to set.

Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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