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.Builder
addAllSampledDataLocations(Iterable<String> values)
The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Action.IncompatibleDataSchema.Builder
addSampledDataLocations(String value)
The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.Builder
addSampledDataLocationsBytes(com.google.protobuf.ByteString value)
The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema
build()
Action.IncompatibleDataSchema
buildPartial()
Action.IncompatibleDataSchema.Builder
clear()
Action.IncompatibleDataSchema.Builder
clearExistingSchema()
The existing and expected schema of the table.Action.IncompatibleDataSchema.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Action.IncompatibleDataSchema.Builder
clearNewSchema()
The new and incompatible schema within the table.Action.IncompatibleDataSchema.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Action.IncompatibleDataSchema.Builder
clearSampledDataLocations()
The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.Builder
clearSchemaChange()
Whether the action relates to a schema that is incompatible or modified.Action.IncompatibleDataSchema.Builder
clearTable()
The name of the table containing invalid data.Action.IncompatibleDataSchema.Builder
clone()
Action.IncompatibleDataSchema
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getExistingSchema()
The existing and expected schema of the table.com.google.protobuf.ByteString
getExistingSchemaBytes()
The existing and expected schema of the table.String
getNewSchema()
The new and incompatible schema within the table.com.google.protobuf.ByteString
getNewSchemaBytes()
The new and incompatible schema within the table.String
getSampledDataLocations(int index)
The list of data locations sampled and used for format/schema inference.com.google.protobuf.ByteString
getSampledDataLocationsBytes(int index)
The list of data locations sampled and used for format/schema inference.int
getSampledDataLocationsCount()
The list of data locations sampled and used for format/schema inference.com.google.protobuf.ProtocolStringList
getSampledDataLocationsList()
The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.SchemaChange
getSchemaChange()
Whether the action relates to a schema that is incompatible or modified.int
getSchemaChangeValue()
Whether the action relates to a schema that is incompatible or modified.String
getTable()
The name of the table containing invalid data.com.google.protobuf.ByteString
getTableBytes()
The name of the table containing invalid data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Action.IncompatibleDataSchema.Builder
mergeFrom(Action.IncompatibleDataSchema other)
Action.IncompatibleDataSchema.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Action.IncompatibleDataSchema.Builder
mergeFrom(com.google.protobuf.Message other)
Action.IncompatibleDataSchema.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Action.IncompatibleDataSchema.Builder
setExistingSchema(String value)
The existing and expected schema of the table.Action.IncompatibleDataSchema.Builder
setExistingSchemaBytes(com.google.protobuf.ByteString value)
The existing and expected schema of the table.Action.IncompatibleDataSchema.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Action.IncompatibleDataSchema.Builder
setNewSchema(String value)
The new and incompatible schema within the table.Action.IncompatibleDataSchema.Builder
setNewSchemaBytes(com.google.protobuf.ByteString value)
The new and incompatible schema within the table.Action.IncompatibleDataSchema.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Action.IncompatibleDataSchema.Builder
setSampledDataLocations(int index, String value)
The list of data locations sampled and used for format/schema inference.Action.IncompatibleDataSchema.Builder
setSchemaChange(Action.IncompatibleDataSchema.SchemaChange value)
Whether the action relates to a schema that is incompatible or modified.Action.IncompatibleDataSchema.Builder
setSchemaChangeValue(int value)
Whether the action relates to a schema that is incompatible or modified.Action.IncompatibleDataSchema.Builder
setTable(String value)
The name of the table containing invalid data.Action.IncompatibleDataSchema.Builder
setTableBytes(com.google.protobuf.ByteString value)
The name of the table containing invalid data.Action.IncompatibleDataSchema.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
clear
public Action.IncompatibleDataSchema.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
getDefaultInstanceForType
public Action.IncompatibleDataSchema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Action.IncompatibleDataSchema build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Action.IncompatibleDataSchema buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Action.IncompatibleDataSchema.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
setField
public Action.IncompatibleDataSchema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
clearField
public Action.IncompatibleDataSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
clearOneof
public Action.IncompatibleDataSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
addRepeatedField
public Action.IncompatibleDataSchema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
mergeFrom
public Action.IncompatibleDataSchema.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Action.IncompatibleDataSchema.Builder>
-
mergeFrom
public Action.IncompatibleDataSchema.Builder mergeFrom(Action.IncompatibleDataSchema other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getTable
in 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:
getTableBytes
in 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:
getExistingSchema
in 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:
getExistingSchemaBytes
in 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:
getNewSchema
in 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:
getNewSchemaBytes
in 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:
getSampledDataLocationsList
in 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:
getSampledDataLocationsCount
in 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:
getSampledDataLocations
in 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:
getSampledDataLocationsBytes
in 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:
getSchemaChangeValue
in 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:
getSchemaChange
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
mergeUnknownFields
public final Action.IncompatibleDataSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
-
-