Class ExecutionStatus.Builder

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

public static final class ExecutionStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExecutionStatus.Builder> implements ExecutionStatusOrBuilder
 The execution status for the plugin instance.
 
Protobuf type google.cloud.apihub.v1.ExecutionStatus
  • 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<ExecutionStatus.Builder>
    • clear

      public ExecutionStatus.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<ExecutionStatus.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<ExecutionStatus.Builder>
    • getDefaultInstanceForType

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

      public ExecutionStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExecutionStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExecutionStatus.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<ExecutionStatus.Builder>
    • mergeFrom

      public ExecutionStatus.Builder mergeFrom(ExecutionStatus other)
    • isInitialized

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

      public ExecutionStatus.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<ExecutionStatus.Builder>
      Throws:
      IOException
    • getCurrentExecutionStateValue

      public int getCurrentExecutionStateValue()
       Output only. The current state of the execution.
       
      .google.cloud.apihub.v1.ExecutionStatus.CurrentExecutionState current_execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCurrentExecutionStateValue in interface ExecutionStatusOrBuilder
      Returns:
      The enum numeric value on the wire for currentExecutionState.
    • setCurrentExecutionStateValue

      public ExecutionStatus.Builder setCurrentExecutionStateValue(int value)
       Output only. The current state of the execution.
       
      .google.cloud.apihub.v1.ExecutionStatus.CurrentExecutionState current_execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for currentExecutionState to set.
      Returns:
      This builder for chaining.
    • getCurrentExecutionState

      public ExecutionStatus.CurrentExecutionState getCurrentExecutionState()
       Output only. The current state of the execution.
       
      .google.cloud.apihub.v1.ExecutionStatus.CurrentExecutionState current_execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCurrentExecutionState in interface ExecutionStatusOrBuilder
      Returns:
      The currentExecutionState.
    • setCurrentExecutionState

      public ExecutionStatus.Builder setCurrentExecutionState(ExecutionStatus.CurrentExecutionState value)
       Output only. The current state of the execution.
       
      .google.cloud.apihub.v1.ExecutionStatus.CurrentExecutionState current_execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The currentExecutionState to set.
      Returns:
      This builder for chaining.
    • clearCurrentExecutionState

      public ExecutionStatus.Builder clearCurrentExecutionState()
       Output only. The current state of the execution.
       
      .google.cloud.apihub.v1.ExecutionStatus.CurrentExecutionState current_execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasLastExecution

      public boolean hasLastExecution()
       Output only. The last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution last_execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLastExecution in interface ExecutionStatusOrBuilder
      Returns:
      Whether the lastExecution field is set.
    • getLastExecution

      public ExecutionStatus.LastExecution getLastExecution()
       Output only. The last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution last_execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastExecution in interface ExecutionStatusOrBuilder
      Returns:
      The lastExecution.
    • setLastExecution

      public ExecutionStatus.Builder setLastExecution(ExecutionStatus.LastExecution value)
       Output only. The last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution last_execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setLastExecution

      public ExecutionStatus.Builder setLastExecution(ExecutionStatus.LastExecution.Builder builderForValue)
       Output only. The last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution last_execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeLastExecution

      public ExecutionStatus.Builder mergeLastExecution(ExecutionStatus.LastExecution value)
       Output only. The last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution last_execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearLastExecution

      public ExecutionStatus.Builder clearLastExecution()
       Output only. The last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution last_execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLastExecutionBuilder

      public ExecutionStatus.LastExecution.Builder getLastExecutionBuilder()
       Output only. The last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution last_execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLastExecutionOrBuilder

      public ExecutionStatus.LastExecutionOrBuilder getLastExecutionOrBuilder()
       Output only. The last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution last_execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastExecutionOrBuilder in interface ExecutionStatusOrBuilder