public final class UnittestCustomOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BOOL_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Boolean> |
boolOpt
extend .google.protobuf.MessageOptions { ... |
static int |
BYTES_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,com.google.protobuf.ByteString> |
bytesOpt
extend .google.protobuf.MessageOptions { ... |
static int |
COMPLEX_OPT1_FIELD_NUMBER |
static int |
COMPLEX_OPT2_FIELD_NUMBER |
static int |
COMPLEX_OPT3_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.ComplexOptionType1> |
complexOpt1
extend .google.protobuf.MessageOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.ComplexOptionType2> |
complexOpt2
extend .google.protobuf.MessageOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.ComplexOptionType3> |
complexOpt3
extend .google.protobuf.MessageOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.ComplexOpt6> |
complexOpt6
extend .google.protobuf.MessageOptions { ... |
static int |
COMPLEXOPT6_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestCustomOptions.ComplexOptionType1,UnittestCustomOptions.ComplexOptionType3> |
corge
extend .protobuf_unittest.ComplexOptionType1 { ... |
static int |
CORGE_FIELD_NUMBER |
static int |
DOUBLE_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Double> |
doubleOpt
extend .google.protobuf.MessageOptions { ... |
static int |
ENUM_OPT_FIELD_NUMBER |
static int |
ENUM_OPT1_FIELD_NUMBER |
static int |
ENUM_VALUE_OPT1_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.EnumOptions,UnittestCustomOptions.Aggregate> |
enumopt
extend .google.protobuf.EnumOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.DummyMessageContainingEnum.TestEnumType> |
enumOpt
extend .google.protobuf.MessageOptions { ... |
static int |
ENUMOPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.EnumOptions,java.lang.Integer> |
enumOpt1
extend .google.protobuf.EnumOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.EnumValueOptions,UnittestCustomOptions.Aggregate> |
enumvalopt
extend .google.protobuf.EnumValueOptions { ... |
static int |
ENUMVALOPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.EnumValueOptions,java.lang.Integer> |
enumValueOpt1
extend .google.protobuf.EnumValueOptions { ... |
static int |
FIELD_OPT1_FIELD_NUMBER |
static int |
FIELD_OPT2_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,UnittestCustomOptions.Aggregate> |
fieldopt
extend .google.protobuf.FieldOptions { ... |
static int |
FIELDOPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,java.lang.Long> |
fieldOpt1
extend .google.protobuf.FieldOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,java.lang.Integer> |
fieldOpt2
extend .google.protobuf.FieldOptions { ... |
static int |
FILE_OPT1_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FileOptions,UnittestCustomOptions.Aggregate> |
fileopt
extend .google.protobuf.FileOptions { ... |
static int |
FILEOPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FileOptions,java.lang.Long> |
fileOpt1
extend .google.protobuf.FileOptions { ... |
static int |
FIXED32_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> |
fixed32Opt
extend .google.protobuf.MessageOptions { ... |
static int |
FIXED64_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> |
fixed64Opt
extend .google.protobuf.MessageOptions { ... |
static int |
FLOAT_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Float> |
floatOpt
extend .google.protobuf.MessageOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestCustomOptions.ComplexOptionType2,UnittestCustomOptions.ComplexOptionType1> |
garply
extend .protobuf_unittest.ComplexOptionType2 { ... |
static int |
GARPLY_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestCustomOptions.ComplexOptionType2,java.lang.Integer> |
grault
extend .protobuf_unittest.ComplexOptionType2 { ... |
static int |
GRAULT_FIELD_NUMBER |
static int |
INT32_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> |
int32Opt
extend .google.protobuf.MessageOptions { ... |
static int |
INT64_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> |
int64Opt
extend .google.protobuf.MessageOptions { ... |
static int |
MESSAGE_OPT1_FIELD_NUMBER |
static int |
MESSAGE_TYPE_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> |
messageOpt1
extend .google.protobuf.MessageOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.DummyMessageInvalidAsOptionType> |
messageTypeOpt
extend .google.protobuf.MessageOptions { ... |
static int |
METHOD_OPT1_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MethodOptions,UnittestCustomOptions.Aggregate> |
methodopt
extend .google.protobuf.MethodOptions { ... |
static int |
METHODOPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MethodOptions,UnittestCustomOptions.MethodOpt1> |
methodOpt1
extend .google.protobuf.MethodOptions { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.Aggregate> |
msgopt
extend .google.protobuf.MessageOptions { ... |
static int |
MSGOPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestCustomOptions.ComplexOptionType1,java.lang.Integer> |
quux
extend .protobuf_unittest.ComplexOptionType1 { ... |
static int |
QUUX_FIELD_NUMBER |
static int |
SERVICE_OPT1_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.ServiceOptions,UnittestCustomOptions.Aggregate> |
serviceopt
extend .google.protobuf.ServiceOptions { ... |
static int |
SERVICEOPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.ServiceOptions,java.lang.Long> |
serviceOpt1
extend .google.protobuf.ServiceOptions { ... |
static int |
SFIXED32_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> |
sfixed32Opt
extend .google.protobuf.MessageOptions { ... |
static int |
SFIXED64_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> |
sfixed64Opt
extend .google.protobuf.MessageOptions { ... |
static int |
SINT32_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> |
sint32Opt
extend .google.protobuf.MessageOptions { ... |
static int |
SINT64_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> |
sint64Opt
extend .google.protobuf.MessageOptions { ... |
static int |
STRING_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.String> |
stringOpt
extend .google.protobuf.MessageOptions { ... |
static int |
UINT32_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> |
uint32Opt
extend .google.protobuf.MessageOptions { ... |
static int |
UINT64_OPT_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> |
uint64Opt
extend .google.protobuf.MessageOptions { ... |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.FileDescriptor |
getDescriptor() |
static void |
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) |
public static final int FILE_OPT1_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FileOptions,java.lang.Long> fileOpt1
extend .google.protobuf.FileOptions { ... }
public static final int MESSAGE_OPT1_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> messageOpt1
extend .google.protobuf.MessageOptions { ... }
public static final int FIELD_OPT1_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,java.lang.Long> fieldOpt1
extend .google.protobuf.FieldOptions { ... }
public static final int FIELD_OPT2_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,java.lang.Integer> fieldOpt2
extend .google.protobuf.FieldOptions { ... }
This is useful for testing that we correctly register default values for extension options.
public static final int ENUM_OPT1_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.EnumOptions,java.lang.Integer> enumOpt1
extend .google.protobuf.EnumOptions { ... }
public static final int ENUM_VALUE_OPT1_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.EnumValueOptions,java.lang.Integer> enumValueOpt1
extend .google.protobuf.EnumValueOptions { ... }
public static final int SERVICE_OPT1_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.ServiceOptions,java.lang.Long> serviceOpt1
extend .google.protobuf.ServiceOptions { ... }
public static final int METHOD_OPT1_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MethodOptions,UnittestCustomOptions.MethodOpt1> methodOpt1
extend .google.protobuf.MethodOptions { ... }
public static final int BOOL_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Boolean> boolOpt
extend .google.protobuf.MessageOptions { ... }
public static final int INT32_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> int32Opt
extend .google.protobuf.MessageOptions { ... }
public static final int INT64_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> int64Opt
extend .google.protobuf.MessageOptions { ... }
public static final int UINT32_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> uint32Opt
extend .google.protobuf.MessageOptions { ... }
public static final int UINT64_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> uint64Opt
extend .google.protobuf.MessageOptions { ... }
public static final int SINT32_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> sint32Opt
extend .google.protobuf.MessageOptions { ... }
public static final int SINT64_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> sint64Opt
extend .google.protobuf.MessageOptions { ... }
public static final int FIXED32_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> fixed32Opt
extend .google.protobuf.MessageOptions { ... }
public static final int FIXED64_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> fixed64Opt
extend .google.protobuf.MessageOptions { ... }
public static final int SFIXED32_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Integer> sfixed32Opt
extend .google.protobuf.MessageOptions { ... }
public static final int SFIXED64_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Long> sfixed64Opt
extend .google.protobuf.MessageOptions { ... }
public static final int FLOAT_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Float> floatOpt
extend .google.protobuf.MessageOptions { ... }
public static final int DOUBLE_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.Double> doubleOpt
extend .google.protobuf.MessageOptions { ... }
public static final int STRING_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,java.lang.String> stringOpt
extend .google.protobuf.MessageOptions { ... }
public static final int BYTES_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,com.google.protobuf.ByteString> bytesOpt
extend .google.protobuf.MessageOptions { ... }
public static final int ENUM_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.DummyMessageContainingEnum.TestEnumType> enumOpt
extend .google.protobuf.MessageOptions { ... }
public static final int MESSAGE_TYPE_OPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.DummyMessageInvalidAsOptionType> messageTypeOpt
extend .google.protobuf.MessageOptions { ... }
public static final int QUUX_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestCustomOptions.ComplexOptionType1,java.lang.Integer> quux
extend .protobuf_unittest.ComplexOptionType1 { ... }
public static final int CORGE_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestCustomOptions.ComplexOptionType1,UnittestCustomOptions.ComplexOptionType3> corge
extend .protobuf_unittest.ComplexOptionType1 { ... }
public static final int GRAULT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestCustomOptions.ComplexOptionType2,java.lang.Integer> grault
extend .protobuf_unittest.ComplexOptionType2 { ... }
public static final int GARPLY_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestCustomOptions.ComplexOptionType2,UnittestCustomOptions.ComplexOptionType1> garply
extend .protobuf_unittest.ComplexOptionType2 { ... }
public static final int COMPLEX_OPT1_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.ComplexOptionType1> complexOpt1
extend .google.protobuf.MessageOptions { ... }
public static final int COMPLEX_OPT2_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.ComplexOptionType2> complexOpt2
extend .google.protobuf.MessageOptions { ... }
public static final int COMPLEX_OPT3_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.ComplexOptionType3> complexOpt3
extend .google.protobuf.MessageOptions { ... }
public static final int COMPLEXOPT6_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.ComplexOpt6> complexOpt6
extend .google.protobuf.MessageOptions { ... }
public static final int FILEOPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FileOptions,UnittestCustomOptions.Aggregate> fileopt
extend .google.protobuf.FileOptions { ... }
public static final int MSGOPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MessageOptions,UnittestCustomOptions.Aggregate> msgopt
extend .google.protobuf.MessageOptions { ... }
public static final int FIELDOPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.FieldOptions,UnittestCustomOptions.Aggregate> fieldopt
extend .google.protobuf.FieldOptions { ... }
public static final int ENUMOPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.EnumOptions,UnittestCustomOptions.Aggregate> enumopt
extend .google.protobuf.EnumOptions { ... }
public static final int ENUMVALOPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.EnumValueOptions,UnittestCustomOptions.Aggregate> enumvalopt
extend .google.protobuf.EnumValueOptions { ... }
public static final int SERVICEOPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.ServiceOptions,UnittestCustomOptions.Aggregate> serviceopt
extend .google.protobuf.ServiceOptions { ... }
public static final int METHODOPT_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<DescriptorProtos.MethodOptions,UnittestCustomOptions.Aggregate> methodopt
extend .google.protobuf.MethodOptions { ... }