Class ModifyColumnFamiliesRequest.Modification.Builder (2.10.0)

public static final class ModifyColumnFamiliesRequest.Modification.Builder extends GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder> implements ModifyColumnFamiliesRequest.ModificationOrBuilder

A create, update, or delete of a particular column family.

Protobuf type google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModifyColumnFamiliesRequest.Modification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

build()

public ModifyColumnFamiliesRequest.Modification build()
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification

buildPartial()

public ModifyColumnFamiliesRequest.Modification buildPartial()
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification

clear()

public ModifyColumnFamiliesRequest.Modification.Builder clear()
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

clearCreate()

public ModifyColumnFamiliesRequest.Modification.Builder clearCreate()

Create a new column family with the specified schema, or fail if one already exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily create = 2;

Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

clearDrop()

public ModifyColumnFamiliesRequest.Modification.Builder clearDrop()

Drop (delete) the column family with the given ID, or fail if no such family exists.

bool drop = 4;

Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ModifyColumnFamiliesRequest.Modification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

clearId()

public ModifyColumnFamiliesRequest.Modification.Builder clearId()

The ID of the column family to be modified.

string id = 1;

Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

This builder for chaining.

clearMod()

public ModifyColumnFamiliesRequest.Modification.Builder clearMod()
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ModifyColumnFamiliesRequest.Modification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

clearUpdate()

public ModifyColumnFamiliesRequest.Modification.Builder clearUpdate()

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily update = 3;

Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

clone()

public ModifyColumnFamiliesRequest.Modification.Builder clone()
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

getCreate()

public ColumnFamily getCreate()

Create a new column family with the specified schema, or fail if one already exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily create = 2;

Returns
TypeDescription
ColumnFamily

The create.

getCreateBuilder()

public ColumnFamily.Builder getCreateBuilder()

Create a new column family with the specified schema, or fail if one already exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily create = 2;

Returns
TypeDescription
ColumnFamily.Builder

getCreateOrBuilder()

public ColumnFamilyOrBuilder getCreateOrBuilder()

Create a new column family with the specified schema, or fail if one already exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily create = 2;

Returns
TypeDescription
ColumnFamilyOrBuilder

getDefaultInstanceForType()

public ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType()
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDrop()

public boolean getDrop()

Drop (delete) the column family with the given ID, or fail if no such family exists.

bool drop = 4;

Returns
TypeDescription
boolean

The drop.

getId()

public String getId()

The ID of the column family to be modified.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

The ID of the column family to be modified.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getModCase()

public ModifyColumnFamiliesRequest.Modification.ModCase getModCase()
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.ModCase

getUpdate()

public ColumnFamily getUpdate()

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily update = 3;

Returns
TypeDescription
ColumnFamily

The update.

getUpdateBuilder()

public ColumnFamily.Builder getUpdateBuilder()

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily update = 3;

Returns
TypeDescription
ColumnFamily.Builder

getUpdateOrBuilder()

public ColumnFamilyOrBuilder getUpdateOrBuilder()

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily update = 3;

Returns
TypeDescription
ColumnFamilyOrBuilder

hasCreate()

public boolean hasCreate()

Create a new column family with the specified schema, or fail if one already exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily create = 2;

Returns
TypeDescription
boolean

Whether the create field is set.

hasDrop()

public boolean hasDrop()

Drop (delete) the column family with the given ID, or fail if no such family exists.

bool drop = 4;

Returns
TypeDescription
boolean

Whether the drop field is set.

hasUpdate()

public boolean hasUpdate()

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily update = 3;

Returns
TypeDescription
boolean

Whether the update field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreate(ColumnFamily value)

public ModifyColumnFamiliesRequest.Modification.Builder mergeCreate(ColumnFamily value)

Create a new column family with the specified schema, or fail if one already exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily create = 2;

Parameter
NameDescription
valueColumnFamily
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

mergeFrom(ModifyColumnFamiliesRequest.Modification other)

public ModifyColumnFamiliesRequest.Modification.Builder mergeFrom(ModifyColumnFamiliesRequest.Modification other)
Parameter
NameDescription
otherModifyColumnFamiliesRequest.Modification
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModifyColumnFamiliesRequest.Modification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ModifyColumnFamiliesRequest.Modification.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModifyColumnFamiliesRequest.Modification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

mergeUpdate(ColumnFamily value)

public ModifyColumnFamiliesRequest.Modification.Builder mergeUpdate(ColumnFamily value)

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily update = 3;

Parameter
NameDescription
valueColumnFamily
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

setCreate(ColumnFamily value)

public ModifyColumnFamiliesRequest.Modification.Builder setCreate(ColumnFamily value)

Create a new column family with the specified schema, or fail if one already exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily create = 2;

Parameter
NameDescription
valueColumnFamily
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

setCreate(ColumnFamily.Builder builderForValue)

public ModifyColumnFamiliesRequest.Modification.Builder setCreate(ColumnFamily.Builder builderForValue)

Create a new column family with the specified schema, or fail if one already exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily create = 2;

Parameter
NameDescription
builderForValueColumnFamily.Builder
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

setDrop(boolean value)

public ModifyColumnFamiliesRequest.Modification.Builder setDrop(boolean value)

Drop (delete) the column family with the given ID, or fail if no such family exists.

bool drop = 4;

Parameter
NameDescription
valueboolean

The drop to set.

Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ModifyColumnFamiliesRequest.Modification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

setId(String value)

public ModifyColumnFamiliesRequest.Modification.Builder setId(String value)

The ID of the column family to be modified.

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ModifyColumnFamiliesRequest.Modification.Builder setIdBytes(ByteString value)

The ID of the column family to be modified.

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModifyColumnFamiliesRequest.Modification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModifyColumnFamiliesRequest.Modification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder
Overrides

setUpdate(ColumnFamily value)

public ModifyColumnFamiliesRequest.Modification.Builder setUpdate(ColumnFamily value)

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily update = 3;

Parameter
NameDescription
valueColumnFamily
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder

setUpdate(ColumnFamily.Builder builderForValue)

public ModifyColumnFamiliesRequest.Modification.Builder setUpdate(ColumnFamily.Builder builderForValue)

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

.google.bigtable.admin.v2.ColumnFamily update = 3;

Parameter
NameDescription
builderForValueColumnFamily.Builder
Returns
TypeDescription
ModifyColumnFamiliesRequest.Modification.Builder