public static final class Protos.Flag extends com.google.protobuf.GeneratedMessageV3 implements Protos.FlagOrBuilder
Flag consists of a name and optionally its value.Protobuf type
mesos.Flag
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Flag.Builder
Flag consists of a name and optionally its value.
|
Modifier and Type | Field and Description |
---|---|
static int |
NAME_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.Flag |
getDefaultInstance() |
Protos.Flag |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
<any> |
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; |
int |
hashCode() |
boolean |
hasName()
required string name = 1; |
boolean |
hasValue()
optional string value = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Flag.Builder |
newBuilder() |
static Protos.Flag.Builder |
newBuilder(Protos.Flag prototype) |
Protos.Flag.Builder |
newBuilderForType() |
protected Protos.Flag.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Flag |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Flag |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Flag |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Flag |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Flag |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Flag |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Flag |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Flag |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Flag |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Flag |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Flag.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int NAME_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 hasName()
required string name = 1;
hasName
in interface Protos.FlagOrBuilder
public java.lang.String getName()
required string name = 1;
getName
in interface Protos.FlagOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
getNameBytes
in interface Protos.FlagOrBuilder
public boolean hasValue()
optional string value = 2;
hasValue
in interface Protos.FlagOrBuilder
public java.lang.String getValue()
optional string value = 2;
getValue
in interface Protos.FlagOrBuilder
public com.google.protobuf.ByteString getValueBytes()
optional string value = 2;
getValueBytes
in interface Protos.FlagOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Flag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Flag parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Flag parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Flag parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Flag parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Flag parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Flag parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Flag parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Flag parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Flag parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Flag.Builder newBuilderForType()
public static Protos.Flag.Builder newBuilder()
public static Protos.Flag.Builder newBuilder(Protos.Flag prototype)
public Protos.Flag.Builder toBuilder()
protected Protos.Flag.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Flag getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Flag getDefaultInstanceForType()