- 2.77.0 (latest)
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class SetTablePrimaryKey.Builder extends GeneratedMessageV3.Builder<SetTablePrimaryKey.Builder> implements SetTablePrimaryKeyOrBuilderOptions to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table.
The rule filter field can refer to one entity.
The rule scope can be one of: Table.
 Protobuf type google.cloud.clouddms.v1.SetTablePrimaryKey
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SetTablePrimaryKey.BuilderImplements
SetTablePrimaryKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllPrimaryKeyColumns(Iterable<String> values)
public SetTablePrimaryKey.Builder addAllPrimaryKeyColumns(Iterable<String> values)Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The primaryKeyColumns to add. | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | This builder for chaining. | 
addPrimaryKeyColumns(String value)
public SetTablePrimaryKey.Builder addPrimaryKeyColumns(String value)Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe primaryKeyColumns to add. | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | This builder for chaining. | 
addPrimaryKeyColumnsBytes(ByteString value)
public SetTablePrimaryKey.Builder addPrimaryKeyColumnsBytes(ByteString value)Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the primaryKeyColumns to add. | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SetTablePrimaryKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
build()
public SetTablePrimaryKey build()| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey | |
buildPartial()
public SetTablePrimaryKey buildPartial()| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey | |
clear()
public SetTablePrimaryKey.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
clearField(Descriptors.FieldDescriptor field)
public SetTablePrimaryKey.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public SetTablePrimaryKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
clearPrimaryKey()
public SetTablePrimaryKey.Builder clearPrimaryKey()Optional. Name for the primary key
 string primary_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | This builder for chaining. | 
clearPrimaryKeyColumns()
public SetTablePrimaryKey.Builder clearPrimaryKeyColumns()Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | This builder for chaining. | 
clone()
public SetTablePrimaryKey.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
getDefaultInstanceForType()
public SetTablePrimaryKey getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getPrimaryKey()
public String getPrimaryKey()Optional. Name for the primary key
 string primary_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The primaryKey. | 
getPrimaryKeyBytes()
public ByteString getPrimaryKeyBytes()Optional. Name for the primary key
 string primary_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for primaryKey. | 
getPrimaryKeyColumns(int index)
public String getPrimaryKeyColumns(int index)Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The primaryKeyColumns at the given index. | 
getPrimaryKeyColumnsBytes(int index)
public ByteString getPrimaryKeyColumnsBytes(int index)Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the primaryKeyColumns at the given index. | 
getPrimaryKeyColumnsCount()
public int getPrimaryKeyColumnsCount()Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of primaryKeyColumns. | 
getPrimaryKeyColumnsList()
public ProtocolStringList getPrimaryKeyColumnsList()Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the primaryKeyColumns. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(SetTablePrimaryKey other)
public SetTablePrimaryKey.Builder mergeFrom(SetTablePrimaryKey other)| Parameter | |
|---|---|
| Name | Description | 
| other | SetTablePrimaryKey | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SetTablePrimaryKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public SetTablePrimaryKey.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SetTablePrimaryKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public SetTablePrimaryKey.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
setPrimaryKey(String value)
public SetTablePrimaryKey.Builder setPrimaryKey(String value)Optional. Name for the primary key
 string primary_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe primaryKey to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | This builder for chaining. | 
setPrimaryKeyBytes(ByteString value)
public SetTablePrimaryKey.Builder setPrimaryKeyBytes(ByteString value)Optional. Name for the primary key
 string primary_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for primaryKey to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | This builder for chaining. | 
setPrimaryKeyColumns(int index, String value)
public SetTablePrimaryKey.Builder setPrimaryKeyColumns(int index, String value)Required. List of column names for the primary key
 repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe primaryKeyColumns to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SetTablePrimaryKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final SetTablePrimaryKey.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| SetTablePrimaryKey.Builder | |