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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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