public static interface Repository.GitRemoteSettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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() Optional. The Git remote's default branch name.
If not set, main will be used.
string default_branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The defaultBranch. |
getDefaultBranchBytes()
public abstract ByteString getDefaultBranchBytes() Optional. The Git remote's default branch name.
If not set, main will be used.
string default_branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for defaultBranch. |
getEffectiveDefaultBranch()
public abstract String getEffectiveDefaultBranch() Output only. The Git remote's effective default branch name.
This is the default branch name of the Git remote if it is set,
otherwise it is main.
string effective_default_branch = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The effectiveDefaultBranch. |
getEffectiveDefaultBranchBytes()
public abstract ByteString getEffectiveDefaultBranchBytes() Output only. The Git remote's effective default branch name.
This is the default branch name of the Git remote if it is set,
otherwise it is main.
string effective_default_branch = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for effectiveDefaultBranch. |
getGitRepositoryLink()
public abstract String getGitRepositoryLink() Optional. Resource name for the GitRepositoryLink used for machine
credentials. Must be in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
optional string git_repository_link = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The gitRepositoryLink. |
getGitRepositoryLinkBytes()
public abstract ByteString getGitRepositoryLinkBytes() Optional. Resource name for the GitRepositoryLink used for machine
credentials. Must be in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
optional string git_repository_link = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gitRepositoryLink. |
getSshAuthenticationConfig()
public abstract Repository.GitRemoteSettings.SshAuthenticationConfig getSshAuthenticationConfig()Optional. Authentication fields for remote uris using SSH protocol.
.google.cloud.dataform.v1.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.v1.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.v1.Repository.GitRemoteSettings.token_status is deprecated. See google/cloud/dataform/v1/dataform.proto;l=906
Output only. Deprecated: The field does not contain any token status information.
.google.cloud.dataform.v1.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.v1.Repository.GitRemoteSettings.token_status is deprecated. See google/cloud/dataform/v1/dataform.proto;l=906
Output only. Deprecated: The field does not contain any token status information.
.google.cloud.dataform.v1.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. |
hasGitRepositoryLink()
public abstract boolean hasGitRepositoryLink() Optional. Resource name for the GitRepositoryLink used for machine
credentials. Must be in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
optional string git_repository_link = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gitRepositoryLink field is set. |
hasSshAuthenticationConfig()
public abstract boolean hasSshAuthenticationConfig()Optional. Authentication fields for remote uris using SSH protocol.
.google.cloud.dataform.v1.Repository.GitRemoteSettings.SshAuthenticationConfig ssh_authentication_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sshAuthenticationConfig field is set. |