public static final class DataAsset.AccessGroupConfig.Builder extends GeneratedMessage.Builder<DataAsset.AccessGroupConfig.Builder> implements DataAsset.AccessGroupConfigOrBuilderConfiguration for access group inherited from the parent data product.
Protobuf type google.cloud.dataplex.v1.DataAsset.AccessGroupConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataAsset.AccessGroupConfig.BuilderImplements
DataAsset.AccessGroupConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllIamRoles(Iterable<String> values)
public DataAsset.AccessGroupConfig.Builder addAllIamRoles(Iterable<String> values)Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The iamRoles to add. |
| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
This builder for chaining. |
addIamRoles(String value)
public DataAsset.AccessGroupConfig.Builder addIamRoles(String value)Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe iamRoles to add. |
| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
This builder for chaining. |
addIamRolesBytes(ByteString value)
public DataAsset.AccessGroupConfig.Builder addIamRolesBytes(ByteString value)Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the iamRoles to add. |
| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
This builder for chaining. |
build()
public DataAsset.AccessGroupConfig build()| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig |
|
buildPartial()
public DataAsset.AccessGroupConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig |
|
clear()
public DataAsset.AccessGroupConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
|
clearIamRoles()
public DataAsset.AccessGroupConfig.Builder clearIamRoles()Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DataAsset.AccessGroupConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIamRoles(int index)
public String getIamRoles(int index)Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The iamRoles at the given index. |
getIamRolesBytes(int index)
public ByteString getIamRolesBytes(int index)Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the iamRoles at the given index. |
getIamRolesCount()
public int getIamRolesCount()Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of iamRoles. |
getIamRolesList()
public ProtocolStringList getIamRolesList()Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the iamRoles. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataAsset.AccessGroupConfig other)
public DataAsset.AccessGroupConfig.Builder mergeFrom(DataAsset.AccessGroupConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DataAsset.AccessGroupConfig |
| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataAsset.AccessGroupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataAsset.AccessGroupConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
|
setIamRoles(int index, String value)
public DataAsset.AccessGroupConfig.Builder setIamRoles(int index, String value)Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
repeated string iam_roles = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe iamRoles to set. |
| Returns | |
|---|---|
| Type | Description |
DataAsset.AccessGroupConfig.Builder |
This builder for chaining. |