Send feedback
Class GitHubConfig.Builder (3.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.23.0 keyboard_arrow_down
public static final class GitHubConfig . Builder extends GeneratedMessageV3 . Builder<GitHubConfig . Builder> implements GitHubConfigOrBuilder
Configuration for connections to github.com.
Protobuf type google.devtools.cloudbuild.v2.GitHubConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitHubConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GitHubConfig build ()
buildPartial()
public GitHubConfig buildPartial ()
clear()
public GitHubConfig . Builder clear ()
Overrides
clearAppInstallationId()
public GitHubConfig . Builder clearAppInstallationId ()
GitHub App installation id.
int64 app_installation_id = 2;
clearAuthorizerCredential()
public GitHubConfig . Builder clearAuthorizerCredential ()
OAuth credential of the account that authorized the Cloud Build GitHub App.
It is recommended to use a robot account instead of a human user account.
The OAuth token must be tied to the Cloud Build GitHub App.
.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;
clearField(Descriptors.FieldDescriptor field)
public GitHubConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GitHubConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public GitHubConfig . Builder clone ()
Overrides
getAppInstallationId()
public long getAppInstallationId ()
GitHub App installation id.
int64 app_installation_id = 2;
Returns Type Description long
The appInstallationId.
getAuthorizerCredential()
public OAuthCredential getAuthorizerCredential ()
OAuth credential of the account that authorized the Cloud Build GitHub App.
It is recommended to use a robot account instead of a human user account.
The OAuth token must be tied to the Cloud Build GitHub App.
.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;
getAuthorizerCredentialBuilder()
public OAuthCredential . Builder getAuthorizerCredentialBuilder ()
OAuth credential of the account that authorized the Cloud Build GitHub App.
It is recommended to use a robot account instead of a human user account.
The OAuth token must be tied to the Cloud Build GitHub App.
.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;
getAuthorizerCredentialOrBuilder()
public OAuthCredentialOrBuilder getAuthorizerCredentialOrBuilder ()
OAuth credential of the account that authorized the Cloud Build GitHub App.
It is recommended to use a robot account instead of a human user account.
The OAuth token must be tied to the Cloud Build GitHub App.
.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;
getDefaultInstanceForType()
public GitHubConfig getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
hasAuthorizerCredential()
public boolean hasAuthorizerCredential ()
OAuth credential of the account that authorized the Cloud Build GitHub App.
It is recommended to use a robot account instead of a human user account.
The OAuth token must be tied to the Cloud Build GitHub App.
.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;
Returns Type Description boolean
Whether the authorizerCredential field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeAuthorizerCredential(OAuthCredential value)
public GitHubConfig . Builder mergeAuthorizerCredential ( OAuthCredential value )
OAuth credential of the account that authorized the Cloud Build GitHub App.
It is recommended to use a robot account instead of a human user account.
The OAuth token must be tied to the Cloud Build GitHub App.
.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;
mergeFrom(GitHubConfig other)
public GitHubConfig . Builder mergeFrom ( GitHubConfig other )
public GitHubConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GitHubConfig . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitHubConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAppInstallationId(long value)
public GitHubConfig . Builder setAppInstallationId ( long value )
GitHub App installation id.
int64 app_installation_id = 2;
Parameter Name Description value
long
The appInstallationId to set.
setAuthorizerCredential(OAuthCredential value)
public GitHubConfig . Builder setAuthorizerCredential ( OAuthCredential value )
OAuth credential of the account that authorized the Cloud Build GitHub App.
It is recommended to use a robot account instead of a human user account.
The OAuth token must be tied to the Cloud Build GitHub App.
.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;
setAuthorizerCredential(OAuthCredential.Builder builderForValue)
public GitHubConfig . Builder setAuthorizerCredential ( OAuthCredential . Builder builderForValue )
OAuth credential of the account that authorized the Cloud Build GitHub App.
It is recommended to use a robot account instead of a human user account.
The OAuth token must be tied to the Cloud Build GitHub App.
.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public GitHubConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GitHubConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GitHubConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["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 2024-09-19 UTC."]]