- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Action.IncompatibleDataSchema.BuilderImplements
Action.IncompatibleDataSchemaOrBuilderStatic 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 |
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 |
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 |
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 |
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 |
getDefaultInstanceForType()
public Action.IncompatibleDataSchema getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Action.IncompatibleDataSchema |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Action.IncompatibleDataSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Action.IncompatibleDataSchema.Builder |
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 |
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 |
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 |