Send feedback
Class CreateWriteStreamRequest.Builder (2.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.20.0 keyboard_arrow_down
public static final class CreateWriteStreamRequest . Builder extends GeneratedMessageV3 . Builder<CreateWriteStreamRequest . Builder > implements CreateWriteStreamRequestOrBuilder
Request message for CreateWriteStream
.
Protobuf type google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWriteStreamRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateWriteStreamRequest build ()
Returns
buildPartial()
public CreateWriteStreamRequest buildPartial ()
Returns
clear()
public CreateWriteStreamRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateWriteStreamRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWriteStreamRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParent()
public CreateWriteStreamRequest . Builder clearParent ()
Required. Reference to the table to which the stream belongs, in the format
of projects/{project}/datasets/{dataset}/tables/{table}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearWriteStream()
public CreateWriteStreamRequest . Builder clearWriteStream ()
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateWriteStreamRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public CreateWriteStreamRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getParent()
public String getParent ()
Required. Reference to the table to which the stream belongs, in the format
of projects/{project}/datasets/{dataset}/tables/{table}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type Description String The parent.
getParentBytes()
public ByteString getParentBytes ()
Required. Reference to the table to which the stream belongs, in the format
of projects/{project}/datasets/{dataset}/tables/{table}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getWriteStream()
public WriteStream getWriteStream ()
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getWriteStreamBuilder()
public WriteStream . Builder getWriteStreamBuilder ()
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getWriteStreamOrBuilder()
public WriteStreamOrBuilder getWriteStreamOrBuilder ()
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasWriteStream()
public boolean hasWriteStream ()
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the writeStream field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(CreateWriteStreamRequest other)
public CreateWriteStreamRequest . Builder mergeFrom ( CreateWriteStreamRequest other )
Parameter
Returns
public CreateWriteStreamRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateWriteStreamRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWriteStreamRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeWriteStream(WriteStream value)
public CreateWriteStreamRequest . Builder mergeWriteStream ( WriteStream value )
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWriteStreamRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setParent(String value)
public CreateWriteStreamRequest . Builder setParent ( String value )
Required. Reference to the table to which the stream belongs, in the format
of projects/{project}/datasets/{dataset}/tables/{table}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value String
The parent to set.
Returns
setParentBytes(ByteString value)
public CreateWriteStreamRequest . Builder setParentBytes ( ByteString value )
Required. Reference to the table to which the stream belongs, in the format
of projects/{project}/datasets/{dataset}/tables/{table}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value ByteString
The bytes for parent to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateWriteStreamRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWriteStreamRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setWriteStream(WriteStream value)
public CreateWriteStreamRequest . Builder setWriteStream ( WriteStream value )
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setWriteStream(WriteStream.Builder builderForValue)
public CreateWriteStreamRequest . Builder setWriteStream ( WriteStream . Builder builderForValue )
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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."],[],[]]