Package com.google.cloud.visionai.v1
Interface ReceiveEventsControlResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReceiveEventsControlResponse,ReceiveEventsControlResponse.Builder
@Generated
public interface ReceiveEventsControlResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanA server heartbeat.booleanA request to the receiver to complete any final writes followed by a `WritesDone`; e.g. issue any final `CommitRequest`s.booleanA server heartbeat.booleanA request to the receiver to complete any final writes followed by a `WritesDone`; e.g. issue any final `CommitRequest`s.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
-
hasHeartbeat
boolean hasHeartbeat()A server heartbeat.
bool heartbeat = 1;- Returns:
- Whether the heartbeat field is set.
-
getHeartbeat
boolean getHeartbeat()A server heartbeat.
bool heartbeat = 1;- Returns:
- The heartbeat.
-
hasWritesDoneRequest
boolean hasWritesDoneRequest()A request to the receiver to complete any final writes followed by a `WritesDone`; e.g. issue any final `CommitRequest`s. May be ignored if `WritesDone` has already been issued at any point prior to receiving this message. If `WritesDone` does not get issued, then the server will forcefully cancel the connection, and the receiver will likely receive an uninformative after `Read` returns `false` and `Finish` is called.
bool writes_done_request = 2;- Returns:
- Whether the writesDoneRequest field is set.
-
getWritesDoneRequest
boolean getWritesDoneRequest()A request to the receiver to complete any final writes followed by a `WritesDone`; e.g. issue any final `CommitRequest`s. May be ignored if `WritesDone` has already been issued at any point prior to receiving this message. If `WritesDone` does not get issued, then the server will forcefully cancel the connection, and the receiver will likely receive an uninformative after `Read` returns `false` and `Finish` is called.
bool writes_done_request = 2;- Returns:
- The writesDoneRequest.
-
getControlCase
ReceiveEventsControlResponse.ControlCase getControlCase()
-