Class ApplyConversionWorkspaceRequest.Builder (2.54.0)

public static final class ApplyConversionWorkspaceRequest.Builder extends GeneratedMessageV3.Builder<ApplyConversionWorkspaceRequest.Builder> implements ApplyConversionWorkspaceRequestOrBuilder

Request message for 'ApplyConversionWorkspace' request.

Protobuf type google.cloud.clouddms.v1.ApplyConversionWorkspaceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApplyConversionWorkspaceRequest build()
Returns
Type Description
ApplyConversionWorkspaceRequest

buildPartial()

public ApplyConversionWorkspaceRequest buildPartial()
Returns
Type Description
ApplyConversionWorkspaceRequest

clear()

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

clearAutoCommit()

public ApplyConversionWorkspaceRequest.Builder clearAutoCommit()

Optional. Specifies whether the conversion workspace is to be committed automatically after the apply.

bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

clearConnectionProfile()

public ApplyConversionWorkspaceRequest.Builder clearConnectionProfile()

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

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

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

clearDestination()

public ApplyConversionWorkspaceRequest.Builder clearDestination()
Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

clearDryRun()

public ApplyConversionWorkspaceRequest.Builder clearDryRun()

Optional. Only validates the apply process, but doesn't change the destination database. Only works for PostgreSQL destination connection profile.

bool dry_run = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ApplyConversionWorkspaceRequest.Builder clearFilter()

Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.

string filter = 2;

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

clearName()

public ApplyConversionWorkspaceRequest.Builder clearName()

Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAutoCommit()

public boolean getAutoCommit()

Optional. Specifies whether the conversion workspace is to be committed automatically after the apply.

bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The autoCommit.

getConnectionProfile()

public String getConnectionProfile()

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

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

Returns
Type Description
String

The connectionProfile.

getConnectionProfileBytes()

public ByteString getConnectionProfileBytes()

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

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

Returns
Type Description
ByteString

The bytes for connectionProfile.

getDefaultInstanceForType()

public ApplyConversionWorkspaceRequest getDefaultInstanceForType()
Returns
Type Description
ApplyConversionWorkspaceRequest

getDescriptorForType()

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

getDestinationCase()

public ApplyConversionWorkspaceRequest.DestinationCase getDestinationCase()
Returns
Type Description
ApplyConversionWorkspaceRequest.DestinationCase

getDryRun()

public boolean getDryRun()

Optional. Only validates the apply process, but doesn't change the destination database. Only works for PostgreSQL destination connection profile.

bool dry_run = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The dryRun.

getFilter()

public String getFilter()

Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getName()

public String getName()

Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Returns
Type Description
ByteString

The bytes for name.

hasConnectionProfile()

public boolean hasConnectionProfile()

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

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

Returns
Type Description
boolean

Whether the connectionProfile field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApplyConversionWorkspaceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutoCommit(boolean value)

public ApplyConversionWorkspaceRequest.Builder setAutoCommit(boolean value)

Optional. Specifies whether the conversion workspace is to be committed automatically after the apply.

bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The autoCommit to set.

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setConnectionProfile(String value)

public ApplyConversionWorkspaceRequest.Builder setConnectionProfile(String value)

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

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

Parameter
Name Description
value String

The connectionProfile to set.

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setConnectionProfileBytes(ByteString value)

public ApplyConversionWorkspaceRequest.Builder setConnectionProfileBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for connectionProfile to set.

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setDryRun(boolean value)

public ApplyConversionWorkspaceRequest.Builder setDryRun(boolean value)

Optional. Only validates the apply process, but doesn't change the destination database. Only works for PostgreSQL destination connection profile.

bool dry_run = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The dryRun to set.

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ApplyConversionWorkspaceRequest.Builder setFilter(String value)

Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.

string filter = 2;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ApplyConversionWorkspaceRequest.Builder setFilterBytes(ByteString value)

Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.

string filter = 2;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setName(String value)

public ApplyConversionWorkspaceRequest.Builder setName(String value)

Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ApplyConversionWorkspaceRequest.Builder setNameBytes(ByteString value)

Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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