Class AppendRowsResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse
All Implemented Interfaces:
AppendRowsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class AppendRowsResponse extends com.google.protobuf.GeneratedMessageV3 implements AppendRowsResponseOrBuilder
 Response message for `AppendRows`.
 
Protobuf type google.cloud.bigquery.storage.v1beta2.AppendRowsResponse
See Also:
  • Field Details

    • APPEND_RESULT_FIELD_NUMBER

      public static final int APPEND_RESULT_FIELD_NUMBER
      See Also:
    • ERROR_FIELD_NUMBER

      public static final int ERROR_FIELD_NUMBER
      See Also:
    • UPDATED_SCHEMA_FIELD_NUMBER

      public static final int UPDATED_SCHEMA_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getResponseCase

      public AppendRowsResponse.ResponseCase getResponseCase()
      Specified by:
      getResponseCase in interface AppendRowsResponseOrBuilder
    • hasAppendResult

      public boolean hasAppendResult()
       Result if the append is successful.
       
      .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
      Specified by:
      hasAppendResult in interface AppendRowsResponseOrBuilder
      Returns:
      Whether the appendResult field is set.
    • getAppendResult

      public AppendRowsResponse.AppendResult getAppendResult()
       Result if the append is successful.
       
      .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
      Specified by:
      getAppendResult in interface AppendRowsResponseOrBuilder
      Returns:
      The appendResult.
    • getAppendResultOrBuilder

      public AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder()
       Result if the append is successful.
       
      .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
      Specified by:
      getAppendResultOrBuilder in interface AppendRowsResponseOrBuilder
    • hasError

      public 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;
      Specified by:
      hasError in interface AppendRowsResponseOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public 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;
      Specified by:
      getError in interface AppendRowsResponseOrBuilder
      Returns:
      The error.
    • getErrorOrBuilder

      public 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;
      Specified by:
      getErrorOrBuilder in interface AppendRowsResponseOrBuilder
    • hasUpdatedSchema

      public 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.v1beta2.TableSchema updated_schema = 3;
      Specified by:
      hasUpdatedSchema in interface AppendRowsResponseOrBuilder
      Returns:
      Whether the updatedSchema field is set.
    • getUpdatedSchema

      public 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.v1beta2.TableSchema updated_schema = 3;
      Specified by:
      getUpdatedSchema in interface AppendRowsResponseOrBuilder
      Returns:
      The updatedSchema.
    • getUpdatedSchemaOrBuilder

      public 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.v1beta2.TableSchema updated_schema = 3;
      Specified by:
      getUpdatedSchemaOrBuilder in interface AppendRowsResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AppendRowsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppendRowsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppendRowsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppendRowsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppendRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppendRowsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppendRowsResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AppendRowsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AppendRowsResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AppendRowsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AppendRowsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AppendRowsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AppendRowsResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AppendRowsResponse.Builder newBuilder()
    • newBuilder

      public static AppendRowsResponse.Builder newBuilder(AppendRowsResponse prototype)
    • toBuilder

      public AppendRowsResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AppendRowsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AppendRowsResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AppendRowsResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<AppendRowsResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public AppendRowsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder