public static interface UnittestProto.TestExtremeDefaultValuesOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getBytesWithZero()
optional bytes bytes_with_zero = 24 [default = "wor\000ld"]; |
java.lang.String |
getCordWithZero()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD]; |
com.google.protobuf.ByteString |
getCordWithZeroBytes()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD]; |
java.lang.String |
getCppTrigraph()
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"]; |
com.google.protobuf.ByteString |
getCppTrigraphBytes()
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"]; |
com.google.protobuf.ByteString |
getEscapedBytes()
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"]; |
double |
getInfDouble()
optional double inf_double = 14 [default = inf]; |
float |
getInfFloat()
optional float inf_float = 17 [default = inf]; |
float |
getLargeFloat()
optional float large_float = 12 [default = 2e+008]; |
int |
getLargeUint32()
optional uint32 large_uint32 = 2 [default = 4294967295]; |
long |
getLargeUint64()
optional uint64 large_uint64 = 3 [default = 18446744073709551615]; |
double |
getNanDouble()
optional double nan_double = 16 [default = nan]; |
float |
getNanFloat()
optional float nan_float = 19 [default = nan]; |
float |
getNegativeFloat()
optional float negative_float = 11 [default = -1.5]; |
float |
getNegativeOneFloat()
optional float negative_one_float = 10 [default = -1]; |
double |
getNegInfDouble()
optional double neg_inf_double = 15 [default = -inf]; |
float |
getNegInfFloat()
optional float neg_inf_float = 18 [default = -inf]; |
float |
getOneFloat()
optional float one_float = 8 [default = 1]; |
int |
getReallySmallInt32()
optional int32 really_small_int32 = 21 [default = -2147483648]; |
long |
getReallySmallInt64()
optional int64 really_small_int64 = 22 [default = -9223372036854775808]; |
java.lang.String |
getReplacementString()
optional string replacement_string = 27 [default = "${unknown}"]; |
com.google.protobuf.ByteString |
getReplacementStringBytes()
optional string replacement_string = 27 [default = "${unknown}"]; |
float |
getSmallFloat()
optional float small_float = 9 [default = 1.5]; |
int |
getSmallInt32()
optional int32 small_int32 = 4 [default = -2147483647]; |
long |
getSmallInt64()
optional int64 small_int64 = 5 [default = -9223372036854775807]; |
float |
getSmallNegativeFloat()
optional float small_negative_float = 13 [default = -8e-028]; |
java.lang.String |
getStringPieceWithZero()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE]; |
com.google.protobuf.ByteString |
getStringPieceWithZeroBytes()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE]; |
java.lang.String |
getStringWithZero()
optional string string_with_zero = 23 [default = "hel\000lo"]; |
com.google.protobuf.ByteString |
getStringWithZeroBytes()
optional string string_with_zero = 23 [default = "hel\000lo"]; |
java.lang.String |
getUtf8String()
optional string utf8_string = 6 [default = "\341\210\264"]; |
com.google.protobuf.ByteString |
getUtf8StringBytes()
optional string utf8_string = 6 [default = "\341\210\264"]; |
float |
getZeroFloat()
optional float zero_float = 7 [default = 0]; |
boolean |
hasBytesWithZero()
optional bytes bytes_with_zero = 24 [default = "wor\000ld"]; |
boolean |
hasCordWithZero()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD]; |
boolean |
hasCppTrigraph()
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"]; |
boolean |
hasEscapedBytes()
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"]; |
boolean |
hasInfDouble()
optional double inf_double = 14 [default = inf]; |
boolean |
hasInfFloat()
optional float inf_float = 17 [default = inf]; |
boolean |
hasLargeFloat()
optional float large_float = 12 [default = 2e+008]; |
boolean |
hasLargeUint32()
optional uint32 large_uint32 = 2 [default = 4294967295]; |
boolean |
hasLargeUint64()
optional uint64 large_uint64 = 3 [default = 18446744073709551615]; |
boolean |
hasNanDouble()
optional double nan_double = 16 [default = nan]; |
boolean |
hasNanFloat()
optional float nan_float = 19 [default = nan]; |
boolean |
hasNegativeFloat()
optional float negative_float = 11 [default = -1.5]; |
boolean |
hasNegativeOneFloat()
optional float negative_one_float = 10 [default = -1]; |
boolean |
hasNegInfDouble()
optional double neg_inf_double = 15 [default = -inf]; |
boolean |
hasNegInfFloat()
optional float neg_inf_float = 18 [default = -inf]; |
boolean |
hasOneFloat()
optional float one_float = 8 [default = 1]; |
boolean |
hasReallySmallInt32()
optional int32 really_small_int32 = 21 [default = -2147483648]; |
boolean |
hasReallySmallInt64()
optional int64 really_small_int64 = 22 [default = -9223372036854775808]; |
boolean |
hasReplacementString()
optional string replacement_string = 27 [default = "${unknown}"]; |
boolean |
hasSmallFloat()
optional float small_float = 9 [default = 1.5]; |
boolean |
hasSmallInt32()
optional int32 small_int32 = 4 [default = -2147483647]; |
boolean |
hasSmallInt64()
optional int64 small_int64 = 5 [default = -9223372036854775807]; |
boolean |
hasSmallNegativeFloat()
optional float small_negative_float = 13 [default = -8e-028]; |
boolean |
hasStringPieceWithZero()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE]; |
boolean |
hasStringWithZero()
optional string string_with_zero = 23 [default = "hel\000lo"]; |
boolean |
hasUtf8String()
optional string utf8_string = 6 [default = "\341\210\264"]; |
boolean |
hasZeroFloat()
optional float zero_float = 7 [default = 0]; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasEscapedBytes()
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"];
com.google.protobuf.ByteString getEscapedBytes()
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"];
boolean hasLargeUint32()
optional uint32 large_uint32 = 2 [default = 4294967295];
int getLargeUint32()
optional uint32 large_uint32 = 2 [default = 4294967295];
boolean hasLargeUint64()
optional uint64 large_uint64 = 3 [default = 18446744073709551615];
long getLargeUint64()
optional uint64 large_uint64 = 3 [default = 18446744073709551615];
boolean hasSmallInt32()
optional int32 small_int32 = 4 [default = -2147483647];
int getSmallInt32()
optional int32 small_int32 = 4 [default = -2147483647];
boolean hasSmallInt64()
optional int64 small_int64 = 5 [default = -9223372036854775807];
long getSmallInt64()
optional int64 small_int64 = 5 [default = -9223372036854775807];
boolean hasReallySmallInt32()
optional int32 really_small_int32 = 21 [default = -2147483648];
int getReallySmallInt32()
optional int32 really_small_int32 = 21 [default = -2147483648];
boolean hasReallySmallInt64()
optional int64 really_small_int64 = 22 [default = -9223372036854775808];
long getReallySmallInt64()
optional int64 really_small_int64 = 22 [default = -9223372036854775808];
boolean hasUtf8String()
optional string utf8_string = 6 [default = "\341\210\264"];
The default value here is UTF-8 for "\u1234". (We could also just type the UTF-8 text directly into this text file rather than escape it, but lots of people use editors that would be confused by this.)
java.lang.String getUtf8String()
optional string utf8_string = 6 [default = "\341\210\264"];
The default value here is UTF-8 for "\u1234". (We could also just type the UTF-8 text directly into this text file rather than escape it, but lots of people use editors that would be confused by this.)
com.google.protobuf.ByteString getUtf8StringBytes()
optional string utf8_string = 6 [default = "\341\210\264"];
The default value here is UTF-8 for "\u1234". (We could also just type the UTF-8 text directly into this text file rather than escape it, but lots of people use editors that would be confused by this.)
boolean hasZeroFloat()
optional float zero_float = 7 [default = 0];
Tests for single-precision floating-point values.
float getZeroFloat()
optional float zero_float = 7 [default = 0];
Tests for single-precision floating-point values.
boolean hasOneFloat()
optional float one_float = 8 [default = 1];
float getOneFloat()
optional float one_float = 8 [default = 1];
boolean hasSmallFloat()
optional float small_float = 9 [default = 1.5];
float getSmallFloat()
optional float small_float = 9 [default = 1.5];
boolean hasNegativeOneFloat()
optional float negative_one_float = 10 [default = -1];
float getNegativeOneFloat()
optional float negative_one_float = 10 [default = -1];
boolean hasNegativeFloat()
optional float negative_float = 11 [default = -1.5];
float getNegativeFloat()
optional float negative_float = 11 [default = -1.5];
boolean hasLargeFloat()
optional float large_float = 12 [default = 2e+008];
Using exponents
float getLargeFloat()
optional float large_float = 12 [default = 2e+008];
Using exponents
boolean hasSmallNegativeFloat()
optional float small_negative_float = 13 [default = -8e-028];
float getSmallNegativeFloat()
optional float small_negative_float = 13 [default = -8e-028];
boolean hasInfDouble()
optional double inf_double = 14 [default = inf];
Text for nonfinite floating-point values.
double getInfDouble()
optional double inf_double = 14 [default = inf];
Text for nonfinite floating-point values.
boolean hasNegInfDouble()
optional double neg_inf_double = 15 [default = -inf];
double getNegInfDouble()
optional double neg_inf_double = 15 [default = -inf];
boolean hasNanDouble()
optional double nan_double = 16 [default = nan];
double getNanDouble()
optional double nan_double = 16 [default = nan];
boolean hasInfFloat()
optional float inf_float = 17 [default = inf];
float getInfFloat()
optional float inf_float = 17 [default = inf];
boolean hasNegInfFloat()
optional float neg_inf_float = 18 [default = -inf];
float getNegInfFloat()
optional float neg_inf_float = 18 [default = -inf];
boolean hasNanFloat()
optional float nan_float = 19 [default = nan];
float getNanFloat()
optional float nan_float = 19 [default = nan];
boolean hasCppTrigraph()
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"];
Tests for C++ trigraphs. Trigraphs should be escaped in C++ generated files, but they should not be escaped for other languages. Note that in .proto file, "\?" is a valid way to escape ? in string literals.
java.lang.String getCppTrigraph()
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"];
Tests for C++ trigraphs. Trigraphs should be escaped in C++ generated files, but they should not be escaped for other languages. Note that in .proto file, "\?" is a valid way to escape ? in string literals.
com.google.protobuf.ByteString getCppTrigraphBytes()
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"];
Tests for C++ trigraphs. Trigraphs should be escaped in C++ generated files, but they should not be escaped for other languages. Note that in .proto file, "\?" is a valid way to escape ? in string literals.
boolean hasStringWithZero()
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
java.lang.String getStringWithZero()
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
com.google.protobuf.ByteString getStringWithZeroBytes()
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
boolean hasBytesWithZero()
optional bytes bytes_with_zero = 24 [default = "wor\000ld"];
com.google.protobuf.ByteString getBytesWithZero()
optional bytes bytes_with_zero = 24 [default = "wor\000ld"];
boolean hasStringPieceWithZero()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
java.lang.String getStringPieceWithZero()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
com.google.protobuf.ByteString getStringPieceWithZeroBytes()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
boolean hasCordWithZero()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
java.lang.String getCordWithZero()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
com.google.protobuf.ByteString getCordWithZeroBytes()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
boolean hasReplacementString()
optional string replacement_string = 27 [default = "${unknown}"];
java.lang.String getReplacementString()
optional string replacement_string = 27 [default = "${unknown}"];
com.google.protobuf.ByteString getReplacementStringBytes()
optional string replacement_string = 27 [default = "${unknown}"];