Class CompilationResultAction.Assertion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Assertion.Builder>
com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder
- All Implemented Interfaces:
CompilationResultAction.AssertionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CompilationResultAction.Assertion
public static final class CompilationResultAction.Assertion.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Assertion.Builder>
implements CompilationResultAction.AssertionOrBuilder
Represents an assertion upon a SQL query which is required return zero rows.Protobuf type
google.cloud.dataform.v1beta1.CompilationResultAction.Assertion-
Method Summary
Modifier and TypeMethodDescriptionaddAllDependencyTargets(Iterable<? extends Target> values) A list of actions that this action depends on.addAllTags(Iterable<String> values) Arbitrary, user-defined tags on this action.addDependencyTargets(int index, Target value) A list of actions that this action depends on.addDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.addDependencyTargets(Target value) A list of actions that this action depends on.addDependencyTargets(Target.Builder builderForValue) A list of actions that this action depends on.A list of actions that this action depends on.addDependencyTargetsBuilder(int index) A list of actions that this action depends on.Arbitrary, user-defined tags on this action.addTagsBytes(com.google.protobuf.ByteString value) Arbitrary, user-defined tags on this action.build()clear()A list of actions that this action depends on.Whether this action is disabled (i.e. should not be run).The parent action of this assertion.Descriptor for the assertion's automatically-generated view and its columns.The SELECT query which must return zero rows in order for this assertion to succeed.Arbitrary, user-defined tags on this action.getDependencyTargets(int index) A list of actions that this action depends on.getDependencyTargetsBuilder(int index) A list of actions that this action depends on.A list of actions that this action depends on.intA list of actions that this action depends on.A list of actions that this action depends on.getDependencyTargetsOrBuilder(int index) A list of actions that this action depends on.List<? extends TargetOrBuilder>A list of actions that this action depends on.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether this action is disabled (i.e. should not be run).The parent action of this assertion.The parent action of this assertion.The parent action of this assertion.Descriptor for the assertion's automatically-generated view and its columns.Descriptor for the assertion's automatically-generated view and its columns.Descriptor for the assertion's automatically-generated view and its columns.The SELECT query which must return zero rows in order for this assertion to succeed.com.google.protobuf.ByteStringThe SELECT query which must return zero rows in order for this assertion to succeed.getTags(int index) Arbitrary, user-defined tags on this action.com.google.protobuf.ByteStringgetTagsBytes(int index) Arbitrary, user-defined tags on this action.intArbitrary, user-defined tags on this action.com.google.protobuf.ProtocolStringListArbitrary, user-defined tags on this action.booleanThe parent action of this assertion.booleanDescriptor for the assertion's automatically-generated view and its columns.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParentAction(Target value) The parent action of this assertion.Descriptor for the assertion's automatically-generated view and its columns.removeDependencyTargets(int index) A list of actions that this action depends on.setDependencyTargets(int index, Target value) A list of actions that this action depends on.setDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.setDisabled(boolean value) Whether this action is disabled (i.e. should not be run).setParentAction(Target value) The parent action of this assertion.setParentAction(Target.Builder builderForValue) The parent action of this assertion.Descriptor for the assertion's automatically-generated view and its columns.setRelationDescriptor(RelationDescriptor.Builder builderForValue) Descriptor for the assertion's automatically-generated view and its columns.setSelectQuery(String value) The SELECT query which must return zero rows in order for this assertion to succeed.setSelectQueryBytes(com.google.protobuf.ByteString value) The SELECT query which must return zero rows in order for this assertion to succeed.Arbitrary, user-defined tags on this action.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<CompilationResultAction.Assertion.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<CompilationResultAction.Assertion.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<CompilationResultAction.Assertion.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<CompilationResultAction.Assertion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Assertion.Builder>
-
mergeFrom
public CompilationResultAction.Assertion.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<CompilationResultAction.Assertion.Builder>- Throws:
IOException
-
getDependencyTargetsList
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsListin interfaceCompilationResultAction.AssertionOrBuilder
-
getDependencyTargetsCount
public int getDependencyTargetsCount()A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsCountin interfaceCompilationResultAction.AssertionOrBuilder
-
getDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsin interfaceCompilationResultAction.AssertionOrBuilder
-
setDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
setDependencyTargets
public CompilationResultAction.Assertion.Builder setDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
addDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
addDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
addDependencyTargets
public CompilationResultAction.Assertion.Builder addDependencyTargets(Target.Builder builderForValue) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
addDependencyTargets
public CompilationResultAction.Assertion.Builder addDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
addAllDependencyTargets
public CompilationResultAction.Assertion.Builder addAllDependencyTargets(Iterable<? extends Target> values) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
clearDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
removeDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
getDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
getDependencyTargetsOrBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsOrBuilderin interfaceCompilationResultAction.AssertionOrBuilder
-
getDependencyTargetsOrBuilderList
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsOrBuilderListin interfaceCompilationResultAction.AssertionOrBuilder
-
addDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
addDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
getDependencyTargetsBuilderList
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; -
hasParentAction
public boolean hasParentAction()The parent action of this assertion. Only set if this assertion was automatically generated.
.google.cloud.dataform.v1beta1.Target parent_action = 5;- Specified by:
hasParentActionin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- Whether the parentAction field is set.
-
getParentAction
The parent action of this assertion. Only set if this assertion was automatically generated.
.google.cloud.dataform.v1beta1.Target parent_action = 5;- Specified by:
getParentActionin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- The parentAction.
-
setParentAction
The parent action of this assertion. Only set if this assertion was automatically generated.
.google.cloud.dataform.v1beta1.Target parent_action = 5; -
setParentAction
The parent action of this assertion. Only set if this assertion was automatically generated.
.google.cloud.dataform.v1beta1.Target parent_action = 5; -
mergeParentAction
The parent action of this assertion. Only set if this assertion was automatically generated.
.google.cloud.dataform.v1beta1.Target parent_action = 5; -
clearParentAction
The parent action of this assertion. Only set if this assertion was automatically generated.
.google.cloud.dataform.v1beta1.Target parent_action = 5; -
getParentActionBuilder
The parent action of this assertion. Only set if this assertion was automatically generated.
.google.cloud.dataform.v1beta1.Target parent_action = 5; -
getParentActionOrBuilder
The parent action of this assertion. Only set if this assertion was automatically generated.
.google.cloud.dataform.v1beta1.Target parent_action = 5;- Specified by:
getParentActionOrBuilderin interfaceCompilationResultAction.AssertionOrBuilder
-
getDisabled
public boolean getDisabled()Whether this action is disabled (i.e. should not be run).
bool disabled = 2;- Specified by:
getDisabledin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- The disabled.
-
setDisabled
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;- Parameters:
value- The disabled to set.- Returns:
- This builder for chaining.
-
clearDisabled
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Specified by:
getTagsListin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Specified by:
getTagsCountin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- The count of tags.
-
getTags
Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Specified by:
getTagsin interfaceCompilationResultAction.AssertionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Specified by:
getTagsBytesin interfaceCompilationResultAction.AssertionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Returns:
- This builder for chaining.
-
addTagsBytes
Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getSelectQuery
The SELECT query which must return zero rows in order for this assertion to succeed.
string select_query = 4;- Specified by:
getSelectQueryin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- The selectQuery.
-
getSelectQueryBytes
public com.google.protobuf.ByteString getSelectQueryBytes()The SELECT query which must return zero rows in order for this assertion to succeed.
string select_query = 4;- Specified by:
getSelectQueryBytesin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- The bytes for selectQuery.
-
setSelectQuery
The SELECT query which must return zero rows in order for this assertion to succeed.
string select_query = 4;- Parameters:
value- The selectQuery to set.- Returns:
- This builder for chaining.
-
clearSelectQuery
The SELECT query which must return zero rows in order for this assertion to succeed.
string select_query = 4;- Returns:
- This builder for chaining.
-
setSelectQueryBytes
public CompilationResultAction.Assertion.Builder setSelectQueryBytes(com.google.protobuf.ByteString value) The SELECT query which must return zero rows in order for this assertion to succeed.
string select_query = 4;- Parameters:
value- The bytes for selectQuery to set.- Returns:
- This builder for chaining.
-
hasRelationDescriptor
public boolean hasRelationDescriptor()Descriptor for the assertion's automatically-generated view and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;- Specified by:
hasRelationDescriptorin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- Whether the relationDescriptor field is set.
-
getRelationDescriptor
Descriptor for the assertion's automatically-generated view and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;- Specified by:
getRelationDescriptorin interfaceCompilationResultAction.AssertionOrBuilder- Returns:
- The relationDescriptor.
-
setRelationDescriptor
Descriptor for the assertion's automatically-generated view and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; -
setRelationDescriptor
public CompilationResultAction.Assertion.Builder setRelationDescriptor(RelationDescriptor.Builder builderForValue) Descriptor for the assertion's automatically-generated view and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; -
mergeRelationDescriptor
Descriptor for the assertion's automatically-generated view and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; -
clearRelationDescriptor
Descriptor for the assertion's automatically-generated view and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; -
getRelationDescriptorBuilder
Descriptor for the assertion's automatically-generated view and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; -
getRelationDescriptorOrBuilder
Descriptor for the assertion's automatically-generated view and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;- Specified by:
getRelationDescriptorOrBuilderin interfaceCompilationResultAction.AssertionOrBuilder
-