public static final class Protos.Environment extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Protos.Environment.Builder
Describes a collection of environment variables.
|
static class |
Protos.Environment.Variable
Protobuf type
mesos.Environment.Variable |
static interface |
Protos.Environment.VariableOrBuilder |
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
VARIABLES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Environment |
getDefaultInstance() |
Protos.Environment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.Environment.Variable |
getVariables(int index)
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; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Environment.Builder |
newBuilder() |
static Protos.Environment.Builder |
newBuilder(Protos.Environment prototype) |
Protos.Environment.Builder |
newBuilderForType() |
protected Protos.Environment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Environment |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Environment |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Environment |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Environment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Environment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Environment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int VARIABLES_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 java.util.List<Protos.Environment.Variable> getVariablesList()
repeated .mesos.Environment.Variable variables = 1;
getVariablesList
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 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.VariableOrBuilder getVariablesOrBuilder(int index)
repeated .mesos.Environment.Variable variables = 1;
getVariablesOrBuilder
in interface Protos.EnvironmentOrBuilder
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.Environment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Environment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Environment parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Environment parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Environment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Environment.Builder newBuilderForType()
public static Protos.Environment.Builder newBuilder()
public static Protos.Environment.Builder newBuilder(Protos.Environment prototype)
public Protos.Environment.Builder toBuilder()
protected Protos.Environment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Environment getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Environment getDefaultInstanceForType()