Package com.google.bigtable.admin.v2
Class ModifyColumnFamiliesRequest.Modification.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
- com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder
-
- All Implemented Interfaces:
ModifyColumnFamiliesRequest.ModificationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ModifyColumnFamiliesRequest.Modification
public static final class ModifyColumnFamiliesRequest.Modification.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder> implements ModifyColumnFamiliesRequest.ModificationOrBuilder
A create, update, or delete of a particular column family.
Protobuf typegoogle.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyColumnFamiliesRequest.Modification.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ModifyColumnFamiliesRequest.Modification
build()
ModifyColumnFamiliesRequest.Modification
buildPartial()
ModifyColumnFamiliesRequest.Modification.Builder
clear()
ModifyColumnFamiliesRequest.Modification.Builder
clearCreate()
Create a new column family with the specified schema, or fail if one already exists with the given ID.ModifyColumnFamiliesRequest.Modification.Builder
clearDrop()
Drop (delete) the column family with the given ID, or fail if no such family exists.ModifyColumnFamiliesRequest.Modification.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModifyColumnFamiliesRequest.Modification.Builder
clearId()
The ID of the column family to be modified.ModifyColumnFamiliesRequest.Modification.Builder
clearMod()
ModifyColumnFamiliesRequest.Modification.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModifyColumnFamiliesRequest.Modification.Builder
clearUpdate()
Update an existing column family to the specified schema, or fail if no column family exists with the given ID.ModifyColumnFamiliesRequest.Modification.Builder
clone()
ColumnFamily
getCreate()
Create a new column family with the specified schema, or fail if one already exists with the given ID.ColumnFamily.Builder
getCreateBuilder()
Create a new column family with the specified schema, or fail if one already exists with the given ID.ColumnFamilyOrBuilder
getCreateOrBuilder()
Create a new column family with the specified schema, or fail if one already exists with the given ID.ModifyColumnFamiliesRequest.Modification
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getDrop()
Drop (delete) the column family with the given ID, or fail if no such family exists.String
getId()
The ID of the column family to be modified.com.google.protobuf.ByteString
getIdBytes()
The ID of the column family to be modified.ModifyColumnFamiliesRequest.Modification.ModCase
getModCase()
ColumnFamily
getUpdate()
Update an existing column family to the specified schema, or fail if no column family exists with the given ID.ColumnFamily.Builder
getUpdateBuilder()
Update an existing column family to the specified schema, or fail if no column family exists with the given ID.ColumnFamilyOrBuilder
getUpdateOrBuilder()
Update an existing column family to the specified schema, or fail if no column family exists with the given ID.boolean
hasCreate()
Create a new column family with the specified schema, or fail if one already exists with the given ID.boolean
hasDrop()
Drop (delete) the column family with the given ID, or fail if no such family exists.boolean
hasUpdate()
Update an existing column family to the specified schema, or fail if no column family exists with the given ID.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
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.ModifyColumnFamiliesRequest.Modification.Builder
mergeFrom(ModifyColumnFamiliesRequest.Modification other)
ModifyColumnFamiliesRequest.Modification.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModifyColumnFamiliesRequest.Modification.Builder
mergeFrom(com.google.protobuf.Message other)
ModifyColumnFamiliesRequest.Modification.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.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.ModifyColumnFamiliesRequest.Modification.Builder
setDrop(boolean value)
Drop (delete) the column family with the given ID, or fail if no such family exists.ModifyColumnFamiliesRequest.Modification.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ModifyColumnFamiliesRequest.Modification.Builder
setId(String value)
The ID of the column family to be modified.ModifyColumnFamiliesRequest.Modification.Builder
setIdBytes(com.google.protobuf.ByteString value)
The ID of the column family to be modified.ModifyColumnFamiliesRequest.Modification.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ModifyColumnFamiliesRequest.Modification.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
clear
public ModifyColumnFamiliesRequest.Modification.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
getDefaultInstanceForType
public ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModifyColumnFamiliesRequest.Modification build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModifyColumnFamiliesRequest.Modification buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModifyColumnFamiliesRequest.Modification.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
setField
public ModifyColumnFamiliesRequest.Modification.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
clearField
public ModifyColumnFamiliesRequest.Modification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
clearOneof
public ModifyColumnFamiliesRequest.Modification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
setRepeatedField
public ModifyColumnFamiliesRequest.Modification.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
addRepeatedField
public ModifyColumnFamiliesRequest.Modification.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
mergeFrom
public ModifyColumnFamiliesRequest.Modification.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
mergeFrom
public ModifyColumnFamiliesRequest.Modification.Builder mergeFrom(ModifyColumnFamiliesRequest.Modification other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
mergeFrom
public ModifyColumnFamiliesRequest.Modification.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
- Throws:
IOException
-
getModCase
public ModifyColumnFamiliesRequest.Modification.ModCase getModCase()
- Specified by:
getModCase
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
-
clearMod
public ModifyColumnFamiliesRequest.Modification.Builder clearMod()
-
getId
public String getId()
The ID of the column family to be modified.
string id = 1;
- Specified by:
getId
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The ID of the column family to be modified.
string id = 1;
- Specified by:
getIdBytes
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
- Returns:
- The bytes for id.
-
setId
public ModifyColumnFamiliesRequest.Modification.Builder setId(String value)
The ID of the column family to be modified.
string id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ModifyColumnFamiliesRequest.Modification.Builder clearId()
The ID of the column family to be modified.
string id = 1;
- Returns:
- This builder for chaining.
-
setIdBytes
public ModifyColumnFamiliesRequest.Modification.Builder setIdBytes(com.google.protobuf.ByteString value)
The ID of the column family to be modified.
string id = 1;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasCreate
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
- Returns:
- Whether the create field is set.
-
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;
- Specified by:
getCreate
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
- Returns:
- The create.
-
setCreate
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;
-
setCreate
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;
-
mergeCreate
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;
-
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;
-
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;
-
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;
- Specified by:
getCreateOrBuilder
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
-
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;
- Specified by:
hasUpdate
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
- Returns:
- Whether the update field is set.
-
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;
- Specified by:
getUpdate
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
- Returns:
- The update.
-
setUpdate
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;
-
setUpdate
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;
-
mergeUpdate
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;
-
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;
-
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;
-
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;
- Specified by:
getUpdateOrBuilder
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
-
hasDrop
public boolean hasDrop()
Drop (delete) the column family with the given ID, or fail if no such family exists.
bool drop = 4;
- Specified by:
hasDrop
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
- Returns:
- Whether the drop field is set.
-
getDrop
public boolean getDrop()
Drop (delete) the column family with the given ID, or fail if no such family exists.
bool drop = 4;
- Specified by:
getDrop
in interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
- Returns:
- The drop.
-
setDrop
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;
- Parameters:
value
- The drop to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final ModifyColumnFamiliesRequest.Modification.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
mergeUnknownFields
public final ModifyColumnFamiliesRequest.Modification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
-