Class SourceSqlChange (2.46.0)

public final class SourceSqlChange extends GeneratedMessageV3 implements SourceSqlChangeOrBuilder

Options to configure rule type SourceSqlChange. The rule is used to alter the sql code for database entities.

The rule filter field can refer to one entity.

The rule scope can be: StoredProcedure, Function, Trigger, View

Protobuf type google.cloud.clouddms.v1.SourceSqlChange

Static Fields

SQL_CODE_FIELD_NUMBER

public static final int SQL_CODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SourceSqlChange getDefaultInstance()
Returns
Type Description
SourceSqlChange

getDescriptor()

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

newBuilder()

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

newBuilder(SourceSqlChange prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SourceSqlChange getDefaultInstanceForType()
Returns
Type Description
SourceSqlChange

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSqlCode()

public String getSqlCode()

Required. Sql code for source (stored procedure, function, trigger or view)

string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sqlCode.

getSqlCodeBytes()

public ByteString getSqlCodeBytes()

Required. Sql code for source (stored procedure, function, trigger or view)

string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sqlCode.

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 SourceSqlChange.Builder newBuilderForType()
Returns
Type Description
SourceSqlChange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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