Class DataProduct.AccessGroup

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.DataProduct.AccessGroup
All Implemented Interfaces:
DataProduct.AccessGroupOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DataProduct

public static final class DataProduct.AccessGroup extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getId in interface DataProduct.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:
      getIdBytes in interface DataProduct.AccessGroupOrBuilder
      Returns:
      The bytes for id.
    • 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];
      Specified by:
      getDisplayName in interface DataProduct.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:
      getDisplayNameBytes in interface DataProduct.AccessGroupOrBuilder
      Returns:
      The bytes for displayName.
    • getDescription

      public String getDescription()
       Optional. Description of the access group.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DataProduct.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:
      getDescriptionBytes in interface DataProduct.AccessGroupOrBuilder
      Returns:
      The bytes for description.
    • 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:
      hasPrincipal in interface DataProduct.AccessGroupOrBuilder
      Returns:
      Whether the principal field is set.
    • 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];
      Specified by:
      getPrincipal in interface DataProduct.AccessGroupOrBuilder
      Returns:
      The principal.
    • 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];
      Specified by:
      getPrincipalOrBuilder in interface DataProduct.AccessGroupOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataProduct.AccessGroup parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataProduct.AccessGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataProduct.AccessGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataProduct.AccessGroup.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataProduct.AccessGroup.Builder newBuilder()
    • newBuilder

      public static DataProduct.AccessGroup.Builder newBuilder(DataProduct.AccessGroup prototype)
    • toBuilder

      public DataProduct.AccessGroup.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataProduct.AccessGroup.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataProduct.AccessGroup getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataProduct.AccessGroup> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataProduct.AccessGroup> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DataProduct.AccessGroup getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder