public static final class Protos.Environment.Variable extends com.google.protobuf.GeneratedMessage implements Protos.Environment.VariableOrBuilder
mesos.v1.Environment.Variable
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Environment.Variable.Builder
Protobuf type
mesos.v1.Environment.Variable |
static class |
Protos.Environment.Variable.Type
Protobuf enum
mesos.v1.Environment.Variable.Type |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.Environment.Variable> |
PARSER |
static int |
SECRET_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static Protos.Environment.Variable |
getDefaultInstance() |
Protos.Environment.Variable |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
com.google.protobuf.Parser<Protos.Environment.Variable> |
getParserForType() |
Protos.Secret |
getSecret()
optional .mesos.v1.Secret secret = 4; |
Protos.SecretOrBuilder |
getSecretOrBuilder()
optional .mesos.v1.Secret secret = 4; |
int |
getSerializedSize() |
Protos.Environment.Variable.Type |
getType()
optional .mesos.v1.Environment.Variable.Type type = 3 [default = VALUE]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getValue()
optional string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 2; |
boolean |
hasName()
required string name = 1; |
boolean |
hasSecret()
optional .mesos.v1.Secret secret = 4; |
boolean |
hasType()
optional .mesos.v1.Environment.Variable.Type type = 3 [default = VALUE]; |
boolean |
hasValue()
optional string value = 2; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) |
static Protos.Environment.Variable |
parseDelimitedFrom(InputStream input) |
static Protos.Environment.Variable |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Environment.Variable |
parseFrom(byte[] data) |
static Protos.Environment.Variable |
parseFrom(byte[] 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(InputStream input) |
static Protos.Environment.Variable |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Environment.Variable.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<Protos.Environment.Variable> PARSER
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
public static Protos.Environment.Variable getDefaultInstance()
public Protos.Environment.Variable getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Protos.Environment.Variable> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasName()
required string name = 1;
hasName
in interface Protos.Environment.VariableOrBuilder
public 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 boolean hasType()
optional .mesos.v1.Environment.Variable.Type type = 3 [default = 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).
hasType
in interface Protos.Environment.VariableOrBuilder
public Protos.Environment.Variable.Type getType()
optional .mesos.v1.Environment.Variable.Type type = 3 [default = 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).
getType
in interface Protos.Environment.VariableOrBuilder
public boolean hasValue()
optional string value = 2;
Only one of `value` and `secret` must be set.
hasValue
in interface Protos.Environment.VariableOrBuilder
public String getValue()
optional string value = 2;
Only one of `value` and `secret` must be set.
getValue
in interface Protos.Environment.VariableOrBuilder
public com.google.protobuf.ByteString getValueBytes()
optional string value = 2;
Only one of `value` and `secret` must be set.
getValueBytes
in interface Protos.Environment.VariableOrBuilder
public boolean hasSecret()
optional .mesos.v1.Secret secret = 4;
hasSecret
in interface Protos.Environment.VariableOrBuilder
public Protos.Secret getSecret()
optional .mesos.v1.Secret secret = 4;
getSecret
in interface Protos.Environment.VariableOrBuilder
public Protos.SecretOrBuilder getSecretOrBuilder()
optional .mesos.v1.Secret secret = 4;
getSecretOrBuilder
in interface Protos.Environment.VariableOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static Protos.Environment.Variable parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment.Variable parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment.Variable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment.Variable parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Environment.Variable parseFrom(InputStream input) throws IOException
IOException
public static Protos.Environment.Variable parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Environment.Variable parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protos.Environment.Variable parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Environment.Variable parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protos.Environment.Variable parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.Environment.Variable.Builder newBuilder()
public Protos.Environment.Variable.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protos.Environment.Variable.Builder newBuilder(Protos.Environment.Variable prototype)
public Protos.Environment.Variable.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protos.Environment.Variable.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.