public static final class DataProduct.AccessGroup.Builder extends GeneratedMessage.Builder<DataProduct.AccessGroup.Builder> implements DataProduct.AccessGroupOrBuilderCustom 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataProduct.AccessGroup.BuilderImplements
DataProduct.AccessGroupOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
|