public static final class TopologyAPI.Config.KeyValue extends com.google.protobuf.GeneratedMessage implements TopologyAPI.Config.KeyValueOrBuilder
heron.proto.api.Config.KeyValue
Modifier and Type | Class and Description |
---|---|
static class |
TopologyAPI.Config.KeyValue.Builder
Protobuf type
heron.proto.api.Config.KeyValue |
com.google.protobuf.GeneratedMessage.BuilderParent, 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 |
JAVA_SERIALIZED_VALUE_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static com.google.protobuf.Parser<TopologyAPI.Config.KeyValue> |
PARSER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static TopologyAPI.Config.KeyValue |
getDefaultInstance() |
TopologyAPI.Config.KeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getJavaSerializedValue()
optional bytes java_serialized_value = 3; |
java.lang.String |
getKey()
required string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
required string key = 1; |
com.google.protobuf.Parser<TopologyAPI.Config.KeyValue> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getValue()
optional string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 2; |
boolean |
hasJavaSerializedValue()
optional bytes java_serialized_value = 3; |
boolean |
hasKey()
required string key = 1; |
boolean |
hasValue()
optional string value = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TopologyAPI.Config.KeyValue.Builder |
newBuilder() |
static TopologyAPI.Config.KeyValue.Builder |
newBuilder(TopologyAPI.Config.KeyValue prototype) |
TopologyAPI.Config.KeyValue.Builder |
newBuilderForType() |
protected TopologyAPI.Config.KeyValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TopologyAPI.Config.KeyValue |
parseDelimitedFrom(java.io.InputStream input) |
static TopologyAPI.Config.KeyValue |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.Config.KeyValue |
parseFrom(byte[] data) |
static TopologyAPI.Config.KeyValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.Config.KeyValue |
parseFrom(com.google.protobuf.ByteString data) |
static TopologyAPI.Config.KeyValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.Config.KeyValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TopologyAPI.Config.KeyValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyAPI.Config.KeyValue |
parseFrom(java.io.InputStream input) |
static TopologyAPI.Config.KeyValue |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyAPI.Config.KeyValue.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<TopologyAPI.Config.KeyValue> PARSER
public static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int JAVA_SERIALIZED_VALUE_FIELD_NUMBER
public static TopologyAPI.Config.KeyValue getDefaultInstance()
public TopologyAPI.Config.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<TopologyAPI.Config.KeyValue> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasKey()
required string key = 1;
hasKey
in interface TopologyAPI.Config.KeyValueOrBuilder
public java.lang.String getKey()
required string key = 1;
getKey
in interface TopologyAPI.Config.KeyValueOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
required string key = 1;
getKeyBytes
in interface TopologyAPI.Config.KeyValueOrBuilder
public boolean hasValue()
optional string value = 2;
Only one of the below are set
hasValue
in interface TopologyAPI.Config.KeyValueOrBuilder
public java.lang.String getValue()
optional string value = 2;
Only one of the below are set
getValue
in interface TopologyAPI.Config.KeyValueOrBuilder
public com.google.protobuf.ByteString getValueBytes()
optional string value = 2;
Only one of the below are set
getValueBytes
in interface TopologyAPI.Config.KeyValueOrBuilder
public boolean hasJavaSerializedValue()
optional bytes java_serialized_value = 3;
hasJavaSerializedValue
in interface TopologyAPI.Config.KeyValueOrBuilder
public com.google.protobuf.ByteString getJavaSerializedValue()
optional bytes java_serialized_value = 3;
getJavaSerializedValue
in interface TopologyAPI.Config.KeyValueOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
java.io.ObjectStreamException
public static TopologyAPI.Config.KeyValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.Config.KeyValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.Config.KeyValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.Config.KeyValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyAPI.Config.KeyValue parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Config.KeyValue parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Config.KeyValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Config.KeyValue parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Config.KeyValue parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Config.KeyValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyAPI.Config.KeyValue.Builder newBuilder()
public TopologyAPI.Config.KeyValue.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TopologyAPI.Config.KeyValue.Builder newBuilder(TopologyAPI.Config.KeyValue prototype)
public TopologyAPI.Config.KeyValue.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TopologyAPI.Config.KeyValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage