Class protos.google.bigtable.v2.ReadChangeStreamRequest (5.0.0)

Represents a ReadChangeStreamRequest.

Package

@google-cloud/bigtable

Constructors

(constructor)(properties)

constructor(properties?: google.bigtable.v2.IReadChangeStreamRequest);

Constructs a new ReadChangeStreamRequest.

Parameter
NameDescription
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
NameDescription
properties IReadChangeStreamRequest

Properties to set

Returns
TypeDescription
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
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
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
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
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
NameDescription
message IReadChangeStreamRequest

ReadChangeStreamRequest message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$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
NameDescription
message IReadChangeStreamRequest

ReadChangeStreamRequest message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$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
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
ReadChangeStreamRequest

ReadChangeStreamRequest

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for ReadChangeStreamRequest

Parameter
NameDescription
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
TypeDescription
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this ReadChangeStreamRequest to JSON.

Returns
TypeDescription
{ [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
NameDescription
message ReadChangeStreamRequest

ReadChangeStreamRequest

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a ReadChangeStreamRequest message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not