Class Repository.GitRemoteSettings.SshAuthenticationConfig.Builder (0.54.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

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.

clone()

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder clone()
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

getDefaultInstanceForType()

public Repository.GitRemoteSettings.SshAuthenticationConfig getDefaultInstanceForType()
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Repository.GitRemoteSettings.SshAuthenticationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

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 String

The 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 ByteString

The bytes for hostPublicKey to set.

Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Repository.GitRemoteSettings.SshAuthenticationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

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 String

The 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 ByteString

The bytes for userPrivateKeySecretVersion to set.

Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

This builder for chaining.