Interface Repository.GitRemoteSettingsOrBuilder (0.44.0)

public static interface Repository.GitRemoteSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthenticationTokenSecretVersion()

public abstract String getAuthenticationTokenSecretVersion()

Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.

string authentication_token_secret_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The authenticationTokenSecretVersion.

getAuthenticationTokenSecretVersionBytes()

public abstract ByteString getAuthenticationTokenSecretVersionBytes()

Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*/secrets/*/versions/*.

string authentication_token_secret_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for authenticationTokenSecretVersion.

getDefaultBranch()

public abstract String getDefaultBranch()

Required. The Git remote's default branch name.

string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The defaultBranch.

getDefaultBranchBytes()

public abstract ByteString getDefaultBranchBytes()

Required. The Git remote's default branch name.

string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for defaultBranch.

getSshAuthenticationConfig()

public abstract Repository.GitRemoteSettings.SshAuthenticationConfig getSshAuthenticationConfig()

Optional. Authentication fields for remote uris using SSH protocol.

.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.SshAuthenticationConfig ssh_authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfig

The sshAuthenticationConfig.

getSshAuthenticationConfigOrBuilder()

public abstract Repository.GitRemoteSettings.SshAuthenticationConfigOrBuilder getSshAuthenticationConfigOrBuilder()

Optional. Authentication fields for remote uris using SSH protocol.

.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.SshAuthenticationConfig ssh_authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Repository.GitRemoteSettings.SshAuthenticationConfigOrBuilder

getTokenStatus() (deprecated)

public abstract Repository.GitRemoteSettings.TokenStatus getTokenStatus()

Deprecated. google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.token_status is deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=555

Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Repository.GitRemoteSettings.TokenStatus

The tokenStatus.

getTokenStatusValue() (deprecated)

public abstract int getTokenStatusValue()

Deprecated. google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.token_status is deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=555

Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for tokenStatus.

getUrl()

public abstract String getUrl()

Required. The Git remote's URL.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

Required. The Git remote's URL.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for url.

hasSshAuthenticationConfig()

public abstract boolean hasSshAuthenticationConfig()

Optional. Authentication fields for remote uris using SSH protocol.

.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.SshAuthenticationConfig ssh_authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sshAuthenticationConfig field is set.