
com.google.cloud.visionai.v1.ReceivePacketsControlResponseOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/visionai/v1/streaming_service.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.visionai.v1;
public interface ReceivePacketsControlResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.ReceivePacketsControlResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A server heartbeat.
*
*
* bool heartbeat = 1;
*
* @return Whether the heartbeat field is set.
*/
boolean hasHeartbeat();
/**
*
*
*
* A server heartbeat.
*
*
* bool heartbeat = 1;
*
* @return The heartbeat.
*/
boolean getHeartbeat();
/**
*
*
*
* 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;
*
* @return Whether the writesDoneRequest field is set.
*/
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;
*
* @return The writesDoneRequest.
*/
boolean getWritesDoneRequest();
com.google.cloud.visionai.v1.ReceivePacketsControlResponse.ControlCase getControlCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy