public static final class Repository.GitRemoteSettings.SshAuthenticationConfig.Builder extends GeneratedMessageV3.Builder<Repository.GitRemoteSettings.SshAuthenticationConfig.Builder> implements Repository.GitRemoteSettings.SshAuthenticationConfigOrBuilder
Configures fields for performing SSH authentication.
Protobuf type
google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.SshAuthenticationConfig
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Repository.GitRemoteSettings.SshAuthenticationConfig build()
public Repository.GitRemoteSettings.SshAuthenticationConfig buildPartial()
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clear()
Overrides
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clone()
Overrides
public Repository.GitRemoteSettings.SshAuthenticationConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder mergeFrom(Repository.GitRemoteSettings.SshAuthenticationConfig other)
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Repository.GitRemoteSettings.SshAuthenticationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The hostPublicKey to set.
|
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 |
ByteString
The bytes for hostPublicKey to set.
|
public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
String
The userPrivateKeySecretVersion to set.
|
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 |
ByteString
The bytes for userPrivateKeySecretVersion to set.
|