public static final class ProMCHeaderFile.ProMCHeader.ParticleData.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProMCHeaderFile.ProMCHeader.ParticleData.Builder> implements ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
promc.ProMCHeader.ParticleData
map to store particle data (names, mass)
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ProMCHeaderFile.ProMCHeader.ParticleData.Builder>
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ProMCHeaderFile.ProMCHeader.ParticleData.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ProMCHeaderFile.ProMCHeader.ParticleData.Builder>
public ProMCHeaderFile.ProMCHeader.ParticleData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ProMCHeaderFile.ProMCHeader.ParticleData build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ProMCHeaderFile.ProMCHeader.ParticleData buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ProMCHeaderFile.ProMCHeader.ParticleData.Builder>
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder mergeFrom(ProMCHeaderFile.ProMCHeader.ParticleData other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ProMCHeaderFile.ProMCHeader.ParticleData.Builder>
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ProMCHeaderFile.ProMCHeader.ParticleData.Builder>
IOException
public boolean hasId()
required sint32 id = 1;
PID of particle
hasId
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public int getId()
required sint32 id = 1;
PID of particle
getId
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder setId(int value)
required sint32 id = 1;
PID of particle
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder clearId()
required sint32 id = 1;
PID of particle
public boolean hasMass()
required double mass = 2;
its mass
hasMass
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public double getMass()
required double mass = 2;
its mass
getMass
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder setMass(double value)
required double mass = 2;
its mass
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder clearMass()
required double mass = 2;
its mass
public boolean hasName()
required string name = 3;
name of the particle
hasName
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public String getName()
required string name = 3;
name of the particle
getName
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 3;
name of the particle
getNameBytes
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder setName(String value)
required string name = 3;
name of the particle
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder clearName()
required string name = 3;
name of the particle
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 3;
name of the particle
public boolean hasWidth()
optional float width = 4;
width
hasWidth
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public float getWidth()
optional float width = 4;
width
getWidth
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder setWidth(float value)
optional float width = 4;
width
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder clearWidth()
optional float width = 4;
width
public boolean hasLifetime()
optional float lifetime = 5;
lifetime
hasLifetime
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public float getLifetime()
optional float lifetime = 5;
lifetime
getLifetime
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder setLifetime(float value)
optional float lifetime = 5;
lifetime
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder clearLifetime()
optional float lifetime = 5;
lifetime
public boolean hasCharge()
optional sint32 charge = 6;
charge
hasCharge
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public int getCharge()
optional sint32 charge = 6;
charge
getCharge
in interface ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder setCharge(int value)
optional sint32 charge = 6;
charge
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder clearCharge()
optional sint32 charge = 6;
charge
Jas4pp 1.5 © Java Analysis Studio for Particle Physics