Class CompilationResultAction

  • All Implemented Interfaces:
    CompilationResultActionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class CompilationResultAction
    extends com.google.protobuf.GeneratedMessageV3
    implements CompilationResultActionOrBuilder
     Represents a single Dataform action in a compilation result.
     
    Protobuf type google.cloud.dataform.v1alpha2.CompilationResultAction
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasTarget

        public boolean hasTarget()
         This action's identifier. Unique within the compilation result.
         
        .google.cloud.dataform.v1alpha2.Target target = 1;
        Specified by:
        hasTarget in interface CompilationResultActionOrBuilder
        Returns:
        Whether the target field is set.
      • getTarget

        public Target getTarget()
         This action's identifier. Unique within the compilation result.
         
        .google.cloud.dataform.v1alpha2.Target target = 1;
        Specified by:
        getTarget in interface CompilationResultActionOrBuilder
        Returns:
        The target.
      • 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;
        Specified by:
        hasCanonicalTarget in interface CompilationResultActionOrBuilder
        Returns:
        Whether the canonicalTarget field is set.
      • 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;
        Specified by:
        getCanonicalTarget in interface CompilationResultActionOrBuilder
        Returns:
        The canonicalTarget.
      • getFilePath

        public String getFilePath()
         The full path including filename in which this action is located, relative
         to the workspace root.
         
        string file_path = 3;
        Specified by:
        getFilePath in interface CompilationResultActionOrBuilder
        Returns:
        The filePath.
      • getFilePathBytes

        public com.google.protobuf.ByteString getFilePathBytes()
         The full path including filename in which this action is located, relative
         to the workspace root.
         
        string file_path = 3;
        Specified by:
        getFilePathBytes in interface CompilationResultActionOrBuilder
        Returns:
        The bytes for filePath.
      • hasRelation

        public boolean hasRelation()
         The database relation created/updated by this action.
         
        .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4;
        Specified by:
        hasRelation in interface CompilationResultActionOrBuilder
        Returns:
        Whether the relation field is set.
      • hasOperations

        public boolean hasOperations()
         The database operations executed by this action.
         
        .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5;
        Specified by:
        hasOperations in interface CompilationResultActionOrBuilder
        Returns:
        Whether the operations field is set.
      • hasAssertion

        public boolean hasAssertion()
         The assertion executed by this action.
         
        .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6;
        Specified by:
        hasAssertion in interface CompilationResultActionOrBuilder
        Returns:
        Whether the assertion field is set.
      • hasDeclaration

        public boolean hasDeclaration()
         The declaration declared by this action.
         
        .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7;
        Specified by:
        hasDeclaration in interface CompilationResultActionOrBuilder
        Returns:
        Whether the declaration field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CompilationResultAction parseFrom​(ByteBuffer data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CompilationResultAction parseFrom​(ByteBuffer data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CompilationResultAction parseFrom​(com.google.protobuf.ByteString data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CompilationResultAction parseFrom​(com.google.protobuf.ByteString data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CompilationResultAction parseFrom​(byte[] data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CompilationResultAction parseFrom​(byte[] data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public CompilationResultAction.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CompilationResultAction.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CompilationResultAction.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CompilationResultAction> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CompilationResultAction getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder