public static final class Protos.Secret.Builder extends <any> 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 | Method and Description |
---|---|
Protos.Secret.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Secret |
build() |
Protos.Secret |
buildPartial() |
Protos.Secret.Builder |
clear() |
Protos.Secret.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Secret.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Secret.Builder |
clearReference()
Only one of `reference` and `value` must be set.
|
Protos.Secret.Builder |
clearType()
optional .mesos.Secret.Type type = 1; |
Protos.Secret.Builder |
clearValue()
optional .mesos.Secret.Value value = 3; |
Protos.Secret.Builder |
clone() |
Protos.Secret |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Secret.Reference |
getReference()
Only one of `reference` and `value` must be set.
|
Protos.Secret.Reference.Builder |
getReferenceBuilder()
Only one of `reference` and `value` must be set.
|
Protos.Secret.ReferenceOrBuilder |
getReferenceOrBuilder()
Only one of `reference` and `value` must be set.
|
Protos.Secret.Type |
getType()
optional .mesos.Secret.Type type = 1; |
Protos.Secret.Value |
getValue()
optional .mesos.Secret.Value value = 3; |
Protos.Secret.Value.Builder |
getValueBuilder()
optional .mesos.Secret.Value value = 3; |
Protos.Secret.ValueOrBuilder |
getValueOrBuilder()
optional .mesos.Secret.Value value = 3; |
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() |
Protos.Secret.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Secret.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Secret.Builder |
mergeReference(Protos.Secret.Reference value)
Only one of `reference` and `value` must be set.
|
Protos.Secret.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Secret.Builder |
mergeValue(Protos.Secret.Value value)
optional .mesos.Secret.Value value = 3; |
Protos.Secret.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Secret.Builder |
setReference(Protos.Secret.Reference.Builder builderForValue)
Only one of `reference` and `value` must be set.
|
Protos.Secret.Builder |
setReference(Protos.Secret.Reference value)
Only one of `reference` and `value` must be set.
|
Protos.Secret.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Secret.Builder |
setType(Protos.Secret.Type value)
optional .mesos.Secret.Type type = 1; |
Protos.Secret.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Secret.Builder |
setValue(Protos.Secret.Value.Builder builderForValue)
optional .mesos.Secret.Value value = 3; |
Protos.Secret.Builder |
setValue(Protos.Secret.Value value)
optional .mesos.Secret.Value value = 3; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Secret.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Secret getDefaultInstanceForType()
public Protos.Secret build()
public Protos.Secret buildPartial()
public Protos.Secret.Builder clone()
public Protos.Secret.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Secret.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Secret.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Secret.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Secret.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Secret.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Secret.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasType()
optional .mesos.Secret.Type type = 1;
hasType
in interface Protos.SecretOrBuilder
public Protos.Secret.Type getType()
optional .mesos.Secret.Type type = 1;
getType
in interface Protos.SecretOrBuilder
public Protos.Secret.Builder setType(Protos.Secret.Type value)
optional .mesos.Secret.Type type = 1;
public Protos.Secret.Builder clearType()
optional .mesos.Secret.Type type = 1;
public boolean hasReference()
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;
hasReference
in interface Protos.SecretOrBuilder
public Protos.Secret.Reference getReference()
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;
getReference
in interface Protos.SecretOrBuilder
public Protos.Secret.Builder setReference(Protos.Secret.Reference value)
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;
public Protos.Secret.Builder setReference(Protos.Secret.Reference.Builder builderForValue)
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;
public Protos.Secret.Builder mergeReference(Protos.Secret.Reference value)
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;
public Protos.Secret.Builder clearReference()
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;
public Protos.Secret.Reference.Builder getReferenceBuilder()
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;
public Protos.Secret.ReferenceOrBuilder getReferenceOrBuilder()
Only one of `reference` and `value` must be set.
optional .mesos.Secret.Reference reference = 2;
getReferenceOrBuilder
in interface Protos.SecretOrBuilder
public boolean hasValue()
optional .mesos.Secret.Value value = 3;
hasValue
in interface Protos.SecretOrBuilder
public Protos.Secret.Value getValue()
optional .mesos.Secret.Value value = 3;
getValue
in interface Protos.SecretOrBuilder
public Protos.Secret.Builder setValue(Protos.Secret.Value value)
optional .mesos.Secret.Value value = 3;
public Protos.Secret.Builder setValue(Protos.Secret.Value.Builder builderForValue)
optional .mesos.Secret.Value value = 3;
public Protos.Secret.Builder mergeValue(Protos.Secret.Value value)
optional .mesos.Secret.Value value = 3;
public Protos.Secret.Builder clearValue()
optional .mesos.Secret.Value value = 3;
public Protos.Secret.Value.Builder getValueBuilder()
optional .mesos.Secret.Value value = 3;
public Protos.Secret.ValueOrBuilder getValueOrBuilder()
optional .mesos.Secret.Value value = 3;
getValueOrBuilder
in interface Protos.SecretOrBuilder
public final Protos.Secret.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Secret.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)