Class EPICSEvent.ScalarEnum

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
edu.stanford.slac.archiverappliance.PB.EPICSEvent.ScalarEnum
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, EPICSEvent.ScalarEnumOrBuilder, Serializable
Enclosing class:
EPICSEvent

public static final class EPICSEvent.ScalarEnum extends com.google.protobuf.GeneratedMessage implements EPICSEvent.ScalarEnumOrBuilder
Protobuf type EPICS.ScalarEnum
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasSecondsintoyear

      public boolean hasSecondsintoyear()
      required uint32 secondsintoyear = 1;
      Specified by:
      hasSecondsintoyear in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      Whether the secondsintoyear field is set.
    • getSecondsintoyear

      public int getSecondsintoyear()
      required uint32 secondsintoyear = 1;
      Specified by:
      getSecondsintoyear in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      The secondsintoyear.
    • hasNano

      public boolean hasNano()
      required uint32 nano = 2;
      Specified by:
      hasNano in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      Whether the nano field is set.
    • getNano

      public int getNano()
      required uint32 nano = 2;
      Specified by:
      getNano in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      The nano.
    • hasVal

      public boolean hasVal()
      required sint32 val = 3;
      Specified by:
      hasVal in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      Whether the val field is set.
    • getVal

      public int getVal()
      required sint32 val = 3;
      Specified by:
      getVal in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      The val.
    • hasSeverity

      public boolean hasSeverity()
      optional int32 severity = 4 [default = 0];
      Specified by:
      hasSeverity in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      Whether the severity field is set.
    • getSeverity

      public int getSeverity()
      optional int32 severity = 4 [default = 0];
      Specified by:
      getSeverity in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      The severity.
    • hasStatus

      public boolean hasStatus()
      optional int32 status = 5 [default = 0];
      Specified by:
      hasStatus in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public int getStatus()
      optional int32 status = 5 [default = 0];
      Specified by:
      getStatus in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      The status.
    • hasRepeatcount

      public boolean hasRepeatcount()
      optional uint32 repeatcount = 6;
      Specified by:
      hasRepeatcount in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      Whether the repeatcount field is set.
    • getRepeatcount

      public int getRepeatcount()
      optional uint32 repeatcount = 6;
      Specified by:
      getRepeatcount in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      The repeatcount.
    • getFieldvaluesList

      public List<EPICSEvent.FieldValue> getFieldvaluesList()
      repeated .EPICS.FieldValue fieldvalues = 7;
      Specified by:
      getFieldvaluesList in interface EPICSEvent.ScalarEnumOrBuilder
    • getFieldvaluesOrBuilderList

      public List<? extends EPICSEvent.FieldValueOrBuilder> getFieldvaluesOrBuilderList()
      repeated .EPICS.FieldValue fieldvalues = 7;
      Specified by:
      getFieldvaluesOrBuilderList in interface EPICSEvent.ScalarEnumOrBuilder
    • getFieldvaluesCount

      public int getFieldvaluesCount()
      repeated .EPICS.FieldValue fieldvalues = 7;
      Specified by:
      getFieldvaluesCount in interface EPICSEvent.ScalarEnumOrBuilder
    • getFieldvalues

      public EPICSEvent.FieldValue getFieldvalues(int index)
      repeated .EPICS.FieldValue fieldvalues = 7;
      Specified by:
      getFieldvalues in interface EPICSEvent.ScalarEnumOrBuilder
    • getFieldvaluesOrBuilder

      public EPICSEvent.FieldValueOrBuilder getFieldvaluesOrBuilder(int index)
      repeated .EPICS.FieldValue fieldvalues = 7;
      Specified by:
      getFieldvaluesOrBuilder in interface EPICSEvent.ScalarEnumOrBuilder
    • hasFieldactualchange

      public boolean hasFieldactualchange()
      optional bool fieldactualchange = 8;
      Specified by:
      hasFieldactualchange in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      Whether the fieldactualchange field is set.
    • getFieldactualchange

      public boolean getFieldactualchange()
      optional bool fieldactualchange = 8;
      Specified by:
      getFieldactualchange in interface EPICSEvent.ScalarEnumOrBuilder
      Returns:
      The fieldactualchange.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EPICSEvent.ScalarEnum parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EPICSEvent.ScalarEnum parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EPICSEvent.ScalarEnum parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EPICSEvent.ScalarEnum.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EPICSEvent.ScalarEnum.Builder newBuilder()
    • newBuilder

      public static EPICSEvent.ScalarEnum.Builder newBuilder(EPICSEvent.ScalarEnum prototype)
    • toBuilder

      public EPICSEvent.ScalarEnum.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EPICSEvent.ScalarEnum.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static EPICSEvent.ScalarEnum getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EPICSEvent.ScalarEnum> parser()
    • getParserForType

      public com.google.protobuf.Parser<EPICSEvent.ScalarEnum> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public EPICSEvent.ScalarEnum getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder