Class ExecutionStatus.LastExecution.Builder

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

public static final class ExecutionStatus.LastExecution.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExecutionStatus.LastExecution.Builder> implements ExecutionStatus.LastExecutionOrBuilder
 The result of the last execution of the plugin instance.
 
Protobuf type google.cloud.apihub.v1.ExecutionStatus.LastExecution
  • 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.LastExecution.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.LastExecution.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.LastExecution.Builder>
    • getDefaultInstanceForType

      public ExecutionStatus.LastExecution 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

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

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

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

      public int getResultValue()
       Output only. The result of the last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution.Result result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResultValue in interface ExecutionStatus.LastExecutionOrBuilder
      Returns:
      The enum numeric value on the wire for result.
    • setResultValue

      public ExecutionStatus.LastExecution.Builder setResultValue(int value)
       Output only. The result of the last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution.Result result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for result to set.
      Returns:
      This builder for chaining.
    • getResult

       Output only. The result of the last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution.Result result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResult in interface ExecutionStatus.LastExecutionOrBuilder
      Returns:
      The result.
    • setResult

       Output only. The result of the last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution.Result result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The result to set.
      Returns:
      This builder for chaining.
    • clearResult

       Output only. The result of the last execution of the plugin instance.
       
      .google.cloud.apihub.v1.ExecutionStatus.LastExecution.Result result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getErrorMessage

      public String getErrorMessage()
       Output only. Error message describing the failure, if any, during the
       last execution.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorMessage in interface ExecutionStatus.LastExecutionOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
       Output only. Error message describing the failure, if any, during the
       last execution.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorMessageBytes in interface ExecutionStatus.LastExecutionOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      public ExecutionStatus.LastExecution.Builder setErrorMessage(String value)
       Output only. Error message describing the failure, if any, during the
       last execution.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • clearErrorMessage

      public ExecutionStatus.LastExecution.Builder clearErrorMessage()
       Output only. Error message describing the failure, if any, during the
       last execution.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setErrorMessageBytes

      public ExecutionStatus.LastExecution.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
       Output only. Error message describing the failure, if any, during the
       last execution.
       
      string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       Output only. The last execution start time of the plugin instance.
       
      .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface ExecutionStatus.LastExecutionOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. The last execution start time of the plugin instance.
       
      .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface ExecutionStatus.LastExecutionOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public ExecutionStatus.LastExecution.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. The last execution start time of the plugin instance.
       
      .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public ExecutionStatus.LastExecution.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The last execution start time of the plugin instance.
       
      .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public ExecutionStatus.LastExecution.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. The last execution start time of the plugin instance.
       
      .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public ExecutionStatus.LastExecution.Builder clearStartTime()
       Output only. The last execution start time of the plugin instance.
       
      .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. The last execution start time of the plugin instance.
       
      .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. The last execution start time of the plugin instance.
       
      .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface ExecutionStatus.LastExecutionOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. The last execution end time of the plugin instance.
       
      .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface ExecutionStatus.LastExecutionOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. The last execution end time of the plugin instance.
       
      .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface ExecutionStatus.LastExecutionOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public ExecutionStatus.LastExecution.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. The last execution end time of the plugin instance.
       
      .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public ExecutionStatus.LastExecution.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The last execution end time of the plugin instance.
       
      .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public ExecutionStatus.LastExecution.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. The last execution end time of the plugin instance.
       
      .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

       Output only. The last execution end time of the plugin instance.
       
      .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. The last execution end time of the plugin instance.
       
      .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. The last execution end time of the plugin instance.
       
      .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface ExecutionStatus.LastExecutionOrBuilder