Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ErrorDetail.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetail.Builder>
      • setField

        public ErrorDetail.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetail.Builder>
      • clearField

        public ErrorDetail.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetail.Builder>
      • clearOneof

        public ErrorDetail.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetail.Builder>
      • setRepeatedField

        public ErrorDetail.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetail.Builder>
      • addRepeatedField

        public ErrorDetail.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetail.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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 com.google.rpc.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​(com.google.rpc.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​(com.google.rpc.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​(com.google.rpc.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 com.google.rpc.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 com.google.rpc.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
      • setUnknownFields

        public final ErrorDetail.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetail.Builder>
      • mergeUnknownFields

        public final ErrorDetail.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetail.Builder>