Class WorkflowConfig.ScheduledExecutionRecord.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WorkflowConfig.ScheduledExecutionRecord.Builder>
com.google.cloud.dataform.v1.WorkflowConfig.ScheduledExecutionRecord.Builder
All Implemented Interfaces:
WorkflowConfig.ScheduledExecutionRecordOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
WorkflowConfig.ScheduledExecutionRecord

public static final class WorkflowConfig.ScheduledExecutionRecord.Builder extends com.google.protobuf.GeneratedMessage.Builder<WorkflowConfig.ScheduledExecutionRecord.Builder> implements WorkflowConfig.ScheduledExecutionRecordOrBuilder
 A record of an attempt to create a workflow invocation for this workflow
 config.
 
Protobuf type google.cloud.dataform.v1.WorkflowConfig.ScheduledExecutionRecord
  • 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.Builder<WorkflowConfig.ScheduledExecutionRecord.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<WorkflowConfig.ScheduledExecutionRecord.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WorkflowConfig.ScheduledExecutionRecord.Builder>
    • getDefaultInstanceForType

      public WorkflowConfig.ScheduledExecutionRecord getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public WorkflowConfig.ScheduledExecutionRecord.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowConfig.ScheduledExecutionRecord.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<WorkflowConfig.ScheduledExecutionRecord.Builder>
    • mergeFrom

      public WorkflowConfig.ScheduledExecutionRecord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowConfig.ScheduledExecutionRecord.Builder>
      Throws:
      IOException
    • getResultCase

      Specified by:
      getResultCase in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
    • clearResult

    • hasWorkflowInvocation

      public boolean hasWorkflowInvocation()
       The name of the created workflow invocation, if one was successfully
       created. Must be in the format
       `projects/*/locations/*/repositories/*/workflowInvocations/*`.
       
      string workflow_invocation = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasWorkflowInvocation in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
      Returns:
      Whether the workflowInvocation field is set.
    • getWorkflowInvocation

      public String getWorkflowInvocation()
       The name of the created workflow invocation, if one was successfully
       created. Must be in the format
       `projects/*/locations/*/repositories/*/workflowInvocations/*`.
       
      string workflow_invocation = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getWorkflowInvocation in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
      Returns:
      The workflowInvocation.
    • getWorkflowInvocationBytes

      public com.google.protobuf.ByteString getWorkflowInvocationBytes()
       The name of the created workflow invocation, if one was successfully
       created. Must be in the format
       `projects/*/locations/*/repositories/*/workflowInvocations/*`.
       
      string workflow_invocation = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getWorkflowInvocationBytes in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
      Returns:
      The bytes for workflowInvocation.
    • setWorkflowInvocation

      public WorkflowConfig.ScheduledExecutionRecord.Builder setWorkflowInvocation(String value)
       The name of the created workflow invocation, if one was successfully
       created. Must be in the format
       `projects/*/locations/*/repositories/*/workflowInvocations/*`.
       
      string workflow_invocation = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The workflowInvocation to set.
      Returns:
      This builder for chaining.
    • clearWorkflowInvocation

      public WorkflowConfig.ScheduledExecutionRecord.Builder clearWorkflowInvocation()
       The name of the created workflow invocation, if one was successfully
       created. Must be in the format
       `projects/*/locations/*/repositories/*/workflowInvocations/*`.
       
      string workflow_invocation = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setWorkflowInvocationBytes

      public WorkflowConfig.ScheduledExecutionRecord.Builder setWorkflowInvocationBytes(com.google.protobuf.ByteString value)
       The name of the created workflow invocation, if one was successfully
       created. Must be in the format
       `projects/*/locations/*/repositories/*/workflowInvocations/*`.
       
      string workflow_invocation = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for workflowInvocation to set.
      Returns:
      This builder for chaining.
    • hasErrorStatus

      public boolean hasErrorStatus()
       The error status encountered upon this attempt to create the
       workflow invocation, if the attempt was unsuccessful.
       
      .google.rpc.Status error_status = 3;
      Specified by:
      hasErrorStatus in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
      Returns:
      Whether the errorStatus field is set.
    • getErrorStatus

      public Status getErrorStatus()
       The error status encountered upon this attempt to create the
       workflow invocation, if the attempt was unsuccessful.
       
      .google.rpc.Status error_status = 3;
      Specified by:
      getErrorStatus in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
      Returns:
      The errorStatus.
    • setErrorStatus

       The error status encountered upon this attempt to create the
       workflow invocation, if the attempt was unsuccessful.
       
      .google.rpc.Status error_status = 3;
    • setErrorStatus

      public WorkflowConfig.ScheduledExecutionRecord.Builder setErrorStatus(Status.Builder builderForValue)
       The error status encountered upon this attempt to create the
       workflow invocation, if the attempt was unsuccessful.
       
      .google.rpc.Status error_status = 3;
    • mergeErrorStatus

       The error status encountered upon this attempt to create the
       workflow invocation, if the attempt was unsuccessful.
       
      .google.rpc.Status error_status = 3;
    • clearErrorStatus

       The error status encountered upon this attempt to create the
       workflow invocation, if the attempt was unsuccessful.
       
      .google.rpc.Status error_status = 3;
    • getErrorStatusBuilder

      public Status.Builder getErrorStatusBuilder()
       The error status encountered upon this attempt to create the
       workflow invocation, if the attempt was unsuccessful.
       
      .google.rpc.Status error_status = 3;
    • getErrorStatusOrBuilder

      public StatusOrBuilder getErrorStatusOrBuilder()
       The error status encountered upon this attempt to create the
       workflow invocation, if the attempt was unsuccessful.
       
      .google.rpc.Status error_status = 3;
      Specified by:
      getErrorStatusOrBuilder in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
    • hasExecutionTime

      public boolean hasExecutionTime()
       Output only. The timestamp of this execution attempt.
       
      .google.protobuf.Timestamp execution_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExecutionTime in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
      Returns:
      Whether the executionTime field is set.
    • getExecutionTime

      public com.google.protobuf.Timestamp getExecutionTime()
       Output only. The timestamp of this execution attempt.
       
      .google.protobuf.Timestamp execution_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExecutionTime in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder
      Returns:
      The executionTime.
    • setExecutionTime

      public WorkflowConfig.ScheduledExecutionRecord.Builder setExecutionTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of this execution attempt.
       
      .google.protobuf.Timestamp execution_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setExecutionTime

      public WorkflowConfig.ScheduledExecutionRecord.Builder setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp of this execution attempt.
       
      .google.protobuf.Timestamp execution_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeExecutionTime

      public WorkflowConfig.ScheduledExecutionRecord.Builder mergeExecutionTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of this execution attempt.
       
      .google.protobuf.Timestamp execution_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearExecutionTime

       Output only. The timestamp of this execution attempt.
       
      .google.protobuf.Timestamp execution_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExecutionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExecutionTimeBuilder()
       Output only. The timestamp of this execution attempt.
       
      .google.protobuf.Timestamp execution_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExecutionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()
       Output only. The timestamp of this execution attempt.
       
      .google.protobuf.Timestamp execution_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExecutionTimeOrBuilder in interface WorkflowConfig.ScheduledExecutionRecordOrBuilder