com.ibm.etcd.api.AlarmRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of etcd-java Show documentation
Show all versions of etcd-java Show documentation
etcd3 java client and utilities
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package com.ibm.etcd.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.
*/
com.ibm.etcd.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.
*/
com.ibm.etcd.api.AlarmType getAlarm();
}