Class Ops.SecretOpt.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.SecretOpt.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
pb.Ops.SecretOpt.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Ops.SecretOptOrBuilder
- Enclosing class:
Ops.SecretOpt
public static final class Ops.SecretOpt.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
implements Ops.SecretOptOrBuilder
SecretOpt defines options describing secret mountsProtobuf type
pb.SecretOpt
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
clearGid()
GID of secret fileclearID()
ID of secret.Mode is the filesystem mode of secret fileOptional defines if secret value is required.clearUid()
UID of secret filestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
getGid()
GID of secret filegetID()
ID of secret.com.google.protobuf.ByteString
ID of secret.int
getMode()
Mode is the filesystem mode of secret fileboolean
Optional defines if secret value is required.int
getUid()
UID of secret fileprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Ops.SecretOpt other) setGid
(int value) GID of secret fileID of secret.setIDBytes
(com.google.protobuf.ByteString value) ID of secret.setMode
(int value) Mode is the filesystem mode of secret filesetOptional
(boolean value) Optional defines if secret value is required.setUid
(int value) UID of secret fileMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Ops.SecretOpt.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
-
mergeFrom
public Ops.SecretOpt.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Ops.SecretOpt.Builder>
- Throws:
IOException
-
getID
ID of secret. Used for quering the value.
string ID = 1;
- Specified by:
getID
in interfaceOps.SecretOptOrBuilder
- Returns:
- The iD.
-
getIDBytes
public com.google.protobuf.ByteString getIDBytes()ID of secret. Used for quering the value.
string ID = 1;
- Specified by:
getIDBytes
in interfaceOps.SecretOptOrBuilder
- Returns:
- The bytes for iD.
-
setID
ID of secret. Used for quering the value.
string ID = 1;
- Parameters:
value
- The iD to set.- Returns:
- This builder for chaining.
-
clearID
ID of secret. Used for quering the value.
string ID = 1;
- Returns:
- This builder for chaining.
-
setIDBytes
ID of secret. Used for quering the value.
string ID = 1;
- Parameters:
value
- The bytes for iD to set.- Returns:
- This builder for chaining.
-
getUid
public int getUid()UID of secret file
uint32 uid = 2;
- Specified by:
getUid
in interfaceOps.SecretOptOrBuilder
- Returns:
- The uid.
-
setUid
UID of secret file
uint32 uid = 2;
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
UID of secret file
uint32 uid = 2;
- Returns:
- This builder for chaining.
-
getGid
public int getGid()GID of secret file
uint32 gid = 3;
- Specified by:
getGid
in interfaceOps.SecretOptOrBuilder
- Returns:
- The gid.
-
setGid
GID of secret file
uint32 gid = 3;
- Parameters:
value
- The gid to set.- Returns:
- This builder for chaining.
-
clearGid
GID of secret file
uint32 gid = 3;
- Returns:
- This builder for chaining.
-
getMode
public int getMode()Mode is the filesystem mode of secret file
uint32 mode = 4;
- Specified by:
getMode
in interfaceOps.SecretOptOrBuilder
- Returns:
- The mode.
-
setMode
Mode is the filesystem mode of secret file
uint32 mode = 4;
- Parameters:
value
- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
Mode is the filesystem mode of secret file
uint32 mode = 4;
- Returns:
- This builder for chaining.
-
getOptional
public boolean getOptional()Optional defines if secret value is required. Error is produced if value is not found and optional is false.
bool optional = 5;
- Specified by:
getOptional
in interfaceOps.SecretOptOrBuilder
- Returns:
- The optional.
-
setOptional
Optional defines if secret value is required. Error is produced if value is not found and optional is false.
bool optional = 5;
- Parameters:
value
- The optional to set.- Returns:
- This builder for chaining.
-
clearOptional
Optional defines if secret value is required. Error is produced if value is not found and optional is false.
bool optional = 5;
- Returns:
- This builder for chaining.
-