public static final class Storage.BatchCommitWriteStreamsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Storage.BatchCommitWriteStreamsRequest.Builder> implements Storage.BatchCommitWriteStreamsRequestOrBuilder
Request message for `BatchCommitWriteStreams`.Protobuf type
google.cloud.bigquery.storage.v1alpha2.BatchCommitWriteStreamsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.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<Storage.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<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.BatchCommitWriteStreamsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Storage.BatchCommitWriteStreamsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Storage.BatchCommitWriteStreamsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Storage.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<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.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<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.BatchCommitWriteStreamsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.BatchCommitWriteStreamsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.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<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.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<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.BatchCommitWriteStreamsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.BatchCommitWriteStreamsRequest.Builder mergeFrom(Storage.BatchCommitWriteStreamsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.BatchCommitWriteStreamsRequest.Builder>public Storage.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<Storage.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, (.google.api.resource_reference) = { ... }
getParent in interface Storage.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, (.google.api.resource_reference) = { ... }
getParentBytes in interface Storage.BatchCommitWriteStreamsRequestOrBuilderpublic Storage.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, (.google.api.resource_reference) = { ... }
value - The parent to set.public Storage.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, (.google.api.resource_reference) = { ... }
public Storage.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, (.google.api.resource_reference) = { ... }
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 Storage.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 Storage.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 Storage.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 Storage.BatchCommitWriteStreamsRequestOrBuilderindex - The index of the value to return.public Storage.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 Storage.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 Storage.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 Storage.BatchCommitWriteStreamsRequest.Builder clearWriteStreams()
Required. The group of streams that will be committed atomically.
repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];public Storage.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 Storage.BatchCommitWriteStreamsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.BatchCommitWriteStreamsRequest.Builder>public final Storage.BatchCommitWriteStreamsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Storage.BatchCommitWriteStreamsRequest.Builder>Copyright © 2020 Google LLC. All rights reserved.