Class BigtableConfig.ColumnFamilyMapping.DelimitedKey (1.161.0)

public static final class BigtableConfig.ColumnFamilyMapping.DelimitedKey extends GeneratedMessage implements BigtableConfig.ColumnFamilyMapping.DelimitedKeyOrBuilder

Row key definition based on fields from the message.

Protobuf type google.pubsub.v1.BigtableConfig.ColumnFamilyMapping.DelimitedKey

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BigtableConfig.ColumnFamilyMapping.DelimitedKey

Static Fields

DELIMITER_FIELD_NUMBER

public static final int DELIMITER_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELDS_FIELD_NUMBER

public static final int KEY_FIELDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey getDefaultInstance()
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder newBuilder()
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder

newBuilder(BigtableConfig.ColumnFamilyMapping.DelimitedKey prototype)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder newBuilder(BigtableConfig.ColumnFamilyMapping.DelimitedKey prototype)
Parameter
Name Description
prototype BigtableConfig.ColumnFamilyMapping.DelimitedKey
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder

parseDelimitedFrom(InputStream input)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigtableConfig.ColumnFamilyMapping.DelimitedKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BigtableConfig.ColumnFamilyMapping.DelimitedKey> parser()
Returns
Type Description
Parser<DelimitedKey>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BigtableConfig.ColumnFamilyMapping.DelimitedKey getDefaultInstanceForType()
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey

getDelimiter()

public ByteString getDelimiter()

Optional. Byte sequence used to delimit concatenated fields. Must be specified if multiple key fields are used. The delimiter must contain at least 1 character and at most 50 characters.

bytes delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The delimiter.

getKeyFields(int index)

public String getKeyFields(int index)

Required. The key fields to construct from the row key. The fields must be present in the message as a top-level field, i.e. JSON path expressions will not traverse into nested objects.

repeated string key_fields = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The keyFields at the given index.

getKeyFieldsBytes(int index)

public ByteString getKeyFieldsBytes(int index)

Required. The key fields to construct from the row key. The fields must be present in the message as a top-level field, i.e. JSON path expressions will not traverse into nested objects.

repeated string key_fields = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the keyFields at the given index.

getKeyFieldsCount()

public int getKeyFieldsCount()

Required. The key fields to construct from the row key. The fields must be present in the message as a top-level field, i.e. JSON path expressions will not traverse into nested objects.

repeated string key_fields = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of keyFields.

getKeyFieldsList()

public ProtocolStringList getKeyFieldsList()

Required. The key fields to construct from the row key. The fields must be present in the message as a top-level field, i.e. JSON path expressions will not traverse into nested objects.

repeated string key_fields = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the keyFields.

getParserForType()

public Parser<BigtableConfig.ColumnFamilyMapping.DelimitedKey> getParserForType()
Returns
Type Description
Parser<DelimitedKey>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder newBuilderForType()
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder
Overrides

toBuilder()

public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder toBuilder()
Returns
Type Description
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException