public final class WriteStream extends GeneratedMessageV3 implements WriteStreamOrBuilder
   
   Information about a single stream that gets data inside the storage system.
 Protobuf type google.cloud.bigquery.storage.v1.WriteStream
 
  
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  COMMIT_TIME_FIELD_NUMBER
  
    public static final int COMMIT_TIME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  CREATE_TIME_FIELD_NUMBER
  
    public static final int CREATE_TIME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  LOCATION_FIELD_NUMBER
  
    public static final int LOCATION_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  NAME_FIELD_NUMBER
  
    public static final int NAME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  TABLE_SCHEMA_FIELD_NUMBER
  
    public static final int TABLE_SCHEMA_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  TYPE_FIELD_NUMBER
  
    public static final int TYPE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  WRITE_MODE_FIELD_NUMBER
  
    public static final int WRITE_MODE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static WriteStream getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static WriteStream.Builder newBuilder()
   
  
  
  newBuilder(WriteStream prototype)
  
    public static WriteStream.Builder newBuilder(WriteStream prototype)
   
  
  
  
  
  
    public static WriteStream parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static WriteStream parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static WriteStream parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        data | 
        byte[]
  | 
      
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static WriteStream parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static WriteStream parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static WriteStream parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static WriteStream parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static WriteStream parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static WriteStream parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static WriteStream parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static WriteStream parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static WriteStream parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<WriteStream> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        obj | 
        Object
  | 
      
    
  
  
  Overrides
  
  
  getCommitTime()
  
    public 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, empty commit_time
 means it is not committed.
 .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        Timestamp | 
        The commitTime. 
 | 
      
    
  
  
  getCommitTimeOrBuilder()
  
    public 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, empty commit_time
 means it is not committed.
 .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  getCreateTime()
  
    public Timestamp getCreateTime()
   
   Output only. Create time of the stream. For the _default stream, this is
 the creation_time of the table.
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        Timestamp | 
        The createTime. 
 | 
      
    
  
  
  getCreateTimeOrBuilder()
  
    public TimestampOrBuilder getCreateTimeOrBuilder()
   
   Output only. Create time of the stream. For the _default stream, this is
 the creation_time of the table.
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  getDefaultInstanceForType()
  
    public WriteStream getDefaultInstanceForType()
   
  
  
  getLocation()
  
    public String getLocation()
   
  
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The location. 
 | 
      
    
  
  
  getLocationBytes()
  
    public ByteString getLocationBytes()
   
  
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for location. 
 | 
      
    
  
  
  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];
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The name. 
 | 
      
    
  
  
  getNameBytes()
  
    public 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];
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for name. 
 | 
      
    
  
  
  getParserForType()
  
    public Parser<WriteStream> getParserForType()
   
  
  Overrides
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  Overrides
  
  
  getTableSchema()
  
    public 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.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  getTableSchemaOrBuilder()
  
    public 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.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  getType()
  
    public WriteStream.Type getType()
   
   Immutable. Type of the stream.
 
 .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
 
 
  
  
  getTypeValue()
  
    public int getTypeValue()
   
   Immutable. Type of the stream.
 
 .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
        The enum numeric value on the wire for type. 
 | 
      
    
  
  
  getWriteMode()
  
    public WriteStream.WriteMode getWriteMode()
   
   Immutable. Mode of the stream.
 
 .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
 
 
  
  
  getWriteModeValue()
  
    public int getWriteModeValue()
   
   Immutable. Mode of the stream.
 
 .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
        The enum numeric value on the wire for writeMode. 
 | 
      
    
  
  
  hasCommitTime()
  
    public 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, empty commit_time
 means it is not committed.
 .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the commitTime field is set. 
 | 
      
    
  
  
  hasCreateTime()
  
    public boolean hasCreateTime()
   
   Output only. Create time of the stream. For the _default stream, this is
 the creation_time of the table.
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the createTime field is set. 
 | 
      
    
  
  
  hasTableSchema()
  
    public 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.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the tableSchema field is set. 
 | 
      
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public WriteStream.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected WriteStream.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        Object | 
         | 
      
    
  
  Overrides
  
  
  toBuilder()
  
    public WriteStream.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides