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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApplyConversionWorkspaceRequest build()
Returns
TypeDescription
ApplyConversionWorkspaceRequest

buildPartial()

public ApplyConversionWorkspaceRequest buildPartial()
Returns
TypeDescription
ApplyConversionWorkspaceRequest

clear()

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

clearConnectionProfile()

public ApplyConversionWorkspaceRequest.Builder clearConnectionProfile()

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

string connection_profile = 100;

Returns
TypeDescription
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

clearDestination()

public ApplyConversionWorkspaceRequest.Builder clearDestination()
Returns
TypeDescription
ApplyConversionWorkspaceRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConnectionProfile()

public String getConnectionProfile()

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

string connection_profile = 100;

Returns
TypeDescription
String

The connectionProfile.

getConnectionProfileBytes()

public ByteString getConnectionProfileBytes()

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

string connection_profile = 100;

Returns
TypeDescription
ByteString

The bytes for connectionProfile.

getDefaultInstanceForType()

public ApplyConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
ApplyConversionWorkspaceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public ApplyConversionWorkspaceRequest.DestinationCase getDestinationCase()
Returns
TypeDescription
ApplyConversionWorkspaceRequest.DestinationCase

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

The bytes for name.

hasConnectionProfile()

public boolean hasConnectionProfile()

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

string connection_profile = 100;

Returns
TypeDescription
boolean

Whether the connectionProfile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ApplyConversionWorkspaceRequest other)

public ApplyConversionWorkspaceRequest.Builder mergeFrom(ApplyConversionWorkspaceRequest other)
Parameter
NameDescription
otherApplyConversionWorkspaceRequest
Returns
TypeDescription
ApplyConversionWorkspaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConnectionProfile(String value)

public ApplyConversionWorkspaceRequest.Builder setConnectionProfile(String value)

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

string connection_profile = 100;

Parameter
NameDescription
valueString

The connectionProfile to set.

Returns
TypeDescription
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setConnectionProfileBytes(ByteString value)

public ApplyConversionWorkspaceRequest.Builder setConnectionProfileBytes(ByteString value)

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

string connection_profile = 100;

Parameter
NameDescription
valueByteString

The bytes for connectionProfile to set.

Returns
TypeDescription
ApplyConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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