public static final class BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder extends GeneratedMessage.Builder<BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder> implements BigtableConfig.ColumnFamilyMapping.DelimitedKeyOrBuilderRow key definition based on fields from the message.
Protobuf type google.pubsub.v1.BigtableConfig.ColumnFamilyMapping.DelimitedKey
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BigtableConfig.ColumnFamilyMapping.DelimitedKey.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllKeyFields(Iterable<String> values)
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder addAllKeyFields(Iterable<String> values)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 |
values |
Iterable<String>The keyFields to add. |
| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
This builder for chaining. |
addKeyFields(String value)
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder addKeyFields(String value)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 |
value |
StringThe keyFields to add. |
| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
This builder for chaining. |
addKeyFieldsBytes(ByteString value)
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder addKeyFieldsBytes(ByteString value)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 |
value |
ByteStringThe bytes of the keyFields to add. |
| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
This builder for chaining. |
build()
public BigtableConfig.ColumnFamilyMapping.DelimitedKey build()| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey |
|
buildPartial()
public BigtableConfig.ColumnFamilyMapping.DelimitedKey buildPartial()| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey |
|
clear()
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder clear()| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
|
clearDelimiter()
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder clearDelimiter()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 |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
This builder for chaining. |
clearKeyFields()
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder clearKeyFields()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 |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
This builder for chaining. |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
|
mergeFrom(BigtableConfig.ColumnFamilyMapping.DelimitedKey other)
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder mergeFrom(BigtableConfig.ColumnFamilyMapping.DelimitedKey other)| Parameter | |
|---|---|
| Name | Description |
other |
BigtableConfig.ColumnFamilyMapping.DelimitedKey |
| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
|
setDelimiter(ByteString value)
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder setDelimiter(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe delimiter to set. |
| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
This builder for chaining. |
setKeyFields(int index, String value)
public BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder setKeyFields(int index, String value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe keyFields to set. |
| Returns | |
|---|---|
| Type | Description |
BigtableConfig.ColumnFamilyMapping.DelimitedKey.Builder |
This builder for chaining. |