Class SeedConversionWorkspaceRequest (2.27.0)

public final class SeedConversionWorkspaceRequest extends GeneratedMessageV3 implements SeedConversionWorkspaceRequestOrBuilder

Request message for 'SeedConversionWorkspace' request.

Protobuf type google.cloud.clouddms.v1.SeedConversionWorkspaceRequest

Inheritance

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

Static Fields

AUTO_COMMIT_FIELD_NUMBER

public static final int AUTO_COMMIT_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER

public static final int DESTINATION_CONNECTION_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_CONNECTION_PROFILE_FIELD_NUMBER

public static final int SOURCE_CONNECTION_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SeedConversionWorkspaceRequest getDefaultInstance()
Returns
TypeDescription
SeedConversionWorkspaceRequest

getDescriptor()

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

newBuilder()

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

newBuilder(SeedConversionWorkspaceRequest prototype)

public static SeedConversionWorkspaceRequest.Builder newBuilder(SeedConversionWorkspaceRequest prototype)
Parameter
NameDescription
prototypeSeedConversionWorkspaceRequest
Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAutoCommit()

public boolean getAutoCommit()

Should the conversion workspace be committed automatically after the seed operation.

bool auto_commit = 2;

Returns
TypeDescription
boolean

The autoCommit.

getDefaultInstanceForType()

public SeedConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
SeedConversionWorkspaceRequest

getDestinationConnectionProfile()

public String getDestinationConnectionProfile()

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

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The destinationConnectionProfile.

getDestinationConnectionProfileBytes()

public ByteString getDestinationConnectionProfileBytes()

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

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for destinationConnectionProfile.

getName()

public String getName()

Name of the conversion workspace resource to seed with new database structure, 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 seed with new database structure, 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.

getParserForType()

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

getSeedFromCase()

public SeedConversionWorkspaceRequest.SeedFromCase getSeedFromCase()
Returns
TypeDescription
SeedConversionWorkspaceRequest.SeedFromCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceConnectionProfile()

public String getSourceConnectionProfile()

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

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

Returns
TypeDescription
String

The sourceConnectionProfile.

getSourceConnectionProfileBytes()

public ByteString getSourceConnectionProfileBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for sourceConnectionProfile.

hasDestinationConnectionProfile()

public boolean hasDestinationConnectionProfile()

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

string destination_connection_profile = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the destinationConnectionProfile field is set.

hasSourceConnectionProfile()

public boolean hasSourceConnectionProfile()

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

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

Returns
TypeDescription
boolean

Whether the sourceConnectionProfile 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 SeedConversionWorkspaceRequest.Builder newBuilderForType()
Returns
TypeDescription
SeedConversionWorkspaceRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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