Send feedback
Class GitHubEnterpriseConfig (3.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.25.0 keyboard_arrow_down
public final class GitHubEnterpriseConfig extends GeneratedMessageV3 implements GitHubEnterpriseConfigOrBuilder
Protobuf type google.devtools.cloudbuild.v1.GitHubEnterpriseConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
APP_ID_FIELD_NUMBER
public static final int APP_ID_FIELD_NUMBER
Field Value Type Description int
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value Type Description int
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value Type Description int
HOST_URL_FIELD_NUMBER
public static final int HOST_URL_FIELD_NUMBER
Field Value Type Description int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value Type Description int
PEERED_NETWORK_FIELD_NUMBER
public static final int PEERED_NETWORK_FIELD_NUMBER
Field Value Type Description int
SECRETS_FIELD_NUMBER
public static final int SECRETS_FIELD_NUMBER
Field Value Type Description int
SSL_CA_FIELD_NUMBER
public static final int SSL_CA_FIELD_NUMBER
Field Value Type Description int
WEBHOOK_KEY_FIELD_NUMBER
public static final int WEBHOOK_KEY_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static GitHubEnterpriseConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static GitHubEnterpriseConfig . Builder newBuilder ()
newBuilder(GitHubEnterpriseConfig prototype)
public static GitHubEnterpriseConfig . Builder newBuilder ( GitHubEnterpriseConfig prototype )
public static GitHubEnterpriseConfig parseDelimitedFrom ( InputStream input )
public static GitHubEnterpriseConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static GitHubEnterpriseConfig parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GitHubEnterpriseConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static GitHubEnterpriseConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GitHubEnterpriseConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GitHubEnterpriseConfig parseFrom ( CodedInputStream input )
public static GitHubEnterpriseConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GitHubEnterpriseConfig parseFrom ( InputStream input )
public static GitHubEnterpriseConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static GitHubEnterpriseConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GitHubEnterpriseConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<GitHubEnterpriseConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
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 Type Description long
The appId.
getCreateTime()
public 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 Type Description Timestamp
The createTime.
getCreateTimeOrBuilder()
public 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];
getDefaultInstanceForType()
public GitHubEnterpriseConfig getDefaultInstanceForType ()
getDisplayName()
public String getDisplayName ()
Name to display for this config.
string display_name = 11;
Returns Type Description String
The displayName.
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
Name to display for this config.
string display_name = 11;
Returns Type Description ByteString
The bytes for displayName.
getHostUrl()
public String getHostUrl ()
The URL of the github enterprise host the configuration is for.
string host_url = 3;
Returns Type Description String
The hostUrl.
getHostUrlBytes()
public ByteString getHostUrlBytes ()
The URL of the github enterprise host the configuration is for.
string host_url = 3;
Returns Type Description ByteString
The bytes for hostUrl.
getName()
Optional. The full resource name for the GitHubEnterpriseConfig
For example:
"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
string name = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The name.
getNameBytes()
public ByteString getNameBytes ()
Optional. The full resource name for the GitHubEnterpriseConfig
For example:
"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
string name = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description ByteString
The bytes for name.
getParserForType()
public Parser<GitHubEnterpriseConfig> getParserForType ()
Overrides
getPeeredNetwork()
public 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 Type Description String
The peeredNetwork.
getPeeredNetworkBytes()
public 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 Type Description ByteString
The bytes for peeredNetwork.
getSecrets()
public GitHubEnterpriseSecrets getSecrets ()
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
getSecretsOrBuilder()
public GitHubEnterpriseSecretsOrBuilder getSecretsOrBuilder ()
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getSslCa()
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The sslCa.
getSslCaBytes()
public ByteString getSslCaBytes ()
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description ByteString
The bytes for sslCa.
getWebhookKey()
public String getWebhookKey ()
The key that should be attached to webhook calls to the ReceiveWebhook
endpoint.
string webhook_key = 8;
Returns Type Description String
The webhookKey.
getWebhookKeyBytes()
public ByteString getWebhookKeyBytes ()
The key that should be attached to webhook calls to the ReceiveWebhook
endpoint.
string webhook_key = 8;
Returns Type Description ByteString
The bytes for webhookKey.
hasCreateTime()
public 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 Type Description boolean
Whether the createTime field is set.
hasSecrets()
public boolean hasSecrets ()
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Returns Type Description boolean
Whether the secrets field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public GitHubEnterpriseConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GitHubEnterpriseConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public GitHubEnterpriseConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]