public static final class ProMCHeaderFile.ProMCHeader.ParticleData extends com.google.protobuf.GeneratedMessage implements ProMCHeaderFile.ProMCHeader.ParticleDataOrBuilder
promc.ProMCHeader.ParticleData
map to store particle data (names, masse)
Modifier and Type | Class and Description |
---|---|
static class |
ProMCHeaderFile.ProMCHeader.ParticleData.Builder
Protobuf type
promc.ProMCHeader.ParticleData |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
CHARGE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LIFETIME_FIELD_NUMBER |
static int |
MASS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<ProMCHeaderFile.ProMCHeader.ParticleData> |
PARSER |
static int |
WIDTH_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
int |
getCharge()
optional sint32 charge = 6; |
static ProMCHeaderFile.ProMCHeader.ParticleData |
getDefaultInstance() |
ProMCHeaderFile.ProMCHeader.ParticleData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getId()
required sint32 id = 1; |
float |
getLifetime()
optional float lifetime = 5; |
double |
getMass()
required double mass = 2; |
String |
getName()
required string name = 3; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 3; |
com.google.protobuf.Parser<ProMCHeaderFile.ProMCHeader.ParticleData> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
float |
getWidth()
optional float width = 4; |
boolean |
hasCharge()
optional sint32 charge = 6; |
boolean |
hasId()
required sint32 id = 1; |
boolean |
hasLifetime()
optional float lifetime = 5; |
boolean |
hasMass()
required double mass = 2; |
boolean |
hasName()
required string name = 3; |
boolean |
hasWidth()
optional float width = 4; |
boolean |
isInitialized() |
static ProMCHeaderFile.ProMCHeader.ParticleData.Builder |
newBuilder() |
static ProMCHeaderFile.ProMCHeader.ParticleData.Builder |
newBuilder(ProMCHeaderFile.ProMCHeader.ParticleData prototype) |
ProMCHeaderFile.ProMCHeader.ParticleData.Builder |
newBuilderForType() |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseDelimitedFrom(InputStream input) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseFrom(byte[] data) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseFrom(com.google.protobuf.ByteString data) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseFrom(InputStream input) |
static ProMCHeaderFile.ProMCHeader.ParticleData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ProMCHeaderFile.ProMCHeader.ParticleData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, findInitializationErrors, getInitializationErrorString, hashCode, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static com.google.protobuf.Parser<ProMCHeaderFile.ProMCHeader.ParticleData> PARSER
public static final int ID_FIELD_NUMBER
public static final int MASS_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int WIDTH_FIELD_NUMBER
public static final int LIFETIME_FIELD_NUMBER
public static final int CHARGE_FIELD_NUMBER
public static ProMCHeaderFile.ProMCHeader.ParticleData getDefaultInstance()
public ProMCHeaderFile.ProMCHeader.ParticleData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.Parser<ProMCHeaderFile.ProMCHeader.ParticleData> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public static ProMCHeaderFile.ProMCHeader.ParticleData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseFrom(InputStream input) throws IOException
IOException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ProMCHeaderFile.ProMCHeader.ParticleData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProMCHeaderFile.ProMCHeader.ParticleData.Builder newBuilder()
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ProMCHeaderFile.ProMCHeader.ParticleData.Builder newBuilder(ProMCHeaderFile.ProMCHeader.ParticleData prototype)
public ProMCHeaderFile.ProMCHeader.ParticleData.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
Jas4pp 1.5 © Java Analysis Studio for Particle Physics