Class CompilationResultAction.Assertion.Builder (0.2.1)

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.v1alpha2.CompilationResultAction.Assertion

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1alpha2.Target dependency_targets = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataform.v1alpha2.Target>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The tags to add.

Returns
TypeDescription
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.v1alpha2.Target dependency_targets = 1;

Parameter
NameDescription
valueTarget
Returns
TypeDescription
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.v1alpha2.Target dependency_targets = 1;

Parameter
NameDescription
builderForValueTarget.Builder
Returns
TypeDescription
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.v1alpha2.Target dependency_targets = 1;

Parameters
NameDescription
indexint
valueTarget
Returns
TypeDescription
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.v1alpha2.Target dependency_targets = 1;

Parameters
NameDescription
indexint
builderForValueTarget.Builder
Returns
TypeDescription
CompilationResultAction.Assertion.Builder

addDependencyTargetsBuilder()

public Target.Builder addDependencyTargetsBuilder()

A list of actions that this action depends on.

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

Returns
TypeDescription
Target.Builder

addDependencyTargetsBuilder(int index)

public Target.Builder addDependencyTargetsBuilder(int index)

A list of actions that this action depends on.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Target.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompilationResultAction.Assertion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The tags to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the tags to add.

Returns
TypeDescription
CompilationResultAction.Assertion.Builder

This builder for chaining.

build()

public CompilationResultAction.Assertion build()
Returns
TypeDescription
CompilationResultAction.Assertion

buildPartial()

public CompilationResultAction.Assertion buildPartial()
Returns
TypeDescription
CompilationResultAction.Assertion

clear()

public CompilationResultAction.Assertion.Builder clear()
Returns
TypeDescription
CompilationResultAction.Assertion.Builder
Overrides

clearDependencyTargets()

public CompilationResultAction.Assertion.Builder clearDependencyTargets()

A list of actions that this action depends on.

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

Returns
TypeDescription
CompilationResultAction.Assertion.Builder

clearDisabled()

public CompilationResultAction.Assertion.Builder clearDisabled()

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

bool disabled = 2;

Returns
TypeDescription
CompilationResultAction.Assertion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CompilationResultAction.Assertion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CompilationResultAction.Assertion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CompilationResultAction.Assertion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1alpha2.Target parent_action = 5;

Returns
TypeDescription
CompilationResultAction.Assertion.Builder

clearRelationDescriptor()

public CompilationResultAction.Assertion.Builder clearRelationDescriptor()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CompilationResultAction.Assertion.Builder

This builder for chaining.

clone()

public CompilationResultAction.Assertion.Builder clone()
Returns
TypeDescription
CompilationResultAction.Assertion.Builder
Overrides

getDefaultInstanceForType()

public CompilationResultAction.Assertion getDefaultInstanceForType()
Returns
TypeDescription
CompilationResultAction.Assertion

getDependencyTargets(int index)

public Target getDependencyTargets(int index)

A list of actions that this action depends on.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Target

getDependencyTargetsBuilder(int index)

public Target.Builder getDependencyTargetsBuilder(int index)

A list of actions that this action depends on.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Target.Builder

getDependencyTargetsBuilderList()

public List<Target.Builder> getDependencyTargetsBuilderList()

A list of actions that this action depends on.

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

Returns
TypeDescription
List<Builder>

getDependencyTargetsCount()

public int getDependencyTargetsCount()

A list of actions that this action depends on.

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

Returns
TypeDescription
int

getDependencyTargetsList()

public List<Target> getDependencyTargetsList()

A list of actions that this action depends on.

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

Returns
TypeDescription
List<Target>

getDependencyTargetsOrBuilder(int index)

public TargetOrBuilder getDependencyTargetsOrBuilder(int index)

A list of actions that this action depends on.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetOrBuilder

getDependencyTargetsOrBuilderList()

public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()

A list of actions that this action depends on.

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

Returns
TypeDescription
List<? extends com.google.cloud.dataform.v1alpha2.TargetOrBuilder>

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisabled()

public boolean getDisabled()

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

bool disabled = 2;

Returns
TypeDescription
boolean

The disabled.

getParentAction()

public Target getParentAction()

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

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

Returns
TypeDescription
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.v1alpha2.Target parent_action = 5;

Returns
TypeDescription
Target.Builder

getParentActionOrBuilder()

public TargetOrBuilder getParentActionOrBuilder()

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

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

Returns
TypeDescription
TargetOrBuilder

getRelationDescriptor()

public RelationDescriptor getRelationDescriptor()

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

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

Returns
TypeDescription
RelationDescriptor

The relationDescriptor.

getRelationDescriptorBuilder()

public RelationDescriptor.Builder getRelationDescriptorBuilder()

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

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

Returns
TypeDescription
RelationDescriptor.Builder

getRelationDescriptorOrBuilder()

public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
TypeDescription
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.v1alpha2.Target parent_action = 5;

Returns
TypeDescription
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.v1alpha2.RelationDescriptor relation_descriptor = 6;

Returns
TypeDescription
boolean

Whether the relationDescriptor field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CompilationResultAction.Assertion other)

public CompilationResultAction.Assertion.Builder mergeFrom(CompilationResultAction.Assertion other)
Parameter
NameDescription
otherCompilationResultAction.Assertion
Returns
TypeDescription
CompilationResultAction.Assertion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompilationResultAction.Assertion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompilationResultAction.Assertion.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CompilationResultAction.Assertion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1alpha2.Target parent_action = 5;

Parameter
NameDescription
valueTarget
Returns
TypeDescription
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.v1alpha2.RelationDescriptor relation_descriptor = 6;

Parameter
NameDescription
valueRelationDescriptor
Returns
TypeDescription
CompilationResultAction.Assertion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResultAction.Assertion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1alpha2.Target dependency_targets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1alpha2.Target dependency_targets = 1;

Parameters
NameDescription
indexint
valueTarget
Returns
TypeDescription
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.v1alpha2.Target dependency_targets = 1;

Parameters
NameDescription
indexint
builderForValueTarget.Builder
Returns
TypeDescription
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
NameDescription
valueboolean

The disabled to set.

Returns
TypeDescription
CompilationResultAction.Assertion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CompilationResultAction.Assertion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1alpha2.Target parent_action = 5;

Parameter
NameDescription
valueTarget
Returns
TypeDescription
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.v1alpha2.Target parent_action = 5;

Parameter
NameDescription
builderForValueTarget.Builder
Returns
TypeDescription
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.v1alpha2.RelationDescriptor relation_descriptor = 6;

Parameter
NameDescription
valueRelationDescriptor
Returns
TypeDescription
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.v1alpha2.RelationDescriptor relation_descriptor = 6;

Parameter
NameDescription
builderForValueRelationDescriptor.Builder
Returns
TypeDescription
CompilationResultAction.Assertion.Builder

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

public CompilationResultAction.Assertion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The selectQuery to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for selectQuery to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The tags to set.

Returns
TypeDescription
CompilationResultAction.Assertion.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResultAction.Assertion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompilationResultAction.Assertion.Builder
Overrides