public static final class Protos.Parameter extends com.google.protobuf.GeneratedMessageV3 implements Protos.ParameterOrBuilder
A generic (key, value) pair used in various places for parameters.Protobuf type
mesos.Parameter| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Parameter.Builder
A generic (key, value) pair used in various places for parameters.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Parameter |
getDefaultInstance() |
Protos.Parameter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getKey()
required string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
required string key = 1; |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getValue()
required string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 2; |
int |
hashCode() |
boolean |
hasKey()
required string key = 1; |
boolean |
hasValue()
required string value = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Parameter.Builder |
newBuilder() |
static Protos.Parameter.Builder |
newBuilder(Protos.Parameter prototype) |
Protos.Parameter.Builder |
newBuilderForType() |
protected Protos.Parameter.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Parameter |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Parameter |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Parameter |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Parameter |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Parameter |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Parameter |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Parameter |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Parameter |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Parameter |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Parameter |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Parameter.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasKey()
required string key = 1;hasKey in interface Protos.ParameterOrBuilderpublic java.lang.String getKey()
required string key = 1;getKey in interface Protos.ParameterOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
required string key = 1;getKeyBytes in interface Protos.ParameterOrBuilderpublic boolean hasValue()
required string value = 2;hasValue in interface Protos.ParameterOrBuilderpublic java.lang.String getValue()
required string value = 2;getValue in interface Protos.ParameterOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
required string value = 2;getValueBytes in interface Protos.ParameterOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Parameter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Parameter parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Parameter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Parameter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Parameter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Parameter parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Parameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Parameter parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Parameter parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Parameter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Parameter.Builder newBuilderForType()
public static Protos.Parameter.Builder newBuilder()
public static Protos.Parameter.Builder newBuilder(Protos.Parameter prototype)
public Protos.Parameter.Builder toBuilder()
protected Protos.Parameter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Parameter getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Parameter getDefaultInstanceForType()