public static final class Stream.WriteStream.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Stream.WriteStream.Builder> implements Stream.WriteStreamOrBuilder
Information about a single stream that gets data inside the storage system.Protobuf type
google.cloud.bigquery.storage.v1alpha2.WriteStream| Modifier and Type | Method and Description |
|---|---|
Stream.WriteStream.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stream.WriteStream |
build() |
Stream.WriteStream |
buildPartial() |
Stream.WriteStream.Builder |
clear() |
Stream.WriteStream.Builder |
clearCommitTime()
Output only.
|
Stream.WriteStream.Builder |
clearCreateTime()
Output only.
|
Stream.WriteStream.Builder |
clearExternalId()
Id set by client to annotate its identity.
|
Stream.WriteStream.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Stream.WriteStream.Builder |
clearName()
Output only.
|
Stream.WriteStream.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Stream.WriteStream.Builder |
clearTableSchema()
Output only.
|
Stream.WriteStream.Builder |
clearType()
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
|
Stream.WriteStream.Builder |
clone() |
com.google.protobuf.Timestamp |
getCommitTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCommitTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCommitTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Stream.WriteStream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExternalId()
Id set by client to annotate its identity.
|
com.google.protobuf.ByteString |
getExternalIdBytes()
Id set by client to annotate its identity.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Table.TableSchema |
getTableSchema()
Output only.
|
Table.TableSchema.Builder |
getTableSchemaBuilder()
Output only.
|
Table.TableSchemaOrBuilder |
getTableSchemaOrBuilder()
Output only.
|
Stream.WriteStream.Type |
getType()
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
|
int |
getTypeValue()
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
|
boolean |
hasCommitTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasTableSchema()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Stream.WriteStream.Builder |
mergeCommitTime(com.google.protobuf.Timestamp value)
Output only.
|
Stream.WriteStream.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Stream.WriteStream.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Stream.WriteStream.Builder |
mergeFrom(com.google.protobuf.Message other) |
Stream.WriteStream.Builder |
mergeFrom(Stream.WriteStream other) |
Stream.WriteStream.Builder |
mergeTableSchema(Table.TableSchema value)
Output only.
|
Stream.WriteStream.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Stream.WriteStream.Builder |
setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Stream.WriteStream.Builder |
setCommitTime(com.google.protobuf.Timestamp value)
Output only.
|
Stream.WriteStream.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Stream.WriteStream.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Stream.WriteStream.Builder |
setExternalId(String value)
Id set by client to annotate its identity.
|
Stream.WriteStream.Builder |
setExternalIdBytes(com.google.protobuf.ByteString value)
Id set by client to annotate its identity.
|
Stream.WriteStream.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stream.WriteStream.Builder |
setName(String value)
Output only.
|
Stream.WriteStream.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Stream.WriteStream.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Stream.WriteStream.Builder |
setTableSchema(Table.TableSchema.Builder builderForValue)
Output only.
|
Stream.WriteStream.Builder |
setTableSchema(Table.TableSchema value)
Output only.
|
Stream.WriteStream.Builder |
setType(Stream.WriteStream.Type value)
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
|
Stream.WriteStream.Builder |
setTypeValue(int value)
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
|
Stream.WriteStream.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<Stream.WriteStream.Builder>public Stream.WriteStream.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.WriteStream.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<Stream.WriteStream.Builder>public Stream.WriteStream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Stream.WriteStream build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Stream.WriteStream buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Stream.WriteStream.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.WriteStream.Builder>public Stream.WriteStream.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<Stream.WriteStream.Builder>public Stream.WriteStream.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.WriteStream.Builder>public Stream.WriteStream.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.WriteStream.Builder>public Stream.WriteStream.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<Stream.WriteStream.Builder>public Stream.WriteStream.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<Stream.WriteStream.Builder>public Stream.WriteStream.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stream.WriteStream.Builder>public Stream.WriteStream.Builder mergeFrom(Stream.WriteStream other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.WriteStream.Builder>public Stream.WriteStream.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<Stream.WriteStream.Builder>IOExceptionpublic String getName()
Output only. Name of the stream, in the form
`projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface Stream.WriteStreamOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Name of the stream, in the form
`projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface Stream.WriteStreamOrBuilderpublic Stream.WriteStream.Builder setName(String value)
Output only. Name of the stream, in the form
`projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Stream.WriteStream.Builder clearName()
Output only. Name of the stream, in the form
`projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Stream.WriteStream.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Name of the stream, in the form
`projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public int getTypeValue()
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
getTypeValue in interface Stream.WriteStreamOrBuilderpublic Stream.WriteStream.Builder setTypeValue(int value)
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
value - The enum numeric value on the wire for type to set.public Stream.WriteStream.Type getType()
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
getType in interface Stream.WriteStreamOrBuilderpublic Stream.WriteStream.Builder setType(Stream.WriteStream.Type value)
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
value - The type to set.public Stream.WriteStream.Builder clearType()
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
public boolean hasCreateTime()
Output only. Create time of the stream.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface Stream.WriteStreamOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the stream.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface Stream.WriteStreamOrBuilderpublic Stream.WriteStream.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the stream.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time of the stream.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the stream.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder clearCreateTime()
Output only. Create time of the stream.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time of the stream.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the stream.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface Stream.WriteStreamOrBuilderpublic boolean hasCommitTime()
Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.
.google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCommitTime in interface Stream.WriteStreamOrBuilderpublic com.google.protobuf.Timestamp getCommitTime()
Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.
.google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCommitTime in interface Stream.WriteStreamOrBuilderpublic Stream.WriteStream.Builder setCommitTime(com.google.protobuf.Timestamp value)
Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.
.google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.
.google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder mergeCommitTime(com.google.protobuf.Timestamp value)
Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.
.google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder clearCommitTime()
Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.
.google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder()
Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.
.google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder()
Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.
.google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCommitTimeOrBuilder in interface Stream.WriteStreamOrBuilderpublic boolean hasTableSchema()
Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.
.google.cloud.bigquery.storage.v1alpha2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasTableSchema in interface Stream.WriteStreamOrBuilderpublic Table.TableSchema getTableSchema()
Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.
.google.cloud.bigquery.storage.v1alpha2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTableSchema in interface Stream.WriteStreamOrBuilderpublic Stream.WriteStream.Builder setTableSchema(Table.TableSchema value)
Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.
.google.cloud.bigquery.storage.v1alpha2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder setTableSchema(Table.TableSchema.Builder builderForValue)
Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.
.google.cloud.bigquery.storage.v1alpha2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder mergeTableSchema(Table.TableSchema value)
Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.
.google.cloud.bigquery.storage.v1alpha2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Stream.WriteStream.Builder clearTableSchema()
Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.
.google.cloud.bigquery.storage.v1alpha2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Table.TableSchema.Builder getTableSchemaBuilder()
Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.
.google.cloud.bigquery.storage.v1alpha2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Table.TableSchemaOrBuilder getTableSchemaOrBuilder()
Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.
.google.cloud.bigquery.storage.v1alpha2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTableSchemaOrBuilder in interface Stream.WriteStreamOrBuilderpublic String getExternalId()
Id set by client to annotate its identity.
string external_id = 6;getExternalId in interface Stream.WriteStreamOrBuilderpublic com.google.protobuf.ByteString getExternalIdBytes()
Id set by client to annotate its identity.
string external_id = 6;getExternalIdBytes in interface Stream.WriteStreamOrBuilderpublic Stream.WriteStream.Builder setExternalId(String value)
Id set by client to annotate its identity.
string external_id = 6;value - The externalId to set.public Stream.WriteStream.Builder clearExternalId()
Id set by client to annotate its identity.
string external_id = 6;public Stream.WriteStream.Builder setExternalIdBytes(com.google.protobuf.ByteString value)
Id set by client to annotate its identity.
string external_id = 6;value - The bytes for externalId to set.public final Stream.WriteStream.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.WriteStream.Builder>public final Stream.WriteStream.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stream.WriteStream.Builder>Copyright © 2020 Google LLC. All rights reserved.