Package com.google.bigtable.admin.v2
Class Type.Struct.Encoding
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.admin.v2.Type.Struct.Encoding
- All Implemented Interfaces:
Type.Struct.EncodingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Type.Struct
public static final class Type.Struct.Encoding
extends com.google.protobuf.GeneratedMessageV3
implements Type.Struct.EncodingOrBuilder
Rules used to convert to or from lower level types.Protobuf type
google.bigtable.admin.v2.Type.Struct.Encoding- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRules used to convert to or from lower level types.static final classFields are encoded independently and concatenated with a configurable `delimiter` in between.static interfacestatic enumstatic final classFields are encoded independently and concatenated with the fixed byte pair {0x00, 0x01} in between.static interfacestatic final classUses the encoding of `fields[0].type` as-is.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Type.Struct.EncodingUse `DelimitedBytes` encoding.Use `DelimitedBytes` encoding.static final com.google.protobuf.Descriptors.DescriptorUser `OrderedCodeBytes` encoding.User `OrderedCodeBytes` encoding.com.google.protobuf.Parser<Type.Struct.Encoding>intUse `Singleton` encoding.Use `Singleton` encoding.booleanUse `DelimitedBytes` encoding.inthashCode()booleanUser `OrderedCodeBytes` encoding.booleanUse `Singleton` encoding.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Type.Struct.Encoding.Builderstatic Type.Struct.Encoding.BuildernewBuilder(Type.Struct.Encoding prototype) protected Type.Struct.Encoding.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Type.Struct.EncodingparseDelimitedFrom(InputStream input) static Type.Struct.EncodingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Type.Struct.EncodingparseFrom(byte[] data) static Type.Struct.EncodingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Type.Struct.EncodingparseFrom(com.google.protobuf.ByteString data) static Type.Struct.EncodingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Type.Struct.EncodingparseFrom(com.google.protobuf.CodedInputStream input) static Type.Struct.EncodingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Type.Struct.EncodingparseFrom(InputStream input) static Type.Struct.EncodingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Type.Struct.EncodingparseFrom(ByteBuffer data) static Type.Struct.EncodingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Type.Struct.Encoding>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SINGLETON_FIELD_NUMBER
public static final int SINGLETON_FIELD_NUMBER- See Also:
-
DELIMITED_BYTES_FIELD_NUMBER
public static final int DELIMITED_BYTES_FIELD_NUMBER- See Also:
-
ORDERED_CODE_BYTES_FIELD_NUMBER
public static final int ORDERED_CODE_BYTES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getEncodingCase
- Specified by:
getEncodingCasein interfaceType.Struct.EncodingOrBuilder
-
hasSingleton
public boolean hasSingleton()Use `Singleton` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.Singleton singleton = 1;- Specified by:
hasSingletonin interfaceType.Struct.EncodingOrBuilder- Returns:
- Whether the singleton field is set.
-
getSingleton
Use `Singleton` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.Singleton singleton = 1;- Specified by:
getSingletonin interfaceType.Struct.EncodingOrBuilder- Returns:
- The singleton.
-
getSingletonOrBuilder
Use `Singleton` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.Singleton singleton = 1;- Specified by:
getSingletonOrBuilderin interfaceType.Struct.EncodingOrBuilder
-
hasDelimitedBytes
public boolean hasDelimitedBytes()Use `DelimitedBytes` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.DelimitedBytes delimited_bytes = 2;- Specified by:
hasDelimitedBytesin interfaceType.Struct.EncodingOrBuilder- Returns:
- Whether the delimitedBytes field is set.
-
getDelimitedBytes
Use `DelimitedBytes` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.DelimitedBytes delimited_bytes = 2;- Specified by:
getDelimitedBytesin interfaceType.Struct.EncodingOrBuilder- Returns:
- The delimitedBytes.
-
getDelimitedBytesOrBuilder
Use `DelimitedBytes` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.DelimitedBytes delimited_bytes = 2;- Specified by:
getDelimitedBytesOrBuilderin interfaceType.Struct.EncodingOrBuilder
-
hasOrderedCodeBytes
public boolean hasOrderedCodeBytes()User `OrderedCodeBytes` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.OrderedCodeBytes ordered_code_bytes = 3;- Specified by:
hasOrderedCodeBytesin interfaceType.Struct.EncodingOrBuilder- Returns:
- Whether the orderedCodeBytes field is set.
-
getOrderedCodeBytes
User `OrderedCodeBytes` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.OrderedCodeBytes ordered_code_bytes = 3;- Specified by:
getOrderedCodeBytesin interfaceType.Struct.EncodingOrBuilder- Returns:
- The orderedCodeBytes.
-
getOrderedCodeBytesOrBuilder
User `OrderedCodeBytes` encoding.
.google.bigtable.admin.v2.Type.Struct.Encoding.OrderedCodeBytes ordered_code_bytes = 3;- Specified by:
getOrderedCodeBytesOrBuilderin interfaceType.Struct.EncodingOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Type.Struct.Encoding parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Type.Struct.Encoding parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Type.Struct.Encoding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Type.Struct.Encoding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Type.Struct.Encoding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Type.Struct.Encoding parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Type.Struct.Encoding parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Type.Struct.Encoding parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Type.Struct.Encoding parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Type.Struct.Encoding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Type.Struct.Encoding.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-