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 typegoogle.cloud.bigquery.storage.v1beta2.AppendRowsResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppendRowsResponse.AppendResultAppendResult is returned for successful append requests.static interfaceAppendRowsResponse.AppendResultOrBuilderstatic classAppendRowsResponse.BuilderResponse message for `AppendRows`.static classAppendRowsResponse.ResponseCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPPEND_RESULT_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intUPDATED_SCHEMA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AppendRowsResponse.AppendResultgetAppendResult()Result if the append is successful.AppendRowsResponse.AppendResultOrBuildergetAppendResultOrBuilder()Result if the append is successful.static AppendRowsResponsegetDefaultInstance()AppendRowsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.rpc.StatusgetError()Error returned when problems were encountered.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Error returned when problems were encountered.com.google.protobuf.Parser<AppendRowsResponse>getParserForType()AppendRowsResponse.ResponseCasegetResponseCase()intgetSerializedSize()TableSchemagetUpdatedSchema()If backend detects a schema update, pass it to user so that user can use it to input new type of message.TableSchemaOrBuildergetUpdatedSchemaOrBuilder()If backend detects a schema update, pass it to user so that user can use it to input new type of message.booleanhasAppendResult()Result if the append is successful.booleanhasError()Error returned when problems were encountered.inthashCode()booleanhasUpdatedSchema()If backend detects a schema update, pass it to user so that user can use it to input new type of message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AppendRowsResponse.BuildernewBuilder()static AppendRowsResponse.BuildernewBuilder(AppendRowsResponse prototype)AppendRowsResponse.BuildernewBuilderForType()protected AppendRowsResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AppendRowsResponseparseDelimitedFrom(InputStream input)static AppendRowsResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsResponseparseFrom(byte[] data)static AppendRowsResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsResponseparseFrom(com.google.protobuf.ByteString data)static AppendRowsResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsResponseparseFrom(com.google.protobuf.CodedInputStream input)static AppendRowsResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsResponseparseFrom(InputStream input)static AppendRowsResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AppendRowsResponseparseFrom(ByteBuffer data)static AppendRowsResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AppendRowsResponse>parser()AppendRowsResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
APPEND_RESULT_FIELD_NUMBER
public static final int APPEND_RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATED_SCHEMA_FIELD_NUMBER
public static final int UPDATED_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResponseCase
public AppendRowsResponse.ResponseCase getResponseCase()
- Specified by:
getResponseCasein interfaceAppendRowsResponseOrBuilder
-
hasAppendResult
public boolean hasAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;- Specified by:
hasAppendResultin interfaceAppendRowsResponseOrBuilder- 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:
getAppendResultin interfaceAppendRowsResponseOrBuilder- 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:
getAppendResultOrBuilderin interfaceAppendRowsResponseOrBuilder
-
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:
hasErrorin interfaceAppendRowsResponseOrBuilder- 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:
getErrorin interfaceAppendRowsResponseOrBuilder- 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:
getErrorOrBuilderin interfaceAppendRowsResponseOrBuilder
-
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:
hasUpdatedSchemain interfaceAppendRowsResponseOrBuilder- 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:
getUpdatedSchemain interfaceAppendRowsResponseOrBuilder- 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:
getUpdatedSchemaOrBuilderin interfaceAppendRowsResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AppendRowsResponse.Builder newBuilder()
-
newBuilder
public static AppendRowsResponse.Builder newBuilder(AppendRowsResponse prototype)
-
toBuilder
public AppendRowsResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AppendRowsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AppendRowsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-