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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AzureSshConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AzureSshConfig build()
buildPartial()
public AzureSshConfig buildPartial()
clear()
public AzureSshConfig.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public AzureSshConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AzureSshConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AzureSshConfig.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AzureSshConfig other)
public AzureSshConfig.Builder mergeFrom(AzureSshConfig other)
public AzureSshConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AzureSshConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AzureSshConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AzureSshConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AzureSshConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AzureSshConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides