public static interface Protos.Environment.VariableOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
Protos.Secret |
getSecret()
optional .mesos.Secret secret = 4; |
Protos.SecretOrBuilder |
getSecretOrBuilder()
optional .mesos.Secret secret = 4; |
Protos.Environment.Variable.Type |
getType()
In Mesos 1.2, the `Environment.variables.value` message was made
optional.
|
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.
|
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.
|
boolean hasName()
required string name = 1;
java.lang.String getName()
required string name = 1;
com.google.protobuf.ByteString getNameBytes()
required string name = 1;
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];
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];
boolean hasValue()
Only one of `value` and `secret` must be set.
optional string value = 2;
java.lang.String getValue()
Only one of `value` and `secret` must be set.
optional string value = 2;
com.google.protobuf.ByteString getValueBytes()
Only one of `value` and `secret` must be set.
optional string value = 2;
boolean hasSecret()
optional .mesos.Secret secret = 4;
Protos.Secret getSecret()
optional .mesos.Secret secret = 4;
Protos.SecretOrBuilder getSecretOrBuilder()
optional .mesos.Secret secret = 4;