Class CompilationResultAction.Relation.IncrementalTableConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig
-
- All Implemented Interfaces:
CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- CompilationResultAction.Relation
public static final class CompilationResultAction.Relation.IncrementalTableConfig extends com.google.protobuf.GeneratedMessageV3 implements CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
Contains settings for relations of type `INCREMENTAL_TABLE`.
Protobuf typegoogle.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Contains settings for relations of type `INCREMENTAL_TABLE`.-
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
INCREMENTAL_POST_OPERATIONS_FIELD_NUMBER
static int
INCREMENTAL_PRE_OPERATIONS_FIELD_NUMBER
static int
INCREMENTAL_SELECT_QUERY_FIELD_NUMBER
static int
REFRESH_DISABLED_FIELD_NUMBER
static int
UNIQUE_KEY_PARTS_FIELD_NUMBER
static int
UPDATE_PARTITION_FILTER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static CompilationResultAction.Relation.IncrementalTableConfig
getDefaultInstance()
CompilationResultAction.Relation.IncrementalTableConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getIncrementalPostOperations(int index)
SQL statements to be executed after inserting new rows into the relation.com.google.protobuf.ByteString
getIncrementalPostOperationsBytes(int index)
SQL statements to be executed after inserting new rows into the relation.int
getIncrementalPostOperationsCount()
SQL statements to be executed after inserting new rows into the relation.com.google.protobuf.ProtocolStringList
getIncrementalPostOperationsList()
SQL statements to be executed after inserting new rows into the relation.String
getIncrementalPreOperations(int index)
SQL statements to be executed before inserting new rows into the relation.com.google.protobuf.ByteString
getIncrementalPreOperationsBytes(int index)
SQL statements to be executed before inserting new rows into the relation.int
getIncrementalPreOperationsCount()
SQL statements to be executed before inserting new rows into the relation.com.google.protobuf.ProtocolStringList
getIncrementalPreOperationsList()
SQL statements to be executed before inserting new rows into the relation.String
getIncrementalSelectQuery()
The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed.com.google.protobuf.ByteString
getIncrementalSelectQueryBytes()
The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed.com.google.protobuf.Parser<CompilationResultAction.Relation.IncrementalTableConfig>
getParserForType()
boolean
getRefreshDisabled()
Whether this table should be protected from being refreshed.int
getSerializedSize()
String
getUniqueKeyParts(int index)
A set of columns or SQL expressions used to define row uniqueness.com.google.protobuf.ByteString
getUniqueKeyPartsBytes(int index)
A set of columns or SQL expressions used to define row uniqueness.int
getUniqueKeyPartsCount()
A set of columns or SQL expressions used to define row uniqueness.com.google.protobuf.ProtocolStringList
getUniqueKeyPartsList()
A set of columns or SQL expressions used to define row uniqueness.String
getUpdatePartitionFilter()
A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information).com.google.protobuf.ByteString
getUpdatePartitionFilterBytes()
A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information).int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static CompilationResultAction.Relation.IncrementalTableConfig.Builder
newBuilder()
static CompilationResultAction.Relation.IncrementalTableConfig.Builder
newBuilder(CompilationResultAction.Relation.IncrementalTableConfig prototype)
CompilationResultAction.Relation.IncrementalTableConfig.Builder
newBuilderForType()
protected CompilationResultAction.Relation.IncrementalTableConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static CompilationResultAction.Relation.IncrementalTableConfig
parseDelimitedFrom(InputStream input)
static CompilationResultAction.Relation.IncrementalTableConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(byte[] data)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(com.google.protobuf.ByteString data)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(InputStream input)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(ByteBuffer data)
static CompilationResultAction.Relation.IncrementalTableConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CompilationResultAction.Relation.IncrementalTableConfig>
parser()
CompilationResultAction.Relation.IncrementalTableConfig.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
-
INCREMENTAL_SELECT_QUERY_FIELD_NUMBER
public static final int INCREMENTAL_SELECT_QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REFRESH_DISABLED_FIELD_NUMBER
public static final int REFRESH_DISABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNIQUE_KEY_PARTS_FIELD_NUMBER
public static final int UNIQUE_KEY_PARTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_PARTITION_FILTER_FIELD_NUMBER
public static final int UPDATE_PARTITION_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCREMENTAL_PRE_OPERATIONS_FIELD_NUMBER
public static final int INCREMENTAL_PRE_OPERATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCREMENTAL_POST_OPERATIONS_FIELD_NUMBER
public static final int INCREMENTAL_POST_OPERATIONS_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
-
getIncrementalSelectQuery
public String getIncrementalSelectQuery()
The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed.
string incremental_select_query = 1;
- Specified by:
getIncrementalSelectQuery
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- The incrementalSelectQuery.
-
getIncrementalSelectQueryBytes
public com.google.protobuf.ByteString getIncrementalSelectQueryBytes()
The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed.
string incremental_select_query = 1;
- Specified by:
getIncrementalSelectQueryBytes
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- The bytes for incrementalSelectQuery.
-
getRefreshDisabled
public boolean getRefreshDisabled()
Whether this table should be protected from being refreshed.
bool refresh_disabled = 2;
- Specified by:
getRefreshDisabled
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- The refreshDisabled.
-
getUniqueKeyPartsList
public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList()
A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as defined by `unique_key_parts`), only the newly selected rows (as defined by `incremental_select_query`) will be included in the relation.
repeated string unique_key_parts = 3;
- Specified by:
getUniqueKeyPartsList
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- A list containing the uniqueKeyParts.
-
getUniqueKeyPartsCount
public int getUniqueKeyPartsCount()
A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as defined by `unique_key_parts`), only the newly selected rows (as defined by `incremental_select_query`) will be included in the relation.
repeated string unique_key_parts = 3;
- Specified by:
getUniqueKeyPartsCount
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- The count of uniqueKeyParts.
-
getUniqueKeyParts
public String getUniqueKeyParts(int index)
A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as defined by `unique_key_parts`), only the newly selected rows (as defined by `incremental_select_query`) will be included in the relation.
repeated string unique_key_parts = 3;
- Specified by:
getUniqueKeyParts
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The uniqueKeyParts at the given index.
-
getUniqueKeyPartsBytes
public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index)
A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as defined by `unique_key_parts`), only the newly selected rows (as defined by `incremental_select_query`) will be included in the relation.
repeated string unique_key_parts = 3;
- Specified by:
getUniqueKeyPartsBytes
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the uniqueKeyParts at the given index.
-
getUpdatePartitionFilter
public String getUpdatePartitionFilter()
A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information).
string update_partition_filter = 4;
- Specified by:
getUpdatePartitionFilter
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- The updatePartitionFilter.
-
getUpdatePartitionFilterBytes
public com.google.protobuf.ByteString getUpdatePartitionFilterBytes()
A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information).
string update_partition_filter = 4;
- Specified by:
getUpdatePartitionFilterBytes
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- The bytes for updatePartitionFilter.
-
getIncrementalPreOperationsList
public com.google.protobuf.ProtocolStringList getIncrementalPreOperationsList()
SQL statements to be executed before inserting new rows into the relation.
repeated string incremental_pre_operations = 5;
- Specified by:
getIncrementalPreOperationsList
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- A list containing the incrementalPreOperations.
-
getIncrementalPreOperationsCount
public int getIncrementalPreOperationsCount()
SQL statements to be executed before inserting new rows into the relation.
repeated string incremental_pre_operations = 5;
- Specified by:
getIncrementalPreOperationsCount
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- The count of incrementalPreOperations.
-
getIncrementalPreOperations
public String getIncrementalPreOperations(int index)
SQL statements to be executed before inserting new rows into the relation.
repeated string incremental_pre_operations = 5;
- Specified by:
getIncrementalPreOperations
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The incrementalPreOperations at the given index.
-
getIncrementalPreOperationsBytes
public com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index)
SQL statements to be executed before inserting new rows into the relation.
repeated string incremental_pre_operations = 5;
- Specified by:
getIncrementalPreOperationsBytes
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the incrementalPreOperations at the given index.
-
getIncrementalPostOperationsList
public com.google.protobuf.ProtocolStringList getIncrementalPostOperationsList()
SQL statements to be executed after inserting new rows into the relation.
repeated string incremental_post_operations = 6;
- Specified by:
getIncrementalPostOperationsList
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- A list containing the incrementalPostOperations.
-
getIncrementalPostOperationsCount
public int getIncrementalPostOperationsCount()
SQL statements to be executed after inserting new rows into the relation.
repeated string incremental_post_operations = 6;
- Specified by:
getIncrementalPostOperationsCount
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Returns:
- The count of incrementalPostOperations.
-
getIncrementalPostOperations
public String getIncrementalPostOperations(int index)
SQL statements to be executed after inserting new rows into the relation.
repeated string incremental_post_operations = 6;
- Specified by:
getIncrementalPostOperations
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The incrementalPostOperations at the given index.
-
getIncrementalPostOperationsBytes
public com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index)
SQL statements to be executed after inserting new rows into the relation.
repeated string incremental_post_operations = 6;
- Specified by:
getIncrementalPostOperationsBytes
in interfaceCompilationResultAction.Relation.IncrementalTableConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the incrementalPostOperations at the given index.
-
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 CompilationResultAction.Relation.IncrementalTableConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResultAction.Relation.IncrementalTableConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CompilationResultAction.Relation.IncrementalTableConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CompilationResultAction.Relation.IncrementalTableConfig.Builder newBuilder()
-
newBuilder
public static CompilationResultAction.Relation.IncrementalTableConfig.Builder newBuilder(CompilationResultAction.Relation.IncrementalTableConfig prototype)
-
toBuilder
public CompilationResultAction.Relation.IncrementalTableConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CompilationResultAction.Relation.IncrementalTableConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CompilationResultAction.Relation.IncrementalTableConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<CompilationResultAction.Relation.IncrementalTableConfig> 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 CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-