public static final class NestedProtobuf.Variant extends com.google.protobuf.GeneratedMessageV3 implements NestedProtobuf.VariantOrBuilder
com.adgear.anoa.test.nested.Variant| Modifier and Type | Class and Description |
|---|---|
static class |
NestedProtobuf.Variant.Builder
Protobuf type
com.adgear.anoa.test.nested.Variant |
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BOOLEAN_VARIANT_FIELD_NUMBER |
static int |
BYTES_VARIANT_FIELD_NUMBER |
static int |
DOUBLE_VARIANT_FIELD_NUMBER |
static int |
FLOAT_VARIANT_FIELD_NUMBER |
static int |
INT_VARIANT_FIELD_NUMBER |
static int |
LONG_VARIANT_FIELD_NUMBER |
static com.google.protobuf.Parser<NestedProtobuf.Variant> |
PARSER
Deprecated.
|
static int |
STRING_VARIANT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getBooleanVariant()
optional bool boolean_variant = 50 [default = true]; |
com.google.protobuf.ByteString |
getBytesVariant()
optional bytes bytes_variant = 70 [default = "\001\002\003"]; |
static NestedProtobuf.Variant |
getDefaultInstance() |
NestedProtobuf.Variant |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleVariant()
optional double double_variant = 40 [default = -1]; |
float |
getFloatVariant()
optional float float_variant = 30 [default = -1]; |
int |
getIntVariant()
optional uint32 int_variant = 10 [default = 1]; |
long |
getLongVariant()
optional sint64 long_variant = 20 [default = -1]; |
com.google.protobuf.Parser<NestedProtobuf.Variant> |
getParserForType() |
int |
getSerializedSize() |
String |
getStringVariant()
optional string string_variant = 60 [default = "foo"]; |
com.google.protobuf.ByteString |
getStringVariantBytes()
optional string string_variant = 60 [default = "foo"]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBooleanVariant()
optional bool boolean_variant = 50 [default = true]; |
boolean |
hasBytesVariant()
optional bytes bytes_variant = 70 [default = "\001\002\003"]; |
boolean |
hasDoubleVariant()
optional double double_variant = 40 [default = -1]; |
boolean |
hasFloatVariant()
optional float float_variant = 30 [default = -1]; |
int |
hashCode() |
boolean |
hasIntVariant()
optional uint32 int_variant = 10 [default = 1]; |
boolean |
hasLongVariant()
optional sint64 long_variant = 20 [default = -1]; |
boolean |
hasStringVariant()
optional string string_variant = 60 [default = "foo"]; |
boolean |
isInitialized() |
static NestedProtobuf.Variant.Builder |
newBuilder() |
static NestedProtobuf.Variant.Builder |
newBuilder(NestedProtobuf.Variant prototype) |
NestedProtobuf.Variant.Builder |
newBuilderForType() |
static NestedProtobuf.Variant |
parseDelimitedFrom(InputStream input) |
static NestedProtobuf.Variant |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NestedProtobuf.Variant |
parseFrom(byte[] data) |
static NestedProtobuf.Variant |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NestedProtobuf.Variant |
parseFrom(com.google.protobuf.ByteString data) |
static NestedProtobuf.Variant |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NestedProtobuf.Variant |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NestedProtobuf.Variant |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NestedProtobuf.Variant |
parseFrom(InputStream input) |
static NestedProtobuf.Variant |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NestedProtobuf.Variant> |
parser() |
NestedProtobuf.Variant.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int INT_VARIANT_FIELD_NUMBER
public static final int LONG_VARIANT_FIELD_NUMBER
public static final int FLOAT_VARIANT_FIELD_NUMBER
public static final int DOUBLE_VARIANT_FIELD_NUMBER
public static final int BOOLEAN_VARIANT_FIELD_NUMBER
public static final int STRING_VARIANT_FIELD_NUMBER
public static final int BYTES_VARIANT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<NestedProtobuf.Variant> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasIntVariant()
optional uint32 int_variant = 10 [default = 1];hasIntVariant in interface NestedProtobuf.VariantOrBuilderpublic int getIntVariant()
optional uint32 int_variant = 10 [default = 1];getIntVariant in interface NestedProtobuf.VariantOrBuilderpublic boolean hasLongVariant()
optional sint64 long_variant = 20 [default = -1];hasLongVariant in interface NestedProtobuf.VariantOrBuilderpublic long getLongVariant()
optional sint64 long_variant = 20 [default = -1];getLongVariant in interface NestedProtobuf.VariantOrBuilderpublic boolean hasFloatVariant()
optional float float_variant = 30 [default = -1];hasFloatVariant in interface NestedProtobuf.VariantOrBuilderpublic float getFloatVariant()
optional float float_variant = 30 [default = -1];getFloatVariant in interface NestedProtobuf.VariantOrBuilderpublic boolean hasDoubleVariant()
optional double double_variant = 40 [default = -1];hasDoubleVariant in interface NestedProtobuf.VariantOrBuilderpublic double getDoubleVariant()
optional double double_variant = 40 [default = -1];getDoubleVariant in interface NestedProtobuf.VariantOrBuilderpublic boolean hasBooleanVariant()
optional bool boolean_variant = 50 [default = true];hasBooleanVariant in interface NestedProtobuf.VariantOrBuilderpublic boolean getBooleanVariant()
optional bool boolean_variant = 50 [default = true];getBooleanVariant in interface NestedProtobuf.VariantOrBuilderpublic boolean hasStringVariant()
optional string string_variant = 60 [default = "foo"];hasStringVariant in interface NestedProtobuf.VariantOrBuilderpublic String getStringVariant()
optional string string_variant = 60 [default = "foo"];getStringVariant in interface NestedProtobuf.VariantOrBuilderpublic com.google.protobuf.ByteString getStringVariantBytes()
optional string string_variant = 60 [default = "foo"];getStringVariantBytes in interface NestedProtobuf.VariantOrBuilderpublic boolean hasBytesVariant()
optional bytes bytes_variant = 70 [default = "\001\002\003"];hasBytesVariant in interface NestedProtobuf.VariantOrBuilderpublic com.google.protobuf.ByteString getBytesVariant()
optional bytes bytes_variant = 70 [default = "\001\002\003"];getBytesVariant in interface NestedProtobuf.VariantOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NestedProtobuf.Variant parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NestedProtobuf.Variant parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NestedProtobuf.Variant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NestedProtobuf.Variant parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NestedProtobuf.Variant parseFrom(InputStream input) throws IOException
IOExceptionpublic static NestedProtobuf.Variant parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NestedProtobuf.Variant parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NestedProtobuf.Variant parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NestedProtobuf.Variant parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NestedProtobuf.Variant parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NestedProtobuf.Variant.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NestedProtobuf.Variant.Builder newBuilder()
public static NestedProtobuf.Variant.Builder newBuilder(NestedProtobuf.Variant prototype)
public NestedProtobuf.Variant.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static NestedProtobuf.Variant getDefaultInstance()
public static com.google.protobuf.Parser<NestedProtobuf.Variant> parser()
public com.google.protobuf.Parser<NestedProtobuf.Variant> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NestedProtobuf.Variant getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.