Class CompilationResultAction.Assertion (0.47.0)

public static final class CompilationResultAction.Assertion extends GeneratedMessageV3 implements CompilationResultAction.AssertionOrBuilder

Represents an assertion upon a SQL query which is required return zero rows.

Protobuf type google.cloud.dataform.v1beta1.CompilationResultAction.Assertion

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CompilationResultAction.Assertion

Static Fields

DEPENDENCY_TARGETS_FIELD_NUMBER

public static final int DEPENDENCY_TARGETS_FIELD_NUMBER
Field Value
Type Description
int

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
Type Description
int

PARENT_ACTION_FIELD_NUMBER

public static final int PARENT_ACTION_FIELD_NUMBER
Field Value
Type Description
int

RELATION_DESCRIPTOR_FIELD_NUMBER

public static final int RELATION_DESCRIPTOR_FIELD_NUMBER
Field Value
Type Description
int

SELECT_QUERY_FIELD_NUMBER

public static final int SELECT_QUERY_FIELD_NUMBER
Field Value
Type Description
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompilationResultAction.Assertion getDefaultInstance()
Returns
Type Description
CompilationResultAction.Assertion

getDescriptor()

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

newBuilder()

public static CompilationResultAction.Assertion.Builder newBuilder()
Returns
Type Description
CompilationResultAction.Assertion.Builder

newBuilder(CompilationResultAction.Assertion prototype)

public static CompilationResultAction.Assertion.Builder newBuilder(CompilationResultAction.Assertion prototype)
Parameter
Name Description
prototype CompilationResultAction.Assertion
Returns
Type Description
CompilationResultAction.Assertion.Builder

parseDelimitedFrom(InputStream input)

public static CompilationResultAction.Assertion parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Assertion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CompilationResultAction.Assertion parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Assertion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompilationResultAction.Assertion parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Assertion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompilationResultAction.Assertion parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Assertion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CompilationResultAction.Assertion parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Assertion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CompilationResultAction.Assertion parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Assertion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Assertion
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CompilationResultAction.Assertion> parser()
Returns
Type Description
Parser<Assertion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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>

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.

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

getParserForType()

public Parser<CompilationResultAction.Assertion> getParserForType()
Returns
Type Description
Parser<Assertion>
Overrides

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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CompilationResultAction.Assertion.Builder newBuilderForType()
Returns
Type Description
CompilationResultAction.Assertion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompilationResultAction.Assertion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompilationResultAction.Assertion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CompilationResultAction.Assertion.Builder toBuilder()
Returns
Type Description
CompilationResultAction.Assertion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException