Interface GitLabConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GitLabConfig,GitLabConfig.Builder
@Generated
public interface GitLabConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Required.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.booleanRequired.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
-
getWebhookSecretSecretVersion
String getWebhookSecretSecretVersion()Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.
string webhook_secret_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The webhookSecretSecretVersion.
-
getWebhookSecretSecretVersionBytes
com.google.protobuf.ByteString getWebhookSecretSecretVersionBytes()Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks.
string webhook_secret_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for webhookSecretSecretVersion.
-
hasReadAuthorizerCredential
boolean hasReadAuthorizerCredential()Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the readAuthorizerCredential field is set.
-
getReadAuthorizerCredential
UserCredential getReadAuthorizerCredential()Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The readAuthorizerCredential.
-
getReadAuthorizerCredentialOrBuilder
UserCredentialOrBuilder getReadAuthorizerCredentialOrBuilder()Required. A GitLab personal access token with the minimum `read_api` scope access and a minimum role of `reporter`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasAuthorizerCredential
boolean hasAuthorizerCredential()Required. A GitLab personal access token with the minimum `api` scope access and a minimum role of `maintainer`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the authorizerCredential field is set.
-
getAuthorizerCredential
UserCredential getAuthorizerCredential()Required. A GitLab personal access token with the minimum `api` scope access and a minimum role of `maintainer`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The authorizerCredential.
-
getAuthorizerCredentialOrBuilder
UserCredentialOrBuilder getAuthorizerCredentialOrBuilder()Required. A GitLab personal access token with the minimum `api` scope access and a minimum role of `maintainer`. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];
-