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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessApprovalServiceAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AccessApprovalServiceAccount build()
buildPartial()
public AccessApprovalServiceAccount buildPartial()
clear()
public AccessApprovalServiceAccount.Builder clear()
Overrides
clearAccountEmail()
public AccessApprovalServiceAccount.Builder clearAccountEmail()
Email address of the service account.
string account_email = 2;
clearField(Descriptors.FieldDescriptor field)
public AccessApprovalServiceAccount.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessApprovalServiceAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AccessApprovalServiceAccount.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AccessApprovalServiceAccount other)
public AccessApprovalServiceAccount.Builder mergeFrom(AccessApprovalServiceAccount other)
public AccessApprovalServiceAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AccessApprovalServiceAccount.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessApprovalServiceAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AccessApprovalServiceAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessApprovalServiceAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessApprovalServiceAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides