Class CompilationResultAction (0.42.0)

public final class CompilationResultAction extends GeneratedMessageV3 implements CompilationResultActionOrBuilder

Represents a single Dataform action in a compilation result.

Protobuf type google.cloud.dataform.v1alpha2.CompilationResultAction

Static Fields

ASSERTION_FIELD_NUMBER

public static final int ASSERTION_FIELD_NUMBER
Field Value
Type Description
int

CANONICAL_TARGET_FIELD_NUMBER

public static final int CANONICAL_TARGET_FIELD_NUMBER
Field Value
Type Description
int

DECLARATION_FIELD_NUMBER

public static final int DECLARATION_FIELD_NUMBER
Field Value
Type Description
int

FILE_PATH_FIELD_NUMBER

public static final int FILE_PATH_FIELD_NUMBER
Field Value
Type Description
int

OPERATIONS_FIELD_NUMBER

public static final int OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

RELATION_FIELD_NUMBER

public static final int RELATION_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompilationResultAction getDefaultInstance()
Returns
Type Description
CompilationResultAction

getDescriptor()

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

newBuilder()

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

newBuilder(CompilationResultAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAssertion()

public CompilationResultAction.Assertion getAssertion()

The assertion executed by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6;

Returns
Type Description
CompilationResultAction.Assertion

The assertion.

getAssertionOrBuilder()

public CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder()

The assertion executed by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6;

Returns
Type Description
CompilationResultAction.AssertionOrBuilder

getCanonicalTarget()

public Target getCanonicalTarget()

The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2;

Returns
Type Description
Target

The canonicalTarget.

getCanonicalTargetOrBuilder()

public TargetOrBuilder getCanonicalTargetOrBuilder()

The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2;

Returns
Type Description
TargetOrBuilder

getCompiledObjectCase()

public CompilationResultAction.CompiledObjectCase getCompiledObjectCase()
Returns
Type Description
CompilationResultAction.CompiledObjectCase

getDeclaration()

public CompilationResultAction.Declaration getDeclaration()

The declaration declared by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7;

Returns
Type Description
CompilationResultAction.Declaration

The declaration.

getDeclarationOrBuilder()

public CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder()

The declaration declared by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7;

Returns
Type Description
CompilationResultAction.DeclarationOrBuilder

getDefaultInstanceForType()

public CompilationResultAction getDefaultInstanceForType()
Returns
Type Description
CompilationResultAction

getFilePath()

public String getFilePath()

The full path including filename in which this action is located, relative to the workspace root.

string file_path = 3;

Returns
Type Description
String

The filePath.

getFilePathBytes()

public ByteString getFilePathBytes()

The full path including filename in which this action is located, relative to the workspace root.

string file_path = 3;

Returns
Type Description
ByteString

The bytes for filePath.

getOperations()

public CompilationResultAction.Operations getOperations()

The database operations executed by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5;

Returns
Type Description
CompilationResultAction.Operations

The operations.

getOperationsOrBuilder()

public CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder()

The database operations executed by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5;

Returns
Type Description
CompilationResultAction.OperationsOrBuilder

getParserForType()

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

getRelation()

public CompilationResultAction.Relation getRelation()

The database relation created/updated by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4;

Returns
Type Description
CompilationResultAction.Relation

The relation.

getRelationOrBuilder()

public CompilationResultAction.RelationOrBuilder getRelationOrBuilder()

The database relation created/updated by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4;

Returns
Type Description
CompilationResultAction.RelationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTarget()

public Target getTarget()

This action's identifier. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target target = 1;

Returns
Type Description
Target

The target.

getTargetOrBuilder()

public TargetOrBuilder getTargetOrBuilder()

This action's identifier. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target target = 1;

Returns
Type Description
TargetOrBuilder

hasAssertion()

public boolean hasAssertion()

The assertion executed by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6;

Returns
Type Description
boolean

Whether the assertion field is set.

hasCanonicalTarget()

public boolean hasCanonicalTarget()

The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2;

Returns
Type Description
boolean

Whether the canonicalTarget field is set.

hasDeclaration()

public boolean hasDeclaration()

The declaration declared by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7;

Returns
Type Description
boolean

Whether the declaration field is set.

hasOperations()

public boolean hasOperations()

The database operations executed by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5;

Returns
Type Description
boolean

Whether the operations field is set.

hasRelation()

public boolean hasRelation()

The database relation created/updated by this action.

.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4;

Returns
Type Description
boolean

Whether the relation field is set.

hasTarget()

public boolean hasTarget()

This action's identifier. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target target = 1;

Returns
Type Description
boolean

Whether the target 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.Builder newBuilderForType()
Returns
Type Description
CompilationResultAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompilationResultAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompilationResultAction.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.Builder toBuilder()
Returns
Type Description
CompilationResultAction.Builder

writeTo(CodedOutputStream output)

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