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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder> implements Action.IncompatibleDataSchemaOrBuilder
Action details for incompatible schemas detected by discovery.
Protobuf typegoogle.cloud.dataplex.v1.Action.IncompatibleDataSchema
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Action.IncompatibleDataSchema.BuilderaddAllSampledDataLocations(Iterable<String> values)The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Action.IncompatibleDataSchema.BuilderaddSampledDataLocations(String value)The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.BuilderaddSampledDataLocationsBytes(com.google.protobuf.ByteString value)The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchemabuild()Action.IncompatibleDataSchemabuildPartial()Action.IncompatibleDataSchema.Builderclear()Action.IncompatibleDataSchema.BuilderclearExistingSchema()The existing and expected schema of the table.Action.IncompatibleDataSchema.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Action.IncompatibleDataSchema.BuilderclearNewSchema()The new and incompatible schema within the table.Action.IncompatibleDataSchema.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Action.IncompatibleDataSchema.BuilderclearSampledDataLocations()The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.BuilderclearSchemaChange()Whether the action relates to a schema that is incompatible or modified.Action.IncompatibleDataSchema.BuilderclearTable()The name of the table containing invalid data.Action.IncompatibleDataSchema.Builderclone()Action.IncompatibleDataSchemagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetExistingSchema()The existing and expected schema of the table.com.google.protobuf.ByteStringgetExistingSchemaBytes()The existing and expected schema of the table.StringgetNewSchema()The new and incompatible schema within the table.com.google.protobuf.ByteStringgetNewSchemaBytes()The new and incompatible schema within the table.StringgetSampledDataLocations(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.intgetSampledDataLocationsCount()The list of data locations sampled and used for format/schema inference.com.google.protobuf.ProtocolStringListgetSampledDataLocationsList()The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.SchemaChangegetSchemaChange()Whether the action relates to a schema that is incompatible or modified.intgetSchemaChangeValue()Whether the action relates to a schema that is incompatible or modified.StringgetTable()The name of the table containing invalid data.com.google.protobuf.ByteStringgetTableBytes()The name of the table containing invalid data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Action.IncompatibleDataSchema.BuildermergeFrom(Action.IncompatibleDataSchema other)Action.IncompatibleDataSchema.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Action.IncompatibleDataSchema.BuildermergeFrom(com.google.protobuf.Message other)Action.IncompatibleDataSchema.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Action.IncompatibleDataSchema.BuildersetExistingSchema(String value)The existing and expected schema of the table.Action.IncompatibleDataSchema.BuildersetExistingSchemaBytes(com.google.protobuf.ByteString value)The existing and expected schema of the table.Action.IncompatibleDataSchema.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Action.IncompatibleDataSchema.BuildersetNewSchema(String value)The new and incompatible schema within the table.Action.IncompatibleDataSchema.BuildersetNewSchemaBytes(com.google.protobuf.ByteString value)The new and incompatible schema within the table.Action.IncompatibleDataSchema.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Action.IncompatibleDataSchema.BuildersetSampledDataLocations(int index, String value)The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.BuildersetSchemaChange(Action.IncompatibleDataSchema.SchemaChange value)Whether the action relates to a schema that is incompatible or modified.Action.IncompatibleDataSchema.BuildersetSchemaChangeValue(int value)Whether the action relates to a schema that is incompatible or modified.Action.IncompatibleDataSchema.BuildersetTable(String value)The name of the table containing invalid data.Action.IncompatibleDataSchema.BuildersetTableBytes(com.google.protobuf.ByteString value)The name of the table containing invalid data.Action.IncompatibleDataSchema.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
getDefaultInstanceForType
public Action.IncompatibleDataSchema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Action.IncompatibleDataSchema build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Action.IncompatibleDataSchema buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Action.IncompatibleDataSchema.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
setField
public Action.IncompatibleDataSchema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
clearField
public Action.IncompatibleDataSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
clearOneof
public Action.IncompatibleDataSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
setRepeatedField
public Action.IncompatibleDataSchema.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
addRepeatedField
public Action.IncompatibleDataSchema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
mergeFrom
public Action.IncompatibleDataSchema.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.IncompatibleDataSchema.Builder>
-
mergeFrom
public Action.IncompatibleDataSchema.Builder mergeFrom(Action.IncompatibleDataSchema other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public Action.IncompatibleDataSchema.Builder setTable(String value)
The name of the table containing invalid data.
string table = 1;- Parameters:
value- The table to set.- Returns:
- This builder for chaining.
-
clearTable
public Action.IncompatibleDataSchema.Builder clearTable()
The name of the table containing invalid data.
string table = 1;- Returns:
- This builder for chaining.
-
setTableBytes
public Action.IncompatibleDataSchema.Builder setTableBytes(com.google.protobuf.ByteString value)
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
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;- 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
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;- Parameters:
value- The existingSchema to set.- Returns:
- This builder for chaining.
-
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:
- 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
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;- 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
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;- Parameters:
value- The newSchema to set.- Returns:
- This builder for chaining.
-
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:
- 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
public String getSampledDataLocations(int index)
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
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:
index- The index to set the value at.value- The sampledDataLocations to set.- Returns:
- This builder for chaining.
-
addSampledDataLocations
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;- Parameters:
value- The sampledDataLocations to add.- Returns:
- This builder for chaining.
-
addAllSampledDataLocations
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;- Parameters:
values- The sampledDataLocations to add.- Returns:
- This builder for chaining.
-
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:
- 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
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;- Parameters:
value- The enum numeric value on the wire for schemaChange to set.- Returns:
- This builder for chaining.
-
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;- 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
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:
- This builder for chaining.
-
setUnknownFields
public final Action.IncompatibleDataSchema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
mergeUnknownFields
public final Action.IncompatibleDataSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
-