public static final class Repository.GitRemoteSettings.SshAuthenticationConfig.Builder extends GeneratedMessage.Builder<Repository.GitRemoteSettings.SshAuthenticationConfig.Builder> implements Repository.GitRemoteSettings.SshAuthenticationConfigOrBuilderConfigures fields for performing SSH authentication.
Protobuf type
google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.SshAuthenticationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Repository.GitRemoteSettings.SshAuthenticationConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Repository.GitRemoteSettings.SshAuthenticationConfig build()| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig |
|
buildPartial()
public Repository.GitRemoteSettings.SshAuthenticationConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig |
|
clear()
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
|
clearHostPublicKey()
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clearHostPublicKey()Required. Content of a public SSH key to verify an identity of a remote Git host.
string host_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
This builder for chaining. |
clearUserPrivateKeySecretVersion()
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clearUserPrivateKeySecretVersion() Required. The name of the Secret Manager secret version to use as a
ssh private key for Git operations.
Must be in the format projects/*/secrets/*/versions/*.
string user_private_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Repository.GitRemoteSettings.SshAuthenticationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHostPublicKey()
public String getHostPublicKey()Required. Content of a public SSH key to verify an identity of a remote Git host.
string host_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The hostPublicKey. |
getHostPublicKeyBytes()
public ByteString getHostPublicKeyBytes()Required. Content of a public SSH key to verify an identity of a remote Git host.
string host_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for hostPublicKey. |
getUserPrivateKeySecretVersion()
public String getUserPrivateKeySecretVersion() Required. The name of the Secret Manager secret version to use as a
ssh private key for Git operations.
Must be in the format projects/*/secrets/*/versions/*.
string user_private_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The userPrivateKeySecretVersion. |
getUserPrivateKeySecretVersionBytes()
public ByteString getUserPrivateKeySecretVersionBytes() Required. The name of the Secret Manager secret version to use as a
ssh private key for Git operations.
Must be in the format projects/*/secrets/*/versions/*.
string user_private_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for userPrivateKeySecretVersion. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Repository.GitRemoteSettings.SshAuthenticationConfig other)
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder mergeFrom(Repository.GitRemoteSettings.SshAuthenticationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
Repository.GitRemoteSettings.SshAuthenticationConfig |
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
|
setHostPublicKey(String value)
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setHostPublicKey(String value)Required. Content of a public SSH key to verify an identity of a remote Git host.
string host_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hostPublicKey to set. |
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
This builder for chaining. |
setHostPublicKeyBytes(ByteString value)
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setHostPublicKeyBytes(ByteString value)Required. Content of a public SSH key to verify an identity of a remote Git host.
string host_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hostPublicKey to set. |
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
This builder for chaining. |
setUserPrivateKeySecretVersion(String value)
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setUserPrivateKeySecretVersion(String value) Required. The name of the Secret Manager secret version to use as a
ssh private key for Git operations.
Must be in the format projects/*/secrets/*/versions/*.
string user_private_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe userPrivateKeySecretVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
This builder for chaining. |
setUserPrivateKeySecretVersionBytes(ByteString value)
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setUserPrivateKeySecretVersionBytes(ByteString value) Required. The name of the Secret Manager secret version to use as a
ssh private key for Git operations.
Must be in the format projects/*/secrets/*/versions/*.
string user_private_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for userPrivateKeySecretVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder |
This builder for chaining. |