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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppendRowsResponse.AppendResult
getAppendResult()
Result if the append is successful.AppendRowsResponse.AppendResultOrBuilder
getAppendResultOrBuilder()
Result if the append is successful.com.google.rpc.Status
getError()
Error returned when problems were encountered.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Error returned when problems were encountered.AppendRowsResponse.ResponseCase
getResponseCase()
TableSchema
getUpdatedSchema()
If backend detects a schema update, pass it to user so that user can use it to input new type of message.TableSchemaOrBuilder
getUpdatedSchemaOrBuilder()
If backend detects a schema update, pass it to user so that user can use it to input new type of message.boolean
hasAppendResult()
Result if the append is successful.boolean
hasError()
Error returned when problems were encountered.boolean
hasUpdatedSchema()
If backend detects a schema update, pass it to user so that user can use it to input new type of message.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAppendResult
boolean hasAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
- Returns:
- Whether the appendResult field is set.
-
getAppendResult
AppendRowsResponse.AppendResult getAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
- Returns:
- The appendResult.
-
getAppendResultOrBuilder
AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder()
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.TableSchema updated_schema = 3;
-
getResponseCase
AppendRowsResponse.ResponseCase getResponseCase()
-
-