Package com.google.cloud.visionai.v1
Interface ReceivePacketsRequest.SetupRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReceivePacketsRequest.SetupRequest,ReceivePacketsRequest.SetupRequest.Builder
- Enclosing class:
- ReceivePacketsRequest
public static interface ReceivePacketsRequest.SetupRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptions for configuring controlled mode.Options for configuring controlled mode.Options for configuring eager mode.Options for configuring eager mode.com.google.protobuf.DurationThe maximum duration of server silence before the client determines the server unreachable.com.google.protobuf.DurationOrBuilderThe maximum duration of server silence before the client determines the server unreachable.The configurations that specify where packets are retrieved.The configurations that specify where packets are retrieved.A name for the receiver to self-identify.com.google.protobuf.ByteStringA name for the receiver to self-identify.com.google.protobuf.DurationThe grace period after which a `writes_done_request` is issued, that a `WritesDone` is expected from the client.com.google.protobuf.DurationOrBuilderThe grace period after which a `writes_done_request` is issued, that a `WritesDone` is expected from the client.booleanOptions for configuring controlled mode.booleanOptions for configuring eager mode.booleanThe maximum duration of server silence before the client determines the server unreachable.booleanThe configurations that specify where packets are retrieved.booleanThe grace period after which a `writes_done_request` is issued, that a `WritesDone` is expected from the client.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEagerReceiveMode
boolean hasEagerReceiveMode()Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;- Returns:
- Whether the eagerReceiveMode field is set.
-
getEagerReceiveMode
EagerMode getEagerReceiveMode()Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;- Returns:
- The eagerReceiveMode.
-
getEagerReceiveModeOrBuilder
EagerModeOrBuilder getEagerReceiveModeOrBuilder()Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3; -
hasControlledReceiveMode
boolean hasControlledReceiveMode()Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;- Returns:
- Whether the controlledReceiveMode field is set.
-
getControlledReceiveMode
ControlledMode getControlledReceiveMode()Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;- Returns:
- The controlledReceiveMode.
-
getControlledReceiveModeOrBuilder
ControlledModeOrBuilder getControlledReceiveModeOrBuilder()Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4; -
hasMetadata
boolean hasMetadata()The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1;- Returns:
- Whether the metadata field is set.
-
getMetadata
RequestMetadata getMetadata()The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1;- Returns:
- The metadata.
-
getMetadataOrBuilder
RequestMetadataOrBuilder getMetadataOrBuilder()The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1; -
getReceiver
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:
- The receiver.
-
getReceiverBytes
com.google.protobuf.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:
- The bytes for receiver.
-
hasHeartbeatInterval
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:
- Whether the heartbeatInterval field is set.
-
getHeartbeatInterval
com.google.protobuf.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:
- The heartbeatInterval.
-
getHeartbeatIntervalOrBuilder
com.google.protobuf.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; -
hasWritesDoneGracePeriod
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:
- Whether the writesDoneGracePeriod field is set.
-
getWritesDoneGracePeriod
com.google.protobuf.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:
- The writesDoneGracePeriod.
-
getWritesDoneGracePeriodOrBuilder
com.google.protobuf.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; -
getConsumerModeCase
ReceivePacketsRequest.SetupRequest.ConsumerModeCase getConsumerModeCase()
-