Interface GitHubEnterpriseConfigOrBuilder

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

@Generated public interface GitHubEnterpriseConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Required.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    The URL of the github enterprise host the configuration is for.
    com.google.protobuf.ByteString
    The URL of the github enterprise host the configuration is for.
    The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
    com.google.protobuf.ByteString
    The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
    com.google.protobuf.ByteString
    The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
    boolean
    Output only.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The full resource name for the GitHubEnterpriseConfig
       For example:
       "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
       
      string name = 7;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The full resource name for the GitHubEnterpriseConfig
       For example:
       "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
       
      string name = 7;
      Returns:
      The bytes for name.
    • getHostUrl

      String getHostUrl()
       The URL of the github enterprise host the configuration is for.
       
      string host_url = 3;
      Returns:
      The hostUrl.
    • getHostUrlBytes

      com.google.protobuf.ByteString getHostUrlBytes()
       The URL of the github enterprise host the configuration is for.
       
      string host_url = 3;
      Returns:
      The bytes for hostUrl.
    • getAppId

      long getAppId()
       Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise
       server.
       
      int64 app_id = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The appId.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Time when the installation was associated with the project.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the installation was associated with the project.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the installation was associated with the project.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getWebhookKey

      String getWebhookKey()
       The key that should be attached to webhook calls to the ReceiveWebhook
       endpoint.
       
      string webhook_key = 8;
      Returns:
      The webhookKey.
    • getWebhookKeyBytes

      com.google.protobuf.ByteString getWebhookKeyBytes()
       The key that should be attached to webhook calls to the ReceiveWebhook
       endpoint.
       
      string webhook_key = 8;
      Returns:
      The bytes for webhookKey.
    • getPeeredNetwork

      String getPeeredNetwork()
       Optional. The network to be used when reaching out to the GitHub
       Enterprise server. The VPC network must be enabled for private
       service connection. This should be set if the GitHub Enterprise server is
       hosted on-premises and not reachable by public internet.
       If this field is left empty, no network peering will occur and calls to
       the GitHub Enterprise server will be made over the public internet.
       Must be in the format
       `projects/{project}/global/networks/{network}`, where {project}
       is a project number or id and {network} is the name of a
       VPC network in the project.
       
      string peered_network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The peeredNetwork.
    • getPeeredNetworkBytes

      com.google.protobuf.ByteString getPeeredNetworkBytes()
       Optional. The network to be used when reaching out to the GitHub
       Enterprise server. The VPC network must be enabled for private
       service connection. This should be set if the GitHub Enterprise server is
       hosted on-premises and not reachable by public internet.
       If this field is left empty, no network peering will occur and calls to
       the GitHub Enterprise server will be made over the public internet.
       Must be in the format
       `projects/{project}/global/networks/{network}`, where {project}
       is a project number or id and {network} is the name of a
       VPC network in the project.
       
      string peered_network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for peeredNetwork.
    • hasSecrets

      boolean hasSecrets()
       Optional. Names of secrets in Secret Manager.
       
      .google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the secrets field is set.
    • getSecrets

       Optional. Names of secrets in Secret Manager.
       
      .google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The secrets.
    • getSecretsOrBuilder

      GitHubEnterpriseSecretsOrBuilder getSecretsOrBuilder()
       Optional. Names of secrets in Secret Manager.
       
      .google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getDisplayName

      String getDisplayName()
       Optional. Name to display for this config.
       
      string display_name = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Name to display for this config.
       
      string display_name = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • getSslCa

      String getSslCa()
       Optional. SSL certificate to use for requests to GitHub Enterprise.
       
      string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sslCa.
    • getSslCaBytes

      com.google.protobuf.ByteString getSslCaBytes()
       Optional. SSL certificate to use for requests to GitHub Enterprise.
       
      string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for sslCa.