Class Action.IncompatibleDataSchema.Builder (1.41.0)

public static final class Action.IncompatibleDataSchema.Builder extends GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder> implements Action.IncompatibleDataSchemaOrBuilder

Action details for incompatible schemas detected by discovery.

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

Static Methods

getDescriptor()

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

Methods

addAllSampledDataLocations(Iterable<String> values)

public Action.IncompatibleDataSchema.Builder addAllSampledDataLocations(Iterable<String> values)

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

repeated string sampled_data_locations = 4;

Parameter
Name Description
values Iterable<String>

The sampledDataLocations to add.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Action.IncompatibleDataSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

addSampledDataLocations(String value)

public Action.IncompatibleDataSchema.Builder addSampledDataLocations(String value)

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

repeated string sampled_data_locations = 4;

Parameter
Name Description
value String

The sampledDataLocations to add.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

addSampledDataLocationsBytes(ByteString value)

public Action.IncompatibleDataSchema.Builder addSampledDataLocationsBytes(ByteString value)

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

repeated string sampled_data_locations = 4;

Parameter
Name Description
value ByteString

The bytes of the sampledDataLocations to add.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

build()

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

buildPartial()

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

clear()

public Action.IncompatibleDataSchema.Builder clear()
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

clearExistingSchema()

public Action.IncompatibleDataSchema.Builder clearExistingSchema()

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
Action.IncompatibleDataSchema.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Action.IncompatibleDataSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

clearNewSchema()

public Action.IncompatibleDataSchema.Builder clearNewSchema()

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
Action.IncompatibleDataSchema.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.IncompatibleDataSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

clearSampledDataLocations()

public Action.IncompatibleDataSchema.Builder clearSampledDataLocations()

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

repeated string sampled_data_locations = 4;

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

clearSchemaChange()

public Action.IncompatibleDataSchema.Builder clearSchemaChange()

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.Builder

This builder for chaining.

clearTable()

public Action.IncompatibleDataSchema.Builder clearTable()

The name of the table containing invalid data.

string table = 1;

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

clone()

public Action.IncompatibleDataSchema.Builder clone()
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Action.IncompatibleDataSchema other)

public Action.IncompatibleDataSchema.Builder mergeFrom(Action.IncompatibleDataSchema other)
Parameter
Name Description
other Action.IncompatibleDataSchema
Returns
Type Description
Action.IncompatibleDataSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Action.IncompatibleDataSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Action.IncompatibleDataSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.IncompatibleDataSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

setExistingSchema(String value)

public Action.IncompatibleDataSchema.Builder setExistingSchema(String value)

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;

Parameter
Name Description
value String

The existingSchema to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setExistingSchemaBytes(ByteString value)

public Action.IncompatibleDataSchema.Builder setExistingSchemaBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for existingSchema to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Action.IncompatibleDataSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

setNewSchema(String value)

public Action.IncompatibleDataSchema.Builder setNewSchema(String value)

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;

Parameter
Name Description
value String

The newSchema to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setNewSchemaBytes(ByteString value)

public Action.IncompatibleDataSchema.Builder setNewSchemaBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for newSchema to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Action.IncompatibleDataSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides

setSampledDataLocations(int index, String value)

public Action.IncompatibleDataSchema.Builder setSampledDataLocations(int index, String value)

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

repeated string sampled_data_locations = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The sampledDataLocations to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setSchemaChange(Action.IncompatibleDataSchema.SchemaChange value)

public Action.IncompatibleDataSchema.Builder setSchemaChange(Action.IncompatibleDataSchema.SchemaChange value)

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

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

Parameter
Name Description
value Action.IncompatibleDataSchema.SchemaChange

The schemaChange to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setSchemaChangeValue(int value)

public Action.IncompatibleDataSchema.Builder setSchemaChangeValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for schemaChange to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setTable(String value)

public Action.IncompatibleDataSchema.Builder setTable(String value)

The name of the table containing invalid data.

string table = 1;

Parameter
Name Description
value String

The table to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setTableBytes(ByteString value)

public Action.IncompatibleDataSchema.Builder setTableBytes(ByteString value)

The name of the table containing invalid data.

string table = 1;

Parameter
Name Description
value ByteString

The bytes for table to set.

Returns
Type Description
Action.IncompatibleDataSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.IncompatibleDataSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.IncompatibleDataSchema.Builder
Overrides