Class ConvertConversionWorkspaceRequest.Builder (2.17.0)

public static final class ConvertConversionWorkspaceRequest.Builder extends GeneratedMessageV3.Builder<ConvertConversionWorkspaceRequest.Builder> implements ConvertConversionWorkspaceRequestOrBuilder

Request message for 'ConvertConversionWorkspace' request.

Protobuf type google.cloud.clouddms.v1.ConvertConversionWorkspaceRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConvertConversionWorkspaceRequest build()
Returns
TypeDescription
ConvertConversionWorkspaceRequest

buildPartial()

public ConvertConversionWorkspaceRequest buildPartial()
Returns
TypeDescription
ConvertConversionWorkspaceRequest

clear()

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

clearAutoCommit()

public ConvertConversionWorkspaceRequest.Builder clearAutoCommit()

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

bool auto_commit = 4;

Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ConvertConversionWorkspaceRequest.Builder clearFilter()

Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5;

Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

clearName()

public ConvertConversionWorkspaceRequest.Builder clearName()

Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAutoCommit()

public boolean getAutoCommit()

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

bool auto_commit = 4;

Returns
TypeDescription
boolean

The autoCommit.

getDefaultInstanceForType()

public ConvertConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
ConvertConversionWorkspaceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5;

Returns
TypeDescription
ByteString

The bytes for filter.

getName()

public String getName()

Name of the conversion workspace resource to convert 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 convert 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConvertConversionWorkspaceRequest other)

public ConvertConversionWorkspaceRequest.Builder mergeFrom(ConvertConversionWorkspaceRequest other)
Parameter
NameDescription
otherConvertConversionWorkspaceRequest
Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConvertConversionWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder
Overrides

setAutoCommit(boolean value)

public ConvertConversionWorkspaceRequest.Builder setAutoCommit(boolean value)

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

bool auto_commit = 4;

Parameter
NameDescription
valueboolean

The autoCommit to set.

Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ConvertConversionWorkspaceRequest.Builder setFilter(String value)

Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ConvertConversionWorkspaceRequest.Builder setFilterBytes(ByteString value)

Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setName(String value)

public ConvertConversionWorkspaceRequest.Builder setName(String value)

Name of the conversion workspace resource to convert 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
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConvertConversionWorkspaceRequest.Builder setNameBytes(ByteString value)

Name of the conversion workspace resource to convert 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
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

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

public ConvertConversionWorkspaceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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