Interface Repository.GitRemoteSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Repository.GitRemoteSettings,Repository.GitRemoteSettings.Builder
- Enclosing class:
- Repository
public static interface Repository.GitRemoteSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Deprecated.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.token_status is deprecated.intDeprecated.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.token_status is deprecated.getUrl()Required.com.google.protobuf.ByteStringRequired.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUrl
String getUrl()Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()Required. The Git remote's URL.
string url = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for url.
-
getDefaultBranch
String getDefaultBranch()Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The defaultBranch.
-
getDefaultBranchBytes
com.google.protobuf.ByteString getDefaultBranchBytes()Required. The Git remote's default branch name.
string default_branch = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for defaultBranch.
-
getAuthenticationTokenSecretVersion
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:
- The authenticationTokenSecretVersion.
-
getAuthenticationTokenSecretVersionBytes
com.google.protobuf.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:
- The bytes for authenticationTokenSecretVersion.
-
hasSshAuthenticationConfig
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:
- Whether the sshAuthenticationConfig field is set.
-
getSshAuthenticationConfig
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:
- The sshAuthenticationConfig.
-
getSshAuthenticationConfigOrBuilder
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]; -
getTokenStatusValue
Deprecated.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.token_status is deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=839Output 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:
- The enum numeric value on the wire for tokenStatus.
-
getTokenStatus
Deprecated.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.token_status is deprecated. See google/cloud/dataform/v1beta1/dataform.proto;l=839Output 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:
- The tokenStatus.
-