Class Connection

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.Connection
All Implemented Interfaces:
ConnectionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Connection extends com.google.protobuf.GeneratedMessage implements ConnectionOrBuilder
 Message describing Connection object
 
Protobuf type google.cloud.developerconnect.v1.Connection
See Also:
  • Field Details

    • GITHUB_CONFIG_FIELD_NUMBER

      public static final int GITHUB_CONFIG_FIELD_NUMBER
      See Also:
    • GITHUB_ENTERPRISE_CONFIG_FIELD_NUMBER

      public static final int GITHUB_ENTERPRISE_CONFIG_FIELD_NUMBER
      See Also:
    • GITLAB_CONFIG_FIELD_NUMBER

      public static final int GITLAB_CONFIG_FIELD_NUMBER
      See Also:
    • GITLAB_ENTERPRISE_CONFIG_FIELD_NUMBER

      public static final int GITLAB_ENTERPRISE_CONFIG_FIELD_NUMBER
      See Also:
    • BITBUCKET_DATA_CENTER_CONFIG_FIELD_NUMBER

      public static final int BITBUCKET_DATA_CENTER_CONFIG_FIELD_NUMBER
      See Also:
    • BITBUCKET_CLOUD_CONFIG_FIELD_NUMBER

      public static final int BITBUCKET_CLOUD_CONFIG_FIELD_NUMBER
      See Also:
    • SECURE_SOURCE_MANAGER_INSTANCE_CONFIG_FIELD_NUMBER

      public static final int SECURE_SOURCE_MANAGER_INSTANCE_CONFIG_FIELD_NUMBER
      See Also:
    • HTTP_CONFIG_FIELD_NUMBER

      public static final int HTTP_CONFIG_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • DELETE_TIME_FIELD_NUMBER

      public static final int DELETE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • INSTALLATION_STATE_FIELD_NUMBER

      public static final int INSTALLATION_STATE_FIELD_NUMBER
      See Also:
    • DISABLED_FIELD_NUMBER

      public static final int DISABLED_FIELD_NUMBER
      See Also:
    • RECONCILING_FIELD_NUMBER

      public static final int RECONCILING_FIELD_NUMBER
      See Also:
    • ANNOTATIONS_FIELD_NUMBER

      public static final int ANNOTATIONS_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
    • UID_FIELD_NUMBER

      public static final int UID_FIELD_NUMBER
      See Also:
    • CRYPTO_KEY_CONFIG_FIELD_NUMBER

      public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER
      See Also:
    • GIT_PROXY_CONFIG_FIELD_NUMBER

      public static final int GIT_PROXY_CONFIG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getConnectionConfigCase

      public Connection.ConnectionConfigCase getConnectionConfigCase()
      Specified by:
      getConnectionConfigCase in interface ConnectionOrBuilder
    • hasGithubConfig

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

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

      public GitHubConfigOrBuilder getGithubConfigOrBuilder()
       Configuration for connections to github.com.
       
      .google.cloud.developerconnect.v1.GitHubConfig github_config = 5;
      Specified by:
      getGithubConfigOrBuilder in interface ConnectionOrBuilder
    • hasGithubEnterpriseConfig

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

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

      public GitHubEnterpriseConfigOrBuilder getGithubEnterpriseConfigOrBuilder()
       Configuration for connections to an instance of GitHub Enterprise.
       
      .google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;
      Specified by:
      getGithubEnterpriseConfigOrBuilder in interface ConnectionOrBuilder
    • hasGitlabConfig

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

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

      public GitLabConfigOrBuilder getGitlabConfigOrBuilder()
       Configuration for connections to gitlab.com.
       
      .google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;
      Specified by:
      getGitlabConfigOrBuilder in interface ConnectionOrBuilder
    • hasGitlabEnterpriseConfig

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

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

      public GitLabEnterpriseConfigOrBuilder getGitlabEnterpriseConfigOrBuilder()
       Configuration for connections to an instance of GitLab Enterprise.
       
      .google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;
      Specified by:
      getGitlabEnterpriseConfigOrBuilder in interface ConnectionOrBuilder
    • hasBitbucketDataCenterConfig

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

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

      public BitbucketDataCenterConfigOrBuilder getBitbucketDataCenterConfigOrBuilder()
       Configuration for connections to an instance of Bitbucket Data Center.
       
      .google.cloud.developerconnect.v1.BitbucketDataCenterConfig bitbucket_data_center_config = 17;
      Specified by:
      getBitbucketDataCenterConfigOrBuilder in interface ConnectionOrBuilder
    • hasBitbucketCloudConfig

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

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

      public BitbucketCloudConfigOrBuilder getBitbucketCloudConfigOrBuilder()
       Configuration for connections to an instance of Bitbucket Clouds.
       
      .google.cloud.developerconnect.v1.BitbucketCloudConfig bitbucket_cloud_config = 18;
      Specified by:
      getBitbucketCloudConfigOrBuilder in interface ConnectionOrBuilder
    • hasSecureSourceManagerInstanceConfig

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

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

      public SecureSourceManagerInstanceConfigOrBuilder getSecureSourceManagerInstanceConfigOrBuilder()
       Configuration for connections to an instance of Secure Source Manager.
       
      .google.cloud.developerconnect.v1.SecureSourceManagerInstanceConfig secure_source_manager_instance_config = 20;
      Specified by:
      getSecureSourceManagerInstanceConfigOrBuilder in interface ConnectionOrBuilder
    • hasHttpConfig

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

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

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

      public 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];
      Specified by:
      getName in interface ConnectionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public 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];
      Specified by:
      getNameBytes in interface ConnectionOrBuilder
      Returns:
      The bytes for name.
    • hasCreateTime

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

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

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. [Output only] Create timestamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ConnectionOrBuilder
    • hasUpdateTime

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

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

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. [Output only] Update timestamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ConnectionOrBuilder
    • hasDeleteTime

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

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

      public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. [Output only] Delete timestamp
       
      .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeleteTimeOrBuilder in interface ConnectionOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ConnectionOrBuilder
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface ConnectionOrBuilder
    • containsLabels

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

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ConnectionOrBuilder
    • getLabelsMap

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

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

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

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

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

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

      public 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];
      Specified by:
      getDisabled in interface ConnectionOrBuilder
      Returns:
      The disabled.
    • getReconciling

      public 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];
      Specified by:
      getReconciling in interface ConnectionOrBuilder
      Returns:
      The reconciling.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: ConnectionOrBuilder
       Optional. Allows clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface ConnectionOrBuilder
    • containsAnnotations

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

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface ConnectionOrBuilder
    • getAnnotationsMap

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

      public 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];
      Specified by:
      getAnnotationsOrDefault in interface ConnectionOrBuilder
    • getAnnotationsOrThrow

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

      public 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];
      Specified by:
      getEtag in interface ConnectionOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public 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];
      Specified by:
      getEtagBytes in interface ConnectionOrBuilder
      Returns:
      The bytes for etag.
    • getUid

      public 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) = { ... }
      Specified by:
      getUid in interface ConnectionOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public 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) = { ... }
      Specified by:
      getUidBytes in interface ConnectionOrBuilder
      Returns:
      The bytes for uid.
    • hasCryptoKeyConfig

      public 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];
      Specified by:
      hasCryptoKeyConfig in interface ConnectionOrBuilder
      Returns:
      Whether the cryptoKeyConfig field is set.
    • getCryptoKeyConfig

      public 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];
      Specified by:
      getCryptoKeyConfig in interface ConnectionOrBuilder
      Returns:
      The cryptoKeyConfig.
    • getCryptoKeyConfigOrBuilder

      public 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];
      Specified by:
      getCryptoKeyConfigOrBuilder in interface ConnectionOrBuilder
    • hasGitProxyConfig

      public 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];
      Specified by:
      hasGitProxyConfig in interface ConnectionOrBuilder
      Returns:
      Whether the gitProxyConfig field is set.
    • getGitProxyConfig

      public 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];
      Specified by:
      getGitProxyConfig in interface ConnectionOrBuilder
      Returns:
      The gitProxyConfig.
    • getGitProxyConfigOrBuilder

      public 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];
      Specified by:
      getGitProxyConfigOrBuilder in interface ConnectionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Connection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Connection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Connection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Connection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Connection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Connection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Connection parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Connection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Connection parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Connection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Connection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Connection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Connection.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Connection.Builder newBuilder()
    • newBuilder

      public static Connection.Builder newBuilder(Connection prototype)
    • toBuilder

      public Connection.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Connection.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Connection getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Connection> parser()
    • getParserForType

      public com.google.protobuf.Parser<Connection> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Connection getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder