Package com.google.cloud.dataplex.v1
Class Action.IncompatibleDataSchema
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.Action.IncompatibleDataSchema
-
- All Implemented Interfaces:
Action.IncompatibleDataSchemaOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- Action
public static final class Action.IncompatibleDataSchema extends com.google.protobuf.GeneratedMessageV3 implements Action.IncompatibleDataSchemaOrBuilder
Action details for incompatible schemas detected by discovery.
Protobuf typegoogle.cloud.dataplex.v1.Action.IncompatibleDataSchema
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Action.IncompatibleDataSchema.Builder
Action details for incompatible schemas detected by discovery.static class
Action.IncompatibleDataSchema.SchemaChange
Whether the action relates to a schema that is incompatible or modified.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXISTING_SCHEMA_FIELD_NUMBER
static int
NEW_SCHEMA_FIELD_NUMBER
static int
SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
static int
SCHEMA_CHANGE_FIELD_NUMBER
static int
TABLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Action.IncompatibleDataSchema
getDefaultInstance()
Action.IncompatibleDataSchema
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.com.google.protobuf.Parser<Action.IncompatibleDataSchema>
getParserForType()
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.int
getSerializedSize()
String
getTable()
The name of the table containing invalid data.com.google.protobuf.ByteString
getTableBytes()
The name of the table containing invalid data.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Action.IncompatibleDataSchema.Builder
newBuilder()
static Action.IncompatibleDataSchema.Builder
newBuilder(Action.IncompatibleDataSchema prototype)
Action.IncompatibleDataSchema.Builder
newBuilderForType()
protected Action.IncompatibleDataSchema.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Action.IncompatibleDataSchema
parseDelimitedFrom(InputStream input)
static Action.IncompatibleDataSchema
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action.IncompatibleDataSchema
parseFrom(byte[] data)
static Action.IncompatibleDataSchema
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action.IncompatibleDataSchema
parseFrom(com.google.protobuf.ByteString data)
static Action.IncompatibleDataSchema
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action.IncompatibleDataSchema
parseFrom(com.google.protobuf.CodedInputStream input)
static Action.IncompatibleDataSchema
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action.IncompatibleDataSchema
parseFrom(InputStream input)
static Action.IncompatibleDataSchema
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action.IncompatibleDataSchema
parseFrom(ByteBuffer data)
static Action.IncompatibleDataSchema
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Action.IncompatibleDataSchema>
parser()
Action.IncompatibleDataSchema.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXISTING_SCHEMA_FIELD_NUMBER
public static final int EXISTING_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEW_SCHEMA_FIELD_NUMBER
public static final int NEW_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_CHANGE_FIELD_NUMBER
public static final int SCHEMA_CHANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Action.IncompatibleDataSchema parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Action.IncompatibleDataSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Action.IncompatibleDataSchema parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Action.IncompatibleDataSchema.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Action.IncompatibleDataSchema.Builder newBuilder()
-
newBuilder
public static Action.IncompatibleDataSchema.Builder newBuilder(Action.IncompatibleDataSchema prototype)
-
toBuilder
public Action.IncompatibleDataSchema.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Action.IncompatibleDataSchema.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Action.IncompatibleDataSchema getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Action.IncompatibleDataSchema> parser()
-
getParserForType
public com.google.protobuf.Parser<Action.IncompatibleDataSchema> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Action.IncompatibleDataSchema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-