Class AzureSshConfig.Builder (0.41.0)

public static final class AzureSshConfig.Builder extends GeneratedMessageV3.Builder<AzureSshConfig.Builder> implements AzureSshConfigOrBuilder

SSH configuration for Azure resources.

Protobuf type google.cloud.gkemulticloud.v1.AzureSshConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureSshConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AzureSshConfig.Builder
Overrides

build()

public AzureSshConfig build()
Returns
Type Description
AzureSshConfig

buildPartial()

public AzureSshConfig buildPartial()
Returns
Type Description
AzureSshConfig

clear()

public AzureSshConfig.Builder clear()
Returns
Type Description
AzureSshConfig.Builder
Overrides

clearAuthorizedKey()

public AzureSshConfig.Builder clearAuthorizedKey()

Required. The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

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

Returns
Type Description
AzureSshConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AzureSshConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AzureSshConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureSshConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AzureSshConfig.Builder
Overrides

clone()

public AzureSshConfig.Builder clone()
Returns
Type Description
AzureSshConfig.Builder
Overrides

getAuthorizedKey()

public String getAuthorizedKey()

Required. The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

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

Returns
Type Description
String

The authorizedKey.

getAuthorizedKeyBytes()

public ByteString getAuthorizedKeyBytes()

Required. The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

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

Returns
Type Description
ByteString

The bytes for authorizedKey.

getDefaultInstanceForType()

public AzureSshConfig getDefaultInstanceForType()
Returns
Type Description
AzureSshConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureSshConfig other)

public AzureSshConfig.Builder mergeFrom(AzureSshConfig other)
Parameter
Name Description
other AzureSshConfig
Returns
Type Description
AzureSshConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureSshConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureSshConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AzureSshConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AzureSshConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureSshConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureSshConfig.Builder
Overrides

setAuthorizedKey(String value)

public AzureSshConfig.Builder setAuthorizedKey(String value)

Required. The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

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

Parameter
Name Description
value String

The authorizedKey to set.

Returns
Type Description
AzureSshConfig.Builder

This builder for chaining.

setAuthorizedKeyBytes(ByteString value)

public AzureSshConfig.Builder setAuthorizedKeyBytes(ByteString value)

Required. The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

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

Parameter
Name Description
value ByteString

The bytes for authorizedKey to set.

Returns
Type Description
AzureSshConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AzureSshConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AzureSshConfig.Builder
Overrides

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

public AzureSshConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AzureSshConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureSshConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureSshConfig.Builder
Overrides