Package com.google.cloud.dataplex.v1
Class Action.IncompatibleDataSchema.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Action.IncompatibleDataSchema.Builder>
com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.Builder
- All Implemented Interfaces:
Action.IncompatibleDataSchemaOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Action.IncompatibleDataSchema
public static final class Action.IncompatibleDataSchema.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Action.IncompatibleDataSchema.Builder>
implements Action.IncompatibleDataSchemaOrBuilder
Action details for incompatible schemas detected by discovery.Protobuf type
google.cloud.dataplex.v1.Action.IncompatibleDataSchema-
Method Summary
Modifier and TypeMethodDescriptionaddAllSampledDataLocations(Iterable<String> values) The list of data locations sampled and used for format/schema inference.addSampledDataLocations(String value) The list of data locations sampled and used for format/schema inference.addSampledDataLocationsBytes(com.google.protobuf.ByteString value) The list of data locations sampled and used for format/schema inference.build()clear()The existing and expected schema of the table.The new and incompatible schema within the table.The list of data locations sampled and used for format/schema inference.Whether the action relates to a schema that is incompatible or modified.The name of the table containing invalid data.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe existing and expected schema of the table.com.google.protobuf.ByteStringThe existing and expected schema of the table.The new and incompatible schema within the table.com.google.protobuf.ByteStringThe new and incompatible schema within the table.getSampledDataLocations(int index) The list of data locations sampled and used for format/schema inference.com.google.protobuf.ByteStringgetSampledDataLocationsBytes(int index) The list of data locations sampled and used for format/schema inference.intThe list of data locations sampled and used for format/schema inference.com.google.protobuf.ProtocolStringListThe list of data locations sampled and used for format/schema inference.Whether the action relates to a schema that is incompatible or modified.intWhether the action relates to a schema that is incompatible or modified.getTable()The name of the table containing invalid data.com.google.protobuf.ByteStringThe name of the table containing invalid data.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setExistingSchema(String value) The existing and expected schema of the table.setExistingSchemaBytes(com.google.protobuf.ByteString value) The existing and expected schema of the table.setNewSchema(String value) The new and incompatible schema within the table.setNewSchemaBytes(com.google.protobuf.ByteString value) The new and incompatible schema within the table.setSampledDataLocations(int index, String value) The list of data locations sampled and used for format/schema inference.Whether the action relates to a schema that is incompatible or modified.setSchemaChangeValue(int value) Whether the action relates to a schema that is incompatible or modified.The name of the table containing invalid data.setTableBytes(com.google.protobuf.ByteString value) The name of the table containing invalid data.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Action.IncompatibleDataSchema.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Action.IncompatibleDataSchema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Action.IncompatibleDataSchema.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.IncompatibleDataSchema.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Action.IncompatibleDataSchema.Builder>
-
mergeFrom
public Action.IncompatibleDataSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.IncompatibleDataSchema.Builder>- Throws:
IOException
-
getTable
The name of the table containing invalid data.
string table = 1;- Specified by:
getTablein interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()The name of the table containing invalid data.
string table = 1;- Specified by:
getTableBytesin interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The bytes for table.
-
setTable
The name of the table containing invalid data.
string table = 1;- Parameters:
value- The table to set.- Returns:
- This builder for chaining.
-
clearTable
The name of the table containing invalid data.
string table = 1;- Returns:
- This builder for chaining.
-
setTableBytes
The name of the table containing invalid data.
string table = 1;- Parameters:
value- The bytes for table to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getExistingSchemain interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The existingSchema.
-
getExistingSchemaBytes
public com.google.protobuf.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;- Specified by:
getExistingSchemaBytesin interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The bytes for existingSchema.
-
setExistingSchema
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;- Parameters:
value- The existingSchema to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setExistingSchemaBytes
public Action.IncompatibleDataSchema.Builder setExistingSchemaBytes(com.google.protobuf.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;- Parameters:
value- The bytes for existingSchema to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getNewSchemain interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The newSchema.
-
getNewSchemaBytes
public com.google.protobuf.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;- Specified by:
getNewSchemaBytesin interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The bytes for newSchema.
-
setNewSchema
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;- Parameters:
value- The newSchema to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNewSchemaBytes
public Action.IncompatibleDataSchema.Builder setNewSchemaBytes(com.google.protobuf.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;- Parameters:
value- The bytes for newSchema to set.- Returns:
- This builder for chaining.
-
getSampledDataLocationsList
public com.google.protobuf.ProtocolStringList getSampledDataLocationsList()The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Specified by:
getSampledDataLocationsListin interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- A list containing the sampledDataLocations.
-
getSampledDataLocationsCount
public int getSampledDataLocationsCount()The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Specified by:
getSampledDataLocationsCountin interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The count of sampledDataLocations.
-
getSampledDataLocations
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Specified by:
getSampledDataLocationsin interfaceAction.IncompatibleDataSchemaOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sampledDataLocations at the given index.
-
getSampledDataLocationsBytes
public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Specified by:
getSampledDataLocationsBytesin interfaceAction.IncompatibleDataSchemaOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sampledDataLocations at the given index.
-
setSampledDataLocations
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Parameters:
index- The index to set the value at.value- The sampledDataLocations to set.- Returns:
- This builder for chaining.
-
addSampledDataLocations
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Parameters:
value- The sampledDataLocations to add.- Returns:
- This builder for chaining.
-
addAllSampledDataLocations
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Parameters:
values- The sampledDataLocations to add.- Returns:
- This builder for chaining.
-
clearSampledDataLocations
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Returns:
- This builder for chaining.
-
addSampledDataLocationsBytes
public Action.IncompatibleDataSchema.Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 4;- Parameters:
value- The bytes of the sampledDataLocations to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getSchemaChangeValuein interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The enum numeric value on the wire for schemaChange.
-
setSchemaChangeValue
Whether the action relates to a schema that is incompatible or modified.
.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;- Parameters:
value- The enum numeric value on the wire for schemaChange to set.- Returns:
- This builder for chaining.
-
getSchemaChange
Whether the action relates to a schema that is incompatible or modified.
.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;- Specified by:
getSchemaChangein interfaceAction.IncompatibleDataSchemaOrBuilder- Returns:
- The schemaChange.
-
setSchemaChange
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;- Parameters:
value- The schemaChange to set.- Returns:
- This builder for chaining.
-
clearSchemaChange
Whether the action relates to a schema that is incompatible or modified.
.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;- Returns:
- This builder for chaining.
-