- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public static final class GitHubEnterpriseSecrets.Builder extends GeneratedMessageV3.Builder<GitHubEnterpriseSecrets.Builder> implements GitHubEnterpriseSecretsOrBuilder
GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects/<project number>/secrets/<secret name>.
Protobuf type google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GitHubEnterpriseSecrets.BuilderImplements
GitHubEnterpriseSecretsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitHubEnterpriseSecrets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
build()
public GitHubEnterpriseSecrets build()
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets |
buildPartial()
public GitHubEnterpriseSecrets buildPartial()
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets |
clear()
public GitHubEnterpriseSecrets.Builder clear()
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
clearField(Descriptors.FieldDescriptor field)
public GitHubEnterpriseSecrets.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
clearOauthClientIdVersionName()
public GitHubEnterpriseSecrets.Builder clearOauthClientIdVersionName()
The resource name for the OAuth client ID secret version in Secret Manager.
string oauth_client_id_version_name = 8 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
clearOauthSecretVersionName()
public GitHubEnterpriseSecrets.Builder clearOauthSecretVersionName()
The resource name for the OAuth secret secret version in Secret Manager.
string oauth_secret_version_name = 7 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GitHubEnterpriseSecrets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
clearPrivateKeyVersionName()
public GitHubEnterpriseSecrets.Builder clearPrivateKeyVersionName()
The resource name for the private key secret version.
string private_key_version_name = 5 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
clearWebhookSecretVersionName()
public GitHubEnterpriseSecrets.Builder clearWebhookSecretVersionName()
The resource name for the webhook secret secret version in Secret Manager.
string webhook_secret_version_name = 6 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
clone()
public GitHubEnterpriseSecrets.Builder clone()
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
getDefaultInstanceForType()
public GitHubEnterpriseSecrets getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getOauthClientIdVersionName()
public String getOauthClientIdVersionName()
The resource name for the OAuth client ID secret version in Secret Manager.
string oauth_client_id_version_name = 8 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The oauthClientIdVersionName. |
getOauthClientIdVersionNameBytes()
public ByteString getOauthClientIdVersionNameBytes()
The resource name for the OAuth client ID secret version in Secret Manager.
string oauth_client_id_version_name = 8 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for oauthClientIdVersionName. |
getOauthSecretVersionName()
public String getOauthSecretVersionName()
The resource name for the OAuth secret secret version in Secret Manager.
string oauth_secret_version_name = 7 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The oauthSecretVersionName. |
getOauthSecretVersionNameBytes()
public ByteString getOauthSecretVersionNameBytes()
The resource name for the OAuth secret secret version in Secret Manager.
string oauth_secret_version_name = 7 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for oauthSecretVersionName. |
getPrivateKeyVersionName()
public String getPrivateKeyVersionName()
The resource name for the private key secret version.
string private_key_version_name = 5 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The privateKeyVersionName. |
getPrivateKeyVersionNameBytes()
public ByteString getPrivateKeyVersionNameBytes()
The resource name for the private key secret version.
string private_key_version_name = 5 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for privateKeyVersionName. |
getWebhookSecretVersionName()
public String getWebhookSecretVersionName()
The resource name for the webhook secret secret version in Secret Manager.
string webhook_secret_version_name = 6 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The webhookSecretVersionName. |
getWebhookSecretVersionNameBytes()
public ByteString getWebhookSecretVersionNameBytes()
The resource name for the webhook secret secret version in Secret Manager.
string webhook_secret_version_name = 6 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for webhookSecretVersionName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GitHubEnterpriseSecrets other)
public GitHubEnterpriseSecrets.Builder mergeFrom(GitHubEnterpriseSecrets other)
Parameter | |
---|---|
Name | Description |
other |
GitHubEnterpriseSecrets |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GitHubEnterpriseSecrets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GitHubEnterpriseSecrets.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEnterpriseSecrets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GitHubEnterpriseSecrets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
setOauthClientIdVersionName(String value)
public GitHubEnterpriseSecrets.Builder setOauthClientIdVersionName(String value)
The resource name for the OAuth client ID secret version in Secret Manager.
string oauth_client_id_version_name = 8 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The oauthClientIdVersionName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
setOauthClientIdVersionNameBytes(ByteString value)
public GitHubEnterpriseSecrets.Builder setOauthClientIdVersionNameBytes(ByteString value)
The resource name for the OAuth client ID secret version in Secret Manager.
string oauth_client_id_version_name = 8 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for oauthClientIdVersionName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
setOauthSecretVersionName(String value)
public GitHubEnterpriseSecrets.Builder setOauthSecretVersionName(String value)
The resource name for the OAuth secret secret version in Secret Manager.
string oauth_secret_version_name = 7 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The oauthSecretVersionName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
setOauthSecretVersionNameBytes(ByteString value)
public GitHubEnterpriseSecrets.Builder setOauthSecretVersionNameBytes(ByteString value)
The resource name for the OAuth secret secret version in Secret Manager.
string oauth_secret_version_name = 7 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for oauthSecretVersionName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
setPrivateKeyVersionName(String value)
public GitHubEnterpriseSecrets.Builder setPrivateKeyVersionName(String value)
The resource name for the private key secret version.
string private_key_version_name = 5 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The privateKeyVersionName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
setPrivateKeyVersionNameBytes(ByteString value)
public GitHubEnterpriseSecrets.Builder setPrivateKeyVersionNameBytes(ByteString value)
The resource name for the private key secret version.
string private_key_version_name = 5 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for privateKeyVersionName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GitHubEnterpriseSecrets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEnterpriseSecrets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
setWebhookSecretVersionName(String value)
public GitHubEnterpriseSecrets.Builder setWebhookSecretVersionName(String value)
The resource name for the webhook secret secret version in Secret Manager.
string webhook_secret_version_name = 6 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The webhookSecretVersionName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |
setWebhookSecretVersionNameBytes(ByteString value)
public GitHubEnterpriseSecrets.Builder setWebhookSecretVersionNameBytes(ByteString value)
The resource name for the webhook secret secret version in Secret Manager.
string webhook_secret_version_name = 6 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for webhookSecretVersionName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
This builder for chaining. |