Interface AppendRowsResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AppendRowsResponse, AppendRowsResponse.Builder

public interface AppendRowsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAppendResult

      boolean hasAppendResult()
       Result if the append is successful.
       
      .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
      Returns:
      Whether the appendResult field is set.
    • getAppendResult

       Result if the append is successful.
       
      .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
      Returns:
      The appendResult.
    • getAppendResultOrBuilder

      AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder()
       Result if the append is successful.
       
      .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
    • hasError

      boolean hasError()
       Error returned when problems were encountered.  If present,
       it indicates rows were not accepted into the system.
       Users can retry or continue with other append requests within the
       same connection.
      
       Additional information about error signalling:
      
       ALREADY_EXISTS: Happens when an append specified an offset, and the
       backend already has received data at this offset.  Typically encountered
       in retry scenarios, and can be ignored.
      
       OUT_OF_RANGE: Returned when the specified offset in the stream is beyond
       the current end of the stream.
      
       INVALID_ARGUMENT: Indicates a malformed request or data.
      
       ABORTED: Request processing is aborted because of prior failures.  The
       request can be retried if previous failure is addressed.
      
       INTERNAL: Indicates server side error(s) that can be retried.
       
      .google.rpc.Status error = 2;
      Returns:
      Whether the error field is set.
    • getError

      com.google.rpc.Status getError()
       Error returned when problems were encountered.  If present,
       it indicates rows were not accepted into the system.
       Users can retry or continue with other append requests within the
       same connection.
      
       Additional information about error signalling:
      
       ALREADY_EXISTS: Happens when an append specified an offset, and the
       backend already has received data at this offset.  Typically encountered
       in retry scenarios, and can be ignored.
      
       OUT_OF_RANGE: Returned when the specified offset in the stream is beyond
       the current end of the stream.
      
       INVALID_ARGUMENT: Indicates a malformed request or data.
      
       ABORTED: Request processing is aborted because of prior failures.  The
       request can be retried if previous failure is addressed.
      
       INTERNAL: Indicates server side error(s) that can be retried.
       
      .google.rpc.Status error = 2;
      Returns:
      The error.
    • getErrorOrBuilder

      com.google.rpc.StatusOrBuilder getErrorOrBuilder()
       Error returned when problems were encountered.  If present,
       it indicates rows were not accepted into the system.
       Users can retry or continue with other append requests within the
       same connection.
      
       Additional information about error signalling:
      
       ALREADY_EXISTS: Happens when an append specified an offset, and the
       backend already has received data at this offset.  Typically encountered
       in retry scenarios, and can be ignored.
      
       OUT_OF_RANGE: Returned when the specified offset in the stream is beyond
       the current end of the stream.
      
       INVALID_ARGUMENT: Indicates a malformed request or data.
      
       ABORTED: Request processing is aborted because of prior failures.  The
       request can be retried if previous failure is addressed.
      
       INTERNAL: Indicates server side error(s) that can be retried.
       
      .google.rpc.Status error = 2;
    • hasUpdatedSchema

      boolean hasUpdatedSchema()
       If backend detects a schema update, pass it to user so that user can
       use it to input new type of message. It will be empty when no schema
       updates have occurred.
       
      .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3;
      Returns:
      Whether the updatedSchema field is set.
    • getUpdatedSchema

      TableSchema getUpdatedSchema()
       If backend detects a schema update, pass it to user so that user can
       use it to input new type of message. It will be empty when no schema
       updates have occurred.
       
      .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3;
      Returns:
      The updatedSchema.
    • getUpdatedSchemaOrBuilder

      TableSchemaOrBuilder getUpdatedSchemaOrBuilder()
       If backend detects a schema update, pass it to user so that user can
       use it to input new type of message. It will be empty when no schema
       updates have occurred.
       
      .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3;
    • getRowErrorsList

      List<RowError> getRowErrorsList()
       If a request failed due to corrupted rows, no rows in the batch will be
       appended. The API will return row level error info, so that the caller can
       remove the bad rows and retry the request.
       
      repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    • getRowErrors

      RowError getRowErrors(int index)
       If a request failed due to corrupted rows, no rows in the batch will be
       appended. The API will return row level error info, so that the caller can
       remove the bad rows and retry the request.
       
      repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    • getRowErrorsCount

      int getRowErrorsCount()
       If a request failed due to corrupted rows, no rows in the batch will be
       appended. The API will return row level error info, so that the caller can
       remove the bad rows and retry the request.
       
      repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    • getRowErrorsOrBuilderList

      List<? extends RowErrorOrBuilder> getRowErrorsOrBuilderList()
       If a request failed due to corrupted rows, no rows in the batch will be
       appended. The API will return row level error info, so that the caller can
       remove the bad rows and retry the request.
       
      repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    • getRowErrorsOrBuilder

      RowErrorOrBuilder getRowErrorsOrBuilder(int index)
       If a request failed due to corrupted rows, no rows in the batch will be
       appended. The API will return row level error info, so that the caller can
       remove the bad rows and retry the request.
       
      repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    • getWriteStream

      String getWriteStream()
       The target of the append operation. Matches the write_stream in the
       corresponding request.
       
      string write_stream = 5;
      Returns:
      The writeStream.
    • getWriteStreamBytes

      com.google.protobuf.ByteString getWriteStreamBytes()
       The target of the append operation. Matches the write_stream in the
       corresponding request.
       
      string write_stream = 5;
      Returns:
      The bytes for writeStream.
    • getResponseCase