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 mounts
 
Protobuf type pb.SecretOpt
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
    • clear

      public Ops.SecretOpt.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Ops.SecretOpt.Builder>
    • getDefaultInstanceForType

      public Ops.SecretOpt getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Ops.SecretOpt build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Ops.SecretOpt buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Ops.SecretOpt.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Ops.SecretOpt.Builder>
    • mergeFrom

      public Ops.SecretOpt.Builder mergeFrom(Ops.SecretOpt other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Ops.SecretOpt.Builder>
      Throws:
      IOException
    • getID

      public String getID()
       ID of secret. Used for quering the value.
       
      string ID = 1;
      Specified by:
      getID in interface Ops.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 interface Ops.SecretOptOrBuilder
      Returns:
      The bytes for iD.
    • setID

      public Ops.SecretOpt.Builder setID(String value)
       ID of secret. Used for quering the value.
       
      string ID = 1;
      Parameters:
      value - The iD to set.
      Returns:
      This builder for chaining.
    • clearID

      public Ops.SecretOpt.Builder clearID()
       ID of secret. Used for quering the value.
       
      string ID = 1;
      Returns:
      This builder for chaining.
    • setIDBytes

      public Ops.SecretOpt.Builder setIDBytes(com.google.protobuf.ByteString value)
       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 interface Ops.SecretOptOrBuilder
      Returns:
      The uid.
    • setUid

      public Ops.SecretOpt.Builder setUid(int value)
       UID of secret file
       
      uint32 uid = 2;
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public Ops.SecretOpt.Builder 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 interface Ops.SecretOptOrBuilder
      Returns:
      The gid.
    • setGid

      public Ops.SecretOpt.Builder setGid(int value)
       GID of secret file
       
      uint32 gid = 3;
      Parameters:
      value - The gid to set.
      Returns:
      This builder for chaining.
    • clearGid

      public Ops.SecretOpt.Builder 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 interface Ops.SecretOptOrBuilder
      Returns:
      The mode.
    • setMode

      public Ops.SecretOpt.Builder setMode(int value)
       Mode is the filesystem mode of secret file
       
      uint32 mode = 4;
      Parameters:
      value - The mode to set.
      Returns:
      This builder for chaining.
    • clearMode

      public Ops.SecretOpt.Builder 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 interface Ops.SecretOptOrBuilder
      Returns:
      The optional.
    • setOptional

      public Ops.SecretOpt.Builder setOptional(boolean value)
       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

      public Ops.SecretOpt.Builder 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.