public static final class Protos.Secret extends com.google.protobuf.GeneratedMessageV3 implements Protos.SecretOrBuilder
Secret used to pass privileged information. It is designed to provide pass-by-value or pass-by-reference semantics, where the REFERENCE type can be used by custom modules which interact with a secure back-end.Protobuf type
mesos.Secret| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Secret.Builder
Secret used to pass privileged information.
|
static class |
Protos.Secret.Reference
Can be used by modules to refer to a secret stored in a secure back-end.
|
static interface |
Protos.Secret.ReferenceOrBuilder |
static class |
Protos.Secret.Type
Protobuf enum
mesos.Secret.Type |
static class |
Protos.Secret.Value
Used to pass the value of a secret.
|
static interface |
Protos.Secret.ValueOrBuilder |
| Modifier and Type | Field and Description |
|---|---|
static <any> |
PARSER
Deprecated.
|
static int |
REFERENCE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Secret |
getDefaultInstance() |
Protos.Secret |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
Protos.Secret.Reference |
getReference()
Only one of `reference` and `value` must be set.
|
Protos.Secret.ReferenceOrBuilder |
getReferenceOrBuilder()
Only one of `reference` and `value` must be set.
|
int |
getSerializedSize() |
Protos.Secret.Type |
getType()
optional .mesos.Secret.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.Secret.Value |
getValue()
optional .mesos.Secret.Value value = 3; |
Protos.Secret.ValueOrBuilder |
getValueOrBuilder()
optional .mesos.Secret.Value value = 3; |
int |
hashCode() |
boolean |
hasReference()
Only one of `reference` and `value` must be set.
|
boolean |
hasType()
optional .mesos.Secret.Type type = 1; |
boolean |
hasValue()
optional .mesos.Secret.Value value = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Secret.Builder |
newBuilder() |
static Protos.Secret.Builder |
newBuilder(Protos.Secret prototype) |
Protos.Secret.Builder |
newBuilderForType() |
protected Protos.Secret.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Secret |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Secret |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Secret |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Secret |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Secret |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Secret |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Secret |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Secret |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Secret |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Secret |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Secret.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int REFERENCE_FIELD_NUMBER
public static final int VALUE_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 boolean hasType()
optional .mesos.Secret.Type type = 1;hasType in interface Protos.SecretOrBuilderpublic Protos.Secret.Type getType()
optional .mesos.Secret.Type type = 1;getType in interface Protos.SecretOrBuilderpublic boolean hasReference()
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;hasReference in interface Protos.SecretOrBuilderpublic Protos.Secret.Reference getReference()
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;getReference in interface Protos.SecretOrBuilderpublic Protos.Secret.ReferenceOrBuilder getReferenceOrBuilder()
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;getReferenceOrBuilder in interface Protos.SecretOrBuilderpublic boolean hasValue()
optional .mesos.Secret.Value value = 3;hasValue in interface Protos.SecretOrBuilderpublic Protos.Secret.Value getValue()
optional .mesos.Secret.Value value = 3;getValue in interface Protos.SecretOrBuilderpublic Protos.Secret.ValueOrBuilder getValueOrBuilder()
optional .mesos.Secret.Value value = 3;getValueOrBuilder in interface Protos.SecretOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Secret parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Secret parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Secret parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Secret parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Secret parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Secret parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Secret parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Secret parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Secret parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Secret parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Secret.Builder newBuilderForType()
public static Protos.Secret.Builder newBuilder()
public static Protos.Secret.Builder newBuilder(Protos.Secret prototype)
public Protos.Secret.Builder toBuilder()
protected Protos.Secret.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Secret getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Secret getDefaultInstanceForType()