Package org.yamcs.protobuf.alarms
Class EditAlarmRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.protobuf.alarms.EditAlarmRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,EditAlarmRequestOrBuilder
public final class EditAlarmRequest extends com.google.protobuf.GeneratedMessageV3 implements EditAlarmRequestOrBuilder
Protobuf typeyamcs.protobuf.alarms.EditAlarmRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EditAlarmRequest.Builder
Protobuf typeyamcs.protobuf.alarms.EditAlarmRequest
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
Field Summary
Fields Modifier and Type Field Description static int
COMMENT_FIELD_NUMBER
static int
INSTANCE_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static com.google.protobuf.Parser<EditAlarmRequest>
PARSER
Deprecated.static int
PROCESSOR_FIELD_NUMBER
static int
SEQNUM_FIELD_NUMBER
static int
SHELVEDURATION_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getComment()
Message documenting the alarm change.com.google.protobuf.ByteString
getCommentBytes()
Message documenting the alarm change.static EditAlarmRequest
getDefaultInstance()
EditAlarmRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getInstance()
Yamcs instance name.com.google.protobuf.ByteString
getInstanceBytes()
Yamcs instance name.String
getName()
Alarm name.com.google.protobuf.ByteString
getNameBytes()
Alarm name.com.google.protobuf.Parser<EditAlarmRequest>
getParserForType()
String
getProcessor()
Processor name.com.google.protobuf.ByteString
getProcessorBytes()
Processor name.int
getSeqnum()
optional uint32 seqnum = 4;
int
getSerializedSize()
long
getShelveDuration()
shelve time in milliseconds (if the state = shelved) can be left out which means it is shelved indefinitelyString
getState()
**Required.** The state of the alarm.com.google.protobuf.ByteString
getStateBytes()
**Required.** The state of the alarm.com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasComment()
Message documenting the alarm change.int
hashCode()
boolean
hasInstance()
Yamcs instance name.boolean
hasName()
Alarm name.boolean
hasProcessor()
Processor name.boolean
hasSeqnum()
optional uint32 seqnum = 4;
boolean
hasShelveDuration()
shelve time in milliseconds (if the state = shelved) can be left out which means it is shelved indefinitelyboolean
hasState()
**Required.** The state of the alarm.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EditAlarmRequest.Builder
newBuilder()
static EditAlarmRequest.Builder
newBuilder(EditAlarmRequest prototype)
EditAlarmRequest.Builder
newBuilderForType()
protected EditAlarmRequest.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static EditAlarmRequest
parseDelimitedFrom(InputStream input)
static EditAlarmRequest
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EditAlarmRequest
parseFrom(byte[] data)
static EditAlarmRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EditAlarmRequest
parseFrom(com.google.protobuf.ByteString data)
static EditAlarmRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EditAlarmRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static EditAlarmRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EditAlarmRequest
parseFrom(InputStream input)
static EditAlarmRequest
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EditAlarmRequest
parseFrom(ByteBuffer data)
static EditAlarmRequest
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EditAlarmRequest>
parser()
EditAlarmRequest.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESSOR_FIELD_NUMBER
public static final int PROCESSOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQNUM_FIELD_NUMBER
public static final int SEQNUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHELVEDURATION_FIELD_NUMBER
public static final int SHELVEDURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<EditAlarmRequest> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()
Yamcs instance name.
optional string instance = 1;
- Specified by:
hasInstance
in interfaceEditAlarmRequestOrBuilder
-
getInstance
public String getInstance()
Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstance
in interfaceEditAlarmRequestOrBuilder
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceEditAlarmRequestOrBuilder
-
hasProcessor
public boolean hasProcessor()
Processor name.
optional string processor = 2;
- Specified by:
hasProcessor
in interfaceEditAlarmRequestOrBuilder
-
getProcessor
public String getProcessor()
Processor name.
optional string processor = 2;
- Specified by:
getProcessor
in interfaceEditAlarmRequestOrBuilder
-
getProcessorBytes
public com.google.protobuf.ByteString getProcessorBytes()
Processor name.
optional string processor = 2;
- Specified by:
getProcessorBytes
in interfaceEditAlarmRequestOrBuilder
-
hasName
public boolean hasName()
Alarm name.
optional string name = 3;
- Specified by:
hasName
in interfaceEditAlarmRequestOrBuilder
-
getName
public String getName()
Alarm name.
optional string name = 3;
- Specified by:
getName
in interfaceEditAlarmRequestOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Alarm name.
optional string name = 3;
- Specified by:
getNameBytes
in interfaceEditAlarmRequestOrBuilder
-
hasSeqnum
public boolean hasSeqnum()
optional uint32 seqnum = 4;
- Specified by:
hasSeqnum
in interfaceEditAlarmRequestOrBuilder
-
getSeqnum
public int getSeqnum()
optional uint32 seqnum = 4;
- Specified by:
getSeqnum
in interfaceEditAlarmRequestOrBuilder
-
hasState
public boolean hasState()
**Required.** The state of the alarm. Either ``acknowledged`` or ``unacknowledged``.
optional string state = 5;
- Specified by:
hasState
in interfaceEditAlarmRequestOrBuilder
-
getState
public String getState()
**Required.** The state of the alarm. Either ``acknowledged`` or ``unacknowledged``.
optional string state = 5;
- Specified by:
getState
in interfaceEditAlarmRequestOrBuilder
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
**Required.** The state of the alarm. Either ``acknowledged`` or ``unacknowledged``.
optional string state = 5;
- Specified by:
getStateBytes
in interfaceEditAlarmRequestOrBuilder
-
hasComment
public boolean hasComment()
Message documenting the alarm change.
optional string comment = 6;
- Specified by:
hasComment
in interfaceEditAlarmRequestOrBuilder
-
getComment
public String getComment()
Message documenting the alarm change.
optional string comment = 6;
- Specified by:
getComment
in interfaceEditAlarmRequestOrBuilder
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()
Message documenting the alarm change.
optional string comment = 6;
- Specified by:
getCommentBytes
in interfaceEditAlarmRequestOrBuilder
-
hasShelveDuration
public boolean hasShelveDuration()
shelve time in milliseconds (if the state = shelved) can be left out which means it is shelved indefinitely
optional uint64 shelveDuration = 7;
- Specified by:
hasShelveDuration
in interfaceEditAlarmRequestOrBuilder
-
getShelveDuration
public long getShelveDuration()
shelve time in milliseconds (if the state = shelved) can be left out which means it is shelved indefinitely
optional uint64 shelveDuration = 7;
- Specified by:
getShelveDuration
in interfaceEditAlarmRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EditAlarmRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EditAlarmRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EditAlarmRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EditAlarmRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EditAlarmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EditAlarmRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EditAlarmRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EditAlarmRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EditAlarmRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EditAlarmRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EditAlarmRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EditAlarmRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EditAlarmRequest.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EditAlarmRequest.Builder newBuilder()
-
newBuilder
public static EditAlarmRequest.Builder newBuilder(EditAlarmRequest prototype)
-
toBuilder
public EditAlarmRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EditAlarmRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EditAlarmRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EditAlarmRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<EditAlarmRequest> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EditAlarmRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-