All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.helidon.config.etcd.internal.client.proto.WatchResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.0.10
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: rpc.proto

package io.helidon.config.etcd.internal.client.proto;

public interface WatchResponseOrBuilder extends
    // @@protoc_insertion_point(interface_extends:etcdserverpb.WatchResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   * .etcdserverpb.ResponseHeader header = 1;
   * @return Whether the header field is set.
   */
  boolean hasHeader();
  /**
   * .etcdserverpb.ResponseHeader header = 1;
   * @return The header.
   */
  io.helidon.config.etcd.internal.client.proto.ResponseHeader getHeader();
  /**
   * .etcdserverpb.ResponseHeader header = 1;
   */
  io.helidon.config.etcd.internal.client.proto.ResponseHeaderOrBuilder getHeaderOrBuilder();

  /**
   * 
   * watch_id is the ID of the watcher that corresponds to the response.
   * 
* * int64 watch_id = 2; * @return The watchId. */ long getWatchId(); /** *
   * created is set to true if the response is for a create watch request.
   * The client should record the watch_id and expect to receive events for
   * the created watcher from the same stream.
   * All events sent to the created watcher will attach with the same watch_id.
   * 
* * bool created = 3; * @return The created. */ boolean getCreated(); /** *
   * canceled is set to true if the response is for a cancel watch request.
   * No further events will be sent to the canceled watcher.
   * 
* * bool canceled = 4; * @return The canceled. */ boolean getCanceled(); /** *
   * compact_revision is set to the minimum index if a watcher tries to watch
   * at a compacted index.
   * This happens when creating a watcher at a compacted revision or the watcher cannot
   * catch up with the progress of the key-value store.
   * The client should treat the watcher as canceled and should not try to create any
   * watcher with the same start_revision again.
   * 
* * int64 compact_revision = 5; * @return The compactRevision. */ long getCompactRevision(); /** * repeated .mvccpb.Event events = 11; */ java.util.List getEventsList(); /** * repeated .mvccpb.Event events = 11; */ io.helidon.config.etcd.internal.client.proto.Event getEvents(int index); /** * repeated .mvccpb.Event events = 11; */ int getEventsCount(); /** * repeated .mvccpb.Event events = 11; */ java.util.List getEventsOrBuilderList(); /** * repeated .mvccpb.Event events = 11; */ io.helidon.config.etcd.internal.client.proto.EventOrBuilder getEventsOrBuilder( int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy