Class Action (1.30.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
TypeDescription
int

CATEGORY_FIELD_NUMBER

public static final int CATEGORY_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_LOCATIONS_FIELD_NUMBER

public static final int DATA_LOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

DETECT_TIME_FIELD_NUMBER

public static final int DETECT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER

public static final int FAILED_SECURITY_POLICY_APPLY_FIELD_NUMBER
Field Value
TypeDescription
int

INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER

public static final int INCOMPATIBLE_DATA_SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

INVALID_DATA_FORMAT_FIELD_NUMBER

public static final int INVALID_DATA_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

INVALID_DATA_ORGANIZATION_FIELD_NUMBER

public static final int INVALID_DATA_ORGANIZATION_FIELD_NUMBER
Field Value
TypeDescription
int

INVALID_DATA_PARTITION_FIELD_NUMBER

public static final int INVALID_DATA_PARTITION_FIELD_NUMBER
Field Value
TypeDescription
int

ISSUE_FIELD_NUMBER

public static final int ISSUE_FIELD_NUMBER
Field Value
TypeDescription
int

LAKE_FIELD_NUMBER

public static final int LAKE_FIELD_NUMBER
Field Value
TypeDescription
int

MISSING_DATA_FIELD_NUMBER

public static final int MISSING_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

MISSING_RESOURCE_FIELD_NUMBER

public static final int MISSING_RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

UNAUTHORIZED_RESOURCE_FIELD_NUMBER

public static final int UNAUTHORIZED_RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Action getDefaultInstance()
Returns
TypeDescription
Action

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Action.Builder newBuilder()
Returns
TypeDescription
Action.Builder

newBuilder(Action prototype)

public static Action.Builder newBuilder(Action prototype)
Parameter
NameDescription
prototypeAction
Returns
TypeDescription
Action.Builder

parseDelimitedFrom(InputStream input)

public static Action parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Action
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Action parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Action
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Action parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Action
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Action parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Action
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Action parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Action
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Action parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Action
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Action> parser()
Returns
TypeDescription
Parser<Action>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the dataLocations.

getDefaultInstanceForType()

public Action getDefaultInstanceForType()
Returns
TypeDescription
Action

getDetailsCase()

public Action.DetailsCase getDetailsCase()
Returns
TypeDescription
Action.DetailsCase

getDetectTime()

public Timestamp getDetectTime()

The time that the issue was detected.

.google.protobuf.Timestamp detect_time = 4;

Returns
TypeDescription
Timestamp

The detectTime.

getDetectTimeOrBuilder()

public TimestampOrBuilder getDetectTimeOrBuilder()

The time that the issue was detected.

.google.protobuf.Timestamp detect_time = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Action.InvalidDataPartitionOrBuilder

getIssue()

public String getIssue()

Detailed description of the issue requiring action.

string issue = 2;

Returns
TypeDescription
String

The issue.

getIssueBytes()

public ByteString getIssueBytes()

Detailed description of the issue requiring action.

string issue = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Action> getParserForType()
Returns
TypeDescription
Parser<Action>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for zone.

hasDetectTime()

public boolean hasDetectTime()

The time that the issue was detected.

.google.protobuf.Timestamp detect_time = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the unauthorizedResource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Action.Builder newBuilderForType()
Returns
TypeDescription
Action.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Action.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Action.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Action.Builder toBuilder()
Returns
TypeDescription
Action.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException