public static final class Protos.Environment.Variable extends com.google.protobuf.GeneratedMessageV3 implements Protos.Environment.VariableOrBuilder
mesos.Environment.Variable| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Environment.Variable.Builder
Protobuf type
mesos.Environment.Variable |
static class |
Protos.Environment.Variable.Type
Protobuf enum
mesos.Environment.Variable.Type |
| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
SECRET_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Environment.Variable |
getDefaultInstance() |
Protos.Environment.Variable |
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() |
Protos.Secret |
getSecret()
optional .mesos.Secret secret = 4; |
Protos.SecretOrBuilder |
getSecretOrBuilder()
optional .mesos.Secret secret = 4; |
int |
getSerializedSize() |
Protos.Environment.Variable.Type |
getType()
In Mesos 1.2, the `Environment.variables.value` message was made
optional.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getValue()
Only one of `value` and `secret` must be set.
|
com.google.protobuf.ByteString |
getValueBytes()
Only one of `value` and `secret` must be set.
|
int |
hashCode() |
boolean |
hasName()
required string name = 1; |
boolean |
hasSecret()
optional .mesos.Secret secret = 4; |
boolean |
hasType()
In Mesos 1.2, the `Environment.variables.value` message was made
optional.
|
boolean |
hasValue()
Only one of `value` and `secret` must be set.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Environment.Variable.Builder |
newBuilder() |
static Protos.Environment.Variable.Builder |
newBuilder(Protos.Environment.Variable prototype) |
Protos.Environment.Variable.Builder |
newBuilderForType() |
protected Protos.Environment.Variable.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Environment.Variable |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Environment.Variable |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment.Variable |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment.Variable |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Environment.Variable |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment.Variable |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Environment.Variable |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment.Variable |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Environment.Variable |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment.Variable |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Environment.Variable.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int SECRET_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.Environment.VariableOrBuilderpublic java.lang.String getName()
required string name = 1;getName in interface Protos.Environment.VariableOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;getNameBytes in interface Protos.Environment.VariableOrBuilderpublic boolean hasType()
In Mesos 1.2, the `Environment.variables.value` message was made optional. The default type for `Environment.variables.type` is now VALUE, which requires `value` to be set, maintaining backward compatibility. TODO(greggomann): The default can be removed in Mesos 2.1 (MESOS-7134).
optional .mesos.Environment.Variable.Type type = 3 [default = VALUE];hasType in interface Protos.Environment.VariableOrBuilderpublic Protos.Environment.Variable.Type getType()
In Mesos 1.2, the `Environment.variables.value` message was made optional. The default type for `Environment.variables.type` is now VALUE, which requires `value` to be set, maintaining backward compatibility. TODO(greggomann): The default can be removed in Mesos 2.1 (MESOS-7134).
optional .mesos.Environment.Variable.Type type = 3 [default = VALUE];getType in interface Protos.Environment.VariableOrBuilderpublic boolean hasValue()
Only one of `value` and `secret` must be set.
optional string value = 2;hasValue in interface Protos.Environment.VariableOrBuilderpublic java.lang.String getValue()
Only one of `value` and `secret` must be set.
optional string value = 2;getValue in interface Protos.Environment.VariableOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
Only one of `value` and `secret` must be set.
optional string value = 2;getValueBytes in interface Protos.Environment.VariableOrBuilderpublic boolean hasSecret()
optional .mesos.Secret secret = 4;hasSecret in interface Protos.Environment.VariableOrBuilderpublic Protos.Secret getSecret()
optional .mesos.Secret secret = 4;getSecret in interface Protos.Environment.VariableOrBuilderpublic Protos.SecretOrBuilder getSecretOrBuilder()
optional .mesos.Secret secret = 4;getSecretOrBuilder in interface Protos.Environment.VariableOrBuilderpublic 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.Environment.Variable parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Environment.Variable parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Environment.Variable parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Environment.Variable parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Environment.Variable parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Environment.Variable parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Environment.Variable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Environment.Variable parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Environment.Variable parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Environment.Variable parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Environment.Variable.Builder newBuilderForType()
public static Protos.Environment.Variable.Builder newBuilder()
public static Protos.Environment.Variable.Builder newBuilder(Protos.Environment.Variable prototype)
public Protos.Environment.Variable.Builder toBuilder()
protected Protos.Environment.Variable.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Environment.Variable getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Environment.Variable getDefaultInstanceForType()