Class Action (1.52.0)

public final class Action extends GeneratedMessageV3 implements ActionOrBuilder

Action represents an issue requiring administrator action for resolution.

Protobuf type google.cloud.dataplex.v1.Action

Implements

ActionOrBuilder

Static Fields

ASSET_FIELD_NUMBER

public static final int ASSET_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_FIELD_NUMBER

public static final int CATEGORY_FIELD_NUMBER
Field Value
Type Description
int

DATA_LOCATIONS_FIELD_NUMBER

public static final int DATA_LOCATIONS_FIELD_NUMBER
Field Value
Type Description
int

DETECT_TIME_FIELD_NUMBER

public static final int DETECT_TIME_FIELD_NUMBER
Field Value
Type Description
int

FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER

public static final int FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER
Field Value
Type Description
int

INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER

public static final int INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

INVALID_DATA_FORMAT_FIELD_NUMBER

public static final int INVALID_DATA_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

INVALID_DATA_ORGANIZATION_FIELD_NUMBER

public static final int INVALID_DATA_ORGANIZATION_FIELD_NUMBER
Field Value
Type Description
int

INVALID_DATA_PARTITION_FIELD_NUMBER

public static final int INVALID_DATA_PARTITION_FIELD_NUMBER
Field Value
Type Description
int

ISSUE_FIELD_NUMBER

public static final int ISSUE_FIELD_NUMBER
Field Value
Type Description
int

LAKE_FIELD_NUMBER

public static final int LAKE_FIELD_NUMBER
Field Value
Type Description
int

MISSING_DATA_FIELD_NUMBER

public static final int MISSING_DATA_FIELD_NUMBER
Field Value
Type Description
int

MISSING_RESOURCE_FIELD_NUMBER

public static final int MISSING_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

UNAUTHORIZED_RESOURCE_FIELD_NUMBER

public static final int UNAUTHORIZED_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Action getDefaultInstance()
Returns
Type Description
Action

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Action.Builder newBuilder()
Returns
Type Description
Action.Builder

newBuilder(Action prototype)

public static Action.Builder newBuilder(Action prototype)
Parameter
Name Description
prototype Action
Returns
Type Description
Action.Builder

parseDelimitedFrom(InputStream input)

public static Action parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Action parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Action parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Action parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Action parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Action parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Action> parser()
Returns
Type Description
Parser<Action>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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) = { ... }

Returns
Type Description
String

The asset.

getAssetBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for asset.

getCategory()

public Action.Category getCategory()

The category of issue associated with the action.

.google.cloud.dataplex.v1.Action.Category category = 1;

Returns
Type Description
Action.Category

The category.

getCategoryValue()

public int getCategoryValue()

The category of issue associated with the action.

.google.cloud.dataplex.v1.Action.Category category = 1;

Returns
Type Description
int

The enum numeric value on the wire for category.

getDataLocations(int index)

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dataLocations at the given index.

getDataLocationsBytes(int index)

public 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dataLocations at the given index.

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;

Returns
Type Description
int

The count of dataLocations.

getDataLocationsList()

public 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;

Returns
Type Description
ProtocolStringList

A list containing the dataLocations.

getDefaultInstanceForType()

public Action getDefaultInstanceForType()
Returns
Type Description
Action

getDetailsCase()

public Action.DetailsCase getDetailsCase()
Returns
Type Description
Action.DetailsCase

getDetectTime()

public Timestamp getDetectTime()

The time that the issue was detected.

.google.protobuf.Timestamp detect_time = 4;

Returns
Type Description
Timestamp

The detectTime.

getDetectTimeOrBuilder()

public TimestampOrBuilder getDetectTimeOrBuilder()

The time that the issue was detected.

.google.protobuf.Timestamp detect_time = 4;

Returns
Type Description
TimestampOrBuilder

getFailedSecurityPolicyApply()

public Action.FailedSecurityPolicyApply getFailedSecurityPolicyApply()

Details for issues related to applying security policy.

.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;

Returns
Type Description
Action.FailedSecurityPolicyApply

The failedSecurityPolicyApply.

getFailedSecurityPolicyApplyOrBuilder()

public Action.FailedSecurityPolicyApplyOrBuilder getFailedSecurityPolicyApplyOrBuilder()

Details for issues related to applying security policy.

.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;

Returns
Type Description
Action.FailedSecurityPolicyApplyOrBuilder

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;

Returns
Type Description
Action.IncompatibleDataSchema

The incompatibleDataSchema.

getIncompatibleDataSchemaOrBuilder()

public Action.IncompatibleDataSchemaOrBuilder getIncompatibleDataSchemaOrBuilder()

Details for issues related to incompatible schemas detected within data.

.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;

Returns
Type Description
Action.IncompatibleDataSchemaOrBuilder

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;

Returns
Type Description
Action.InvalidDataFormat

The invalidDataFormat.

getInvalidDataFormatOrBuilder()

public Action.InvalidDataFormatOrBuilder getInvalidDataFormatOrBuilder()

Details for issues related to invalid or unsupported data formats.

.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;

Returns
Type Description
Action.InvalidDataFormatOrBuilder

getInvalidDataOrganization()

public Action.InvalidDataOrganization getInvalidDataOrganization()

Details for issues related to invalid data arrangement.

.google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;

Returns
Type Description
Action.InvalidDataOrganization

The invalidDataOrganization.

getInvalidDataOrganizationOrBuilder()

public Action.InvalidDataOrganizationOrBuilder getInvalidDataOrganizationOrBuilder()

Details for issues related to invalid data arrangement.

.google.cloud.dataplex.v1.Action.InvalidDataOrganization invalid_data_organization = 22;

Returns
Type Description
Action.InvalidDataOrganizationOrBuilder

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;

Returns
Type Description
Action.InvalidDataPartition

The invalidDataPartition.

getInvalidDataPartitionOrBuilder()

public Action.InvalidDataPartitionOrBuilder getInvalidDataPartitionOrBuilder()

Details for issues related to invalid or unsupported data partition structure.

.google.cloud.dataplex.v1.Action.InvalidDataPartition invalid_data_partition = 12;

Returns
Type Description
Action.InvalidDataPartitionOrBuilder

getIssue()

public String getIssue()

Detailed description of the issue requiring action.

string issue = 2;

Returns
Type Description
String

The issue.

getIssueBytes()

public ByteString getIssueBytes()

Detailed description of the issue requiring action.

string issue = 2;

Returns
Type Description
ByteString

The bytes for issue.

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) = { ... }

Returns
Type Description
String

The lake.

getLakeBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for lake.

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;

Returns
Type Description
Action.MissingData

The missingData.

getMissingDataOrBuilder()

public Action.MissingDataOrBuilder getMissingDataOrBuilder()

Details for issues related to absence of data within managed resources.

.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;

Returns
Type Description
Action.MissingDataOrBuilder

getMissingResource()

public Action.MissingResource getMissingResource()

Details for issues related to absence of a managed resource.

.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;

Returns
Type Description
Action.MissingResource

The missingResource.

getMissingResourceOrBuilder()

public Action.MissingResourceOrBuilder getMissingResourceOrBuilder()

Details for issues related to absence of a managed resource.

.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;

Returns
Type Description
Action.MissingResourceOrBuilder

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) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<Action> getParserForType()
Returns
Type Description
Parser<Action>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
Action.UnauthorizedResource

The unauthorizedResource.

getUnauthorizedResourceOrBuilder()

public Action.UnauthorizedResourceOrBuilder getUnauthorizedResourceOrBuilder()

Details for issues related to lack of permissions to access data resources.

.google.cloud.dataplex.v1.Action.UnauthorizedResource unauthorized_resource = 15;

Returns
Type Description
Action.UnauthorizedResourceOrBuilder

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) = { ... }

Returns
Type Description
String

The zone.

getZoneBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for zone.

hasDetectTime()

public boolean hasDetectTime()

The time that the issue was detected.

.google.protobuf.Timestamp detect_time = 4;

Returns
Type Description
boolean

Whether the detectTime field is set.

hasFailedSecurityPolicyApply()

public boolean hasFailedSecurityPolicyApply()

Details for issues related to applying security policy.

.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply failed_security_policy_apply = 21;

Returns
Type Description
boolean

Whether the failedSecurityPolicyApply field is set.

hasIncompatibleDataSchema()

public boolean hasIncompatibleDataSchema()

Details for issues related to incompatible schemas detected within data.

.google.cloud.dataplex.v1.Action.IncompatibleDataSchema incompatible_data_schema = 11;

Returns
Type Description
boolean

Whether the incompatibleDataSchema field is set.

hasInvalidDataFormat()

public boolean hasInvalidDataFormat()

Details for issues related to invalid or unsupported data formats.

.google.cloud.dataplex.v1.Action.InvalidDataFormat invalid_data_format = 10;

Returns
Type Description
boolean

Whether the invalidDataFormat 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;

Returns
Type Description
boolean

Whether the invalidDataOrganization field is set.

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;

Returns
Type Description
boolean

Whether the invalidDataPartition field is set.

hasMissingData()

public boolean hasMissingData()

Details for issues related to absence of data within managed resources.

.google.cloud.dataplex.v1.Action.MissingData missing_data = 13;

Returns
Type Description
boolean

Whether the missingData field is set.

hasMissingResource()

public boolean hasMissingResource()

Details for issues related to absence of a managed resource.

.google.cloud.dataplex.v1.Action.MissingResource missing_resource = 14;

Returns
Type Description
boolean

Whether the missingResource field is set.

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;

Returns
Type Description
boolean

Whether the unauthorizedResource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Action.Builder newBuilderForType()
Returns
Type Description
Action.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Action.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Action.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Action.Builder toBuilder()
Returns
Type Description
Action.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException