Package com.google.cloud.dataplex.v1
Class DataProduct.AccessGroup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataProduct.AccessGroup.Builder>
com.google.cloud.dataplex.v1.DataProduct.AccessGroup.Builder
- All Implemented Interfaces:
DataProduct.AccessGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataProduct.AccessGroup
public static final class DataProduct.AccessGroup.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Required.clearId()Required.Required.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getId()Required.com.google.protobuf.ByteStringRequired.Required.Required.Required.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DataProduct.AccessGroup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.Required.setIdBytes(com.google.protobuf.ByteString value) Required.Required.setPrincipal(DataProduct.Principal.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataProduct.AccessGroup.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataProduct.AccessGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataProduct.AccessGroup.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProduct.AccessGroup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataProduct.AccessGroup.Builder>
-
mergeFrom
public DataProduct.AccessGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProduct.AccessGroup.Builder>- Throws:
IOException
-
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];- Specified by:
getIdin interfaceDataProduct.AccessGroupOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.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];- Specified by:
getIdBytesin interfaceDataProduct.AccessGroupOrBuilder- Returns:
- The bytes for id.
-
setId
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];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setIdBytes
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];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceDataProduct.AccessGroupOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceDataProduct.AccessGroupOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. User friendly display name of the access group. Eg. "Analyst", "Developer", etc.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. Description of the access group.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceDataProduct.AccessGroupOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the access group.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceDataProduct.AccessGroupOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. Description of the access group.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. Description of the access group.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. Description of the access group.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasPrincipalin interfaceDataProduct.AccessGroupOrBuilder- Returns:
- Whether the principal field is set.
-
getPrincipal
Required. The principal entity associated with this access group.
.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPrincipalin interfaceDataProduct.AccessGroupOrBuilder- Returns:
- The principal.
-
setPrincipal
Required. The principal entity associated with this access group.
.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED]; -
setPrincipal
Required. The principal entity associated with this access group.
.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED]; -
mergePrincipal
Required. The principal entity associated with this access group.
.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearPrincipal
Required. The principal entity associated with this access group.
.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED]; -
getPrincipalBuilder
Required. The principal entity associated with this access group.
.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED]; -
getPrincipalOrBuilder
Required. The principal entity associated with this access group.
.google.cloud.dataplex.v1.DataProduct.Principal principal = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPrincipalOrBuilderin interfaceDataProduct.AccessGroupOrBuilder
-