public static final class Family.Builder extends GeneratedMessageV3.Builder<Family.Builder> implements FamilyOrBuilder
Specifies (some of) the contents of a single row/column family intersection
of a table.
Protobuf type google.bigtable.v2.Family
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllColumns(Iterable<? extends Column> values)
public Family.Builder addAllColumns(Iterable<? extends Column> values)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.bigtable.v2.Column>
|
Returns
addColumns(Column value)
public Family.Builder addColumns(Column value)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameter
Returns
addColumns(Column.Builder builderForValue)
public Family.Builder addColumns(Column.Builder builderForValue)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameter
Returns
addColumns(int index, Column value)
public Family.Builder addColumns(int index, Column value)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameters
Returns
addColumns(int index, Column.Builder builderForValue)
public Family.Builder addColumns(int index, Column.Builder builderForValue)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameters
Returns
addColumnsBuilder()
public Column.Builder addColumnsBuilder()
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Returns
addColumnsBuilder(int index)
public Column.Builder addColumnsBuilder(int index)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Family.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Family buildPartial()
Returns
clear()
public Family.Builder clear()
Returns
Overrides
clearColumns()
public Family.Builder clearColumns()
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public Family.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public Family.Builder clearName()
The unique key which identifies this family within its row. This is the
same key that's used to identify the family in, for example, a RowFilter
which sets its "family_name_regex_filter" field.
Must match [-_.a-zA-Z0-9]+
, except that AggregatingRowProcessors may
produce cells in a sentinel family with an empty name.
Must be no greater than 64 characters in length.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Family.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Family.Builder clone()
Returns
Overrides
getColumns(int index)
public Column getColumns(int index)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameter
Returns
getColumnsBuilder(int index)
public Column.Builder getColumnsBuilder(int index)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameter
Returns
getColumnsBuilderList()
public List<Column.Builder> getColumnsBuilderList()
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Returns
getColumnsCount()
public int getColumnsCount()
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Returns
getColumnsList()
public List<Column> getColumnsList()
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Returns
getColumnsOrBuilder(int index)
public ColumnOrBuilder getColumnsOrBuilder(int index)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameter
Returns
getColumnsOrBuilderList()
public List<? extends ColumnOrBuilder> getColumnsOrBuilderList()
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Returns
Type | Description |
List<? extends com.google.bigtable.v2.ColumnOrBuilder> | |
getDefaultInstanceForType()
public Family getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The unique key which identifies this family within its row. This is the
same key that's used to identify the family in, for example, a RowFilter
which sets its "family_name_regex_filter" field.
Must match [-_.a-zA-Z0-9]+
, except that AggregatingRowProcessors may
produce cells in a sentinel family with an empty name.
Must be no greater than 64 characters in length.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The unique key which identifies this family within its row. This is the
same key that's used to identify the family in, for example, a RowFilter
which sets its "family_name_regex_filter" field.
Must match [-_.a-zA-Z0-9]+
, except that AggregatingRowProcessors may
produce cells in a sentinel family with an empty name.
Must be no greater than 64 characters in length.
string name = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Family other)
public Family.Builder mergeFrom(Family other)
Parameter
Returns
public Family.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Family.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Family.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeColumns(int index)
public Family.Builder removeColumns(int index)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameter
Returns
setColumns(int index, Column value)
public Family.Builder setColumns(int index, Column value)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameters
Returns
setColumns(int index, Column.Builder builderForValue)
public Family.Builder setColumns(int index, Column.Builder builderForValue)
Must not be empty. Sorted in order of increasing "qualifier".
repeated .google.bigtable.v2.Column columns = 2;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Family.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public Family.Builder setName(String value)
The unique key which identifies this family within its row. This is the
same key that's used to identify the family in, for example, a RowFilter
which sets its "family_name_regex_filter" field.
Must match [-_.a-zA-Z0-9]+
, except that AggregatingRowProcessors may
produce cells in a sentinel family with an empty name.
Must be no greater than 64 characters in length.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public Family.Builder setNameBytes(ByteString value)
The unique key which identifies this family within its row. This is the
same key that's used to identify the family in, for example, a RowFilter
which sets its "family_name_regex_filter" field.
Must match [-_.a-zA-Z0-9]+
, except that AggregatingRowProcessors may
produce cells in a sentinel family with an empty name.
Must be no greater than 64 characters in length.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Family.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Family.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides