Class WorkflowInvocation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataform.v1beta1.WorkflowInvocation
All Implemented Interfaces:
WorkflowInvocationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class WorkflowInvocation extends com.google.protobuf.GeneratedMessage implements WorkflowInvocationOrBuilder
 Represents a single invocation of a compilation result.
 
Protobuf type google.cloud.dataform.v1beta1.WorkflowInvocation
See Also:
  • Field Details

    • COMPILATION_RESULT_FIELD_NUMBER

      public static final int COMPILATION_RESULT_FIELD_NUMBER
      See Also:
    • WORKFLOW_CONFIG_FIELD_NUMBER

      public static final int WORKFLOW_CONFIG_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • INVOCATION_CONFIG_FIELD_NUMBER

      public static final int INVOCATION_CONFIG_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • INVOCATION_TIMING_FIELD_NUMBER

      public static final int INVOCATION_TIMING_FIELD_NUMBER
      See Also:
    • RESOLVED_COMPILATION_RESULT_FIELD_NUMBER

      public static final int RESOLVED_COMPILATION_RESULT_FIELD_NUMBER
      See Also:
    • DATA_ENCRYPTION_STATE_FIELD_NUMBER

      public static final int DATA_ENCRYPTION_STATE_FIELD_NUMBER
      See Also:
    • INTERNAL_METADATA_FIELD_NUMBER

      public static final int INTERNAL_METADATA_FIELD_NUMBER
      See Also:
    • PRIVATE_RESOURCE_METADATA_FIELD_NUMBER

      public static final int PRIVATE_RESOURCE_METADATA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getCompilationSourceCase

      public WorkflowInvocation.CompilationSourceCase getCompilationSourceCase()
      Specified by:
      getCompilationSourceCase in interface WorkflowInvocationOrBuilder
    • hasCompilationResult

      public boolean hasCompilationResult()
       Immutable. The name of the compilation result to use for this invocation.
       Must be in the format
       `projects/*/locations/*/repositories/*/compilationResults/*`.
       
      string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCompilationResult in interface WorkflowInvocationOrBuilder
      Returns:
      Whether the compilationResult field is set.
    • getCompilationResult

      public String getCompilationResult()
       Immutable. The name of the compilation result to use for this invocation.
       Must be in the format
       `projects/*/locations/*/repositories/*/compilationResults/*`.
       
      string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getCompilationResult in interface WorkflowInvocationOrBuilder
      Returns:
      The compilationResult.
    • getCompilationResultBytes

      public com.google.protobuf.ByteString getCompilationResultBytes()
       Immutable. The name of the compilation result to use for this invocation.
       Must be in the format
       `projects/*/locations/*/repositories/*/compilationResults/*`.
       
      string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getCompilationResultBytes in interface WorkflowInvocationOrBuilder
      Returns:
      The bytes for compilationResult.
    • hasWorkflowConfig

      public boolean hasWorkflowConfig()
       Immutable. The name of the workflow config to invoke. Must be in the
       format `projects/*/locations/*/repositories/*/workflowConfigs/*`.
       
      string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      hasWorkflowConfig in interface WorkflowInvocationOrBuilder
      Returns:
      Whether the workflowConfig field is set.
    • getWorkflowConfig

      public String getWorkflowConfig()
       Immutable. The name of the workflow config to invoke. Must be in the
       format `projects/*/locations/*/repositories/*/workflowConfigs/*`.
       
      string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getWorkflowConfig in interface WorkflowInvocationOrBuilder
      Returns:
      The workflowConfig.
    • getWorkflowConfigBytes

      public com.google.protobuf.ByteString getWorkflowConfigBytes()
       Immutable. The name of the workflow config to invoke. Must be in the
       format `projects/*/locations/*/repositories/*/workflowConfigs/*`.
       
      string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getWorkflowConfigBytes in interface WorkflowInvocationOrBuilder
      Returns:
      The bytes for workflowConfig.
    • getName

      public String getName()
       Output only. The workflow invocation's name.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface WorkflowInvocationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The workflow invocation's name.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface WorkflowInvocationOrBuilder
      Returns:
      The bytes for name.
    • hasInvocationConfig

      public boolean hasInvocationConfig()
       Immutable. If left unset, a default InvocationConfig will be used.
       
      .google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasInvocationConfig in interface WorkflowInvocationOrBuilder
      Returns:
      Whether the invocationConfig field is set.
    • getInvocationConfig

      public InvocationConfig getInvocationConfig()
       Immutable. If left unset, a default InvocationConfig will be used.
       
      .google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getInvocationConfig in interface WorkflowInvocationOrBuilder
      Returns:
      The invocationConfig.
    • getInvocationConfigOrBuilder

      public InvocationConfigOrBuilder getInvocationConfigOrBuilder()
       Immutable. If left unset, a default InvocationConfig will be used.
       
      .google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getInvocationConfigOrBuilder in interface WorkflowInvocationOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. This workflow invocation's current state.
       
      .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface WorkflowInvocationOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public WorkflowInvocation.State getState()
       Output only. This workflow invocation's current state.
       
      .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface WorkflowInvocationOrBuilder
      Returns:
      The state.
    • hasInvocationTiming

      public boolean hasInvocationTiming()
       Output only. This workflow invocation's timing details.
       
      .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInvocationTiming in interface WorkflowInvocationOrBuilder
      Returns:
      Whether the invocationTiming field is set.
    • getInvocationTiming

      public Interval getInvocationTiming()
       Output only. This workflow invocation's timing details.
       
      .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInvocationTiming in interface WorkflowInvocationOrBuilder
      Returns:
      The invocationTiming.
    • getInvocationTimingOrBuilder

      public IntervalOrBuilder getInvocationTimingOrBuilder()
       Output only. This workflow invocation's timing details.
       
      .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInvocationTimingOrBuilder in interface WorkflowInvocationOrBuilder
    • getResolvedCompilationResult

      public String getResolvedCompilationResult()
       Output only. The resolved compilation result that was used to create this
       invocation. Will be in the format
       `projects/*/locations/*/repositories/*/compilationResults/*`.
       
      string resolved_compilation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResolvedCompilationResult in interface WorkflowInvocationOrBuilder
      Returns:
      The resolvedCompilationResult.
    • getResolvedCompilationResultBytes

      public com.google.protobuf.ByteString getResolvedCompilationResultBytes()
       Output only. The resolved compilation result that was used to create this
       invocation. Will be in the format
       `projects/*/locations/*/repositories/*/compilationResults/*`.
       
      string resolved_compilation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResolvedCompilationResultBytes in interface WorkflowInvocationOrBuilder
      Returns:
      The bytes for resolvedCompilationResult.
    • hasDataEncryptionState

      public boolean hasDataEncryptionState()
       Output only. Only set if the repository has a KMS Key.
       
      .google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDataEncryptionState in interface WorkflowInvocationOrBuilder
      Returns:
      Whether the dataEncryptionState field is set.
    • getDataEncryptionState

      public DataEncryptionState getDataEncryptionState()
       Output only. Only set if the repository has a KMS Key.
       
      .google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataEncryptionState in interface WorkflowInvocationOrBuilder
      Returns:
      The dataEncryptionState.
    • getDataEncryptionStateOrBuilder

      public DataEncryptionStateOrBuilder getDataEncryptionStateOrBuilder()
       Output only. Only set if the repository has a KMS Key.
       
      .google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataEncryptionStateOrBuilder in interface WorkflowInvocationOrBuilder
    • hasInternalMetadata

      public boolean hasInternalMetadata()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInternalMetadata in interface WorkflowInvocationOrBuilder
      Returns:
      Whether the internalMetadata field is set.
    • getInternalMetadata

      public String getInternalMetadata()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalMetadata in interface WorkflowInvocationOrBuilder
      Returns:
      The internalMetadata.
    • getInternalMetadataBytes

      public com.google.protobuf.ByteString getInternalMetadataBytes()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalMetadataBytes in interface WorkflowInvocationOrBuilder
      Returns:
      The bytes for internalMetadata.
    • hasPrivateResourceMetadata

      public boolean hasPrivateResourceMetadata()
       Output only. Metadata indicating whether this resource is user-scoped.
       `WorkflowInvocation` resource is `user_scoped` only if it is sourced
       from a compilation result and the compilation result is user-scoped.
       
      .google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPrivateResourceMetadata in interface WorkflowInvocationOrBuilder
      Returns:
      Whether the privateResourceMetadata field is set.
    • getPrivateResourceMetadata

      public PrivateResourceMetadata getPrivateResourceMetadata()
       Output only. Metadata indicating whether this resource is user-scoped.
       `WorkflowInvocation` resource is `user_scoped` only if it is sourced
       from a compilation result and the compilation result is user-scoped.
       
      .google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrivateResourceMetadata in interface WorkflowInvocationOrBuilder
      Returns:
      The privateResourceMetadata.
    • getPrivateResourceMetadataOrBuilder

      public PrivateResourceMetadataOrBuilder getPrivateResourceMetadataOrBuilder()
       Output only. Metadata indicating whether this resource is user-scoped.
       `WorkflowInvocation` resource is `user_scoped` only if it is sourced
       from a compilation result and the compilation result is user-scoped.
       
      .google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrivateResourceMetadataOrBuilder in interface WorkflowInvocationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 WorkflowInvocation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static WorkflowInvocation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowInvocation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WorkflowInvocation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WorkflowInvocation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowInvocation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowInvocation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static WorkflowInvocation.Builder newBuilder()
    • newBuilder

      public static WorkflowInvocation.Builder newBuilder(WorkflowInvocation prototype)
    • toBuilder

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

      protected WorkflowInvocation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static WorkflowInvocation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<WorkflowInvocation> parser()
    • getParserForType

      public com.google.protobuf.Parser<WorkflowInvocation> 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.GeneratedMessage
    • getDefaultInstanceForType

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