public static final class AccessApprovalServiceAccount.Builder extends GeneratedMessageV3.Builder<AccessApprovalServiceAccount.Builder> implements AccessApprovalServiceAccountOrBuilder
Access Approval service account related to a project/folder/organization.
Protobuf type google.cloud.accessapproval.v1.AccessApprovalServiceAccount
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessApprovalServiceAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AccessApprovalServiceAccount build()
Returns
buildPartial()
public AccessApprovalServiceAccount buildPartial()
Returns
clear()
public AccessApprovalServiceAccount.Builder clear()
Returns
Overrides
clearAccountEmail()
public AccessApprovalServiceAccount.Builder clearAccountEmail()
Email address of the service account.
string account_email = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public AccessApprovalServiceAccount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public AccessApprovalServiceAccount.Builder clearName()
The resource name of the Access Approval service account. Format is one of:
- "projects/{project}/serviceAccount"
- "folders/{folder}/serviceAccount"
- "organizations/{organization}/serviceAccount"
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessApprovalServiceAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AccessApprovalServiceAccount.Builder clone()
Returns
Overrides
getAccountEmail()
public String getAccountEmail()
Email address of the service account.
string account_email = 2;
Returns
Type | Description |
String | The accountEmail.
|
getAccountEmailBytes()
public ByteString getAccountEmailBytes()
Email address of the service account.
string account_email = 2;
Returns
Type | Description |
ByteString | The bytes for accountEmail.
|
getDefaultInstanceForType()
public AccessApprovalServiceAccount getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The resource name of the Access Approval service account. Format is one of:
- "projects/{project}/serviceAccount"
- "folders/{folder}/serviceAccount"
- "organizations/{organization}/serviceAccount"
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The resource name of the Access Approval service account. Format is one of:
- "projects/{project}/serviceAccount"
- "folders/{folder}/serviceAccount"
- "organizations/{organization}/serviceAccount"
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AccessApprovalServiceAccount other)
public AccessApprovalServiceAccount.Builder mergeFrom(AccessApprovalServiceAccount other)
Parameter
Returns
public AccessApprovalServiceAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AccessApprovalServiceAccount.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessApprovalServiceAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAccountEmail(String value)
public AccessApprovalServiceAccount.Builder setAccountEmail(String value)
Email address of the service account.
string account_email = 2;
Parameter
Name | Description |
value | String
The accountEmail to set.
|
Returns
setAccountEmailBytes(ByteString value)
public AccessApprovalServiceAccount.Builder setAccountEmailBytes(ByteString value)
Email address of the service account.
string account_email = 2;
Parameter
Name | Description |
value | ByteString
The bytes for accountEmail to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AccessApprovalServiceAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public AccessApprovalServiceAccount.Builder setName(String value)
The resource name of the Access Approval service account. Format is one of:
- "projects/{project}/serviceAccount"
- "folders/{folder}/serviceAccount"
- "organizations/{organization}/serviceAccount"
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public AccessApprovalServiceAccount.Builder setNameBytes(ByteString value)
The resource name of the Access Approval service account. Format is one of:
- "projects/{project}/serviceAccount"
- "folders/{folder}/serviceAccount"
- "organizations/{organization}/serviceAccount"
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessApprovalServiceAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessApprovalServiceAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides