Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class Repository.GitRemoteSettings.SshAuthenticationConfig (0.66.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class Repository . GitRemoteSettings . SshAuthenticationConfig extends GeneratedMessageV3 implements Repository . GitRemoteSettings . SshAuthenticationConfigOrBuilder
Configures fields for performing SSH authentication.
Protobuf type
google.cloud.dataform.v1.Repository.GitRemoteSettings.SshAuthenticationConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int HOST_PUBLIC_KEY_FIELD_NUMBER
Field Value
Type
Description
int
public static final int USER_PRIVATE_KEY_SECRET_VERSION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Repository . GitRemoteSettings . SshAuthenticationConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Repository . GitRemoteSettings . SshAuthenticationConfig . Builder newBuilder ()
public static Repository . GitRemoteSettings . SshAuthenticationConfig . Builder newBuilder ( Repository . GitRemoteSettings . SshAuthenticationConfig prototype )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseDelimitedFrom ( InputStream input )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( ByteString data )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( CodedInputStream input )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( InputStream input )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( ByteBuffer data )
public static Repository . GitRemoteSettings . SshAuthenticationConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Repository . GitRemoteSettings . SshAuthenticationConfig > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Repository . GitRemoteSettings . SshAuthenticationConfig getDefaultInstanceForType ()
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 Parser<Repository . GitRemoteSettings . SshAuthenticationConfig > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Repository . GitRemoteSettings . SshAuthenticationConfig . Builder newBuilderForType ()
protected Repository . GitRemoteSettings . SshAuthenticationConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Repository . GitRemoteSettings . SshAuthenticationConfig . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]