Class BatchCommitWriteStreamsResponse (3.9.2)

public final class BatchCommitWriteStreamsResponse extends GeneratedMessageV3 implements BatchCommitWriteStreamsResponseOrBuilder

Response message for BatchCommitWriteStreams.

Protobuf type google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchCommitWriteStreamsResponse

Static Fields

COMMIT_TIME_FIELD_NUMBER

public static final int COMMIT_TIME_FIELD_NUMBER
Field Value
Type Description
int

STREAM_ERRORS_FIELD_NUMBER

public static final int STREAM_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCommitWriteStreamsResponse getDefaultInstance()
Returns
Type Description
BatchCommitWriteStreamsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchCommitWriteStreamsResponse.Builder newBuilder()
Returns
Type Description
BatchCommitWriteStreamsResponse.Builder

newBuilder(BatchCommitWriteStreamsResponse prototype)

public static BatchCommitWriteStreamsResponse.Builder newBuilder(BatchCommitWriteStreamsResponse prototype)
Parameter
Name Description
prototype BatchCommitWriteStreamsResponse
Returns
Type Description
BatchCommitWriteStreamsResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchCommitWriteStreamsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchCommitWriteStreamsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCommitWriteStreamsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCommitWriteStreamsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchCommitWriteStreamsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchCommitWriteStreamsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCommitWriteStreamsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchCommitWriteStreamsResponse> parser()
Returns
Type Description
Parser<BatchCommitWriteStreamsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCommitTime()

public Timestamp getCommitTime()

The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. Note if this field is not set, it means the commit was not successful.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
Timestamp

The commitTime.

getCommitTimeOrBuilder()

public TimestampOrBuilder getCommitTimeOrBuilder()

The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. Note if this field is not set, it means the commit was not successful.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCommitWriteStreamsResponse

getParserForType()

public Parser<BatchCommitWriteStreamsResponse> getParserForType()
Returns
Type Description
Parser<BatchCommitWriteStreamsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStreamErrors(int index)

public StorageError getStreamErrors(int index)

Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.

repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
StorageError

getStreamErrorsCount()

public int getStreamErrorsCount()

Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.

repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;

Returns
Type Description
int

getStreamErrorsList()

public List<StorageError> getStreamErrorsList()

Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.

repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;

Returns
Type Description
List<StorageError>

getStreamErrorsOrBuilder(int index)

public StorageErrorOrBuilder getStreamErrorsOrBuilder(int index)

Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.

repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
StorageErrorOrBuilder

getStreamErrorsOrBuilderList()

public List<? extends StorageErrorOrBuilder> getStreamErrorsOrBuilderList()

Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.

repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;

Returns
Type Description
List<? extends com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>

hasCommitTime()

public boolean hasCommitTime()

The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. Note if this field is not set, it means the commit was not successful.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
boolean

Whether the commitTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchCommitWriteStreamsResponse.Builder newBuilderForType()
Returns
Type Description
BatchCommitWriteStreamsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCommitWriteStreamsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchCommitWriteStreamsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchCommitWriteStreamsResponse.Builder toBuilder()
Returns
Type Description
BatchCommitWriteStreamsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException