Class Repository.GitRemoteSettings.SshAuthenticationConfig (0.45.0)

public static final class Repository.GitRemoteSettings.SshAuthenticationConfig extends GeneratedMessageV3 implements Repository.GitRemoteSettings.SshAuthenticationConfigOrBuilder

Configures fields for performing SSH authentication.

Protobuf type google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.SshAuthenticationConfig

Inheritance

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

Static Fields

HOST_PUBLIC_KEY_FIELD_NUMBER

public static final int HOST_PUBLIC_KEY_FIELD_NUMBER
Field Value
Type Description
int

USER_PRIVATE_KEY_SECRET_VERSION_FIELD_NUMBER

public static final int USER_PRIVATE_KEY_SECRET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Repository.GitRemoteSettings.SshAuthenticationConfig getDefaultInstance()
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig

getDescriptor()

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

newBuilder()

public static Repository.GitRemoteSettings.SshAuthenticationConfig.Builder newBuilder()
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

newBuilder(Repository.GitRemoteSettings.SshAuthenticationConfig prototype)

public static Repository.GitRemoteSettings.SshAuthenticationConfig.Builder newBuilder(Repository.GitRemoteSettings.SshAuthenticationConfig prototype)
Parameter
Name Description
prototype Repository.GitRemoteSettings.SshAuthenticationConfig
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

parseDelimitedFrom(InputStream input)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Repository.GitRemoteSettings.SshAuthenticationConfig> parser()
Returns
Type Description
Parser<SshAuthenticationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<Repository.GitRemoteSettings.SshAuthenticationConfig> getParserForType()
Returns
Type Description
Parser<SshAuthenticationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder newBuilderForType()
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Repository.GitRemoteSettings.SshAuthenticationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder toBuilder()
Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException