Class DataProduct.AccessGroup.Builder (1.86.0)

public static final class DataProduct.AccessGroup.Builder extends GeneratedMessage.Builder<DataProduct.AccessGroup.Builder> implements DataProduct.AccessGroupOrBuilder

Custom user defined access groups at the data product level. These are used for granting different levels of access (IAM roles) on the individual data product's data assets.

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

Static Methods

getDescriptor()

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

Methods

build()

public DataProduct.AccessGroup build()
Returns
Type Description
DataProduct.AccessGroup

buildPartial()

public DataProduct.AccessGroup buildPartial()
Returns
Type Description
DataProduct.AccessGroup

clear()

public DataProduct.AccessGroup.Builder clear()
Returns
Type Description
DataProduct.AccessGroup.Builder
Overrides

clearDescription()

public DataProduct.AccessGroup.Builder clearDescription()

Optional. Description of the access group.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

clearDisplayName()

public DataProduct.AccessGroup.Builder clearDisplayName()

Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

clearId()

public DataProduct.AccessGroup.Builder clearId()

Required. Unique identifier of the access group within the data product. User defined. Eg. "analyst", "developer", etc.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

clearPrincipal()

public DataProduct.AccessGroup.Builder clearPrincipal()

Required. The principal entity associated with this access group.

.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProduct.AccessGroup.Builder

getDefaultInstanceForType()

public DataProduct.AccessGroup getDefaultInstanceForType()
Returns
Type Description
DataProduct.AccessGroup

getDescription()

public String getDescription()

Optional. Description of the access group.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the access group.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getId()

public String getId()

Required. Unique identifier of the access group within the data product. User defined. Eg. "analyst", "developer", etc.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Required. Unique identifier of the access group within the data product. User defined. Eg. "analyst", "developer", etc.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getPrincipal()

public DataProduct.Principal getPrincipal()

Required. The principal entity associated with this access group.

.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProduct.Principal

The principal.

getPrincipalBuilder()

public DataProduct.Principal.Builder getPrincipalBuilder()

Required. The principal entity associated with this access group.

.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProduct.Principal.Builder

getPrincipalOrBuilder()

public DataProduct.PrincipalOrBuilder getPrincipalOrBuilder()

Required. The principal entity associated with this access group.

.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProduct.PrincipalOrBuilder

hasPrincipal()

public boolean hasPrincipal()

Required. The principal entity associated with this access group.

.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the principal field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProduct.AccessGroup other)

public DataProduct.AccessGroup.Builder mergeFrom(DataProduct.AccessGroup other)
Parameter
Name Description
other DataProduct.AccessGroup
Returns
Type Description
DataProduct.AccessGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProduct.AccessGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProduct.AccessGroup.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataProduct.AccessGroup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataProduct.AccessGroup.Builder
Overrides

mergePrincipal(DataProduct.Principal value)

public DataProduct.AccessGroup.Builder mergePrincipal(DataProduct.Principal value)

Required. The principal entity associated with this access group.

.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataProduct.Principal
Returns
Type Description
DataProduct.AccessGroup.Builder

setDescription(String value)

public DataProduct.AccessGroup.Builder setDescription(String value)

Optional. Description of the access group.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public DataProduct.AccessGroup.Builder setDescriptionBytes(ByteString value)

Optional. Description of the access group.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

setDisplayName(String value)

public DataProduct.AccessGroup.Builder setDisplayName(String value)

Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public DataProduct.AccessGroup.Builder setDisplayNameBytes(ByteString value)

Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

setId(String value)

public DataProduct.AccessGroup.Builder setId(String value)

Required. Unique identifier of the access group within the data product. User defined. Eg. "analyst", "developer", etc.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

setIdBytes(ByteString value)

public DataProduct.AccessGroup.Builder setIdBytes(ByteString value)

Required. Unique identifier of the access group within the data product. User defined. Eg. "analyst", "developer", etc.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
DataProduct.AccessGroup.Builder

This builder for chaining.

setPrincipal(DataProduct.Principal value)

public DataProduct.AccessGroup.Builder setPrincipal(DataProduct.Principal value)

Required. The principal entity associated with this access group.

.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataProduct.Principal
Returns
Type Description
DataProduct.AccessGroup.Builder

setPrincipal(DataProduct.Principal.Builder builderForValue)

public DataProduct.AccessGroup.Builder setPrincipal(DataProduct.Principal.Builder builderForValue)

Required. The principal entity associated with this access group.

.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataProduct.Principal.Builder
Returns
Type Description
DataProduct.AccessGroup.Builder