Class AwsSshConfig.Builder (0.6.0)

public static final class AwsSshConfig.Builder extends GeneratedMessageV3.Builder<AwsSshConfig.Builder> implements AwsSshConfigOrBuilder

SSH configuration for AWS resources.

Protobuf type google.cloud.gkemulticloud.v1.AwsSshConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsSshConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

build()

public AwsSshConfig build()
Returns
TypeDescription
AwsSshConfig

buildPartial()

public AwsSshConfig buildPartial()
Returns
TypeDescription
AwsSshConfig

clear()

public AwsSshConfig.Builder clear()
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

clearEc2KeyPair()

public AwsSshConfig.Builder clearEc2KeyPair()

Required. The name of the EC2 key pair used to login into cluster machines.

string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsSshConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsSshConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsSshConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

clone()

public AwsSshConfig.Builder clone()
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

getDefaultInstanceForType()

public AwsSshConfig getDefaultInstanceForType()
Returns
TypeDescription
AwsSshConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEc2KeyPair()

public String getEc2KeyPair()

Required. The name of the EC2 key pair used to login into cluster machines.

string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The ec2KeyPair.

getEc2KeyPairBytes()

public ByteString getEc2KeyPairBytes()

Required. The name of the EC2 key pair used to login into cluster machines.

string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for ec2KeyPair.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsSshConfig other)

public AwsSshConfig.Builder mergeFrom(AwsSshConfig other)
Parameter
NameDescription
otherAwsSshConfig
Returns
TypeDescription
AwsSshConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsSshConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsSshConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsSshConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsSshConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

setEc2KeyPair(String value)

public AwsSshConfig.Builder setEc2KeyPair(String value)

Required. The name of the EC2 key pair used to login into cluster machines.

string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The ec2KeyPair to set.

Returns
TypeDescription
AwsSshConfig.Builder

This builder for chaining.

setEc2KeyPairBytes(ByteString value)

public AwsSshConfig.Builder setEc2KeyPairBytes(ByteString value)

Required. The name of the EC2 key pair used to login into cluster machines.

string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for ec2KeyPair to set.

Returns
TypeDescription
AwsSshConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsSshConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsSshConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsSshConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsSshConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsSshConfig.Builder
Overrides