Interface ReceiveEventsRequest.SetupRequestOrBuilder (0.2.0)

public static interface ReceiveEventsRequest.SetupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCluster()

public abstract String getCluster()

The cluster name.

string cluster = 1;

Returns
Type Description
String

The cluster.

getClusterBytes()

public abstract ByteString getClusterBytes()

The cluster name.

string cluster = 1;

Returns
Type Description
ByteString

The bytes for cluster.

getControlledMode()

public abstract ControlledMode getControlledMode()

Controller mode configuration for receiving events from the server.

.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;

Returns
Type Description
ControlledMode

The controlledMode.

getControlledModeOrBuilder()

public abstract ControlledModeOrBuilder getControlledModeOrBuilder()

Controller mode configuration for receiving events from the server.

.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;

Returns
Type Description
ControlledModeOrBuilder

getHeartbeatInterval()

public abstract Duration getHeartbeatInterval()

The maximum duration of server silence before the client determines the server unreachable.

The client must either receive an Event update or a heart beat message before this duration expires; otherwise, the client will automatically cancel the current connection and retry.

.google.protobuf.Duration heartbeat_interval = 5;

Returns
Type Description
Duration

The heartbeatInterval.

getHeartbeatIntervalOrBuilder()

public abstract DurationOrBuilder getHeartbeatIntervalOrBuilder()

The maximum duration of server silence before the client determines the server unreachable.

The client must either receive an Event update or a heart beat message before this duration expires; otherwise, the client will automatically cancel the current connection and retry.

.google.protobuf.Duration heartbeat_interval = 5;

Returns
Type Description
DurationOrBuilder

getReceiver()

public abstract String getReceiver()

A name for the receiver to self-identify.

This is used to keep track of a receiver's read progress.

string receiver = 3;

Returns
Type Description
String

The receiver.

getReceiverBytes()

public abstract ByteString getReceiverBytes()

A name for the receiver to self-identify.

This is used to keep track of a receiver's read progress.

string receiver = 3;

Returns
Type Description
ByteString

The bytes for receiver.

getStream()

public abstract String getStream()

The stream name. The service will return the events for the given stream.

string stream = 2;

Returns
Type Description
String

The stream.

getStreamBytes()

public abstract ByteString getStreamBytes()

The stream name. The service will return the events for the given stream.

string stream = 2;

Returns
Type Description
ByteString

The bytes for stream.

getWritesDoneGracePeriod()

public abstract Duration getWritesDoneGracePeriod()

The grace period after which a writes_done_request is issued, that a WritesDone is expected from the client.

The server is free to cancel the RPC should this expire.

A system default will be chosen if unset.

.google.protobuf.Duration writes_done_grace_period = 6;

Returns
Type Description
Duration

The writesDoneGracePeriod.

getWritesDoneGracePeriodOrBuilder()

public abstract DurationOrBuilder getWritesDoneGracePeriodOrBuilder()

The grace period after which a writes_done_request is issued, that a WritesDone is expected from the client.

The server is free to cancel the RPC should this expire.

A system default will be chosen if unset.

.google.protobuf.Duration writes_done_grace_period = 6;

Returns
Type Description
DurationOrBuilder

hasControlledMode()

public abstract boolean hasControlledMode()

Controller mode configuration for receiving events from the server.

.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;

Returns
Type Description
boolean

Whether the controlledMode field is set.

hasHeartbeatInterval()

public abstract boolean hasHeartbeatInterval()

The maximum duration of server silence before the client determines the server unreachable.

The client must either receive an Event update or a heart beat message before this duration expires; otherwise, the client will automatically cancel the current connection and retry.

.google.protobuf.Duration heartbeat_interval = 5;

Returns
Type Description
boolean

Whether the heartbeatInterval field is set.

hasWritesDoneGracePeriod()

public abstract boolean hasWritesDoneGracePeriod()

The grace period after which a writes_done_request is issued, that a WritesDone is expected from the client.

The server is free to cancel the RPC should this expire.

A system default will be chosen if unset.

.google.protobuf.Duration writes_done_grace_period = 6;

Returns
Type Description
boolean

Whether the writesDoneGracePeriod field is set.