public static final class BatchCommitWriteStreamsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder> implements BatchCommitWriteStreamsRequestOrBuilder
Request message for `BatchCommitWriteStreams`.Protobuf type
google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchCommitWriteStreamsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchCommitWriteStreamsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchCommitWriteStreamsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder mergeFrom(BatchCommitWriteStreamsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public BatchCommitWriteStreamsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchCommitWriteStreamsRequest.Builder>IOExceptionpublic 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];getParent in interface BatchCommitWriteStreamsRequestOrBuilderpublic com.google.protobuf.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];getParentBytes in interface BatchCommitWriteStreamsRequestOrBuilderpublic 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];value - The parent to set.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];public BatchCommitWriteStreamsRequest.Builder setParentBytes(com.google.protobuf.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];value - The bytes for parent to set.public com.google.protobuf.ProtocolStringList getWriteStreamsList()
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];getWriteStreamsList in interface BatchCommitWriteStreamsRequestOrBuilderpublic int getWriteStreamsCount()
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];getWriteStreamsCount in interface BatchCommitWriteStreamsRequestOrBuilderpublic String getWriteStreams(int index)
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];getWriteStreams in interface BatchCommitWriteStreamsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getWriteStreamsBytes(int index)
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];getWriteStreamsBytes in interface BatchCommitWriteStreamsRequestOrBuilderindex - The index of the value to return.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];index - The index to set the value at.value - The writeStreams to set.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];value - The writeStreams to add.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];values - The writeStreams to add.public BatchCommitWriteStreamsRequest.Builder clearWriteStreams()
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];public BatchCommitWriteStreamsRequest.Builder addWriteStreamsBytes(com.google.protobuf.ByteString value)
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes of the writeStreams to add.public final BatchCommitWriteStreamsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>public final BatchCommitWriteStreamsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.