public static final class ServerCredential.Builder extends GeneratedMessage.Builder<ServerCredential.Builder> implements ServerCredentialOrBuilderRepresents credentials of an FTP Server.
Protobuf type google.cloud.ftp.v1.ServerCredential
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServerCredential.BuilderImplements
ServerCredentialOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ServerCredential build()| Returns | |
|---|---|
| Type | Description |
ServerCredential |
|
buildPartial()
public ServerCredential buildPartial()| Returns | |
|---|---|
| Type | Description |
ServerCredential |
|
clear()
public ServerCredential.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
|
clearAsymmetricAlgorithm()
public ServerCredential.Builder clearAsymmetricAlgorithm()Output only. Asymmetric algorithm used by the public key. Possible values (can be expanded in future):
- ssh-ed25519
string asymmetric_algorithm = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
This builder for chaining. |
clearFingerprint()
public ServerCredential.Builder clearFingerprint()Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.
string fingerprint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
This builder for chaining. |
getAsymmetricAlgorithm()
public String getAsymmetricAlgorithm()Output only. Asymmetric algorithm used by the public key. Possible values (can be expanded in future):
- ssh-ed25519
string asymmetric_algorithm = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The asymmetricAlgorithm. |
getAsymmetricAlgorithmBytes()
public ByteString getAsymmetricAlgorithmBytes()Output only. Asymmetric algorithm used by the public key. Possible values (can be expanded in future):
- ssh-ed25519
string asymmetric_algorithm = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for asymmetricAlgorithm. |
getDefaultInstanceForType()
public ServerCredential getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServerCredential |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFingerprint()
public String getFingerprint()Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.
string fingerprint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The fingerprint. |
getFingerprintBytes()
public ByteString getFingerprintBytes()Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.
string fingerprint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fingerprint. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServerCredential other)
public ServerCredential.Builder mergeFrom(ServerCredential other)| Parameter | |
|---|---|
| Name | Description |
other |
ServerCredential |
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServerCredential.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServerCredential.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
|
setAsymmetricAlgorithm(String value)
public ServerCredential.Builder setAsymmetricAlgorithm(String value)Output only. Asymmetric algorithm used by the public key. Possible values (can be expanded in future):
- ssh-ed25519
string asymmetric_algorithm = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe asymmetricAlgorithm to set. |
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
This builder for chaining. |
setAsymmetricAlgorithmBytes(ByteString value)
public ServerCredential.Builder setAsymmetricAlgorithmBytes(ByteString value)Output only. Asymmetric algorithm used by the public key. Possible values (can be expanded in future):
- ssh-ed25519
string asymmetric_algorithm = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for asymmetricAlgorithm to set. |
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
This builder for chaining. |
setFingerprint(String value)
public ServerCredential.Builder setFingerprint(String value)Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.
string fingerprint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fingerprint to set. |
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
This builder for chaining. |
setFingerprintBytes(ByteString value)
public ServerCredential.Builder setFingerprintBytes(ByteString value)Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.
string fingerprint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fingerprint to set. |
| Returns | |
|---|---|
| Type | Description |
ServerCredential.Builder |
This builder for chaining. |