Class Family.Builder (2.16.0)

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

Implements

FamilyOrBuilder

Static Methods

getDescriptor()

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

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
NameDescription
valuesIterable<? extends com.google.bigtable.v2.Column>
Returns
TypeDescription
Family.Builder

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
NameDescription
valueColumn
Returns
TypeDescription
Family.Builder

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
NameDescription
builderForValueColumn.Builder
Returns
TypeDescription
Family.Builder

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
NameDescription
indexint
valueColumn
Returns
TypeDescription
Family.Builder

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
NameDescription
indexint
builderForValueColumn.Builder
Returns
TypeDescription
Family.Builder

addColumnsBuilder()

public Column.Builder addColumnsBuilder()

Must not be empty. Sorted in order of increasing "qualifier".

repeated .google.bigtable.v2.Column columns = 2;

Returns
TypeDescription
Column.Builder

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
NameDescription
indexint
Returns
TypeDescription
Column.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Family build()
Returns
TypeDescription
Family

buildPartial()

public Family buildPartial()
Returns
TypeDescription
Family

clear()

public Family.Builder clear()
Returns
TypeDescription
Family.Builder
Overrides

clearColumns()

public Family.Builder clearColumns()

Must not be empty. Sorted in order of increasing "qualifier".

repeated .google.bigtable.v2.Column columns = 2;

Returns
TypeDescription
Family.Builder

clearField(Descriptors.FieldDescriptor field)

public Family.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Family.Builder
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
TypeDescription
Family.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Family.Builder clone()
Returns
TypeDescription
Family.Builder
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
NameDescription
indexint
Returns
TypeDescription
Column

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
NameDescription
indexint
Returns
TypeDescription
Column.Builder

getColumnsBuilderList()

public List<Column.Builder> getColumnsBuilderList()

Must not be empty. Sorted in order of increasing "qualifier".

repeated .google.bigtable.v2.Column columns = 2;

Returns
TypeDescription
List<Builder>

getColumnsCount()

public int getColumnsCount()

Must not be empty. Sorted in order of increasing "qualifier".

repeated .google.bigtable.v2.Column columns = 2;

Returns
TypeDescription
int

getColumnsList()

public List<Column> getColumnsList()

Must not be empty. Sorted in order of increasing "qualifier".

repeated .google.bigtable.v2.Column columns = 2;

Returns
TypeDescription
List<Column>

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
NameDescription
indexint
Returns
TypeDescription
ColumnOrBuilder

getColumnsOrBuilderList()

public List<? extends ColumnOrBuilder> getColumnsOrBuilderList()

Must not be empty. Sorted in order of increasing "qualifier".

repeated .google.bigtable.v2.Column columns = 2;

Returns
TypeDescription
List<? extends com.google.bigtable.v2.ColumnOrBuilder>

getDefaultInstanceForType()

public Family getDefaultInstanceForType()
Returns
TypeDescription
Family

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String 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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Family other)

public Family.Builder mergeFrom(Family other)
Parameter
NameDescription
otherFamily
Returns
TypeDescription
Family.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Family.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Family.Builder
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
NameDescription
indexint
Returns
TypeDescription
Family.Builder

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
NameDescription
indexint
valueColumn
Returns
TypeDescription
Family.Builder

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
NameDescription
indexint
builderForValueColumn.Builder
Returns
TypeDescription
Family.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Family.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Family.Builder
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
Family.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Family.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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