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.v1alpha2.CompilationResultAction.Assertion
Static Fields
public static final int DEPENDENCY_TARGETS_FIELD_NUMBER
Field Value
public static final int DISABLED_FIELD_NUMBER
Field Value
public static final int PARENT_ACTION_FIELD_NUMBER
Field Value
public static final int RELATION_DESCRIPTOR_FIELD_NUMBER
Field Value
public static final int SELECT_QUERY_FIELD_NUMBER
Field Value
public static final int TAGS_FIELD_NUMBER
Field Value
Static Methods
public static CompilationResultAction.Assertion getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CompilationResultAction.Assertion.Builder newBuilder()
Returns
public static CompilationResultAction.Assertion.Builder newBuilder(CompilationResultAction.Assertion prototype)
Parameter
Returns
public static CompilationResultAction.Assertion parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompilationResultAction.Assertion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CompilationResultAction.Assertion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CompilationResultAction.Assertion> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CompilationResultAction.Assertion getDefaultInstanceForType()
Returns
public Target getDependencyTargets(int index)
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Parameter
Name |
Description |
index |
int
|
Returns
public int getDependencyTargetsCount()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returns
public List<Target> getDependencyTargetsList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returns
public TargetOrBuilder getDependencyTargetsOrBuilder(int index)
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Parameter
Name |
Description |
index |
int
|
Returns
public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dataform.v1alpha2.TargetOrBuilder> |
|
public boolean getDisabled()
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;
Returns
Type |
Description |
boolean |
The disabled.
|
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
Type |
Description |
Target |
The parentAction.
|
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
public Parser<CompilationResultAction.Assertion> getParserForType()
Returns
Overrides
public RelationDescriptor getRelationDescriptor()
Descriptor for the assertion's automatically-generated view and its
columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
Returns
public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
Descriptor for the assertion's automatically-generated view and its
columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
Returns
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.
|
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.
|
public int getSerializedSize()
Returns
Overrides
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.
|
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.
|
public int getTagsCount()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
Returns
Type |
Description |
int |
The count of tags.
|
public ProtocolStringList getTagsList()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Type |
Description |
boolean |
Whether the parentAction field is set.
|
public boolean hasRelationDescriptor()
Descriptor for the assertion's automatically-generated view and its
columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
Returns
Type |
Description |
boolean |
Whether the relationDescriptor field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CompilationResultAction.Assertion.Builder newBuilderForType()
Returns
protected CompilationResultAction.Assertion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CompilationResultAction.Assertion.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions