Class ErrorDetail.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ErrorDetail.Builder>
com.google.cloud.bigquery.migration.v2.ErrorDetail.Builder
All Implemented Interfaces:
ErrorDetailOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ErrorDetail

public static final class ErrorDetail.Builder extends com.google.protobuf.GeneratedMessage.Builder<ErrorDetail.Builder> implements ErrorDetailOrBuilder
 Provides details for errors, e.g. issues that where encountered when
 processing a subtask.
 
Protobuf type google.cloud.bigquery.migration.v2.ErrorDetail
  • 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<ErrorDetail.Builder>
    • clear

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

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

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

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

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

      public ErrorDetail.Builder mergeFrom(ErrorDetail other)
    • isInitialized

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

      public ErrorDetail.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<ErrorDetail.Builder>
      Throws:
      IOException
    • hasLocation

      public boolean hasLocation()
       Optional. The exact location within the resource (if applicable).
       
      .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasLocation in interface ErrorDetailOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public ErrorLocation getLocation()
       Optional. The exact location within the resource (if applicable).
       
      .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocation in interface ErrorDetailOrBuilder
      Returns:
      The location.
    • setLocation

      public ErrorDetail.Builder setLocation(ErrorLocation value)
       Optional. The exact location within the resource (if applicable).
       
      .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setLocation

      public ErrorDetail.Builder setLocation(ErrorLocation.Builder builderForValue)
       Optional. The exact location within the resource (if applicable).
       
      .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeLocation

      public ErrorDetail.Builder mergeLocation(ErrorLocation value)
       Optional. The exact location within the resource (if applicable).
       
      .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearLocation

      public ErrorDetail.Builder clearLocation()
       Optional. The exact location within the resource (if applicable).
       
      .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getLocationBuilder

      public ErrorLocation.Builder getLocationBuilder()
       Optional. The exact location within the resource (if applicable).
       
      .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getLocationOrBuilder

      public ErrorLocationOrBuilder getLocationOrBuilder()
       Optional. The exact location within the resource (if applicable).
       
      .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationOrBuilder in interface ErrorDetailOrBuilder
    • hasErrorInfo

      public boolean hasErrorInfo()
       Required. Describes the cause of the error with structured detail.
       
      .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasErrorInfo in interface ErrorDetailOrBuilder
      Returns:
      Whether the errorInfo field is set.
    • getErrorInfo

      public ErrorInfo getErrorInfo()
       Required. Describes the cause of the error with structured detail.
       
      .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getErrorInfo in interface ErrorDetailOrBuilder
      Returns:
      The errorInfo.
    • setErrorInfo

      public ErrorDetail.Builder setErrorInfo(ErrorInfo value)
       Required. Describes the cause of the error with structured detail.
       
      .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    • setErrorInfo

      public ErrorDetail.Builder setErrorInfo(ErrorInfo.Builder builderForValue)
       Required. Describes the cause of the error with structured detail.
       
      .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeErrorInfo

      public ErrorDetail.Builder mergeErrorInfo(ErrorInfo value)
       Required. Describes the cause of the error with structured detail.
       
      .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearErrorInfo

      public ErrorDetail.Builder clearErrorInfo()
       Required. Describes the cause of the error with structured detail.
       
      .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    • getErrorInfoBuilder

      public ErrorInfo.Builder getErrorInfoBuilder()
       Required. Describes the cause of the error with structured detail.
       
      .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    • getErrorInfoOrBuilder

      public ErrorInfoOrBuilder getErrorInfoOrBuilder()
       Required. Describes the cause of the error with structured detail.
       
      .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getErrorInfoOrBuilder in interface ErrorDetailOrBuilder