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 type
google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Create a new column family with the specified schema, or fail if one already exists with the given ID.Drop (delete) the column family with the given ID, or fail if no such family exists.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()The ID of the column family to be modified.clearMod()clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Update an existing column family to the specified schema, or fail if no column family exists with the given ID.clone()Create a new column family with the specified schema, or fail if one already exists with the given ID.Create a new column family with the specified schema, or fail if one already exists with the given ID.Create a new column family with the specified schema, or fail if one already exists with the given ID.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleangetDrop()Drop (delete) the column family with the given ID, or fail if no such family exists.getId()The ID of the column family to be modified.com.google.protobuf.ByteStringThe ID of the column family to be modified.Update an existing column family to the specified schema, or fail if no column family exists with the given ID.Update an existing column family to the specified schema, or fail if no column family exists with the given ID.Update an existing column family to the specified schema, or fail if no column family exists with the given ID.booleanCreate a new column family with the specified schema, or fail if one already exists with the given ID.booleanhasDrop()Drop (delete) the column family with the given ID, or fail if no such family exists.booleanUpdate an existing column family to the specified schema, or fail if no column family exists with the given ID.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreate(ColumnFamily value) Create a new column family with the specified schema, or fail if one already exists with the given ID.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdate(ColumnFamily value) Update an existing column family to the specified schema, or fail if no column family exists with the given ID.setCreate(ColumnFamily value) Create a new column family with the specified schema, or fail if one already exists with the given ID.setCreate(ColumnFamily.Builder builderForValue) Create a new column family with the specified schema, or fail if one already exists with the given ID.setDrop(boolean value) Drop (delete) the column family with the given ID, or fail if no such family exists.The ID of the column family to be modified.setIdBytes(com.google.protobuf.ByteString value) The ID of the column family to be modified.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdate(ColumnFamily value) Update an existing column family to the specified schema, or fail if no column family exists with the given ID.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
setField
public ModifyColumnFamiliesRequest.Modification.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
clearField
public ModifyColumnFamiliesRequest.Modification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
clearOneof
public ModifyColumnFamiliesRequest.Modification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
addRepeatedField
public ModifyColumnFamiliesRequest.Modification.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
mergeFrom
public ModifyColumnFamiliesRequest.Modification.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
mergeFrom
public ModifyColumnFamiliesRequest.Modification.Builder mergeFrom(ModifyColumnFamiliesRequest.Modification other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModifyColumnFamiliesRequest.Modification.Builder>- Throws:
IOException
-
getModCase
- Specified by:
getModCasein interfaceModifyColumnFamiliesRequest.ModificationOrBuilder
-
clearMod
-
getId
The ID of the column family to be modified.
string id = 1;- Specified by:
getIdin 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:
getIdBytesin interfaceModifyColumnFamiliesRequest.ModificationOrBuilder- Returns:
- The bytes for id.
-
setId
The ID of the column family to be modified.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
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:
hasCreatein interfaceModifyColumnFamiliesRequest.ModificationOrBuilder- Returns:
- Whether the create field is set.
-
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:
getCreatein interfaceModifyColumnFamiliesRequest.ModificationOrBuilder- Returns:
- The create.
-
setCreate
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
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
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
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
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:
getCreateOrBuilderin 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:
hasUpdatein interfaceModifyColumnFamiliesRequest.ModificationOrBuilder- Returns:
- Whether the update field is set.
-
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:
getUpdatein interfaceModifyColumnFamiliesRequest.ModificationOrBuilder- Returns:
- The update.
-
setUpdate
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
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
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
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
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:
getUpdateOrBuilderin 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:
hasDropin 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:
getDropin interfaceModifyColumnFamiliesRequest.ModificationOrBuilder- Returns:
- The drop.
-
setDrop
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-
mergeUnknownFields
public final ModifyColumnFamiliesRequest.Modification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModifyColumnFamiliesRequest.Modification.Builder>
-