Class EPICSEvent.PayloadInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EPICSEvent.PayloadInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<EPICSEvent.PayloadInfo.Builder>
edu.stanford.slac.archiverappliance.PB.EPICSEvent.PayloadInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EPICSEvent.PayloadInfoOrBuilder,Cloneable
- Enclosing class:
EPICSEvent.PayloadInfo
public static final class EPICSEvent.PayloadInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EPICSEvent.PayloadInfo.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeaders(Iterable<? extends EPICSEvent.FieldValue> values) End of unused elementsaddHeaders(int index, EPICSEvent.FieldValue value) End of unused elementsaddHeaders(int index, EPICSEvent.FieldValue.Builder builderForValue) End of unused elementsaddHeaders(EPICSEvent.FieldValue value) End of unused elementsaddHeaders(EPICSEvent.FieldValue.Builder builderForValue) End of unused elementsEnd of unused elementsaddHeadersBuilder(int index) End of unused elementsbuild()clear()optional int32 elementCount = 4;End of unused elementsrequired string pvname = 2;required .EPICS.PayloadType type = 1;Items from 5 to 14 are no longer to be used.optional double unused01 = 6;optional double unused02 = 7;optional double unused03 = 8;optional double unused04 = 9;optional double unused05 = 10;optional double unused06 = 11;optional double unused07 = 12;optional double unused08 = 13;optional string unused09 = 14;required int32 year = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintoptional int32 elementCount = 4;getHeaders(int index) End of unused elementsgetHeadersBuilder(int index) End of unused elementsEnd of unused elementsintEnd of unused elementsEnd of unused elementsgetHeadersOrBuilder(int index) End of unused elementsList<? extends EPICSEvent.FieldValueOrBuilder> End of unused elementsrequired string pvname = 2;com.google.protobuf.ByteStringrequired string pvname = 2;getType()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;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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(EPICSEvent.PayloadInfo other) removeHeaders(int index) End of unused elementssetElementCount(int value) optional int32 elementCount = 4;setHeaders(int index, EPICSEvent.FieldValue value) End of unused elementssetHeaders(int index, EPICSEvent.FieldValue.Builder builderForValue) End of unused elementsrequired string pvname = 2;setPvnameBytes(com.google.protobuf.ByteString value) required string pvname = 2;setType(EPICSEvent.PayloadType value) required .EPICS.PayloadType type = 1;setUnused00(double value) Items from 5 to 14 are no longer to be used.setUnused01(double value) optional double unused01 = 6;setUnused02(double value) optional double unused02 = 7;setUnused03(double value) optional double unused03 = 8;setUnused04(double value) optional double unused04 = 9;setUnused05(double value) optional double unused05 = 10;setUnused06(double value) optional double unused06 = 11;setUnused07(double value) optional double unused07 = 12;setUnused08(double value) optional double unused08 = 13;setUnused09(String value) optional string unused09 = 14;setUnused09Bytes(com.google.protobuf.ByteString value) optional string unused09 = 14;setYear(int value) required int32 year = 3;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<EPICSEvent.PayloadInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EPICSEvent.PayloadInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EPICSEvent.PayloadInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EPICSEvent.PayloadInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EPICSEvent.PayloadInfo.Builder>
-
mergeFrom
public EPICSEvent.PayloadInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EPICSEvent.PayloadInfo.Builder>- Throws:
IOException
-
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.
-
setType
required .EPICS.PayloadType type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
required .EPICS.PayloadType type = 1;- Returns:
- This builder for chaining.
-
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.
-
setPvname
required string pvname = 2;- Parameters:
value- The pvname to set.- Returns:
- This builder for chaining.
-
clearPvname
required string pvname = 2;- Returns:
- This builder for chaining.
-
setPvnameBytes
required string pvname = 2;- Parameters:
value- The bytes for pvname to set.- Returns:
- This builder for chaining.
-
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.
-
setYear
required int32 year = 3;- Parameters:
value- The year to set.- Returns:
- This builder for chaining.
-
clearYear
required int32 year = 3;- Returns:
- This builder for chaining.
-
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.
-
setElementCount
optional int32 elementCount = 4;- Parameters:
value- The elementCount to set.- Returns:
- This builder for chaining.
-
clearElementCount
optional int32 elementCount = 4;- Returns:
- This builder for chaining.
-
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.
-
setUnused00
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;- Parameters:
value- The unused00 to set.- Returns:
- This builder for chaining.
-
clearUnused00
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;- Returns:
- This builder for chaining.
-
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.
-
setUnused01
optional double unused01 = 6;- Parameters:
value- The unused01 to set.- Returns:
- This builder for chaining.
-
clearUnused01
optional double unused01 = 6;- Returns:
- This builder for chaining.
-
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.
-
setUnused02
optional double unused02 = 7;- Parameters:
value- The unused02 to set.- Returns:
- This builder for chaining.
-
clearUnused02
optional double unused02 = 7;- Returns:
- This builder for chaining.
-
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.
-
setUnused03
optional double unused03 = 8;- Parameters:
value- The unused03 to set.- Returns:
- This builder for chaining.
-
clearUnused03
optional double unused03 = 8;- Returns:
- This builder for chaining.
-
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.
-
setUnused04
optional double unused04 = 9;- Parameters:
value- The unused04 to set.- Returns:
- This builder for chaining.
-
clearUnused04
optional double unused04 = 9;- Returns:
- This builder for chaining.
-
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.
-
setUnused05
optional double unused05 = 10;- Parameters:
value- The unused05 to set.- Returns:
- This builder for chaining.
-
clearUnused05
optional double unused05 = 10;- Returns:
- This builder for chaining.
-
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.
-
setUnused06
optional double unused06 = 11;- Parameters:
value- The unused06 to set.- Returns:
- This builder for chaining.
-
clearUnused06
optional double unused06 = 11;- Returns:
- This builder for chaining.
-
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.
-
setUnused07
optional double unused07 = 12;- Parameters:
value- The unused07 to set.- Returns:
- This builder for chaining.
-
clearUnused07
optional double unused07 = 12;- Returns:
- This builder for chaining.
-
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.
-
setUnused08
optional double unused08 = 13;- Parameters:
value- The unused08 to set.- Returns:
- This builder for chaining.
-
clearUnused08
optional double unused08 = 13;- Returns:
- This builder for chaining.
-
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.
-
setUnused09
optional string unused09 = 14;- Parameters:
value- The unused09 to set.- Returns:
- This builder for chaining.
-
clearUnused09
optional string unused09 = 14;- Returns:
- This builder for chaining.
-
setUnused09Bytes
optional string unused09 = 14;- Parameters:
value- The bytes for unused09 to set.- Returns:
- This builder for chaining.
-
getHeadersList
End of unused elements
repeated .EPICS.FieldValue headers = 15;- Specified by:
getHeadersListin 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
-
setHeaders
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
setHeaders
public EPICSEvent.PayloadInfo.Builder setHeaders(int index, EPICSEvent.FieldValue.Builder builderForValue) End of unused elements
repeated .EPICS.FieldValue headers = 15; -
addHeaders
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
addHeaders
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
addHeaders
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
addHeaders
public EPICSEvent.PayloadInfo.Builder addHeaders(int index, EPICSEvent.FieldValue.Builder builderForValue) End of unused elements
repeated .EPICS.FieldValue headers = 15; -
addAllHeaders
public EPICSEvent.PayloadInfo.Builder addAllHeaders(Iterable<? extends EPICSEvent.FieldValue> values) End of unused elements
repeated .EPICS.FieldValue headers = 15; -
clearHeaders
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
removeHeaders
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
getHeadersBuilder
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
getHeadersOrBuilder
End of unused elements
repeated .EPICS.FieldValue headers = 15;- Specified by:
getHeadersOrBuilderin interfaceEPICSEvent.PayloadInfoOrBuilder
-
getHeadersOrBuilderList
End of unused elements
repeated .EPICS.FieldValue headers = 15;- Specified by:
getHeadersOrBuilderListin interfaceEPICSEvent.PayloadInfoOrBuilder
-
addHeadersBuilder
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
addHeadersBuilder
End of unused elements
repeated .EPICS.FieldValue headers = 15; -
getHeadersBuilderList
End of unused elements
repeated .EPICS.FieldValue headers = 15;
-