Class Action

  • All Implemented Interfaces:
    ActionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Action
    extends com.google.protobuf.GeneratedMessageV3
    implements ActionOrBuilder
     Action represents an issue requiring administrator action for resolution.
     
    Protobuf type google.cloud.dataplex.v1.Action
    See Also:
    Serialized Form
    • Field Detail

      • DETECT_TIME_FIELD_NUMBER

        public static final int DETECT_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATA_LOCATIONS_FIELD_NUMBER

        public static final int DATA_LOCATIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INVALID_DATA_FORMAT_FIELD_NUMBER

        public static final int INVALID_DATA_FORMAT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER

        public static final int INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INVALID_DATA_PARTITION_FIELD_NUMBER

        public static final int INVALID_DATA_PARTITION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MISSING_DATA_FIELD_NUMBER

        public static final int MISSING_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MISSING_RESOURCE_FIELD_NUMBER

        public static final int MISSING_RESOURCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UNAUTHORIZED_RESOURCE_FIELD_NUMBER

        public static final int UNAUTHORIZED_RESOURCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER

        public static final int FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INVALID_DATA_ORGANIZATION_FIELD_NUMBER

        public static final int INVALID_DATA_ORGANIZATION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getCategoryValue

        public int getCategoryValue()
         The category of issue associated with the action.
         
        .google.cloud.dataplex.v1.Action.Category category = 1;
        Specified by:
        getCategoryValue in interface ActionOrBuilder
        Returns:
        The enum numeric value on the wire for category.
      • getCategory

        public Action.Category getCategory()
         The category of issue associated with the action.
         
        .google.cloud.dataplex.v1.Action.Category category = 1;
        Specified by:
        getCategory in interface ActionOrBuilder
        Returns:
        The category.
      • getIssue

        public String getIssue()
         Detailed description of the issue requiring action.
         
        string issue = 2;
        Specified by:
        getIssue in interface ActionOrBuilder
        Returns:
        The issue.
      • getIssueBytes

        public com.google.protobuf.ByteString getIssueBytes()
         Detailed description of the issue requiring action.
         
        string issue = 2;
        Specified by:
        getIssueBytes in interface ActionOrBuilder
        Returns:
        The bytes for issue.
      • hasDetectTime

        public boolean hasDetectTime()
         The time that the issue was detected.
         
        .google.protobuf.Timestamp detect_time = 4;
        Specified by:
        hasDetectTime in interface ActionOrBuilder
        Returns:
        Whether the detectTime field is set.
      • getDetectTime

        public com.google.protobuf.Timestamp getDetectTime()
         The time that the issue was detected.
         
        .google.protobuf.Timestamp detect_time = 4;
        Specified by:
        getDetectTime in interface ActionOrBuilder
        Returns:
        The detectTime.
      • getDetectTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDetectTimeOrBuilder()
         The time that the issue was detected.
         
        .google.protobuf.Timestamp detect_time = 4;
        Specified by:
        getDetectTimeOrBuilder in interface ActionOrBuilder
      • getName

        public String getName()
         Output only. The relative resource name of the action, of the form:
         `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
         `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
         `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
         
        string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface ActionOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The relative resource name of the action, of the form:
         `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
         `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
         `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
         
        string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface ActionOrBuilder
        Returns:
        The bytes for name.
      • getLake

        public String getLake()
         Output only. The relative resource name of the lake, of the form:
         `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
         
        string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getLake in interface ActionOrBuilder
        Returns:
        The lake.
      • getLakeBytes

        public com.google.protobuf.ByteString getLakeBytes()
         Output only. The relative resource name of the lake, of the form:
         `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
         
        string lake = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getLakeBytes in interface ActionOrBuilder
        Returns:
        The bytes for lake.
      • getZone

        public String getZone()
         Output only. The relative resource name of the zone, of the form:
         `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
         
        string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getZone in interface ActionOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        public com.google.protobuf.ByteString getZoneBytes()
         Output only. The relative resource name of the zone, of the form:
         `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
         
        string zone = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getZoneBytes in interface ActionOrBuilder
        Returns:
        The bytes for zone.
      • getAsset

        public String getAsset()
         Output only. The relative resource name of the asset, of the form:
         `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
         
        string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAsset in interface ActionOrBuilder
        Returns:
        The asset.
      • getAssetBytes

        public com.google.protobuf.ByteString getAssetBytes()
         Output only. The relative resource name of the asset, of the form:
         `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
         
        string asset = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAssetBytes in interface ActionOrBuilder
        Returns:
        The bytes for asset.
      • getDataLocationsList

        public com.google.protobuf.ProtocolStringList getDataLocationsList()
         The list of data locations associated with this action. Cloud Storage
         locations are represented as URI paths(E.g.
         `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
         resource names(E.g.
         `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
         
        repeated string data_locations = 9;
        Specified by:
        getDataLocationsList in interface ActionOrBuilder
        Returns:
        A list containing the dataLocations.
      • getDataLocationsCount

        public int getDataLocationsCount()
         The list of data locations associated with this action. Cloud Storage
         locations are represented as URI paths(E.g.
         `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
         resource names(E.g.
         `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
         
        repeated string data_locations = 9;
        Specified by:
        getDataLocationsCount in interface ActionOrBuilder
        Returns:
        The count of dataLocations.
      • getDataLocations

        public String getDataLocations​(int index)
         The list of data locations associated with this action. Cloud Storage
         locations are represented as URI paths(E.g.
         `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
         resource names(E.g.
         `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
         
        repeated string data_locations = 9;
        Specified by:
        getDataLocations in interface ActionOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The dataLocations at the given index.
      • getDataLocationsBytes

        public com.google.protobuf.ByteString getDataLocationsBytes​(int index)
         The list of data locations associated with this action. Cloud Storage
         locations are represented as URI paths(E.g.
         `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
         resource names(E.g.
         `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
         
        repeated string data_locations = 9;
        Specified by:
        getDataLocationsBytes in interface ActionOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the dataLocations at the given index.
      • hasInvalidDataFormat

        public boolean hasInvalidDataFormat()
         Details for issues related to invalid or unsupported data formats.
         
        .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;
        Specified by:
        hasInvalidDataFormat in interface ActionOrBuilder
        Returns:
        Whether the invalidDataFormat field is set.
      • getInvalidDataFormat

        public Action.InvalidDataFormat getInvalidDataFormat()
         Details for issues related to invalid or unsupported data formats.
         
        .google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;
        Specified by:
        getInvalidDataFormat in interface ActionOrBuilder
        Returns:
        The invalidDataFormat.
      • hasIncompatibleDataSchema

        public boolean hasIncompatibleDataSchema()
         Details for issues related to incompatible schemas detected within data.
         
        .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
        Specified by:
        hasIncompatibleDataSchema in interface ActionOrBuilder
        Returns:
        Whether the incompatibleDataSchema field is set.
      • getIncompatibleDataSchema

        public Action.IncompatibleDataSchema getIncompatibleDataSchema()
         Details for issues related to incompatible schemas detected within data.
         
        .google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;
        Specified by:
        getIncompatibleDataSchema in interface ActionOrBuilder
        Returns:
        The incompatibleDataSchema.
      • hasInvalidDataPartition

        public boolean hasInvalidDataPartition()
         Details for issues related to invalid or unsupported data partition
         structure.
         
        .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
        Specified by:
        hasInvalidDataPartition in interface ActionOrBuilder
        Returns:
        Whether the invalidDataPartition field is set.
      • getInvalidDataPartition

        public Action.InvalidDataPartition getInvalidDataPartition()
         Details for issues related to invalid or unsupported data partition
         structure.
         
        .google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;
        Specified by:
        getInvalidDataPartition in interface ActionOrBuilder
        Returns:
        The invalidDataPartition.
      • hasMissingData

        public boolean hasMissingData()
         Details for issues related to absence of data within managed resources.
         
        .google.cloud.dataplex.v1.Action.MissingData missing_data = 13;
        Specified by:
        hasMissingData in interface ActionOrBuilder
        Returns:
        Whether the missingData field is set.
      • getMissingData

        public Action.MissingData getMissingData()
         Details for issues related to absence of data within managed resources.
         
        .google.cloud.dataplex.v1.Action.MissingData missing_data = 13;
        Specified by:
        getMissingData in interface ActionOrBuilder
        Returns:
        The missingData.
      • hasMissingResource

        public boolean hasMissingResource()
         Details for issues related to absence of a managed resource.
         
        .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;
        Specified by:
        hasMissingResource in interface ActionOrBuilder
        Returns:
        Whether the missingResource field is set.
      • getMissingResource

        public Action.MissingResource getMissingResource()
         Details for issues related to absence of a managed resource.
         
        .google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;
        Specified by:
        getMissingResource in interface ActionOrBuilder
        Returns:
        The missingResource.
      • hasUnauthorizedResource

        public boolean hasUnauthorizedResource()
         Details for issues related to lack of permissions to access data
         resources.
         
        .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
        Specified by:
        hasUnauthorizedResource in interface ActionOrBuilder
        Returns:
        Whether the unauthorizedResource field is set.
      • getUnauthorizedResource

        public Action.UnauthorizedResource getUnauthorizedResource()
         Details for issues related to lack of permissions to access data
         resources.
         
        .google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;
        Specified by:
        getUnauthorizedResource in interface ActionOrBuilder
        Returns:
        The unauthorizedResource.
      • hasFailedSecurityPolicyApply

        public boolean hasFailedSecurityPolicyApply()
         Details for issues related to applying security policy.
         
        .google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;
        Specified by:
        hasFailedSecurityPolicyApply in interface ActionOrBuilder
        Returns:
        Whether the failedSecurityPolicyApply field is set.
      • hasInvalidDataOrganization

        public boolean hasInvalidDataOrganization()
         Details for issues related to invalid data arrangement.
         
        .google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;
        Specified by:
        hasInvalidDataOrganization in interface ActionOrBuilder
        Returns:
        Whether the invalidDataOrganization field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 Action parseFrom​(ByteBuffer data)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected Action.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Action getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<Action> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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