public final class BatchCommitWriteStreamsRequest extends GeneratedMessageV3 implements BatchCommitWriteStreamsRequestOrBuilder
Request message for BatchCommitWriteStreams
.
Protobuf type google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
WRITE_STREAMS_FIELD_NUMBER
public static final int WRITE_STREAMS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchCommitWriteStreamsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchCommitWriteStreamsRequest.Builder newBuilder()
Returns
newBuilder(BatchCommitWriteStreamsRequest prototype)
public static BatchCommitWriteStreamsRequest.Builder newBuilder(BatchCommitWriteStreamsRequest prototype)
Parameter
Returns
public static BatchCommitWriteStreamsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCommitWriteStreamsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchCommitWriteStreamsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchCommitWriteStreamsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCommitWriteStreamsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchCommitWriteStreamsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCommitWriteStreamsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCommitWriteStreamsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchCommitWriteStreamsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchCommitWriteStreamsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchCommitWriteStreamsRequest getDefaultInstanceForType()
Returns
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];
Returns
Type | Description |
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];
Returns
getParserForType()
public Parser<BatchCommitWriteStreamsRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchCommitWriteStreamsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchCommitWriteStreamsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchCommitWriteStreamsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions