- 3.83.0 (latest)
- 3.82.0
- 3.80.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.72.0
- 3.70.0
- 3.69.0
- 3.66.0
- 3.65.0
- 3.64.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 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 DefaultServiceAccount.Builder extends GeneratedMessageV3.Builder<DefaultServiceAccount.Builder> implements DefaultServiceAccountOrBuilder The default service account used for Builds.
Protobuf type google.devtools.cloudbuild.v1.DefaultServiceAccount
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DefaultServiceAccount.BuilderImplements
DefaultServiceAccountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DefaultServiceAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
build()
public DefaultServiceAccount build()| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount |
|
buildPartial()
public DefaultServiceAccount buildPartial()| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount |
|
clear()
public DefaultServiceAccount.Builder clear()| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public DefaultServiceAccount.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
clearName()
public DefaultServiceAccount.Builder clearName()Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DefaultServiceAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
clearServiceAccountEmail()
public DefaultServiceAccount.Builder clearServiceAccountEmail()Output only. The email address of the service account identity that will be used for a build by default.
This is returned in the format
projects/{project}/serviceAccounts/{service_account} where
{service_account} could be the legacy Cloud Build SA, in the format
[PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the
format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com.
If no service account will be used by default, this will be empty.
string service_account_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
This builder for chaining. |
clone()
public DefaultServiceAccount.Builder clone()| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
getDefaultInstanceForType()
public DefaultServiceAccount getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getServiceAccountEmail()
public String getServiceAccountEmail()Output only. The email address of the service account identity that will be used for a build by default.
This is returned in the format
projects/{project}/serviceAccounts/{service_account} where
{service_account} could be the legacy Cloud Build SA, in the format
[PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the
format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com.
If no service account will be used by default, this will be empty.
string service_account_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccountEmail. |
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()Output only. The email address of the service account identity that will be used for a build by default.
This is returned in the format
projects/{project}/serviceAccounts/{service_account} where
{service_account} could be the legacy Cloud Build SA, in the format
[PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the
format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com.
If no service account will be used by default, this will be empty.
string service_account_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccountEmail. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DefaultServiceAccount other)
public DefaultServiceAccount.Builder mergeFrom(DefaultServiceAccount other)| Parameter | |
|---|---|
| Name | Description |
other |
DefaultServiceAccount |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DefaultServiceAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DefaultServiceAccount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DefaultServiceAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public DefaultServiceAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
setName(String value)
public DefaultServiceAccount.Builder setName(String value)Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DefaultServiceAccount.Builder setNameBytes(ByteString value)Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DefaultServiceAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|
setServiceAccountEmail(String value)
public DefaultServiceAccount.Builder setServiceAccountEmail(String value)Output only. The email address of the service account identity that will be used for a build by default.
This is returned in the format
projects/{project}/serviceAccounts/{service_account} where
{service_account} could be the legacy Cloud Build SA, in the format
[PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the
format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com.
If no service account will be used by default, this will be empty.
string service_account_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceAccountEmail to set. |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
This builder for chaining. |
setServiceAccountEmailBytes(ByteString value)
public DefaultServiceAccount.Builder setServiceAccountEmailBytes(ByteString value)Output only. The email address of the service account identity that will be used for a build by default.
This is returned in the format
projects/{project}/serviceAccounts/{service_account} where
{service_account} could be the legacy Cloud Build SA, in the format
[PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the
format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com.
If no service account will be used by default, this will be empty.
string service_account_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceAccountEmail to set. |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DefaultServiceAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DefaultServiceAccount.Builder |
|