Class BatchCommitWriteStreamsRequest (3.3.1)

public final class BatchCommitWriteStreamsRequest extends GeneratedMessageV3 implements BatchCommitWriteStreamsRequestOrBuilder

Request message for BatchCommitWriteStreams.

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

Inheritance

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

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

WRITE_STREAMS_FIELD_NUMBER

public static final int WRITE_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchCommitWriteStreamsRequest getDefaultInstance()
Returns
TypeDescription
BatchCommitWriteStreamsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchCommitWriteStreamsRequest.Builder newBuilder()
Returns
TypeDescription
BatchCommitWriteStreamsRequest.Builder

newBuilder(BatchCommitWriteStreamsRequest prototype)

public static BatchCommitWriteStreamsRequest.Builder newBuilder(BatchCommitWriteStreamsRequest prototype)
Parameter
NameDescription
prototypeBatchCommitWriteStreamsRequest
Returns
TypeDescription
BatchCommitWriteStreamsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchCommitWriteStreamsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchCommitWriteStreamsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCommitWriteStreamsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCommitWriteStreamsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchCommitWriteStreamsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchCommitWriteStreamsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCommitWriteStreamsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCommitWriteStreamsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchCommitWriteStreamsRequest> parser()
Returns
TypeDescription
Parser<BatchCommitWriteStreamsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchCommitWriteStreamsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchCommitWriteStreamsRequest

getParent()

public String getParent()

Required. Parent table that all the streams should belong to, in the form of projects/{project}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent table that all the streams should belong to, in the form of projects/{project}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<BatchCommitWriteStreamsRequest> getParserForType()
Returns
TypeDescription
Parser<BatchCommitWriteStreamsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWriteStreams(int index)

public String getWriteStreams(int index)

Required. The group of streams that will be committed atomically.

repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The writeStreams at the given index.

getWriteStreamsBytes(int index)

public ByteString getWriteStreamsBytes(int index)

Required. The group of streams that will be committed atomically.

repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the writeStreams at the given index.

getWriteStreamsCount()

public int getWriteStreamsCount()

Required. The group of streams that will be committed atomically.

repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of writeStreams.

getWriteStreamsList()

public ProtocolStringList getWriteStreamsList()

Required. The group of streams that will be committed atomically.

repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the writeStreams.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchCommitWriteStreamsRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchCommitWriteStreamsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCommitWriteStreamsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchCommitWriteStreamsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchCommitWriteStreamsRequest.Builder toBuilder()
Returns
TypeDescription
BatchCommitWriteStreamsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException