public static final class Protos.Environment.Builder extends <any> implements Protos.EnvironmentOrBuilder
Describes a collection of environment variables. This is used with CommandInfo in order to set environment variables before running a command. The contents of each variable may be specified as a string or a Secret; only one of `value` and `secret` must be set.Protobuf type
mesos.Environment
Modifier and Type | Method and Description |
---|---|
Protos.Environment.Builder |
addAllVariables(java.lang.Iterable<? extends Protos.Environment.Variable> values)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Environment.Builder |
addVariables(int index,
Protos.Environment.Variable.Builder builderForValue)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Builder |
addVariables(int index,
Protos.Environment.Variable value)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Builder |
addVariables(Protos.Environment.Variable.Builder builderForValue)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Builder |
addVariables(Protos.Environment.Variable value)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Variable.Builder |
addVariablesBuilder()
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Variable.Builder |
addVariablesBuilder(int index)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment |
build() |
Protos.Environment |
buildPartial() |
Protos.Environment.Builder |
clear() |
Protos.Environment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Environment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Environment.Builder |
clearVariables()
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Builder |
clone() |
Protos.Environment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Environment.Variable |
getVariables(int index)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Variable.Builder |
getVariablesBuilder(int index)
repeated .mesos.Environment.Variable variables = 1; |
java.util.List<Protos.Environment.Variable.Builder> |
getVariablesBuilderList()
repeated .mesos.Environment.Variable variables = 1; |
int |
getVariablesCount()
repeated .mesos.Environment.Variable variables = 1; |
java.util.List<Protos.Environment.Variable> |
getVariablesList()
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.VariableOrBuilder |
getVariablesOrBuilder(int index)
repeated .mesos.Environment.Variable variables = 1; |
java.util.List<? extends Protos.Environment.VariableOrBuilder> |
getVariablesOrBuilderList()
repeated .mesos.Environment.Variable variables = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Environment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Environment.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Environment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Environment.Builder |
removeVariables(int index)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Environment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Environment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Environment.Builder |
setVariables(int index,
Protos.Environment.Variable.Builder builderForValue)
repeated .mesos.Environment.Variable variables = 1; |
Protos.Environment.Builder |
setVariables(int index,
Protos.Environment.Variable value)
repeated .mesos.Environment.Variable variables = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Environment.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Environment getDefaultInstanceForType()
public Protos.Environment build()
public Protos.Environment buildPartial()
public Protos.Environment.Builder clone()
public Protos.Environment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Environment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Environment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Environment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Environment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Environment.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Environment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.Environment.Variable> getVariablesList()
repeated .mesos.Environment.Variable variables = 1;
getVariablesList
in interface Protos.EnvironmentOrBuilder
public int getVariablesCount()
repeated .mesos.Environment.Variable variables = 1;
getVariablesCount
in interface Protos.EnvironmentOrBuilder
public Protos.Environment.Variable getVariables(int index)
repeated .mesos.Environment.Variable variables = 1;
getVariables
in interface Protos.EnvironmentOrBuilder
public Protos.Environment.Builder setVariables(int index, Protos.Environment.Variable value)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Builder setVariables(int index, Protos.Environment.Variable.Builder builderForValue)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Builder addVariables(Protos.Environment.Variable value)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Builder addVariables(int index, Protos.Environment.Variable value)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Builder addVariables(Protos.Environment.Variable.Builder builderForValue)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Builder addVariables(int index, Protos.Environment.Variable.Builder builderForValue)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Builder addAllVariables(java.lang.Iterable<? extends Protos.Environment.Variable> values)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Builder clearVariables()
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Builder removeVariables(int index)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Variable.Builder getVariablesBuilder(int index)
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.VariableOrBuilder getVariablesOrBuilder(int index)
repeated .mesos.Environment.Variable variables = 1;
getVariablesOrBuilder
in interface Protos.EnvironmentOrBuilder
public java.util.List<? extends Protos.Environment.VariableOrBuilder> getVariablesOrBuilderList()
repeated .mesos.Environment.Variable variables = 1;
getVariablesOrBuilderList
in interface Protos.EnvironmentOrBuilder
public Protos.Environment.Variable.Builder addVariablesBuilder()
repeated .mesos.Environment.Variable variables = 1;
public Protos.Environment.Variable.Builder addVariablesBuilder(int index)
repeated .mesos.Environment.Variable variables = 1;
public java.util.List<Protos.Environment.Variable.Builder> getVariablesBuilderList()
repeated .mesos.Environment.Variable variables = 1;
public final Protos.Environment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Environment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)