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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAuthenticationTokenSecretVersion()
Required.com.google.protobuf.ByteString
getAuthenticationTokenSecretVersionBytes()
Required.String
getDefaultBranch()
Required.com.google.protobuf.ByteString
getDefaultBranchBytes()
Required.Repository.GitRemoteSettings.TokenStatus
getTokenStatus()
Output only.int
getTokenStatusValue()
Output only.String
getUrl()
Required.com.google.protobuf.ByteString
getUrlBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
Required. 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) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The authenticationTokenSecretVersion.
-
getAuthenticationTokenSecretVersionBytes
com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes()
Required. 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) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for authenticationTokenSecretVersion.
-
getTokenStatusValue
int getTokenStatusValue()
Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for tokenStatus.
-
getTokenStatus
Repository.GitRemoteSettings.TokenStatus getTokenStatus()
Output only. Indicates the status of the Git access token.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The tokenStatus.
-
-