Class metroIIcomm.EventVector.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessage.Builder<metroIIcomm.EventVector.Builder>
-
- ptolemy.domains.metroII.kernel.util.ProtoBuf.metroIIcomm.EventVector.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,metroIIcomm.EventVectorOrBuilder
- Enclosing class:
- metroIIcomm.EventVector
public static final class metroIIcomm.EventVector.Builder extends com.google.protobuf.GeneratedMessage.Builder<metroIIcomm.EventVector.Builder> implements metroIIcomm.EventVectorOrBuilder
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<metroIIcomm.EventVector.Builder>
-
clear
public metroIIcomm.EventVector.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<metroIIcomm.EventVector.Builder>
-
clone
public metroIIcomm.EventVector.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessage.Builder<metroIIcomm.EventVector.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<metroIIcomm.EventVector.Builder>
-
getDefaultInstanceForType
public metroIIcomm.EventVector getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public metroIIcomm.EventVector build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public metroIIcomm.EventVector buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public metroIIcomm.EventVector.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<metroIIcomm.EventVector.Builder>
-
mergeFrom
public metroIIcomm.EventVector.Builder mergeFrom(metroIIcomm.EventVector other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<metroIIcomm.EventVector.Builder>
-
mergeFrom
public metroIIcomm.EventVector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<metroIIcomm.EventVector.Builder>
- Throws:
java.io.IOException
-
getEventList
public java.util.List<metroIIcomm.Event> getEventList()
- Specified by:
getEventList
in interfacemetroIIcomm.EventVectorOrBuilder
-
getEventCount
public int getEventCount()
- Specified by:
getEventCount
in interfacemetroIIcomm.EventVectorOrBuilder
-
getEvent
public metroIIcomm.Event getEvent(int index)
- Specified by:
getEvent
in interfacemetroIIcomm.EventVectorOrBuilder
-
setEvent
public metroIIcomm.EventVector.Builder setEvent(int index, metroIIcomm.Event value)
-
setEvent
public metroIIcomm.EventVector.Builder setEvent(int index, metroIIcomm.Event.Builder builderForValue)
-
addEvent
public metroIIcomm.EventVector.Builder addEvent(metroIIcomm.Event value)
-
addEvent
public metroIIcomm.EventVector.Builder addEvent(int index, metroIIcomm.Event value)
-
addEvent
public metroIIcomm.EventVector.Builder addEvent(metroIIcomm.Event.Builder builderForValue)
-
addEvent
public metroIIcomm.EventVector.Builder addEvent(int index, metroIIcomm.Event.Builder builderForValue)
-
addAllEvent
public metroIIcomm.EventVector.Builder addAllEvent(java.lang.Iterable<? extends metroIIcomm.Event> values)
-
clearEvent
public metroIIcomm.EventVector.Builder clearEvent()
-
removeEvent
public metroIIcomm.EventVector.Builder removeEvent(int index)
-
getEventBuilder
public metroIIcomm.Event.Builder getEventBuilder(int index)
-
getEventOrBuilder
public metroIIcomm.EventOrBuilder getEventOrBuilder(int index)
- Specified by:
getEventOrBuilder
in interfacemetroIIcomm.EventVectorOrBuilder
-
getEventOrBuilderList
public java.util.List<? extends metroIIcomm.EventOrBuilder> getEventOrBuilderList()
- Specified by:
getEventOrBuilderList
in interfacemetroIIcomm.EventVectorOrBuilder
-
addEventBuilder
public metroIIcomm.Event.Builder addEventBuilder()
-
addEventBuilder
public metroIIcomm.Event.Builder addEventBuilder(int index)
-
getEventBuilderList
public java.util.List<metroIIcomm.Event.Builder> getEventBuilderList()
-
-