Class Action.IncompatibleDataSchema (1.0.1)

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
TypeDescription
int

NEW_SCHEMA_FIELD_NUMBER

public static final int NEW_SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

SAMPLED_DATA_LOCATIONS_FIELD_NUMBER

public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_CHANGE_FIELD_NUMBER

public static final int SCHEMA_CHANGE_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_FIELD_NUMBER

public static final int TABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Action.IncompatibleDataSchema getDefaultInstance()
Returns
TypeDescription
Action.IncompatibleDataSchema

getDescriptor()

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

newBuilder()

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

newBuilder(Action.IncompatibleDataSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Action.IncompatibleDataSchema getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for newSchema.

getParserForType()

public Parser<Action.IncompatibleDataSchema> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The enum numeric value on the wire for schemaChange.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTable()

public String getTable()

The name of the table containing invalid data.

string table = 1;

Returns
TypeDescription
String

The table.

getTableBytes()

public ByteString getTableBytes()

The name of the table containing invalid data.

string table = 1;

Returns
TypeDescription
ByteString

The bytes for table.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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