Class QueuedResourceState.FailedData.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueuedResourceState.FailedData.Builder>
com.google.cloud.tpu.v2.QueuedResourceState.FailedData.Builder
All Implemented Interfaces:
QueuedResourceState.FailedDataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QueuedResourceState.FailedData

public static final class QueuedResourceState.FailedData.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueuedResourceState.FailedData.Builder> implements QueuedResourceState.FailedDataOrBuilder
 Further data for the failed state.
 
Protobuf type google.cloud.tpu.v2.QueuedResourceState.FailedData
  • 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<QueuedResourceState.FailedData.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<QueuedResourceState.FailedData.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<QueuedResourceState.FailedData.Builder>
    • getDefaultInstanceForType

      public QueuedResourceState.FailedData 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 QueuedResourceState.FailedData buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public QueuedResourceState.FailedData.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<QueuedResourceState.FailedData.Builder>
      Throws:
      IOException
    • hasError

      public boolean hasError()
       Output only. The error that caused the queued resource to enter the
       FAILED state.
       
      .google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasError in interface QueuedResourceState.FailedDataOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status getError()
       Output only. The error that caused the queued resource to enter the
       FAILED state.
       
      .google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getError in interface QueuedResourceState.FailedDataOrBuilder
      Returns:
      The error.
    • setError

       Output only. The error that caused the queued resource to enter the
       FAILED state.
       
      .google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setError

      public QueuedResourceState.FailedData.Builder setError(Status.Builder builderForValue)
       Output only. The error that caused the queued resource to enter the
       FAILED state.
       
      .google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeError

       Output only. The error that caused the queued resource to enter the
       FAILED state.
       
      .google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearError

       Output only. The error that caused the queued resource to enter the
       FAILED state.
       
      .google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorBuilder

      public Status.Builder getErrorBuilder()
       Output only. The error that caused the queued resource to enter the
       FAILED state.
       
      .google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorOrBuilder

      public StatusOrBuilder getErrorOrBuilder()
       Output only. The error that caused the queued resource to enter the
       FAILED state.
       
      .google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorOrBuilder in interface QueuedResourceState.FailedDataOrBuilder