public static final class BatchCommitWriteStreamsRequest.Builder extends GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder> implements BatchCommitWriteStreamsRequestOrBuilder
Request message for BatchCommitWriteStreams
.
Protobuf type google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchCommitWriteStreamsRequest.BuilderImplements
BatchCommitWriteStreamsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllWriteStreams(Iterable<String> values)
public BatchCommitWriteStreamsRequest.Builder addAllWriteStreams(Iterable<String> values)
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<String> The writeStreams to add. |
Type | Description |
BatchCommitWriteStreamsRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCommitWriteStreamsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
addWriteStreams(String value)
public BatchCommitWriteStreamsRequest.Builder addWriteStreams(String value)
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The writeStreams to add. |
Type | Description |
BatchCommitWriteStreamsRequest.Builder | This builder for chaining. |
addWriteStreamsBytes(ByteString value)
public BatchCommitWriteStreamsRequest.Builder addWriteStreamsBytes(ByteString value)
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes of the writeStreams to add. |
Type | Description |
BatchCommitWriteStreamsRequest.Builder | This builder for chaining. |
build()
public BatchCommitWriteStreamsRequest build()
Type | Description |
BatchCommitWriteStreamsRequest |
buildPartial()
public BatchCommitWriteStreamsRequest buildPartial()
Type | Description |
BatchCommitWriteStreamsRequest |
clear()
public BatchCommitWriteStreamsRequest.Builder clear()
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchCommitWriteStreamsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCommitWriteStreamsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
clearParent()
public BatchCommitWriteStreamsRequest.Builder clearParent()
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];
Type | Description |
BatchCommitWriteStreamsRequest.Builder | This builder for chaining. |
clearWriteStreams()
public BatchCommitWriteStreamsRequest.Builder clearWriteStreams()
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BatchCommitWriteStreamsRequest.Builder | This builder for chaining. |
clone()
public BatchCommitWriteStreamsRequest.Builder clone()
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
getDefaultInstanceForType()
public BatchCommitWriteStreamsRequest getDefaultInstanceForType()
Type | Description |
BatchCommitWriteStreamsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
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];
Type | Description |
ByteString | The bytes for parent. |
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];
Name | Description |
index | int The index of the element to return. |
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];
Name | Description |
index | int The index of the value to return. |
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];
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];
Type | Description |
ProtocolStringList | A list containing the writeStreams. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BatchCommitWriteStreamsRequest other)
public BatchCommitWriteStreamsRequest.Builder mergeFrom(BatchCommitWriteStreamsRequest other)
Name | Description |
other | BatchCommitWriteStreamsRequest |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchCommitWriteStreamsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchCommitWriteStreamsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCommitWriteStreamsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCommitWriteStreamsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
setParent(String value)
public BatchCommitWriteStreamsRequest.Builder setParent(String value)
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];
Name | Description |
value | String The parent to set. |
Type | Description |
BatchCommitWriteStreamsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public BatchCommitWriteStreamsRequest.Builder setParentBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
BatchCommitWriteStreamsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCommitWriteStreamsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCommitWriteStreamsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchCommitWriteStreamsRequest.Builder |
setWriteStreams(int index, String value)
public BatchCommitWriteStreamsRequest.Builder setWriteStreams(int index, String value)
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index to set the value at. |
value | String The writeStreams to set. |
Type | Description |
BatchCommitWriteStreamsRequest.Builder | This builder for chaining. |