public static final class Stream.WriteStream extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
Stream.WriteStream.Builder
Information about a single stream that gets data inside the storage system.
|
static class |
Stream.WriteStream.Type
Protobuf enum
google.cloud.bigquery.storage.v1alpha2.WriteStream.Type |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COMMIT_TIME_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
EXTERNAL_ID_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TABLE_SCHEMA_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCommitTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCommitTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Stream.WriteStream |
getDefaultInstance() |
Stream.WriteStream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Stream.WriteStream> |
getParserForType() |
int |
getSerializedSize() |
Table.TableSchema |
getTableSchema()
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];
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCommitTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasTableSchema()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Stream.WriteStream.Builder |
newBuilder() |
static Stream.WriteStream.Builder |
newBuilder(Stream.WriteStream prototype) |
Stream.WriteStream.Builder |
newBuilderForType() |
protected Stream.WriteStream.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Stream.WriteStream |
parseDelimitedFrom(InputStream input) |
static Stream.WriteStream |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream.WriteStream |
parseFrom(byte[] data) |
static Stream.WriteStream |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream.WriteStream |
parseFrom(ByteBuffer data) |
static Stream.WriteStream |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream.WriteStream |
parseFrom(com.google.protobuf.ByteString data) |
static Stream.WriteStream |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream.WriteStream |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Stream.WriteStream |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream.WriteStream |
parseFrom(InputStream input) |
static Stream.WriteStream |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Stream.WriteStream> |
parser() |
Stream.WriteStream.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int COMMIT_TIME_FIELD_NUMBER
public static final int TABLE_SCHEMA_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 int getTypeValue()
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
getTypeValue in interface Stream.WriteStreamOrBuilderpublic Stream.WriteStream.Type getType()
.google.cloud.bigquery.storage.v1alpha2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
getType in interface Stream.WriteStreamOrBuilderpublic 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Stream.WriteStream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream.WriteStream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream.WriteStream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream.WriteStream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream.WriteStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream.WriteStream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream.WriteStream parseFrom(InputStream input) throws IOException
IOExceptionpublic static Stream.WriteStream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Stream.WriteStream parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Stream.WriteStream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Stream.WriteStream parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Stream.WriteStream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Stream.WriteStream.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Stream.WriteStream.Builder newBuilder()
public static Stream.WriteStream.Builder newBuilder(Stream.WriteStream prototype)
public Stream.WriteStream.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Stream.WriteStream.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Stream.WriteStream getDefaultInstance()
public static com.google.protobuf.Parser<Stream.WriteStream> parser()
public com.google.protobuf.Parser<Stream.WriteStream> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Stream.WriteStream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.