Interface ConnectionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Connection, Connection.Builder

@Generated public interface ConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasGithubConfig

      boolean hasGithubConfig()
       Configuration for connections to github.com.
       
      .google.cloud.developerconnect.v1.GitHubConfig github_config = 5;
      Returns:
      Whether the githubConfig field is set.
    • getGithubConfig

      GitHubConfig getGithubConfig()
       Configuration for connections to github.com.
       
      .google.cloud.developerconnect.v1.GitHubConfig github_config = 5;
      Returns:
      The githubConfig.
    • getGithubConfigOrBuilder

      GitHubConfigOrBuilder getGithubConfigOrBuilder()
       Configuration for connections to github.com.
       
      .google.cloud.developerconnect.v1.GitHubConfig github_config = 5;
    • hasGithubEnterpriseConfig

      boolean hasGithubEnterpriseConfig()
       Configuration for connections to an instance of GitHub Enterprise.
       
      .google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;
      Returns:
      Whether the githubEnterpriseConfig field is set.
    • getGithubEnterpriseConfig

      GitHubEnterpriseConfig getGithubEnterpriseConfig()
       Configuration for connections to an instance of GitHub Enterprise.
       
      .google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;
      Returns:
      The githubEnterpriseConfig.
    • getGithubEnterpriseConfigOrBuilder

      GitHubEnterpriseConfigOrBuilder getGithubEnterpriseConfigOrBuilder()
       Configuration for connections to an instance of GitHub Enterprise.
       
      .google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;
    • hasGitlabConfig

      boolean hasGitlabConfig()
       Configuration for connections to gitlab.com.
       
      .google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;
      Returns:
      Whether the gitlabConfig field is set.
    • getGitlabConfig

      GitLabConfig getGitlabConfig()
       Configuration for connections to gitlab.com.
       
      .google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;
      Returns:
      The gitlabConfig.
    • getGitlabConfigOrBuilder

      GitLabConfigOrBuilder getGitlabConfigOrBuilder()
       Configuration for connections to gitlab.com.
       
      .google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;
    • hasGitlabEnterpriseConfig

      boolean hasGitlabEnterpriseConfig()
       Configuration for connections to an instance of GitLab Enterprise.
       
      .google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;
      Returns:
      Whether the gitlabEnterpriseConfig field is set.
    • getGitlabEnterpriseConfig

      GitLabEnterpriseConfig getGitlabEnterpriseConfig()
       Configuration for connections to an instance of GitLab Enterprise.
       
      .google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;
      Returns:
      The gitlabEnterpriseConfig.
    • getGitlabEnterpriseConfigOrBuilder

      GitLabEnterpriseConfigOrBuilder getGitlabEnterpriseConfigOrBuilder()
       Configuration for connections to an instance of GitLab Enterprise.
       
      .google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;
    • hasBitbucketDataCenterConfig

      boolean hasBitbucketDataCenterConfig()
       Configuration for connections to an instance of Bitbucket Data Center.
       
      .google.cloud.developerconnect.v1.BitbucketDataCenterConfig bitbucket_data_center_config = 17;
      Returns:
      Whether the bitbucketDataCenterConfig field is set.
    • getBitbucketDataCenterConfig

      BitbucketDataCenterConfig getBitbucketDataCenterConfig()
       Configuration for connections to an instance of Bitbucket Data Center.
       
      .google.cloud.developerconnect.v1.BitbucketDataCenterConfig bitbucket_data_center_config = 17;
      Returns:
      The bitbucketDataCenterConfig.
    • getBitbucketDataCenterConfigOrBuilder

      BitbucketDataCenterConfigOrBuilder getBitbucketDataCenterConfigOrBuilder()
       Configuration for connections to an instance of Bitbucket Data Center.
       
      .google.cloud.developerconnect.v1.BitbucketDataCenterConfig bitbucket_data_center_config = 17;
    • hasBitbucketCloudConfig

      boolean hasBitbucketCloudConfig()
       Configuration for connections to an instance of Bitbucket Clouds.
       
      .google.cloud.developerconnect.v1.BitbucketCloudConfig bitbucket_cloud_config = 18;
      Returns:
      Whether the bitbucketCloudConfig field is set.
    • getBitbucketCloudConfig

      BitbucketCloudConfig getBitbucketCloudConfig()
       Configuration for connections to an instance of Bitbucket Clouds.
       
      .google.cloud.developerconnect.v1.BitbucketCloudConfig bitbucket_cloud_config = 18;
      Returns:
      The bitbucketCloudConfig.
    • getBitbucketCloudConfigOrBuilder

      BitbucketCloudConfigOrBuilder getBitbucketCloudConfigOrBuilder()
       Configuration for connections to an instance of Bitbucket Clouds.
       
      .google.cloud.developerconnect.v1.BitbucketCloudConfig bitbucket_cloud_config = 18;
    • hasSecureSourceManagerInstanceConfig

      boolean hasSecureSourceManagerInstanceConfig()
       Configuration for connections to an instance of Secure Source Manager.
       
      .google.cloud.developerconnect.v1.SecureSourceManagerInstanceConfig secure_source_manager_instance_config = 20;
      Returns:
      Whether the secureSourceManagerInstanceConfig field is set.
    • getSecureSourceManagerInstanceConfig

      SecureSourceManagerInstanceConfig getSecureSourceManagerInstanceConfig()
       Configuration for connections to an instance of Secure Source Manager.
       
      .google.cloud.developerconnect.v1.SecureSourceManagerInstanceConfig secure_source_manager_instance_config = 20;
      Returns:
      The secureSourceManagerInstanceConfig.
    • getSecureSourceManagerInstanceConfigOrBuilder

      SecureSourceManagerInstanceConfigOrBuilder getSecureSourceManagerInstanceConfigOrBuilder()
       Configuration for connections to an instance of Secure Source Manager.
       
      .google.cloud.developerconnect.v1.SecureSourceManagerInstanceConfig secure_source_manager_instance_config = 20;
    • hasHttpConfig

      boolean hasHttpConfig()
       Optional. Configuration for connections to an HTTP service provider.
       
      .google.cloud.developerconnect.v1.GenericHTTPEndpointConfig http_config = 21 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the httpConfig field is set.
    • getHttpConfig

      GenericHTTPEndpointConfig getHttpConfig()
       Optional. Configuration for connections to an HTTP service provider.
       
      .google.cloud.developerconnect.v1.GenericHTTPEndpointConfig http_config = 21 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The httpConfig.
    • getHttpConfigOrBuilder

      GenericHTTPEndpointConfigOrBuilder getHttpConfigOrBuilder()
       Optional. Configuration for connections to an HTTP service provider.
       
      .google.cloud.developerconnect.v1.GenericHTTPEndpointConfig http_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getName

      String getName()
       Identifier. The resource name of the connection, in the format
       `projects/{project}/locations/{location}/connections/{connection_id}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the connection, in the format
       `projects/{project}/locations/{location}/connections/{connection_id}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. [Output only] Create timestamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. [Output only] Create timestamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. [Output only] Create timestamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. [Output only] Update timestamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. [Output only] Update timestamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. [Output only] Update timestamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasDeleteTime

      boolean hasDeleteTime()
       Output only. [Output only] Delete timestamp
       
      .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      com.google.protobuf.Timestamp getDeleteTime()
       Output only. [Output only] Delete timestamp
       
      .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The deleteTime.
    • getDeleteTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. [Output only] Delete timestamp
       
      .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasInstallationState

      boolean hasInstallationState()
       Output only. Installation state of the Connection.
       
      .google.cloud.developerconnect.v1.InstallationState installation_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the installationState field is set.
    • getInstallationState

      InstallationState getInstallationState()
       Output only. Installation state of the Connection.
       
      .google.cloud.developerconnect.v1.InstallationState installation_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The installationState.
    • getInstallationStateOrBuilder

      InstallationStateOrBuilder getInstallationStateOrBuilder()
       Output only. Installation state of the Connection.
       
      .google.cloud.developerconnect.v1.InstallationState installation_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDisabled

      boolean getDisabled()
       Optional. If disabled is set to true, functionality is disabled for this
       connection. Repository based API methods and webhooks processing for
       repositories in this connection will be disabled.
       
      bool disabled = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The disabled.
    • getReconciling

      boolean getReconciling()
       Output only. Set to true when the connection is being set up or updated in
       the background.
       
      bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The reconciling.
    • getAnnotationsCount

      int getAnnotationsCount()
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • containsAnnotations

      boolean containsAnnotations(String key)
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrDefault

      String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrThrow

      String getAnnotationsOrThrow(String key)
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getEtag

      String getEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for etag.
    • getUid

      String getUid()
       Output only. A system-assigned unique identifier for the Connection.
       
      string uid = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. A system-assigned unique identifier for the Connection.
       
      string uid = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The bytes for uid.
    • hasCryptoKeyConfig

      boolean hasCryptoKeyConfig()
       Optional. The crypto key configuration. This field is used by the
       Customer-Managed Encryption Keys (CMEK) feature.
       
      .google.cloud.developerconnect.v1.CryptoKeyConfig crypto_key_config = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the cryptoKeyConfig field is set.
    • getCryptoKeyConfig

      CryptoKeyConfig getCryptoKeyConfig()
       Optional. The crypto key configuration. This field is used by the
       Customer-Managed Encryption Keys (CMEK) feature.
       
      .google.cloud.developerconnect.v1.CryptoKeyConfig crypto_key_config = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The cryptoKeyConfig.
    • getCryptoKeyConfigOrBuilder

      CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder()
       Optional. The crypto key configuration. This field is used by the
       Customer-Managed Encryption Keys (CMEK) feature.
       
      .google.cloud.developerconnect.v1.CryptoKeyConfig crypto_key_config = 15 [(.google.api.field_behavior) = OPTIONAL];
    • hasGitProxyConfig

      boolean hasGitProxyConfig()
       Optional. Configuration for the git proxy feature. Enabling the git proxy
       allows clients to perform git operations on the repositories linked in the
       connection.
       
      .google.cloud.developerconnect.v1.GitProxyConfig git_proxy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the gitProxyConfig field is set.
    • getGitProxyConfig

      GitProxyConfig getGitProxyConfig()
       Optional. Configuration for the git proxy feature. Enabling the git proxy
       allows clients to perform git operations on the repositories linked in the
       connection.
       
      .google.cloud.developerconnect.v1.GitProxyConfig git_proxy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The gitProxyConfig.
    • getGitProxyConfigOrBuilder

      GitProxyConfigOrBuilder getGitProxyConfigOrBuilder()
       Optional. Configuration for the git proxy feature. Enabling the git proxy
       allows clients to perform git operations on the repositories linked in the
       connection.
       
      .google.cloud.developerconnect.v1.GitProxyConfig git_proxy_config = 19 [(.google.api.field_behavior) = OPTIONAL];
    • getConnectionConfigCase

      Connection.ConnectionConfigCase getConnectionConfigCase()