Class DataProduct.AccessApprovalConfig (1.91.0)

public static final class DataProduct.AccessApprovalConfig extends GeneratedMessage implements DataProduct.AccessApprovalConfigOrBuilder

Configuration for access approval for the data product.

Protobuf type google.cloud.dataplex.v1.DataProduct.AccessApprovalConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DataProduct.AccessApprovalConfig

Static Fields

APPROVER_EMAILS_FIELD_NUMBER

public static final int APPROVER_EMAILS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataProduct.AccessApprovalConfig getDefaultInstance()
Returns
Type Description
DataProduct.AccessApprovalConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataProduct.AccessApprovalConfig.Builder newBuilder()
Returns
Type Description
DataProduct.AccessApprovalConfig.Builder

newBuilder(DataProduct.AccessApprovalConfig prototype)

public static DataProduct.AccessApprovalConfig.Builder newBuilder(DataProduct.AccessApprovalConfig prototype)
Parameter
Name Description
prototype DataProduct.AccessApprovalConfig
Returns
Type Description
DataProduct.AccessApprovalConfig.Builder

parseDelimitedFrom(InputStream input)

public static DataProduct.AccessApprovalConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProduct.AccessApprovalConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataProduct.AccessApprovalConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProduct.AccessApprovalConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProduct.AccessApprovalConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProduct.AccessApprovalConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProduct.AccessApprovalConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProduct.AccessApprovalConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataProduct.AccessApprovalConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProduct.AccessApprovalConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataProduct.AccessApprovalConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProduct.AccessApprovalConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProduct.AccessApprovalConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataProduct.AccessApprovalConfig> parser()
Returns
Type Description
Parser<AccessApprovalConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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 int

The 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 int

The 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

getParserForType()

public Parser<DataProduct.AccessApprovalConfig> getParserForType()
Returns
Type Description
Parser<AccessApprovalConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataProduct.AccessApprovalConfig.Builder newBuilderForType()
Returns
Type Description
DataProduct.AccessApprovalConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DataProduct.AccessApprovalConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataProduct.AccessApprovalConfig.Builder
Overrides

toBuilder()

public DataProduct.AccessApprovalConfig.Builder toBuilder()
Returns
Type Description
DataProduct.AccessApprovalConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException