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 mountsProtobuf type
pb.SSHOpt
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
clearGid()
GID of agent socketclearID()
ID of exposed ssh rule.Mode is the filesystem mode of agent socketOptional defines if ssh socket is required.clearUid()
UID of agent socketstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
getGid()
GID of agent socketgetID()
ID of exposed ssh rule.com.google.protobuf.ByteString
ID of exposed ssh rule.int
getMode()
Mode is the filesystem mode of agent socketboolean
Optional defines if ssh socket is required.int
getUid()
UID of agent socketprotected 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.SSHOpt other) setGid
(int value) GID of agent socketID 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 socketsetOptional
(boolean value) Optional defines if ssh socket is required.setUid
(int value) UID of agent socketMethods 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.SSHOpt.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.SSHOpt.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.SSHOpt.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.SSHOpt.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Ops.SSHOpt.Builder>
- Throws:
IOException
-
getID
ID of exposed ssh rule. Used for quering the value.
string ID = 1;
- Specified by:
getID
in interfaceOps.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 interfaceOps.SSHOptOrBuilder
- Returns:
- The bytes for iD.
-
setID
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
ID of exposed ssh rule. Used for quering the value.
string ID = 1;
- Returns:
- This builder for chaining.
-
setIDBytes
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 interfaceOps.SSHOptOrBuilder
- Returns:
- The uid.
-
setUid
UID of agent socket
uint32 uid = 2;
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
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 interfaceOps.SSHOptOrBuilder
- Returns:
- The gid.
-
setGid
GID of agent socket
uint32 gid = 3;
- Parameters:
value
- The gid to set.- Returns:
- This builder for chaining.
-
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 interfaceOps.SSHOptOrBuilder
- Returns:
- The mode.
-
setMode
Mode is the filesystem mode of agent socket
uint32 mode = 4;
- Parameters:
value
- The mode to set.- Returns:
- This builder for chaining.
-
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 interfaceOps.SSHOptOrBuilder
- Returns:
- The optional.
-
setOptional
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
Optional defines if ssh socket is required. Error is produced if client does not expose ssh.
bool optional = 5;
- Returns:
- This builder for chaining.
-