public static final class DataProduct.AccessApprovalConfig.Builder extends GeneratedMessage.Builder<DataProduct.AccessApprovalConfig.Builder> implements DataProduct.AccessApprovalConfigOrBuilderConfiguration for access approval for the data product.
Protobuf type google.cloud.dataplex.v1.DataProduct.AccessApprovalConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataProduct.AccessApprovalConfig.BuilderImplements
DataProduct.AccessApprovalConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllApproverEmails(Iterable<String> values)
public DataProduct.AccessApprovalConfig.Builder addAllApproverEmails(Iterable<String> values)Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The approverEmails to add. |
| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
This builder for chaining. |
addApproverEmails(String value)
public DataProduct.AccessApprovalConfig.Builder addApproverEmails(String value)Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe approverEmails to add. |
| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
This builder for chaining. |
addApproverEmailsBytes(ByteString value)
public DataProduct.AccessApprovalConfig.Builder addApproverEmailsBytes(ByteString value)Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the approverEmails to add. |
| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
This builder for chaining. |
build()
public DataProduct.AccessApprovalConfig build()| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig |
|
buildPartial()
public DataProduct.AccessApprovalConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig |
|
clear()
public DataProduct.AccessApprovalConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
|
clearApproverEmails()
public DataProduct.AccessApprovalConfig.Builder clearApproverEmails()Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
This builder for chaining. |
getApproverEmails(int index)
public String getApproverEmails(int index)Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The approverEmails at the given index. |
getApproverEmailsBytes(int index)
public ByteString getApproverEmailsBytes(int index)Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the approverEmails at the given index. |
getApproverEmailsCount()
public int getApproverEmailsCount()Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of approverEmails. |
getApproverEmailsList()
public ProtocolStringList getApproverEmailsList()Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the approverEmails. |
getDefaultInstanceForType()
public DataProduct.AccessApprovalConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataProduct.AccessApprovalConfig other)
public DataProduct.AccessApprovalConfig.Builder mergeFrom(DataProduct.AccessApprovalConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DataProduct.AccessApprovalConfig |
| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataProduct.AccessApprovalConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataProduct.AccessApprovalConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
|
setApproverEmails(int index, String value)
public DataProduct.AccessApprovalConfig.Builder setApproverEmails(int index, String value)Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.
repeated string approver_emails = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe approverEmails to set. |
| Returns | |
|---|---|
| Type | Description |
DataProduct.AccessApprovalConfig.Builder |
This builder for chaining. |