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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsSshConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AwsSshConfig build()
Returns
buildPartial()
public AwsSshConfig buildPartial()
Returns
clear()
public AwsSshConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public AwsSshConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsSshConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AwsSshConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AwsSshConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for ec2KeyPair.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AwsSshConfig other)
public AwsSshConfig.Builder mergeFrom(AwsSshConfig other)
Parameter
Returns
public AwsSshConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AwsSshConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsSshConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | String
The ec2KeyPair to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for ec2KeyPair to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AwsSshConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsSshConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsSshConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides