Class ApplyConversionWorkspaceRequest (2.23.0)

public final class ApplyConversionWorkspaceRequest extends GeneratedMessageV3 implements ApplyConversionWorkspaceRequestOrBuilder

Request message for 'ApplyConversionWorkspace' request.

Protobuf type google.cloud.clouddms.v1.ApplyConversionWorkspaceRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ApplyConversionWorkspaceRequest

Static Fields

AUTO_COMMIT_FIELD_NUMBER

public static final int AUTO_COMMIT_FIELD_NUMBER
Field Value
TypeDescription
int

CONNECTION_PROFILE_FIELD_NUMBER

public static final int CONNECTION_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

DRY_RUN_FIELD_NUMBER

public static final int DRY_RUN_FIELD_NUMBER
Field Value
TypeDescription
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ApplyConversionWorkspaceRequest getDefaultInstance()
Returns
TypeDescription
ApplyConversionWorkspaceRequest

getDescriptor()

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

newBuilder()

public static ApplyConversionWorkspaceRequest.Builder newBuilder()
Returns
TypeDescription
ApplyConversionWorkspaceRequest.Builder

newBuilder(ApplyConversionWorkspaceRequest prototype)

public static ApplyConversionWorkspaceRequest.Builder newBuilder(ApplyConversionWorkspaceRequest prototype)
Parameter
NameDescription
prototypeApplyConversionWorkspaceRequest
Returns
TypeDescription
ApplyConversionWorkspaceRequest.Builder

parseDelimitedFrom(InputStream input)

public static ApplyConversionWorkspaceRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ApplyConversionWorkspaceRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ApplyConversionWorkspaceRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ApplyConversionWorkspaceRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ApplyConversionWorkspaceRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ApplyConversionWorkspaceRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApplyConversionWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ApplyConversionWorkspaceRequest> parser()
Returns
TypeDescription
Parser<ApplyConversionWorkspaceRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for connectionProfile.

getDefaultInstanceForType()

public ApplyConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
ApplyConversionWorkspaceRequest

getDestinationCase()

public ApplyConversionWorkspaceRequest.DestinationCase getDestinationCase()
Returns
TypeDescription
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
TypeDescription
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
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.

getParserForType()

public Parser<ApplyConversionWorkspaceRequest> getParserForType()
Returns
TypeDescription
Parser<ApplyConversionWorkspaceRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasConnectionProfile()

public boolean hasConnectionProfile()

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

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

Returns
TypeDescription
boolean

Whether the connectionProfile field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ApplyConversionWorkspaceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ApplyConversionWorkspaceRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException