Class Ops.SSHOpt.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.SSHOpt.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.SSHOpt.Builder>
pb.Ops.SSHOpt.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Ops.SSHOptOrBuilder
Enclosing class:
Ops.SSHOpt

public static final class Ops.SSHOpt.Builder extends com.google.protobuf.GeneratedMessage.Builder<Ops.SSHOpt.Builder> implements Ops.SSHOptOrBuilder
 SSHOpt defines options describing ssh mounts
 
Protobuf type pb.SSHOpt
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    GID of agent socket
    ID of exposed ssh rule.
    Mode is the filesystem mode of agent socket
    Optional defines if ssh socket is required.
    UID of agent socket
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    int
    GID of agent socket
    ID of exposed ssh rule.
    com.google.protobuf.ByteString
    ID of exposed ssh rule.
    int
    Mode is the filesystem mode of agent socket
    boolean
    Optional defines if ssh socket is required.
    int
    UID of agent socket
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setGid(int value)
    GID of agent socket
    setID(String value)
    ID of exposed ssh rule.
    setIDBytes(com.google.protobuf.ByteString value)
    ID of exposed ssh rule.
    setMode(int value)
    Mode is the filesystem mode of agent socket
    setOptional(boolean value)
    Optional defines if ssh socket is required.
    setUid(int value)
    UID of agent socket

    Methods 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 class com.google.protobuf.GeneratedMessage.Builder<Ops.SSHOpt.Builder>
    • clear

      public Ops.SSHOpt.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.SSHOpt.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.SSHOpt.Builder>
    • getDefaultInstanceForType

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

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

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

      public Ops.SSHOpt.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.SSHOpt.Builder>
    • mergeFrom

      public Ops.SSHOpt.Builder mergeFrom(Ops.SSHOpt 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.SSHOpt.Builder>
    • mergeFrom

      public Ops.SSHOpt.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.SSHOpt.Builder>
      Throws:
      IOException
    • getID

      public String getID()
       ID of exposed ssh rule. Used for quering the value.
       
      string ID = 1;
      Specified by:
      getID in interface Ops.SSHOptOrBuilder
      Returns:
      The iD.
    • getIDBytes

      public com.google.protobuf.ByteString getIDBytes()
       ID of exposed ssh rule. Used for quering the value.
       
      string ID = 1;
      Specified by:
      getIDBytes in interface Ops.SSHOptOrBuilder
      Returns:
      The bytes for iD.
    • setID

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

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

      public Ops.SSHOpt.Builder setIDBytes(com.google.protobuf.ByteString value)
       ID of exposed ssh rule. 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 agent socket
       
      uint32 uid = 2;
      Specified by:
      getUid in interface Ops.SSHOptOrBuilder
      Returns:
      The uid.
    • setUid

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

      public Ops.SSHOpt.Builder clearUid()
       UID of agent socket
       
      uint32 uid = 2;
      Returns:
      This builder for chaining.
    • getGid

      public int getGid()
       GID of agent socket
       
      uint32 gid = 3;
      Specified by:
      getGid in interface Ops.SSHOptOrBuilder
      Returns:
      The gid.
    • setGid

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

      public Ops.SSHOpt.Builder clearGid()
       GID of agent socket
       
      uint32 gid = 3;
      Returns:
      This builder for chaining.
    • getMode

      public int getMode()
       Mode is the filesystem mode of agent socket
       
      uint32 mode = 4;
      Specified by:
      getMode in interface Ops.SSHOptOrBuilder
      Returns:
      The mode.
    • setMode

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

      public Ops.SSHOpt.Builder clearMode()
       Mode is the filesystem mode of agent socket
       
      uint32 mode = 4;
      Returns:
      This builder for chaining.
    • getOptional

      public boolean getOptional()
       Optional defines if ssh socket is required. Error is produced
       if client does not expose ssh.
       
      bool optional = 5;
      Specified by:
      getOptional in interface Ops.SSHOptOrBuilder
      Returns:
      The optional.
    • setOptional

      public Ops.SSHOpt.Builder setOptional(boolean value)
       Optional defines if ssh socket is required. Error is produced
       if client does not expose ssh.
       
      bool optional = 5;
      Parameters:
      value - The optional to set.
      Returns:
      This builder for chaining.
    • clearOptional

      public Ops.SSHOpt.Builder clearOptional()
       Optional defines if ssh socket is required. Error is produced
       if client does not expose ssh.
       
      bool optional = 5;
      Returns:
      This builder for chaining.