Class EPICSEvent.PayloadInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
edu.stanford.slac.archiverappliance.PB.EPICSEvent.PayloadInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EPICSEvent.PayloadInfoOrBuilder,Serializable
- Enclosing class:
EPICSEvent
public static final class EPICSEvent.PayloadInfo
extends com.google.protobuf.GeneratedMessage
implements EPICSEvent.PayloadInfoOrBuilder
A payload info is the first line in a chunk of data sent back to the client. It tells you how to unmarshall, the pvname and the year for the data It also has a lot of optional fieldsProtobuf type
EPICS.PayloadInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA payload info is the first line in a chunk of data sent back to the client.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EPICSEvent.PayloadInfostatic final com.google.protobuf.Descriptors.Descriptorintoptional int32 elementCount = 4;getHeaders(int index) End of unused elementsintEnd of unused elementsEnd of unused elementsgetHeadersOrBuilder(int index) End of unused elementsList<? extends EPICSEvent.FieldValueOrBuilder> End of unused elementscom.google.protobuf.Parser<EPICSEvent.PayloadInfo> required string pvname = 2;com.google.protobuf.ByteStringrequired string pvname = 2;intgetType()required .EPICS.PayloadType type = 1;doubleItems from 5 to 14 are no longer to be used.doubleoptional double unused01 = 6;doubleoptional double unused02 = 7;doubleoptional double unused03 = 8;doubleoptional double unused04 = 9;doubleoptional double unused05 = 10;doubleoptional double unused06 = 11;doubleoptional double unused07 = 12;doubleoptional double unused08 = 13;optional string unused09 = 14;com.google.protobuf.ByteStringoptional string unused09 = 14;intgetYear()required int32 year = 3;booleanoptional int32 elementCount = 4;inthashCode()booleanrequired string pvname = 2;booleanhasType()required .EPICS.PayloadType type = 1;booleanItems from 5 to 14 are no longer to be used.booleanoptional double unused01 = 6;booleanoptional double unused02 = 7;booleanoptional double unused03 = 8;booleanoptional double unused04 = 9;booleanoptional double unused05 = 10;booleanoptional double unused06 = 11;booleanoptional double unused07 = 12;booleanoptional double unused08 = 13;booleanoptional string unused09 = 14;booleanhasYear()required int32 year = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(EPICSEvent.PayloadInfo prototype) protected EPICSEvent.PayloadInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EPICSEvent.PayloadInfoparseDelimitedFrom(InputStream input) static EPICSEvent.PayloadInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EPICSEvent.PayloadInfoparseFrom(byte[] data) static EPICSEvent.PayloadInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EPICSEvent.PayloadInfoparseFrom(com.google.protobuf.ByteString data) static EPICSEvent.PayloadInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EPICSEvent.PayloadInfoparseFrom(com.google.protobuf.CodedInputStream input) static EPICSEvent.PayloadInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EPICSEvent.PayloadInfoparseFrom(InputStream input) static EPICSEvent.PayloadInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EPICSEvent.PayloadInfoparseFrom(ByteBuffer data) static EPICSEvent.PayloadInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EPICSEvent.PayloadInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
PVNAME_FIELD_NUMBER
public static final int PVNAME_FIELD_NUMBER- See Also:
-
YEAR_FIELD_NUMBER
public static final int YEAR_FIELD_NUMBER- See Also:
-
ELEMENTCOUNT_FIELD_NUMBER
public static final int ELEMENTCOUNT_FIELD_NUMBER- See Also:
-
UNUSED00_FIELD_NUMBER
public static final int UNUSED00_FIELD_NUMBER- See Also:
-
UNUSED01_FIELD_NUMBER
public static final int UNUSED01_FIELD_NUMBER- See Also:
-
UNUSED02_FIELD_NUMBER
public static final int UNUSED02_FIELD_NUMBER- See Also:
-
UNUSED03_FIELD_NUMBER
public static final int UNUSED03_FIELD_NUMBER- See Also:
-
UNUSED04_FIELD_NUMBER
public static final int UNUSED04_FIELD_NUMBER- See Also:
-
UNUSED05_FIELD_NUMBER
public static final int UNUSED05_FIELD_NUMBER- See Also:
-
UNUSED06_FIELD_NUMBER
public static final int UNUSED06_FIELD_NUMBER- See Also:
-
UNUSED07_FIELD_NUMBER
public static final int UNUSED07_FIELD_NUMBER- See Also:
-
UNUSED08_FIELD_NUMBER
public static final int UNUSED08_FIELD_NUMBER- See Also:
-
UNUSED09_FIELD_NUMBER
public static final int UNUSED09_FIELD_NUMBER- See Also:
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasType
public boolean hasType()required .EPICS.PayloadType type = 1;- Specified by:
hasTypein interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
required .EPICS.PayloadType type = 1;- Specified by:
getTypein interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The type.
-
hasPvname
public boolean hasPvname()required string pvname = 2;- Specified by:
hasPvnamein interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the pvname field is set.
-
getPvname
required string pvname = 2;- Specified by:
getPvnamein interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The pvname.
-
getPvnameBytes
public com.google.protobuf.ByteString getPvnameBytes()required string pvname = 2;- Specified by:
getPvnameBytesin interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The bytes for pvname.
-
hasYear
public boolean hasYear()required int32 year = 3;- Specified by:
hasYearin interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the year field is set.
-
getYear
public int getYear()required int32 year = 3;- Specified by:
getYearin interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The year.
-
hasElementCount
public boolean hasElementCount()optional int32 elementCount = 4;- Specified by:
hasElementCountin interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the elementCount field is set.
-
getElementCount
public int getElementCount()optional int32 elementCount = 4;- Specified by:
getElementCountin interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The elementCount.
-
hasUnused00
public boolean hasUnused00()Items from 5 to 14 are no longer to be used. Stick these into the headers using the field names For example, units comes in as EGU in the headers.
optional double unused00 = 5;- Specified by:
hasUnused00in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused00 field is set.
-
getUnused00
public double getUnused00()Items from 5 to 14 are no longer to be used. Stick these into the headers using the field names For example, units comes in as EGU in the headers.
optional double unused00 = 5;- Specified by:
getUnused00in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused00.
-
hasUnused01
public boolean hasUnused01()optional double unused01 = 6;- Specified by:
hasUnused01in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused01 field is set.
-
getUnused01
public double getUnused01()optional double unused01 = 6;- Specified by:
getUnused01in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused01.
-
hasUnused02
public boolean hasUnused02()optional double unused02 = 7;- Specified by:
hasUnused02in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused02 field is set.
-
getUnused02
public double getUnused02()optional double unused02 = 7;- Specified by:
getUnused02in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused02.
-
hasUnused03
public boolean hasUnused03()optional double unused03 = 8;- Specified by:
hasUnused03in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused03 field is set.
-
getUnused03
public double getUnused03()optional double unused03 = 8;- Specified by:
getUnused03in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused03.
-
hasUnused04
public boolean hasUnused04()optional double unused04 = 9;- Specified by:
hasUnused04in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused04 field is set.
-
getUnused04
public double getUnused04()optional double unused04 = 9;- Specified by:
getUnused04in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused04.
-
hasUnused05
public boolean hasUnused05()optional double unused05 = 10;- Specified by:
hasUnused05in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused05 field is set.
-
getUnused05
public double getUnused05()optional double unused05 = 10;- Specified by:
getUnused05in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused05.
-
hasUnused06
public boolean hasUnused06()optional double unused06 = 11;- Specified by:
hasUnused06in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused06 field is set.
-
getUnused06
public double getUnused06()optional double unused06 = 11;- Specified by:
getUnused06in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused06.
-
hasUnused07
public boolean hasUnused07()optional double unused07 = 12;- Specified by:
hasUnused07in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused07 field is set.
-
getUnused07
public double getUnused07()optional double unused07 = 12;- Specified by:
getUnused07in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused07.
-
hasUnused08
public boolean hasUnused08()optional double unused08 = 13;- Specified by:
hasUnused08in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused08 field is set.
-
getUnused08
public double getUnused08()optional double unused08 = 13;- Specified by:
getUnused08in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused08.
-
hasUnused09
public boolean hasUnused09()optional string unused09 = 14;- Specified by:
hasUnused09in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- Whether the unused09 field is set.
-
getUnused09
optional string unused09 = 14;- Specified by:
getUnused09in interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The unused09.
-
getUnused09Bytes
public com.google.protobuf.ByteString getUnused09Bytes()optional string unused09 = 14;- Specified by:
getUnused09Bytesin interfaceEPICSEvent.PayloadInfoOrBuilder- Returns:
- The bytes for unused09.
-
getHeadersList
End of unused elements
repeated .EPICS.FieldValue headers = 15;- Specified by:
getHeadersListin interfaceEPICSEvent.PayloadInfoOrBuilder
-
getHeadersOrBuilderList
End of unused elements
repeated .EPICS.FieldValue headers = 15;- Specified by:
getHeadersOrBuilderListin interfaceEPICSEvent.PayloadInfoOrBuilder
-
getHeadersCount
public int getHeadersCount()End of unused elements
repeated .EPICS.FieldValue headers = 15;- Specified by:
getHeadersCountin interfaceEPICSEvent.PayloadInfoOrBuilder
-
getHeaders
End of unused elements
repeated .EPICS.FieldValue headers = 15;- Specified by:
getHeadersin interfaceEPICSEvent.PayloadInfoOrBuilder
-
getHeadersOrBuilder
End of unused elements
repeated .EPICS.FieldValue headers = 15;- Specified by:
getHeadersOrBuilderin interfaceEPICSEvent.PayloadInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EPICSEvent.PayloadInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EPICSEvent.PayloadInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EPICSEvent.PayloadInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EPICSEvent.PayloadInfo 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.PayloadInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EPICSEvent.PayloadInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EPICSEvent.PayloadInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EPICSEvent.PayloadInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EPICSEvent.PayloadInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EPICSEvent.PayloadInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EPICSEvent.PayloadInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-