public static final class Messages.Record extends com.google.protobuf.GeneratedMessage implements Messages.RecordOrBuilder
Record| Modifier and Type | Class and Description |
|---|---|
static class |
Messages.Record.Builder
Protobuf type
Record |
| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_FIELD_NUMBER |
static int |
EXPLICIT_HASH_KEY_INDEX_FIELD_NUMBER |
static |
PARSER |
static int |
PARTITION_KEY_INDEX_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getData()
required bytes data = 3; |
static Messages.Record |
getDefaultInstance() |
Messages.Record |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getExplicitHashKeyIndex()
optional uint64 explicit_hash_key_index = 2; |
|
getParserForType() |
long |
getPartitionKeyIndex()
required uint64 partition_key_index = 1; |
int |
getSerializedSize() |
Messages.Tag |
getTags(int index)
repeated .Tag tags = 4; |
int |
getTagsCount()
repeated .Tag tags = 4; |
java.util.List<Messages.Tag> |
getTagsList()
repeated .Tag tags = 4; |
Messages.TagOrBuilder |
getTagsOrBuilder(int index)
repeated .Tag tags = 4; |
java.util.List<? extends Messages.TagOrBuilder> |
getTagsOrBuilderList()
repeated .Tag tags = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasData()
required bytes data = 3; |
boolean |
hasExplicitHashKeyIndex()
optional uint64 explicit_hash_key_index = 2; |
boolean |
hasPartitionKeyIndex()
required uint64 partition_key_index = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Messages.Record.Builder |
newBuilder() |
static Messages.Record.Builder |
newBuilder(Messages.Record prototype) |
Messages.Record.Builder |
newBuilderForType() |
protected Messages.Record.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Messages.Record |
parseDelimitedFrom(java.io.InputStream input) |
static Messages.Record |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.Record |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.Record |
parseFrom(com.google.protobuf.ByteString data) |
static Messages.Record |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.Record |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Messages.Record |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.Record |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.Record.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public staticPARSER
public static final int PARTITION_KEY_INDEX_FIELD_NUMBER
public static final int EXPLICIT_HASH_KEY_INDEX_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static Messages.Record getDefaultInstance()
public Messages.Record getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
publicgetParserForType()
public boolean hasPartitionKeyIndex()
required uint64 partition_key_index = 1;hasPartitionKeyIndex in interface Messages.RecordOrBuilderpublic long getPartitionKeyIndex()
required uint64 partition_key_index = 1;getPartitionKeyIndex in interface Messages.RecordOrBuilderpublic boolean hasExplicitHashKeyIndex()
optional uint64 explicit_hash_key_index = 2;hasExplicitHashKeyIndex in interface Messages.RecordOrBuilderpublic long getExplicitHashKeyIndex()
optional uint64 explicit_hash_key_index = 2;getExplicitHashKeyIndex in interface Messages.RecordOrBuilderpublic boolean hasData()
required bytes data = 3;hasData in interface Messages.RecordOrBuilderpublic com.google.protobuf.ByteString getData()
required bytes data = 3;getData in interface Messages.RecordOrBuilderpublic java.util.List<Messages.Tag> getTagsList()
repeated .Tag tags = 4;getTagsList in interface Messages.RecordOrBuilderpublic java.util.List<? extends Messages.TagOrBuilder> getTagsOrBuilderList()
repeated .Tag tags = 4;getTagsOrBuilderList in interface Messages.RecordOrBuilderpublic int getTagsCount()
repeated .Tag tags = 4;getTagsCount in interface Messages.RecordOrBuilderpublic Messages.Tag getTags(int index)
repeated .Tag tags = 4;getTags in interface Messages.RecordOrBuilderpublic Messages.TagOrBuilder getTagsOrBuilder(int index)
repeated .Tag tags = 4;getTagsOrBuilder in interface Messages.RecordOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic static Messages.Record parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.Record parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.Record parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.Record parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Record parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Record parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Record parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Record parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Messages.Record.Builder newBuilder()
public Messages.Record.Builder newBuilderForType()
public static Messages.Record.Builder newBuilder(Messages.Record prototype)
public Messages.Record.Builder toBuilder()
protected Messages.Record.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)