public static final class SourceSqlChange.Builder extends GeneratedMessageV3.Builder<SourceSqlChange.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceSqlChange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SourceSqlChange build()
buildPartial()
public SourceSqlChange buildPartial()
clear()
public SourceSqlChange.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SourceSqlChange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceSqlChange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSqlCode()
public SourceSqlChange.Builder clearSqlCode()
Required. Sql code for source (stored procedure, function, trigger or view)
string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public SourceSqlChange.Builder clone()
Overrides
getDefaultInstanceForType()
public SourceSqlChange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SourceSqlChange other)
public SourceSqlChange.Builder mergeFrom(SourceSqlChange other)
public SourceSqlChange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SourceSqlChange.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceSqlChange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SourceSqlChange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceSqlChange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSqlCode(String value)
public SourceSqlChange.Builder setSqlCode(String value)
Required. Sql code for source (stored procedure, function, trigger or view)
string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The sqlCode to set.
|
setSqlCodeBytes(ByteString value)
public SourceSqlChange.Builder setSqlCodeBytes(ByteString value)
Required. Sql code for source (stored procedure, function, trigger or view)
string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for sqlCode to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceSqlChange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides