public static final class Protos.DataSource.MetaData extends com.google.protobuf.GeneratedMessage implements Protos.DataSource.MetaDataOrBuilder
DataSource.MetaData
metadata to be used by the storage engine (mostly for initialization and creating connection pools, etc.)
| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.DataSource.MetaData.Builder
Protobuf type
DataSource.MetaData |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.DataSource.MetaData> |
PARSER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Protos.DataSource.MetaData |
getDefaultInstance() |
Protos.DataSource.MetaData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
com.google.protobuf.Parser<Protos.DataSource.MetaData> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getValue()
required string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 2; |
boolean |
hasName()
required string name = 1; |
boolean |
hasValue()
required string value = 2; |
boolean |
isInitialized() |
static Protos.DataSource.MetaData.Builder |
newBuilder() |
static Protos.DataSource.MetaData.Builder |
newBuilder(Protos.DataSource.MetaData prototype) |
Protos.DataSource.MetaData.Builder |
newBuilderForType() |
static Protos.DataSource.MetaData |
parseDelimitedFrom(InputStream input) |
static Protos.DataSource.MetaData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DataSource.MetaData |
parseFrom(byte[] data) |
static Protos.DataSource.MetaData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DataSource.MetaData |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.DataSource.MetaData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DataSource.MetaData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.DataSource.MetaData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DataSource.MetaData |
parseFrom(InputStream input) |
static Protos.DataSource.MetaData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.DataSource.MetaData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<Protos.DataSource.MetaData> PARSER
public static final int NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static Protos.DataSource.MetaData getDefaultInstance()
public Protos.DataSource.MetaData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.Parser<Protos.DataSource.MetaData> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasName()
required string name = 1;
generic key/value pairs of strings
hasName in interface Protos.DataSource.MetaDataOrBuilderpublic String getName()
required string name = 1;
generic key/value pairs of strings
getName in interface Protos.DataSource.MetaDataOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;
generic key/value pairs of strings
getNameBytes in interface Protos.DataSource.MetaDataOrBuilderpublic boolean hasValue()
required string value = 2;hasValue in interface Protos.DataSource.MetaDataOrBuilderpublic String getValue()
required string value = 2;getValue in interface Protos.DataSource.MetaDataOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
required string value = 2;getValueBytes in interface Protos.DataSource.MetaDataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static Protos.DataSource.MetaData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.DataSource.MetaData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.DataSource.MetaData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.DataSource.MetaData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.DataSource.MetaData parseFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.DataSource.MetaData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.DataSource.MetaData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.DataSource.MetaData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.DataSource.MetaData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Protos.DataSource.MetaData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.DataSource.MetaData.Builder newBuilder()
public Protos.DataSource.MetaData.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.DataSource.MetaData.Builder newBuilder(Protos.DataSource.MetaData prototype)
public Protos.DataSource.MetaData.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2015. All rights reserved.