Send feedback
Class Storage.BatchCreateReadSessionStreamsRequest.Builder (2.36.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.36.1 keyboard_arrow_down
public static final class Storage . BatchCreateReadSessionStreamsRequest . Builder extends GeneratedMessageV3 . Builder<Storage . BatchCreateReadSessionStreamsRequest . Builder > implements Storage . BatchCreateReadSessionStreamsRequestOrBuilder
Information needed to request additional streams for an established read
session.
Protobuf type
google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage . BatchCreateReadSessionStreamsRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Storage . BatchCreateReadSessionStreamsRequest build ()
buildPartial()
public Storage . BatchCreateReadSessionStreamsRequest buildPartial ()
clear()
public Storage . BatchCreateReadSessionStreamsRequest . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Storage . BatchCreateReadSessionStreamsRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage . BatchCreateReadSessionStreamsRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRequestedStreams()
public Storage . BatchCreateReadSessionStreamsRequest . Builder clearRequestedStreams ()
Required. Number of new streams requested. Must be positive.
Number of added streams may be less than this, see CreateReadSessionRequest
for more information.
int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];
clearSession()
public Storage . BatchCreateReadSessionStreamsRequest . Builder clearSession ()
Required. Must be a non-expired session obtained from a call to
CreateReadSession. Only the name field needs to be set.
.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public Storage . BatchCreateReadSessionStreamsRequest . Builder clone ()
Overrides
getDefaultInstanceForType()
public Storage . BatchCreateReadSessionStreamsRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getRequestedStreams()
public int getRequestedStreams ()
Required. Number of new streams requested. Must be positive.
Number of added streams may be less than this, see CreateReadSessionRequest
for more information.
int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description int
The requestedStreams.
getSession()
public Storage . ReadSession getSession ()
Required. Must be a non-expired session obtained from a call to
CreateReadSession. Only the name field needs to be set.
.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
getSessionBuilder()
public Storage . ReadSession . Builder getSessionBuilder ()
Required. Must be a non-expired session obtained from a call to
CreateReadSession. Only the name field needs to be set.
.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
getSessionOrBuilder()
public Storage . ReadSessionOrBuilder getSessionOrBuilder ()
Required. Must be a non-expired session obtained from a call to
CreateReadSession. Only the name field needs to be set.
.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
hasSession()
public boolean hasSession ()
Required. Must be a non-expired session obtained from a call to
CreateReadSession. Only the name field needs to be set.
.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description boolean
Whether the session field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Storage.BatchCreateReadSessionStreamsRequest other)
public Storage . BatchCreateReadSessionStreamsRequest . Builder mergeFrom ( Storage . BatchCreateReadSessionStreamsRequest other )
public Storage . BatchCreateReadSessionStreamsRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Storage . BatchCreateReadSessionStreamsRequest . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeSession(Storage.ReadSession value)
public Storage . BatchCreateReadSessionStreamsRequest . Builder mergeSession ( Storage . ReadSession value )
Required. Must be a non-expired session obtained from a call to
CreateReadSession. Only the name field needs to be set.
.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage . BatchCreateReadSessionStreamsRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Storage . BatchCreateReadSessionStreamsRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage . BatchCreateReadSessionStreamsRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRequestedStreams(int value)
public Storage . BatchCreateReadSessionStreamsRequest . Builder setRequestedStreams ( int value )
Required. Number of new streams requested. Must be positive.
Number of added streams may be less than this, see CreateReadSessionRequest
for more information.
int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
int
The requestedStreams to set.
setSession(Storage.ReadSession value)
public Storage . BatchCreateReadSessionStreamsRequest . Builder setSession ( Storage . ReadSession value )
Required. Must be a non-expired session obtained from a call to
CreateReadSession. Only the name field needs to be set.
.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
setSession(Storage.ReadSession.Builder builderForValue)
public Storage . BatchCreateReadSessionStreamsRequest . Builder setSession ( Storage . ReadSession . Builder builderForValue )
Required. Must be a non-expired session obtained from a call to
CreateReadSession. Only the name field needs to be set.
.google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage . BatchCreateReadSessionStreamsRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]