Interface ExecuteChangeStreamQueryOrBuilder (6.56.0)

public interface ExecuteChangeStreamQueryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudDatabaseRole()

public abstract String getCloudDatabaseRole()

Database role to assume while performing this action. This should only be set for cloud requests. Setting the database role will enforce additional role-based access checks on this action.

optional string cloud_database_role = 8;

Returns
TypeDescription
String

The cloudDatabaseRole.

getCloudDatabaseRoleBytes()

public abstract ByteString getCloudDatabaseRoleBytes()

Database role to assume while performing this action. This should only be set for cloud requests. Setting the database role will enforce additional role-based access checks on this action.

optional string cloud_database_role = 8;

Returns
TypeDescription
ByteString

The bytes for cloudDatabaseRole.

getDeadlineSeconds()

public abstract long getDeadlineSeconds()

Deadline for this change stream query, in seconds.

optional int64 deadline_seconds = 7;

Returns
TypeDescription
long

The deadlineSeconds.

getEndTime()

public abstract Timestamp getEndTime()

Specifies that records with commit_timestamp less than or equal to end_time should be returned.

optional .google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Specifies that records with commit_timestamp less than or equal to end_time should be returned.

optional .google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getHeartbeatMilliseconds()

public abstract int getHeartbeatMilliseconds()

Determines how frequently a heartbeat ChangeRecord will be returned in case there are no transactions committed in this partition, in milliseconds.

optional int32 heartbeat_milliseconds = 6;

Returns
TypeDescription
int

The heartbeatMilliseconds.

getName()

public abstract String getName()

Name for this change stream.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name for this change stream.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPartitionToken()

public abstract String getPartitionToken()

Specifies which change stream partition to query, based on the content of child partitions records.

optional string partition_token = 4;

Returns
TypeDescription
String

The partitionToken.

getPartitionTokenBytes()

public abstract ByteString getPartitionTokenBytes()

Specifies which change stream partition to query, based on the content of child partitions records.

optional string partition_token = 4;

Returns
TypeDescription
ByteString

The bytes for partitionToken.

getReadOptions(int index)

public abstract String getReadOptions(int index)

Read options for this change stream query.

repeated string read_options = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The readOptions at the given index.

getReadOptionsBytes(int index)

public abstract ByteString getReadOptionsBytes(int index)

Read options for this change stream query.

repeated string read_options = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the readOptions at the given index.

getReadOptionsCount()

public abstract int getReadOptionsCount()

Read options for this change stream query.

repeated string read_options = 5;

Returns
TypeDescription
int

The count of readOptions.

getReadOptionsList()

public abstract List<String> getReadOptionsList()

Read options for this change stream query.

repeated string read_options = 5;

Returns
TypeDescription
List<String>

A list containing the readOptions.

getStartTime()

public abstract Timestamp getStartTime()

Specifies that records with commit_timestamp greater than or equal to start_time should be returned.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Specifies that records with commit_timestamp greater than or equal to start_time should be returned.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasCloudDatabaseRole()

public abstract boolean hasCloudDatabaseRole()

Database role to assume while performing this action. This should only be set for cloud requests. Setting the database role will enforce additional role-based access checks on this action.

optional string cloud_database_role = 8;

Returns
TypeDescription
boolean

Whether the cloudDatabaseRole field is set.

hasDeadlineSeconds()

public abstract boolean hasDeadlineSeconds()

Deadline for this change stream query, in seconds.

optional int64 deadline_seconds = 7;

Returns
TypeDescription
boolean

Whether the deadlineSeconds field is set.

hasEndTime()

public abstract boolean hasEndTime()

Specifies that records with commit_timestamp less than or equal to end_time should be returned.

optional .google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasHeartbeatMilliseconds()

public abstract boolean hasHeartbeatMilliseconds()

Determines how frequently a heartbeat ChangeRecord will be returned in case there are no transactions committed in this partition, in milliseconds.

optional int32 heartbeat_milliseconds = 6;

Returns
TypeDescription
boolean

Whether the heartbeatMilliseconds field is set.

hasPartitionToken()

public abstract boolean hasPartitionToken()

Specifies which change stream partition to query, based on the content of child partitions records.

optional string partition_token = 4;

Returns
TypeDescription
boolean

Whether the partitionToken field is set.

hasStartTime()

public abstract boolean hasStartTime()

Specifies that records with commit_timestamp greater than or equal to start_time should be returned.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
boolean

Whether the startTime field is set.