io.etcd.jetcd.api.AlarmRequestOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api;
public interface AlarmRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.AlarmRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* action is the kind of alarm request to issue. The action
* may GET alarm statuses, ACTIVATE an alarm, or DEACTIVATE a
* raised alarm.
*
*
* .etcdserverpb.AlarmRequest.AlarmAction action = 1;
* @return The enum numeric value on the wire for action.
*/
int getActionValue();
/**
*
* action is the kind of alarm request to issue. The action
* may GET alarm statuses, ACTIVATE an alarm, or DEACTIVATE a
* raised alarm.
*
*
* .etcdserverpb.AlarmRequest.AlarmAction action = 1;
* @return The action.
*/
io.etcd.jetcd.api.AlarmRequest.AlarmAction getAction();
/**
*
* memberID is the ID of the member associated with the alarm. If memberID is 0, the
* alarm request covers all members.
*
*
* uint64 memberID = 2;
* @return The memberID.
*/
long getMemberID();
/**
*
* alarm is the type of alarm to consider for this request.
*
*
* .etcdserverpb.AlarmType alarm = 3;
* @return The enum numeric value on the wire for alarm.
*/
int getAlarmValue();
/**
*
* alarm is the type of alarm to consider for this request.
*
*
* .etcdserverpb.AlarmType alarm = 3;
* @return The alarm.
*/
io.etcd.jetcd.api.AlarmType getAlarm();
}