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
NEW_SCHEMA_FIELD_NUMBER
public static final int NEW_SCHEMA_FIELD_NUMBER
Field Value
SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
Field Value
SCHEMA_CHANGE_FIELD_NUMBER
public static final int SCHEMA_CHANGE_FIELD_NUMBER
Field Value
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Action.IncompatibleDataSchema getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Action.IncompatibleDataSchema.Builder newBuilder()
Returns
newBuilder(Action.IncompatibleDataSchema prototype)
public static Action.IncompatibleDataSchema.Builder newBuilder(Action.IncompatibleDataSchema prototype)
Parameter
Returns
public static Action.IncompatibleDataSchema parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Action.IncompatibleDataSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Action.IncompatibleDataSchema parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Action.IncompatibleDataSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Action.IncompatibleDataSchema parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Action.IncompatibleDataSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Action.IncompatibleDataSchema parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Action.IncompatibleDataSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Action.IncompatibleDataSchema parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Action.IncompatibleDataSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Action.IncompatibleDataSchema parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Action.IncompatibleDataSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Action.IncompatibleDataSchema> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Action.IncompatibleDataSchema getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<Action.IncompatibleDataSchema> getParserForType()
Returns
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
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
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
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Action.IncompatibleDataSchema.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Action.IncompatibleDataSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Action.IncompatibleDataSchema.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions