Class Repository.GitRemoteSettings.SshAuthenticationConfig (0.35.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
TypeDescription
int

USER_PRIVATE_KEY_SECRET_VERSION_FIELD_NUMBER

public static final int USER_PRIVATE_KEY_SECRET_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Repository.GitRemoteSettings.SshAuthenticationConfig getDefaultInstance()
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Repository.GitRemoteSettings.SshAuthenticationConfig.Builder newBuilder()
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

newBuilder(Repository.GitRemoteSettings.SshAuthenticationConfig prototype)

public static Repository.GitRemoteSettings.SshAuthenticationConfig.Builder newBuilder(Repository.GitRemoteSettings.SshAuthenticationConfig prototype)
Parameter
NameDescription
prototypeRepository.GitRemoteSettings.SshAuthenticationConfig
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

parseDelimitedFrom(InputStream input)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Repository.GitRemoteSettings.SshAuthenticationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Repository.GitRemoteSettings.SshAuthenticationConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for hostPublicKey.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for userPrivateKeySecretVersion.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder newBuilderForType()
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Repository.GitRemoteSettings.SshAuthenticationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Repository.GitRemoteSettings.SshAuthenticationConfig.Builder toBuilder()
Returns
TypeDescription
Repository.GitRemoteSettings.SshAuthenticationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException