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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AzureSshConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AzureSshConfig build()
Returns
buildPartial()
public AzureSshConfig buildPartial()
Returns
clear()
public AzureSshConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public AzureSshConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AzureSshConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AzureSshConfig.Builder clone()
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AzureSshConfig other)
public AzureSshConfig.Builder mergeFrom(AzureSshConfig other)
Parameter
Returns
public AzureSshConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AzureSshConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AzureSshConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public AzureSshConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AzureSshConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AzureSshConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides