Class ApplyConversionWorkspaceRequest (2.41.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
Type Description
int

CONNECTION_PROFILE_FIELD_NUMBER

public static final int CONNECTION_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

DRY_RUN_FIELD_NUMBER

public static final int DRY_RUN_FIELD_NUMBER
Field Value
Type Description
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApplyConversionWorkspaceRequest getDefaultInstance()
Returns
Type Description
ApplyConversionWorkspaceRequest

getDescriptor()

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

newBuilder()

public static ApplyConversionWorkspaceRequest.Builder newBuilder()
Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

newBuilder(ApplyConversionWorkspaceRequest prototype)

public static ApplyConversionWorkspaceRequest.Builder newBuilder(ApplyConversionWorkspaceRequest prototype)
Parameter
Name Description
prototype ApplyConversionWorkspaceRequest
Returns
Type Description
ApplyConversionWorkspaceRequest.Builder

parseDelimitedFrom(InputStream input)

public static ApplyConversionWorkspaceRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ApplyConversionWorkspaceRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ApplyConversionWorkspaceRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ApplyConversionWorkspaceRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ApplyConversionWorkspaceRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ApplyConversionWorkspaceRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ApplyConversionWorkspaceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyConversionWorkspaceRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ApplyConversionWorkspaceRequest> parser()
Returns
Type Description
Parser<ApplyConversionWorkspaceRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
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

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.

getParserForType()

public Parser<ApplyConversionWorkspaceRequest> getParserForType()
Returns
Type Description
Parser<ApplyConversionWorkspaceRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
boolean

Whether the connectionProfile field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ApplyConversionWorkspaceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ApplyConversionWorkspaceRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException