Class AzureSshConfig.Builder (0.84.0)

public static final class AzureSshConfig.Builder extends GeneratedMessage.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

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.

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 GeneratedMessage.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

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.