Represents a ReadChangeStreamRequest.
Package
@google-cloud/bigtableConstructors
(constructor)(properties)
constructor(properties?: google.bigtable.v2.IReadChangeStreamRequest);Constructs a new ReadChangeStreamRequest.
| Parameter | |
|---|---|
| Name | Description |
properties |
IReadChangeStreamRequest
Properties to set |
Properties
appProfileId
public appProfileId: string;ReadChangeStreamRequest appProfileId.
continuationTokens
public continuationTokens?: (google.bigtable.v2.IStreamContinuationTokens|null);ReadChangeStreamRequest continuationTokens.
endTime
public endTime?: (google.protobuf.ITimestamp|null);ReadChangeStreamRequest endTime.
heartbeatDuration
public heartbeatDuration?: (google.protobuf.IDuration|null);ReadChangeStreamRequest heartbeatDuration.
partition
public partition?: (google.bigtable.v2.IStreamPartition|null);ReadChangeStreamRequest partition.
startFrom
public startFrom?: ("startTime"|"continuationTokens");ReadChangeStreamRequest startFrom.
startTime
public startTime?: (google.protobuf.ITimestamp|null);ReadChangeStreamRequest startTime.
tableName
public tableName: string;ReadChangeStreamRequest tableName.
Methods
create(properties)
public static create(properties?: google.bigtable.v2.IReadChangeStreamRequest): google.bigtable.v2.ReadChangeStreamRequest;Creates a new ReadChangeStreamRequest instance using the specified properties.
| Parameter | |
|---|---|
| Name | Description |
properties |
IReadChangeStreamRequest
Properties to set |
| Returns | |
|---|---|
| Type | Description |
ReadChangeStreamRequest |
ReadChangeStreamRequest instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.bigtable.v2.ReadChangeStreamRequest;Decodes a ReadChangeStreamRequest message from the specified reader or buffer.
| Parameters | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
| Returns | |
|---|---|
| Type | Description |
ReadChangeStreamRequest |
ReadChangeStreamRequest |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.bigtable.v2.ReadChangeStreamRequest;Decodes a ReadChangeStreamRequest message from the specified reader or buffer, length delimited.
| Parameter | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
| Returns | |
|---|---|
| Type | Description |
ReadChangeStreamRequest |
ReadChangeStreamRequest |
encode(message, writer)
public static encode(message: google.bigtable.v2.IReadChangeStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ReadChangeStreamRequest message. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IReadChangeStreamRequest
ReadChangeStreamRequest message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.bigtable.v2.IReadChangeStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ReadChangeStreamRequest message, length delimited. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IReadChangeStreamRequest
ReadChangeStreamRequest message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.bigtable.v2.ReadChangeStreamRequest;Creates a ReadChangeStreamRequest message from a plain object. Also converts values to their respective internal types.
| Parameter | |
|---|---|
| Name | Description |
object |
{ [k: string]: any }
Plain object |
| Returns | |
|---|---|
| Type | Description |
ReadChangeStreamRequest |
ReadChangeStreamRequest |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for ReadChangeStreamRequest
| Parameter | |
|---|---|
| Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Returns | |
|---|---|
| Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this ReadChangeStreamRequest to JSON.
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.bigtable.v2.ReadChangeStreamRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a ReadChangeStreamRequest message. Also converts values to other types if specified.
| Parameters | |
|---|---|
| Name | Description |
message |
ReadChangeStreamRequest
ReadChangeStreamRequest |
options |
$protobuf.IConversionOptions
Conversion options |
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a ReadChangeStreamRequest message.
| Parameter | |
|---|---|
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Returns | |
|---|---|
| Type | Description |
(string|null) |
|