Class CompilationResultAction.Assertion.Builder (0.53.0)

public static final class CompilationResultAction.Assertion.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDependencyTargets(Iterable<? extends Target> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.Target>
Returns
Type Description
CompilationResultAction.Assertion.Builder

addAllTags(Iterable<String> values)

public CompilationResultAction.Assertion.Builder addAllTags(Iterable<String> values)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
values Iterable<String>

The tags to add.

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

addDependencyTargets(Target value)

public CompilationResultAction.Assertion.Builder addDependencyTargets(Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
value Target
Returns
Type Description
CompilationResultAction.Assertion.Builder

addDependencyTargets(Target.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Assertion.Builder

addDependencyTargets(int index, Target value)

public CompilationResultAction.Assertion.Builder addDependencyTargets(int index, Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
value Target
Returns
Type Description
CompilationResultAction.Assertion.Builder

addDependencyTargets(int index, Target.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Assertion.Builder

addDependencyTargetsBuilder()

public Target.Builder addDependencyTargetsBuilder()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
Target.Builder

addDependencyTargetsBuilder(int index)

public Target.Builder addDependencyTargetsBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompilationResultAction.Assertion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

addTags(String value)

public CompilationResultAction.Assertion.Builder addTags(String value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
value String

The tags to add.

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

addTagsBytes(ByteString value)

public CompilationResultAction.Assertion.Builder addTagsBytes(ByteString value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
value ByteString

The bytes of the tags to add.

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

build()

public CompilationResultAction.Assertion build()
Returns
Type Description
CompilationResultAction.Assertion

buildPartial()

public CompilationResultAction.Assertion buildPartial()
Returns
Type Description
CompilationResultAction.Assertion

clear()

public CompilationResultAction.Assertion.Builder clear()
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

clearDependencyTargets()

public CompilationResultAction.Assertion.Builder clearDependencyTargets()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
CompilationResultAction.Assertion.Builder

clearDisabled()

public CompilationResultAction.Assertion.Builder clearDisabled()

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CompilationResultAction.Assertion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CompilationResultAction.Assertion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

clearParentAction()

public CompilationResultAction.Assertion.Builder clearParentAction()

The parent action of this assertion. Only set if this assertion was automatically generated.

.google.cloud.dataform.v1beta1.Target parent_action = 5;

Returns
Type Description
CompilationResultAction.Assertion.Builder

clearRelationDescriptor()

public CompilationResultAction.Assertion.Builder clearRelationDescriptor()

Descriptor for the assertion's automatically-generated view and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
CompilationResultAction.Assertion.Builder

clearSelectQuery()

public CompilationResultAction.Assertion.Builder clearSelectQuery()

The SELECT query which must return zero rows in order for this assertion to succeed.

string select_query = 4;

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

clearTags()

public CompilationResultAction.Assertion.Builder clearTags()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

clone()

public CompilationResultAction.Assertion.Builder clone()
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

getDefaultInstanceForType()

public CompilationResultAction.Assertion getDefaultInstanceForType()
Returns
Type Description
CompilationResultAction.Assertion

getDependencyTargets(int index)

public Target getDependencyTargets(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target

getDependencyTargetsBuilder(int index)

public Target.Builder getDependencyTargetsBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target.Builder

getDependencyTargetsBuilderList()

public List<Target.Builder> getDependencyTargetsBuilderList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<Builder>

getDependencyTargetsCount()

public int getDependencyTargetsCount()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
int

getDependencyTargetsList()

public List<Target> getDependencyTargetsList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<Target>

getDependencyTargetsOrBuilder(int index)

public TargetOrBuilder getDependencyTargetsOrBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetOrBuilder

getDependencyTargetsOrBuilderList()

public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.TargetOrBuilder>

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisabled()

public boolean getDisabled()

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Returns
Type Description
boolean

The disabled.

getParentAction()

public Target getParentAction()

The parent action of this assertion. Only set if this assertion was automatically generated.

.google.cloud.dataform.v1beta1.Target parent_action = 5;

Returns
Type Description
Target

The parentAction.

getParentActionBuilder()

public Target.Builder getParentActionBuilder()

The parent action of this assertion. Only set if this assertion was automatically generated.

.google.cloud.dataform.v1beta1.Target parent_action = 5;

Returns
Type Description
Target.Builder

getParentActionOrBuilder()

public TargetOrBuilder getParentActionOrBuilder()

The parent action of this assertion. Only set if this assertion was automatically generated.

.google.cloud.dataform.v1beta1.Target parent_action = 5;

Returns
Type Description
TargetOrBuilder

getRelationDescriptor()

public RelationDescriptor getRelationDescriptor()

Descriptor for the assertion's automatically-generated view and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
RelationDescriptor

The relationDescriptor.

getRelationDescriptorBuilder()

public RelationDescriptor.Builder getRelationDescriptorBuilder()

Descriptor for the assertion's automatically-generated view and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
RelationDescriptor.Builder

getRelationDescriptorOrBuilder()

public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()

Descriptor for the assertion's automatically-generated view and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
RelationDescriptorOrBuilder

getSelectQuery()

public String getSelectQuery()

The SELECT query which must return zero rows in order for this assertion to succeed.

string select_query = 4;

Returns
Type Description
String

The selectQuery.

getSelectQueryBytes()

public ByteString getSelectQueryBytes()

The SELECT query which must return zero rows in order for this assertion to succeed.

string select_query = 4;

Returns
Type Description
ByteString

The bytes for selectQuery.

getTags(int index)

public String getTags(int index)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public ByteString getTagsBytes(int index)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public int getTagsCount()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
ProtocolStringList

A list containing the tags.

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;

Returns
Type Description
boolean

Whether the parentAction field is set.

hasRelationDescriptor()

public boolean hasRelationDescriptor()

Descriptor for the assertion's automatically-generated view and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
boolean

Whether the relationDescriptor field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompilationResultAction.Assertion other)

public CompilationResultAction.Assertion.Builder mergeFrom(CompilationResultAction.Assertion other)
Parameter
Name Description
other CompilationResultAction.Assertion
Returns
Type Description
CompilationResultAction.Assertion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompilationResultAction.Assertion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompilationResultAction.Assertion.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

mergeParentAction(Target value)

public CompilationResultAction.Assertion.Builder mergeParentAction(Target value)

The parent action of this assertion. Only set if this assertion was automatically generated.

.google.cloud.dataform.v1beta1.Target parent_action = 5;

Parameter
Name Description
value Target
Returns
Type Description
CompilationResultAction.Assertion.Builder

mergeRelationDescriptor(RelationDescriptor value)

public CompilationResultAction.Assertion.Builder mergeRelationDescriptor(RelationDescriptor value)

Descriptor for the assertion's automatically-generated view and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Parameter
Name Description
value RelationDescriptor
Returns
Type Description
CompilationResultAction.Assertion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResultAction.Assertion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

removeDependencyTargets(int index)

public CompilationResultAction.Assertion.Builder removeDependencyTargets(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
CompilationResultAction.Assertion.Builder

setDependencyTargets(int index, Target value)

public CompilationResultAction.Assertion.Builder setDependencyTargets(int index, Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
value Target
Returns
Type Description
CompilationResultAction.Assertion.Builder

setDependencyTargets(int index, Target.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Assertion.Builder

setDisabled(boolean value)

public CompilationResultAction.Assertion.Builder setDisabled(boolean value)

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CompilationResultAction.Assertion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

setParentAction(Target value)

public CompilationResultAction.Assertion.Builder setParentAction(Target value)

The parent action of this assertion. Only set if this assertion was automatically generated.

.google.cloud.dataform.v1beta1.Target parent_action = 5;

Parameter
Name Description
value Target
Returns
Type Description
CompilationResultAction.Assertion.Builder

setParentAction(Target.Builder builderForValue)

public CompilationResultAction.Assertion.Builder setParentAction(Target.Builder builderForValue)

The parent action of this assertion. Only set if this assertion was automatically generated.

.google.cloud.dataform.v1beta1.Target parent_action = 5;

Parameter
Name Description
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Assertion.Builder

setRelationDescriptor(RelationDescriptor value)

public CompilationResultAction.Assertion.Builder setRelationDescriptor(RelationDescriptor value)

Descriptor for the assertion's automatically-generated view and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Parameter
Name Description
value RelationDescriptor
Returns
Type Description
CompilationResultAction.Assertion.Builder

setRelationDescriptor(RelationDescriptor.Builder builderForValue)

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;

Parameter
Name Description
builderForValue RelationDescriptor.Builder
Returns
Type Description
CompilationResultAction.Assertion.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CompilationResultAction.Assertion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

setSelectQuery(String value)

public CompilationResultAction.Assertion.Builder setSelectQuery(String value)

The SELECT query which must return zero rows in order for this assertion to succeed.

string select_query = 4;

Parameter
Name Description
value String

The selectQuery to set.

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

setSelectQueryBytes(ByteString value)

public CompilationResultAction.Assertion.Builder setSelectQueryBytes(ByteString value)

The SELECT query which must return zero rows in order for this assertion to succeed.

string select_query = 4;

Parameter
Name Description
value ByteString

The bytes for selectQuery to set.

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

setTags(int index, String value)

public CompilationResultAction.Assertion.Builder setTags(int index, String value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The tags to set.

Returns
Type Description
CompilationResultAction.Assertion.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResultAction.Assertion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides