Package hydra.ext.protobuf.proto3
Class ScalarType
- java.lang.Object
-
- hydra.ext.protobuf.proto3.ScalarType
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ScalarType.Bool
,ScalarType.Bytes
,ScalarType.Double_
,ScalarType.Fixed32
,ScalarType.Fixed64
,ScalarType.Float_
,ScalarType.Int32
,ScalarType.Int64
,ScalarType.Sfixed32
,ScalarType.Sfixed64
,ScalarType.Sint32
,ScalarType.Sint64
,ScalarType.String_
,ScalarType.Uint32
,ScalarType.Uint64
public abstract class ScalarType extends java.lang.Object implements java.io.Serializable
One of several Proto3 scalar types- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScalarType.Bool
static class
ScalarType.Bytes
static class
ScalarType.Double_
static class
ScalarType.Fixed32
static class
ScalarType.Fixed64
static class
ScalarType.Float_
static class
ScalarType.Int32
static class
ScalarType.Int64
static interface
ScalarType.PartialVisitor<R>
static class
ScalarType.Sfixed32
static class
ScalarType.Sfixed64
static class
ScalarType.Sint32
static class
ScalarType.Sint64
static class
ScalarType.String_
static class
ScalarType.Uint32
static class
ScalarType.Uint64
static interface
ScalarType.Visitor<R>
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_BOOL
static Name
FIELD_NAME_BYTES
static Name
FIELD_NAME_DOUBLE
static Name
FIELD_NAME_FIXED32
static Name
FIELD_NAME_FIXED64
static Name
FIELD_NAME_FLOAT
static Name
FIELD_NAME_INT32
static Name
FIELD_NAME_INT64
static Name
FIELD_NAME_SFIXED32
static Name
FIELD_NAME_SFIXED64
static Name
FIELD_NAME_SINT32
static Name
FIELD_NAME_SINT64
static Name
FIELD_NAME_STRING
static Name
FIELD_NAME_UINT32
static Name
FIELD_NAME_UINT64
static Name
TYPE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> R
accept(ScalarType.Visitor<R> visitor)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_BOOL
public static final Name FIELD_NAME_BOOL
-
FIELD_NAME_BYTES
public static final Name FIELD_NAME_BYTES
-
FIELD_NAME_DOUBLE
public static final Name FIELD_NAME_DOUBLE
-
FIELD_NAME_FIXED32
public static final Name FIELD_NAME_FIXED32
-
FIELD_NAME_FIXED64
public static final Name FIELD_NAME_FIXED64
-
FIELD_NAME_FLOAT
public static final Name FIELD_NAME_FLOAT
-
FIELD_NAME_INT32
public static final Name FIELD_NAME_INT32
-
FIELD_NAME_INT64
public static final Name FIELD_NAME_INT64
-
FIELD_NAME_SFIXED32
public static final Name FIELD_NAME_SFIXED32
-
FIELD_NAME_SFIXED64
public static final Name FIELD_NAME_SFIXED64
-
FIELD_NAME_SINT32
public static final Name FIELD_NAME_SINT32
-
FIELD_NAME_SINT64
public static final Name FIELD_NAME_SINT64
-
FIELD_NAME_STRING
public static final Name FIELD_NAME_STRING
-
FIELD_NAME_UINT32
public static final Name FIELD_NAME_UINT32
-
FIELD_NAME_UINT64
public static final Name FIELD_NAME_UINT64
-
-
Method Detail
-
accept
public abstract <R> R accept(ScalarType.Visitor<R> visitor)
-
-