Interface ReceivePacketsRequest.SetupRequestOrBuilder (0.2.0)

public static interface ReceivePacketsRequest.SetupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumerModeCase()

public abstract ReceivePacketsRequest.SetupRequest.ConsumerModeCase getConsumerModeCase()
Returns
Type Description
ReceivePacketsRequest.SetupRequest.ConsumerModeCase

getControlledReceiveMode()

public abstract ControlledMode getControlledReceiveMode()

Options for configuring controlled mode.

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

Returns
Type Description
ControlledMode

The controlledReceiveMode.

getControlledReceiveModeOrBuilder()

public abstract ControlledModeOrBuilder getControlledReceiveModeOrBuilder()

Options for configuring controlled mode.

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

Returns
Type Description
ControlledModeOrBuilder

getEagerReceiveMode()

public abstract EagerMode getEagerReceiveMode()

Options for configuring eager mode.

.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;

Returns
Type Description
EagerMode

The eagerReceiveMode.

getEagerReceiveModeOrBuilder()

public abstract EagerModeOrBuilder getEagerReceiveModeOrBuilder()

Options for configuring eager mode.

.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;

Returns
Type Description
EagerModeOrBuilder

getHeartbeatInterval()

public abstract Duration getHeartbeatInterval()

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

The client must either receive a Packet 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 a Packet 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

getMetadata()

public abstract RequestMetadata getMetadata()

The configurations that specify where packets are retrieved.

.google.cloud.visionai.v1.RequestMetadata metadata = 1;

Returns
Type Description
RequestMetadata

The metadata.

getMetadataOrBuilder()

public abstract RequestMetadataOrBuilder getMetadataOrBuilder()

The configurations that specify where packets are retrieved.

.google.cloud.visionai.v1.RequestMetadata metadata = 1;

Returns
Type Description
RequestMetadataOrBuilder

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 = 2;

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 = 2;

Returns
Type Description
ByteString

The bytes for receiver.

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

hasControlledReceiveMode()

public abstract boolean hasControlledReceiveMode()

Options for configuring controlled mode.

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

Returns
Type Description
boolean

Whether the controlledReceiveMode field is set.

hasEagerReceiveMode()

public abstract boolean hasEagerReceiveMode()

Options for configuring eager mode.

.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;

Returns
Type Description
boolean

Whether the eagerReceiveMode 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 a Packet 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.

hasMetadata()

public abstract boolean hasMetadata()

The configurations that specify where packets are retrieved.

.google.cloud.visionai.v1.RequestMetadata metadata = 1;

Returns
Type Description
boolean

Whether the metadata 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.