Class Action.IncompatibleDataSchema (1.43.0)

public static final class Action.IncompatibleDataSchema extends GeneratedMessageV3 implements Action.IncompatibleDataSchemaOrBuilder

Action details for incompatible schemas detected by discovery.

Protobuf type google.cloud.dataplex.v1.Action.IncompatibleDataSchema

Static Fields

EXISTING_SCHEMA_FIELD_NUMBER

public static final int EXISTING_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

NEW_SCHEMA_FIELD_NUMBER

public static final int NEW_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

SAMPLED_DATA_LOCATIONS_FIELD_NUMBER

public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_CHANGE_FIELD_NUMBER

public static final int SCHEMA_CHANGE_FIELD_NUMBER
Field Value
Type Description
int

TABLE_FIELD_NUMBER

public static final int TABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Action.IncompatibleDataSchema getDefaultInstance()
Returns
Type Description
Action.IncompatibleDataSchema

getDescriptor()

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

newBuilder()

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

newBuilder(Action.IncompatibleDataSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Action.IncompatibleDataSchema getDefaultInstanceForType()
Returns
Type Description
Action.IncompatibleDataSchema

getExistingSchema()

public String getExistingSchema()

The existing and expected schema of the table. The schema is provided as a JSON formatted structure listing columns and data types.

string existing_schema = 2;

Returns
Type Description
String

The existingSchema.

getExistingSchemaBytes()

public ByteString getExistingSchemaBytes()

The existing and expected schema of the table. The schema is provided as a JSON formatted structure listing columns and data types.

string existing_schema = 2;

Returns
Type Description
ByteString

The bytes for existingSchema.

getNewSchema()

public String getNewSchema()

The new and incompatible schema within the table. The schema is provided as a JSON formatted structured listing columns and data types.

string new_schema = 3;

Returns
Type Description
String

The newSchema.

getNewSchemaBytes()

public ByteString getNewSchemaBytes()

The new and incompatible schema within the table. The schema is provided as a JSON formatted structured listing columns and data types.

string new_schema = 3;

Returns
Type Description
ByteString

The bytes for newSchema.

getParserForType()

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

getSampledDataLocations(int index)

public String getSampledDataLocations(int index)

The list of data locations sampled and used for format/schema inference.

repeated string sampled_data_locations = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sampledDataLocations at the given index.

getSampledDataLocationsBytes(int index)

public ByteString getSampledDataLocationsBytes(int index)

The list of data locations sampled and used for format/schema inference.

repeated string sampled_data_locations = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sampledDataLocations at the given index.

getSampledDataLocationsCount()

public int getSampledDataLocationsCount()

The list of data locations sampled and used for format/schema inference.

repeated string sampled_data_locations = 4;

Returns
Type Description
int

The count of sampledDataLocations.

getSampledDataLocationsList()

public ProtocolStringList getSampledDataLocationsList()

The list of data locations sampled and used for format/schema inference.

repeated string sampled_data_locations = 4;

Returns
Type Description
ProtocolStringList

A list containing the sampledDataLocations.

getSchemaChange()

public Action.IncompatibleDataSchema.SchemaChange getSchemaChange()

Whether the action relates to a schema that is incompatible or modified.

.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;

Returns
Type Description
Action.IncompatibleDataSchema.SchemaChange

The schemaChange.

getSchemaChangeValue()

public int getSchemaChangeValue()

Whether the action relates to a schema that is incompatible or modified.

.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;

Returns
Type Description
int

The enum numeric value on the wire for schemaChange.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTable()

public String getTable()

The name of the table containing invalid data.

string table = 1;

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

The name of the table containing invalid data.

string table = 1;

Returns
Type Description
ByteString

The bytes for table.

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.IncompatibleDataSchema.Builder newBuilderForType()
Returns
Type Description
Action.IncompatibleDataSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Action.IncompatibleDataSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Action.IncompatibleDataSchema.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.IncompatibleDataSchema.Builder toBuilder()
Returns
Type Description
Action.IncompatibleDataSchema.Builder

writeTo(CodedOutputStream output)

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