public static final class MultiEntityRename.Builder extends GeneratedMessageV3.Builder<MultiEntityRename.Builder> implements MultiEntityRenameOrBuilder
Options to configure rule type MultiEntityRename.
The rule is used to rename multiple entities.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Database, Schema, Table, Column, Constraint,
Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
Protobuf type google.cloud.clouddms.v1.MultiEntityRename
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 MultiEntityRename.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MultiEntityRename build()
buildPartial()
public MultiEntityRename buildPartial()
clear()
public MultiEntityRename.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MultiEntityRename.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNewNamePattern()
public MultiEntityRename.Builder clearNewNamePattern()
Optional. The pattern used to generate the new entity's name. This pattern
must include the characters '{name}', which will be replaced with the name
of the original entity. For example, the pattern 't_{name}' for an entity
name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
string new_name_pattern = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public MultiEntityRename.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public MultiEntityRename.Builder clearSourceNameTransformation()
Optional. Additional transformation that can be done on the source entity
name before it is being used by the new_name_pattern, for example lower
case. If no transformation is desired, use NO_TRANSFORMATION
.google.cloud.clouddms.v1.EntityNameTransformation source_name_transformation = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public MultiEntityRename.Builder clone()
Overrides
getDefaultInstanceForType()
public MultiEntityRename getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNewNamePattern()
public String getNewNamePattern()
Optional. The pattern used to generate the new entity's name. This pattern
must include the characters '{name}', which will be replaced with the name
of the original entity. For example, the pattern 't_{name}' for an entity
name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
string new_name_pattern = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The newNamePattern.
|
getNewNamePatternBytes()
public ByteString getNewNamePatternBytes()
Optional. The pattern used to generate the new entity's name. This pattern
must include the characters '{name}', which will be replaced with the name
of the original entity. For example, the pattern 't_{name}' for an entity
name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
string new_name_pattern = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for newNamePattern.
|
public EntityNameTransformation getSourceNameTransformation()
Optional. Additional transformation that can be done on the source entity
name before it is being used by the new_name_pattern, for example lower
case. If no transformation is desired, use NO_TRANSFORMATION
.google.cloud.clouddms.v1.EntityNameTransformation source_name_transformation = 2 [(.google.api.field_behavior) = OPTIONAL];
public int getSourceNameTransformationValue()
Optional. Additional transformation that can be done on the source entity
name before it is being used by the new_name_pattern, for example lower
case. If no transformation is desired, use NO_TRANSFORMATION
.google.cloud.clouddms.v1.EntityNameTransformation source_name_transformation = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for sourceNameTransformation.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MultiEntityRename other)
public MultiEntityRename.Builder mergeFrom(MultiEntityRename other)
public MultiEntityRename.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MultiEntityRename.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MultiEntityRename.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MultiEntityRename.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNewNamePattern(String value)
public MultiEntityRename.Builder setNewNamePattern(String value)
Optional. The pattern used to generate the new entity's name. This pattern
must include the characters '{name}', which will be replaced with the name
of the original entity. For example, the pattern 't_{name}' for an entity
name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
string new_name_pattern = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The newNamePattern to set.
|
setNewNamePatternBytes(ByteString value)
public MultiEntityRename.Builder setNewNamePatternBytes(ByteString value)
Optional. The pattern used to generate the new entity's name. This pattern
must include the characters '{name}', which will be replaced with the name
of the original entity. For example, the pattern 't_{name}' for an entity
name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
string new_name_pattern = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for newNamePattern to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MultiEntityRename.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public MultiEntityRename.Builder setSourceNameTransformation(EntityNameTransformation value)
Optional. Additional transformation that can be done on the source entity
name before it is being used by the new_name_pattern, for example lower
case. If no transformation is desired, use NO_TRANSFORMATION
.google.cloud.clouddms.v1.EntityNameTransformation source_name_transformation = 2 [(.google.api.field_behavior) = OPTIONAL];
public MultiEntityRename.Builder setSourceNameTransformationValue(int value)
Optional. Additional transformation that can be done on the source entity
name before it is being used by the new_name_pattern, for example lower
case. If no transformation is desired, use NO_TRANSFORMATION
.google.cloud.clouddms.v1.EntityNameTransformation source_name_transformation = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for sourceNameTransformation to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MultiEntityRename.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides