Class SourceSqlChange (2.31.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SourceSqlChange getDefaultInstance()
Returns
TypeDescription
SourceSqlChange

getDescriptor()

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

newBuilder()

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

newBuilder(SourceSqlChange prototype)

public static SourceSqlChange.Builder newBuilder(SourceSqlChange prototype)
Parameter
NameDescription
prototypeSourceSqlChange
Returns
TypeDescription
SourceSqlChange.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SourceSqlChange getDefaultInstanceForType()
Returns
TypeDescription
SourceSqlChange

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sqlCode.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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