public static final class Protos.Environment.Variable.Builder extends <any> implements Protos.Environment.VariableOrBuilder
mesos.Environment.Variable| Modifier and Type | Method and Description |
|---|---|
Protos.Environment.Variable.Builder |
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Environment.Variable |
build () |
Protos.Environment.Variable |
buildPartial () |
Protos.Environment.Variable.Builder |
clear () |
Protos.Environment.Variable.Builder |
clearField (com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Environment.Variable.Builder |
clearName ()
required string name = 1; |
Protos.Environment.Variable.Builder |
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Environment.Variable.Builder |
clearSecret ()
optional .mesos.Secret secret = 4; |
Protos.Environment.Variable.Builder |
clearType ()
In Mesos 1.2, the `Environment.variables.value` message was made
optional.
|
Protos.Environment.Variable.Builder |
clearValue ()
Only one of `value` and `secret` must be set.
|
Protos.Environment.Variable.Builder |
clone () |
Protos.Environment.Variable |
getDefaultInstanceForType () |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor () |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType () |
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.Secret.Builder |
getSecretBuilder ()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable () |
boolean |
isInitialized () |
Protos.Environment.Variable.Builder |
mergeFrom (com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Environment.Variable.Builder |
mergeFrom (com.google.protobuf.Message other) |
Protos.Environment.Variable.Builder |
mergeSecret (Protos.Secret value)
optional .mesos.Secret secret = 4; |
Protos.Environment.Variable.Builder |
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Environment.Variable.Builder |
setField (com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Environment.Variable.Builder |
setName (java.lang.String value)
required string name = 1; |
Protos.Environment.Variable.Builder |
setNameBytes (com.google.protobuf.ByteString value)
required string name = 1; |
Protos.Environment.Variable.Builder |
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Environment.Variable.Builder |
setSecret (Protos.Secret.Builder builderForValue)
optional .mesos.Secret secret = 4; |
Protos.Environment.Variable.Builder |
setSecret (Protos.Secret value)
optional .mesos.Secret secret = 4; |
Protos.Environment.Variable.Builder |
setType (Protos.Environment.Variable.Type value)
In Mesos 1.2, the `Environment.variables.value` message was made
optional.
|
Protos.Environment.Variable.Builder |
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Environment.Variable.Builder |
setValue (java.lang.String value)
Only one of `value` and `secret` must be set.
|
Protos.Environment.Variable.Builder |
setValueBytes (com.google.protobuf.ByteString value)
Only one of `value` and `secret` must be set.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Environment.Variable.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Environment.Variable getDefaultInstanceForType()
public Protos.Environment.Variable build()
public Protos.Environment.Variable buildPartial()
public Protos.Environment.Variable.Builder clone()
public Protos.Environment.Variable.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Environment.Variable.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Environment.Variable.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Environment.Variable.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Environment.Variable.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Environment.Variable.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Environment.Variable.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasName()
required string name = 1;hasName in interface Protos.Environment.VariableOrBuilder public java.lang.String getName()
required string name = 1;getName in interface Protos.Environment.VariableOrBuilder public com.google.protobuf.ByteString getNameBytes()
required string name = 1;getNameBytes in interface Protos.Environment.VariableOrBuilder public Protos.Environment.Variable.Builder setName(java.lang.String value)
required string name = 1;public Protos.Environment.Variable.Builder clearName()
required string name = 1;public Protos.Environment.Variable.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;public 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.VariableOrBuilder public 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.VariableOrBuilder public Protos.Environment.Variable.Builder setType(Protos.Environment.Variable.Type value)
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];public Protos.Environment.Variable.Builder clearType()
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];public boolean hasValue()
Only one of `value` and `secret` must be set.
optional string value = 2;hasValue in interface Protos.Environment.VariableOrBuilder public java.lang.String getValue()
Only one of `value` and `secret` must be set.
optional string value = 2;getValue in interface Protos.Environment.VariableOrBuilder public com.google.protobuf.ByteString getValueBytes()
Only one of `value` and `secret` must be set.
optional string value = 2;getValueBytes in interface Protos.Environment.VariableOrBuilder public Protos.Environment.Variable.Builder setValue(java.lang.String value)
Only one of `value` and `secret` must be set.
optional string value = 2;public Protos.Environment.Variable.Builder clearValue()
Only one of `value` and `secret` must be set.
optional string value = 2;public Protos.Environment.Variable.Builder setValueBytes(com.google.protobuf.ByteString value)
Only one of `value` and `secret` must be set.
optional string value = 2;public boolean hasSecret()
optional .mesos.Secret secret = 4;hasSecret in interface Protos.Environment.VariableOrBuilder public Protos.Secret getSecret()
optional .mesos.Secret secret = 4;getSecret in interface Protos.Environment.VariableOrBuilder public Protos.Environment.Variable.Builder setSecret(Protos.Secret value)
optional .mesos.Secret secret = 4;public Protos.Environment.Variable.Builder setSecret(Protos.Secret.Builder builderForValue)
optional .mesos.Secret secret = 4;public Protos.Environment.Variable.Builder mergeSecret(Protos.Secret value)
optional .mesos.Secret secret = 4;public Protos.Environment.Variable.Builder clearSecret()
optional .mesos.Secret secret = 4;public Protos.Secret.Builder getSecretBuilder()
optional .mesos.Secret secret = 4;public Protos.SecretOrBuilder getSecretOrBuilder()
optional .mesos.Secret secret = 4;getSecretOrBuilder in interface Protos.Environment.VariableOrBuilder public final Protos.Environment.Variable.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Environment.Variable.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)