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 |
Type |
Description |
int |
|
public static final int DISABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PARENT_ACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RELATION_DESCRIPTOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SELECT_QUERY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TAGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static CompilationResultAction.Assertion getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CompilationResultAction.Assertion.Builder newBuilder()
public static CompilationResultAction.Assertion.Builder newBuilder(CompilationResultAction.Assertion prototype)
public static CompilationResultAction.Assertion parseDelimitedFrom(InputStream input)
public static CompilationResultAction.Assertion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Assertion parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static CompilationResultAction.Assertion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Assertion parseFrom(ByteString data)
public static CompilationResultAction.Assertion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Assertion parseFrom(CodedInputStream input)
public static CompilationResultAction.Assertion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Assertion parseFrom(InputStream input)
public static CompilationResultAction.Assertion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Assertion parseFrom(ByteBuffer data)
public static CompilationResultAction.Assertion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CompilationResultAction.Assertion> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public CompilationResultAction.Assertion getDefaultInstanceForType()
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 |
Type |
Description |
Target |
|
public int getDependencyTargetsCount()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returns |
Type |
Description |
int |
|
public List<Target> getDependencyTargetsList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
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
|
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;
public Parser<CompilationResultAction.Assertion> getParserForType()
Overrides
public RelationDescriptor getRelationDescriptor()
Descriptor for the assertion's automatically-generated view and its
columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
Descriptor for the assertion's automatically-generated view and its
columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
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 |
Type |
Description |
int |
|
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;
public final UnknownFieldSet getUnknownFields()
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 |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CompilationResultAction.Assertion.Builder newBuilderForType()
protected CompilationResultAction.Assertion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public CompilationResultAction.Assertion.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides