Class ReadSession
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.storage.v1.ReadSession
-
- All Implemented Interfaces:
ReadSessionOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ReadSession extends com.google.protobuf.GeneratedMessageV3 implements ReadSessionOrBuilder
Information about the ReadSession.
Protobuf typegoogle.cloud.bigquery.storage.v1.ReadSession
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReadSession.Builder
Information about the ReadSession.static class
ReadSession.SchemaCase
static class
ReadSession.TableModifiers
Additional attributes when reading a table.static interface
ReadSession.TableModifiersOrBuilder
static class
ReadSession.TableReadOptions
Options dictating how we read a table.static interface
ReadSession.TableReadOptionsOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARROW_SCHEMA_FIELD_NUMBER
static int
AVRO_SCHEMA_FIELD_NUMBER
static int
DATA_FORMAT_FIELD_NUMBER
static int
ESTIMATED_ROW_COUNT_FIELD_NUMBER
static int
ESTIMATED_TOTAL_BYTES_SCANNED_FIELD_NUMBER
static int
ESTIMATED_TOTAL_PHYSICAL_FILE_SIZE_FIELD_NUMBER
static int
EXPIRE_TIME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
READ_OPTIONS_FIELD_NUMBER
static int
STREAMS_FIELD_NUMBER
static int
TABLE_FIELD_NUMBER
static int
TABLE_MODIFIERS_FIELD_NUMBER
static int
TRACE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ArrowSchema
getArrowSchema()
Output only.ArrowSchemaOrBuilder
getArrowSchemaOrBuilder()
Output only.AvroSchema
getAvroSchema()
Output only.AvroSchemaOrBuilder
getAvroSchemaOrBuilder()
Output only.DataFormat
getDataFormat()
Immutable.int
getDataFormatValue()
Immutable.static ReadSession
getDefaultInstance()
ReadSession
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getEstimatedRowCount()
Output only.long
getEstimatedTotalBytesScanned()
Output only.long
getEstimatedTotalPhysicalFileSize()
Output only.com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<ReadSession>
getParserForType()
ReadSession.TableReadOptions
getReadOptions()
Optional.ReadSession.TableReadOptionsOrBuilder
getReadOptionsOrBuilder()
Optional.ReadSession.SchemaCase
getSchemaCase()
int
getSerializedSize()
ReadStream
getStreams(int index)
Output only.int
getStreamsCount()
Output only.List<ReadStream>
getStreamsList()
Output only.ReadStreamOrBuilder
getStreamsOrBuilder(int index)
Output only.List<? extends ReadStreamOrBuilder>
getStreamsOrBuilderList()
Output only.String
getTable()
Immutable.com.google.protobuf.ByteString
getTableBytes()
Immutable.ReadSession.TableModifiers
getTableModifiers()
Optional.ReadSession.TableModifiersOrBuilder
getTableModifiersOrBuilder()
Optional.String
getTraceId()
Optional.com.google.protobuf.ByteString
getTraceIdBytes()
Optional.boolean
hasArrowSchema()
Output only.boolean
hasAvroSchema()
Output only.boolean
hasExpireTime()
Output only.int
hashCode()
boolean
hasReadOptions()
Optional.boolean
hasTableModifiers()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ReadSession.Builder
newBuilder()
static ReadSession.Builder
newBuilder(ReadSession prototype)
ReadSession.Builder
newBuilderForType()
protected ReadSession.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ReadSession
parseDelimitedFrom(InputStream input)
static ReadSession
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadSession
parseFrom(byte[] data)
static ReadSession
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadSession
parseFrom(com.google.protobuf.ByteString data)
static ReadSession
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadSession
parseFrom(com.google.protobuf.CodedInputStream input)
static ReadSession
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadSession
parseFrom(InputStream input)
static ReadSession
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadSession
parseFrom(ByteBuffer data)
static ReadSession
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ReadSession>
parser()
ReadSession.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FORMAT_FIELD_NUMBER
public static final int DATA_FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVRO_SCHEMA_FIELD_NUMBER
public static final int AVRO_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARROW_SCHEMA_FIELD_NUMBER
public static final int ARROW_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLE_MODIFIERS_FIELD_NUMBER
public static final int TABLE_MODIFIERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READ_OPTIONS_FIELD_NUMBER
public static final int READ_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAMS_FIELD_NUMBER
public static final int STREAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ESTIMATED_TOTAL_BYTES_SCANNED_FIELD_NUMBER
public static final int ESTIMATED_TOTAL_BYTES_SCANNED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ESTIMATED_TOTAL_PHYSICAL_FILE_SIZE_FIELD_NUMBER
public static final int ESTIMATED_TOTAL_PHYSICAL_FILE_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ESTIMATED_ROW_COUNT_FIELD_NUMBER
public static final int ESTIMATED_ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSchemaCase
public ReadSession.SchemaCase getSchemaCase()
- Specified by:
getSchemaCase
in interfaceReadSessionOrBuilder
-
getName
public String getName()
Output only. Unique identifier for the session, in the form `projects/{project_id}/locations/{location}/sessions/{session_id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceReadSessionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Unique identifier for the session, in the form `projects/{project_id}/locations/{location}/sessions/{session_id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceReadSessionOrBuilder
- Returns:
- The bytes for name.
-
hasExpireTime
public boolean hasExpireTime()
Output only. Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors. The expire_time is automatically assigned and currently cannot be specified or updated.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasExpireTime
in interfaceReadSessionOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
Output only. Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors. The expire_time is automatically assigned and currently cannot be specified or updated.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTime
in interfaceReadSessionOrBuilder
- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors. The expire_time is automatically assigned and currently cannot be specified or updated.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTimeOrBuilder
in interfaceReadSessionOrBuilder
-
getDataFormatValue
public int getDataFormatValue()
Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not supported.
.google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getDataFormatValue
in interfaceReadSessionOrBuilder
- Returns:
- The enum numeric value on the wire for dataFormat.
-
getDataFormat
public DataFormat getDataFormat()
Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not supported.
.google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getDataFormat
in interfaceReadSessionOrBuilder
- Returns:
- The dataFormat.
-
hasAvroSchema
public boolean hasAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasAvroSchema
in interfaceReadSessionOrBuilder
- Returns:
- Whether the avroSchema field is set.
-
getAvroSchema
public AvroSchema getAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAvroSchema
in interfaceReadSessionOrBuilder
- Returns:
- The avroSchema.
-
getAvroSchemaOrBuilder
public AvroSchemaOrBuilder getAvroSchemaOrBuilder()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAvroSchemaOrBuilder
in interfaceReadSessionOrBuilder
-
hasArrowSchema
public boolean hasArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasArrowSchema
in interfaceReadSessionOrBuilder
- Returns:
- Whether the arrowSchema field is set.
-
getArrowSchema
public ArrowSchema getArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getArrowSchema
in interfaceReadSessionOrBuilder
- Returns:
- The arrowSchema.
-
getArrowSchemaOrBuilder
public ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getArrowSchemaOrBuilder
in interfaceReadSessionOrBuilder
-
getTable
public String getTable()
Immutable. Table that this ReadSession is reading from, in the form `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getTable
in interfaceReadSessionOrBuilder
- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()
Immutable. Table that this ReadSession is reading from, in the form `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
- Specified by:
getTableBytes
in interfaceReadSessionOrBuilder
- Returns:
- The bytes for table.
-
hasTableModifiers
public boolean hasTableModifiers()
Optional. Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasTableModifiers
in interfaceReadSessionOrBuilder
- Returns:
- Whether the tableModifiers field is set.
-
getTableModifiers
public ReadSession.TableModifiers getTableModifiers()
Optional. Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTableModifiers
in interfaceReadSessionOrBuilder
- Returns:
- The tableModifiers.
-
getTableModifiersOrBuilder
public ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder()
Optional. Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTableModifiersOrBuilder
in interfaceReadSessionOrBuilder
-
hasReadOptions
public boolean hasReadOptions()
Optional. Read options for this session (e.g. column selection, filters).
.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasReadOptions
in interfaceReadSessionOrBuilder
- Returns:
- Whether the readOptions field is set.
-
getReadOptions
public ReadSession.TableReadOptions getReadOptions()
Optional. Read options for this session (e.g. column selection, filters).
.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReadOptions
in interfaceReadSessionOrBuilder
- Returns:
- The readOptions.
-
getReadOptionsOrBuilder
public ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder()
Optional. Read options for this session (e.g. column selection, filters).
.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getReadOptionsOrBuilder
in interfaceReadSessionOrBuilder
-
getStreamsList
public List<ReadStream> getStreamsList()
Output only. A list of streams created with the session. At least one stream is created with the session. In the future, larger request_stream_count values *may* result in this list being unpopulated, in that case, the user will need to use a List method to get the streams instead, which is not yet available.
repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStreamsList
in interfaceReadSessionOrBuilder
-
getStreamsOrBuilderList
public List<? extends ReadStreamOrBuilder> getStreamsOrBuilderList()
Output only. A list of streams created with the session. At least one stream is created with the session. In the future, larger request_stream_count values *may* result in this list being unpopulated, in that case, the user will need to use a List method to get the streams instead, which is not yet available.
repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStreamsOrBuilderList
in interfaceReadSessionOrBuilder
-
getStreamsCount
public int getStreamsCount()
Output only. A list of streams created with the session. At least one stream is created with the session. In the future, larger request_stream_count values *may* result in this list being unpopulated, in that case, the user will need to use a List method to get the streams instead, which is not yet available.
repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStreamsCount
in interfaceReadSessionOrBuilder
-
getStreams
public ReadStream getStreams(int index)
Output only. A list of streams created with the session. At least one stream is created with the session. In the future, larger request_stream_count values *may* result in this list being unpopulated, in that case, the user will need to use a List method to get the streams instead, which is not yet available.
repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStreams
in interfaceReadSessionOrBuilder
-
getStreamsOrBuilder
public ReadStreamOrBuilder getStreamsOrBuilder(int index)
Output only. A list of streams created with the session. At least one stream is created with the session. In the future, larger request_stream_count values *may* result in this list being unpopulated, in that case, the user will need to use a List method to get the streams instead, which is not yet available.
repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStreamsOrBuilder
in interfaceReadSessionOrBuilder
-
getEstimatedTotalBytesScanned
public long getEstimatedTotalBytesScanned()
Output only. An estimate on the number of bytes this session will scan when all streams are completely consumed. This estimate is based on metadata from the table which might be incomplete or stale.
int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEstimatedTotalBytesScanned
in interfaceReadSessionOrBuilder
- Returns:
- The estimatedTotalBytesScanned.
-
getEstimatedTotalPhysicalFileSize
public long getEstimatedTotalPhysicalFileSize()
Output only. A pre-projected estimate of the total physical size of files (in bytes) that this session will scan when all streams are consumed. This estimate is independent of the selected columns and can be based on incomplete or stale metadata from the table. This field is only set for BigLake tables.
int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEstimatedTotalPhysicalFileSize
in interfaceReadSessionOrBuilder
- Returns:
- The estimatedTotalPhysicalFileSize.
-
getEstimatedRowCount
public long getEstimatedRowCount()
Output only. An estimate on the number of rows present in this session's streams. This estimate is based on metadata from the table which might be incomplete or stale.
int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEstimatedRowCount
in interfaceReadSessionOrBuilder
- Returns:
- The estimatedRowCount.
-
getTraceId
public String getTraceId()
Optional. ID set by client to annotate a session identity. This does not need to be strictly unique, but instead the same ID should be used to group logically connected sessions (e.g. All using the same ID for all sessions needed to complete a Spark SQL query is reasonable). Maximum length is 256 bytes.
string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTraceId
in interfaceReadSessionOrBuilder
- Returns:
- The traceId.
-
getTraceIdBytes
public com.google.protobuf.ByteString getTraceIdBytes()
Optional. ID set by client to annotate a session identity. This does not need to be strictly unique, but instead the same ID should be used to group logically connected sessions (e.g. All using the same ID for all sessions needed to complete a Spark SQL query is reasonable). Maximum length is 256 bytes.
string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTraceIdBytes
in interfaceReadSessionOrBuilder
- Returns:
- The bytes for traceId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReadSession parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadSession parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadSession parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadSession parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadSession parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadSession parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadSession parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadSession parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReadSession parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReadSession parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadSession parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadSession parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReadSession.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReadSession.Builder newBuilder()
-
newBuilder
public static ReadSession.Builder newBuilder(ReadSession prototype)
-
toBuilder
public ReadSession.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReadSession.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReadSession getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReadSession> parser()
-
getParserForType
public com.google.protobuf.Parser<ReadSession> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReadSession getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-