Package com.google.cloud.visionai.v1
Interface ReceiveEventsRequest.SetupRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReceiveEventsRequest.SetupRequest,ReceiveEventsRequest.SetupRequest.Builder
- Enclosing class:
- ReceiveEventsRequest
public static interface ReceiveEventsRequest.SetupRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe cluster name.com.google.protobuf.ByteStringThe cluster name.Controller mode configuration for receiving events from the server.Controller mode configuration for receiving events from the server.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.A name for the receiver to self-identify.com.google.protobuf.ByteStringA name for the receiver to self-identify.The stream name.com.google.protobuf.ByteStringThe stream name.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.booleanController mode configuration for receiving events from the server.booleanThe maximum duration of server silence before the client determines the server unreachable.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
-
getCluster
String getCluster()The cluster name.
string cluster = 1;- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.ByteString getClusterBytes()The cluster name.
string cluster = 1;- Returns:
- The bytes for cluster.
-
getStream
String getStream()The stream name. The service will return the events for the given stream.
string stream = 2;- Returns:
- The stream.
-
getStreamBytes
com.google.protobuf.ByteString getStreamBytes()The stream name. The service will return the events for the given stream.
string stream = 2;- Returns:
- The bytes for stream.
-
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 = 3;- 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 = 3;- Returns:
- The bytes for receiver.
-
hasControlledMode
boolean hasControlledMode()Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;- Returns:
- Whether the controlledMode field is set.
-
getControlledMode
ControlledMode getControlledMode()Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;- Returns:
- The controlledMode.
-
getControlledModeOrBuilder
ControlledModeOrBuilder getControlledModeOrBuilder()Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4; -
hasHeartbeatInterval
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:
- 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 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:
- 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 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; -
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;
-