public static final class UnittestProto.TestExtremeDefaultValues.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestExtremeDefaultValues.Builder> implements UnittestProto.TestExtremeDefaultValuesOrBuilder
protobuf_unittest.TestExtremeDefaultValues
Modifier and Type | Method and Description |
---|---|
UnittestProto.TestExtremeDefaultValues |
build() |
UnittestProto.TestExtremeDefaultValues |
buildPartial() |
UnittestProto.TestExtremeDefaultValues.Builder |
clear() |
UnittestProto.TestExtremeDefaultValues.Builder |
clearBytesWithZero()
optional bytes bytes_with_zero = 24 [default = "wor\000ld"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearCordWithZero()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearCppTrigraph()
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearEscapedBytes()
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearInfDouble()
optional double inf_double = 14 [default = inf]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearInfFloat()
optional float inf_float = 17 [default = inf]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearLargeFloat()
optional float large_float = 12 [default = 2e+008]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearLargeUint32()
optional uint32 large_uint32 = 2 [default = 4294967295]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearLargeUint64()
optional uint64 large_uint64 = 3 [default = 18446744073709551615]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearNanDouble()
optional double nan_double = 16 [default = nan]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearNanFloat()
optional float nan_float = 19 [default = nan]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearNegativeFloat()
optional float negative_float = 11 [default = -1.5]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearNegativeOneFloat()
optional float negative_one_float = 10 [default = -1]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearNegInfDouble()
optional double neg_inf_double = 15 [default = -inf]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearNegInfFloat()
optional float neg_inf_float = 18 [default = -inf]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearOneFloat()
optional float one_float = 8 [default = 1]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearReallySmallInt32()
optional int32 really_small_int32 = 21 [default = -2147483648]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearReallySmallInt64()
optional int64 really_small_int64 = 22 [default = -9223372036854775808]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearReplacementString()
optional string replacement_string = 27 [default = "${unknown}"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearSmallFloat()
optional float small_float = 9 [default = 1.5]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearSmallInt32()
optional int32 small_int32 = 4 [default = -2147483647]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearSmallInt64()
optional int64 small_int64 = 5 [default = -9223372036854775807]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearSmallNegativeFloat()
optional float small_negative_float = 13 [default = -8e-028]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearStringPieceWithZero()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearStringWithZero()
optional string string_with_zero = 23 [default = "hel\000lo"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearUtf8String()
optional string utf8_string = 6 [default = "\341\210\264"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clearZeroFloat()
optional float zero_float = 7 [default = 0]; |
UnittestProto.TestExtremeDefaultValues.Builder |
clone() |
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 = "? ? ?? ?? ??? ??/ ??-"]; |
UnittestProto.TestExtremeDefaultValues |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UnittestProto.TestExtremeDefaultValues.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestExtremeDefaultValues.Builder |
mergeFrom(com.google.protobuf.Message other) |
UnittestProto.TestExtremeDefaultValues.Builder |
mergeFrom(UnittestProto.TestExtremeDefaultValues other) |
UnittestProto.TestExtremeDefaultValues.Builder |
setBytesWithZero(com.google.protobuf.ByteString value)
optional bytes bytes_with_zero = 24 [default = "wor\000ld"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setCordWithZero(java.lang.String value)
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setCordWithZeroBytes(com.google.protobuf.ByteString value)
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setCppTrigraph(java.lang.String value)
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setCppTrigraphBytes(com.google.protobuf.ByteString value)
optional string cpp_trigraph = 20 [default = "? ? ?? ?? ??? ??/ ??-"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setEscapedBytes(com.google.protobuf.ByteString value)
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setInfDouble(double value)
optional double inf_double = 14 [default = inf]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setInfFloat(float value)
optional float inf_float = 17 [default = inf]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setLargeFloat(float value)
optional float large_float = 12 [default = 2e+008]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setLargeUint32(int value)
optional uint32 large_uint32 = 2 [default = 4294967295]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setLargeUint64(long value)
optional uint64 large_uint64 = 3 [default = 18446744073709551615]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setNanDouble(double value)
optional double nan_double = 16 [default = nan]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setNanFloat(float value)
optional float nan_float = 19 [default = nan]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setNegativeFloat(float value)
optional float negative_float = 11 [default = -1.5]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setNegativeOneFloat(float value)
optional float negative_one_float = 10 [default = -1]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setNegInfDouble(double value)
optional double neg_inf_double = 15 [default = -inf]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setNegInfFloat(float value)
optional float neg_inf_float = 18 [default = -inf]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setOneFloat(float value)
optional float one_float = 8 [default = 1]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setReallySmallInt32(int value)
optional int32 really_small_int32 = 21 [default = -2147483648]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setReallySmallInt64(long value)
optional int64 really_small_int64 = 22 [default = -9223372036854775808]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setReplacementString(java.lang.String value)
optional string replacement_string = 27 [default = "${unknown}"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setReplacementStringBytes(com.google.protobuf.ByteString value)
optional string replacement_string = 27 [default = "${unknown}"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setSmallFloat(float value)
optional float small_float = 9 [default = 1.5]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setSmallInt32(int value)
optional int32 small_int32 = 4 [default = -2147483647]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setSmallInt64(long value)
optional int64 small_int64 = 5 [default = -9223372036854775807]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setSmallNegativeFloat(float value)
optional float small_negative_float = 13 [default = -8e-028]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setStringPieceWithZero(java.lang.String value)
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setStringPieceWithZeroBytes(com.google.protobuf.ByteString value)
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setStringWithZero(java.lang.String value)
optional string string_with_zero = 23 [default = "hel\000lo"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setStringWithZeroBytes(com.google.protobuf.ByteString value)
optional string string_with_zero = 23 [default = "hel\000lo"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setUtf8String(java.lang.String value)
optional string utf8_string = 6 [default = "\341\210\264"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setUtf8StringBytes(com.google.protobuf.ByteString value)
optional string utf8_string = 6 [default = "\341\210\264"]; |
UnittestProto.TestExtremeDefaultValues.Builder |
setZeroFloat(float value)
optional float zero_float = 7 [default = 0]; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestExtremeDefaultValues.Builder>
public UnittestProto.TestExtremeDefaultValues.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestExtremeDefaultValues.Builder>
public UnittestProto.TestExtremeDefaultValues.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestExtremeDefaultValues.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestExtremeDefaultValues.Builder>
public UnittestProto.TestExtremeDefaultValues getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UnittestProto.TestExtremeDefaultValues build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UnittestProto.TestExtremeDefaultValues buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UnittestProto.TestExtremeDefaultValues.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UnittestProto.TestExtremeDefaultValues.Builder>
public UnittestProto.TestExtremeDefaultValues.Builder mergeFrom(UnittestProto.TestExtremeDefaultValues other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestExtremeDefaultValues.Builder>
public UnittestProto.TestExtremeDefaultValues.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UnittestProto.TestExtremeDefaultValues.Builder>
java.io.IOException
public boolean hasEscapedBytes()
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"];
hasEscapedBytes
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public com.google.protobuf.ByteString getEscapedBytes()
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"];
getEscapedBytes
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setEscapedBytes(com.google.protobuf.ByteString value)
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"];
public UnittestProto.TestExtremeDefaultValues.Builder clearEscapedBytes()
optional bytes escaped_bytes = 1 [default = "\000\001\007\010\014\n\r\t\013\\\'\"\376"];
public boolean hasLargeUint32()
optional uint32 large_uint32 = 2 [default = 4294967295];
hasLargeUint32
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public int getLargeUint32()
optional uint32 large_uint32 = 2 [default = 4294967295];
getLargeUint32
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setLargeUint32(int value)
optional uint32 large_uint32 = 2 [default = 4294967295];
public UnittestProto.TestExtremeDefaultValues.Builder clearLargeUint32()
optional uint32 large_uint32 = 2 [default = 4294967295];
public boolean hasLargeUint64()
optional uint64 large_uint64 = 3 [default = 18446744073709551615];
hasLargeUint64
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public long getLargeUint64()
optional uint64 large_uint64 = 3 [default = 18446744073709551615];
getLargeUint64
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setLargeUint64(long value)
optional uint64 large_uint64 = 3 [default = 18446744073709551615];
public UnittestProto.TestExtremeDefaultValues.Builder clearLargeUint64()
optional uint64 large_uint64 = 3 [default = 18446744073709551615];
public boolean hasSmallInt32()
optional int32 small_int32 = 4 [default = -2147483647];
hasSmallInt32
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public int getSmallInt32()
optional int32 small_int32 = 4 [default = -2147483647];
getSmallInt32
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setSmallInt32(int value)
optional int32 small_int32 = 4 [default = -2147483647];
public UnittestProto.TestExtremeDefaultValues.Builder clearSmallInt32()
optional int32 small_int32 = 4 [default = -2147483647];
public boolean hasSmallInt64()
optional int64 small_int64 = 5 [default = -9223372036854775807];
hasSmallInt64
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public long getSmallInt64()
optional int64 small_int64 = 5 [default = -9223372036854775807];
getSmallInt64
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setSmallInt64(long value)
optional int64 small_int64 = 5 [default = -9223372036854775807];
public UnittestProto.TestExtremeDefaultValues.Builder clearSmallInt64()
optional int64 small_int64 = 5 [default = -9223372036854775807];
public boolean hasReallySmallInt32()
optional int32 really_small_int32 = 21 [default = -2147483648];
hasReallySmallInt32
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public int getReallySmallInt32()
optional int32 really_small_int32 = 21 [default = -2147483648];
getReallySmallInt32
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setReallySmallInt32(int value)
optional int32 really_small_int32 = 21 [default = -2147483648];
public UnittestProto.TestExtremeDefaultValues.Builder clearReallySmallInt32()
optional int32 really_small_int32 = 21 [default = -2147483648];
public boolean hasReallySmallInt64()
optional int64 really_small_int64 = 22 [default = -9223372036854775808];
hasReallySmallInt64
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public long getReallySmallInt64()
optional int64 really_small_int64 = 22 [default = -9223372036854775808];
getReallySmallInt64
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setReallySmallInt64(long value)
optional int64 really_small_int64 = 22 [default = -9223372036854775808];
public UnittestProto.TestExtremeDefaultValues.Builder clearReallySmallInt64()
optional int64 really_small_int64 = 22 [default = -9223372036854775808];
public 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.)
hasUtf8String
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public 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.)
getUtf8String
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public 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.)
getUtf8StringBytes
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setUtf8String(java.lang.String value)
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.)
public UnittestProto.TestExtremeDefaultValues.Builder clearUtf8String()
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.)
public UnittestProto.TestExtremeDefaultValues.Builder setUtf8StringBytes(com.google.protobuf.ByteString value)
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.)
public boolean hasZeroFloat()
optional float zero_float = 7 [default = 0];
Tests for single-precision floating-point values.
hasZeroFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getZeroFloat()
optional float zero_float = 7 [default = 0];
Tests for single-precision floating-point values.
getZeroFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setZeroFloat(float value)
optional float zero_float = 7 [default = 0];
Tests for single-precision floating-point values.
public UnittestProto.TestExtremeDefaultValues.Builder clearZeroFloat()
optional float zero_float = 7 [default = 0];
Tests for single-precision floating-point values.
public boolean hasOneFloat()
optional float one_float = 8 [default = 1];
hasOneFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getOneFloat()
optional float one_float = 8 [default = 1];
getOneFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setOneFloat(float value)
optional float one_float = 8 [default = 1];
public UnittestProto.TestExtremeDefaultValues.Builder clearOneFloat()
optional float one_float = 8 [default = 1];
public boolean hasSmallFloat()
optional float small_float = 9 [default = 1.5];
hasSmallFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getSmallFloat()
optional float small_float = 9 [default = 1.5];
getSmallFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setSmallFloat(float value)
optional float small_float = 9 [default = 1.5];
public UnittestProto.TestExtremeDefaultValues.Builder clearSmallFloat()
optional float small_float = 9 [default = 1.5];
public boolean hasNegativeOneFloat()
optional float negative_one_float = 10 [default = -1];
hasNegativeOneFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getNegativeOneFloat()
optional float negative_one_float = 10 [default = -1];
getNegativeOneFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setNegativeOneFloat(float value)
optional float negative_one_float = 10 [default = -1];
public UnittestProto.TestExtremeDefaultValues.Builder clearNegativeOneFloat()
optional float negative_one_float = 10 [default = -1];
public boolean hasNegativeFloat()
optional float negative_float = 11 [default = -1.5];
hasNegativeFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getNegativeFloat()
optional float negative_float = 11 [default = -1.5];
getNegativeFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setNegativeFloat(float value)
optional float negative_float = 11 [default = -1.5];
public UnittestProto.TestExtremeDefaultValues.Builder clearNegativeFloat()
optional float negative_float = 11 [default = -1.5];
public boolean hasLargeFloat()
optional float large_float = 12 [default = 2e+008];
Using exponents
hasLargeFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getLargeFloat()
optional float large_float = 12 [default = 2e+008];
Using exponents
getLargeFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setLargeFloat(float value)
optional float large_float = 12 [default = 2e+008];
Using exponents
public UnittestProto.TestExtremeDefaultValues.Builder clearLargeFloat()
optional float large_float = 12 [default = 2e+008];
Using exponents
public boolean hasSmallNegativeFloat()
optional float small_negative_float = 13 [default = -8e-028];
hasSmallNegativeFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getSmallNegativeFloat()
optional float small_negative_float = 13 [default = -8e-028];
getSmallNegativeFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setSmallNegativeFloat(float value)
optional float small_negative_float = 13 [default = -8e-028];
public UnittestProto.TestExtremeDefaultValues.Builder clearSmallNegativeFloat()
optional float small_negative_float = 13 [default = -8e-028];
public boolean hasInfDouble()
optional double inf_double = 14 [default = inf];
Text for nonfinite floating-point values.
hasInfDouble
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public double getInfDouble()
optional double inf_double = 14 [default = inf];
Text for nonfinite floating-point values.
getInfDouble
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setInfDouble(double value)
optional double inf_double = 14 [default = inf];
Text for nonfinite floating-point values.
public UnittestProto.TestExtremeDefaultValues.Builder clearInfDouble()
optional double inf_double = 14 [default = inf];
Text for nonfinite floating-point values.
public boolean hasNegInfDouble()
optional double neg_inf_double = 15 [default = -inf];
hasNegInfDouble
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public double getNegInfDouble()
optional double neg_inf_double = 15 [default = -inf];
getNegInfDouble
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setNegInfDouble(double value)
optional double neg_inf_double = 15 [default = -inf];
public UnittestProto.TestExtremeDefaultValues.Builder clearNegInfDouble()
optional double neg_inf_double = 15 [default = -inf];
public boolean hasNanDouble()
optional double nan_double = 16 [default = nan];
hasNanDouble
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public double getNanDouble()
optional double nan_double = 16 [default = nan];
getNanDouble
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setNanDouble(double value)
optional double nan_double = 16 [default = nan];
public UnittestProto.TestExtremeDefaultValues.Builder clearNanDouble()
optional double nan_double = 16 [default = nan];
public boolean hasInfFloat()
optional float inf_float = 17 [default = inf];
hasInfFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getInfFloat()
optional float inf_float = 17 [default = inf];
getInfFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setInfFloat(float value)
optional float inf_float = 17 [default = inf];
public UnittestProto.TestExtremeDefaultValues.Builder clearInfFloat()
optional float inf_float = 17 [default = inf];
public boolean hasNegInfFloat()
optional float neg_inf_float = 18 [default = -inf];
hasNegInfFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getNegInfFloat()
optional float neg_inf_float = 18 [default = -inf];
getNegInfFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setNegInfFloat(float value)
optional float neg_inf_float = 18 [default = -inf];
public UnittestProto.TestExtremeDefaultValues.Builder clearNegInfFloat()
optional float neg_inf_float = 18 [default = -inf];
public boolean hasNanFloat()
optional float nan_float = 19 [default = nan];
hasNanFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public float getNanFloat()
optional float nan_float = 19 [default = nan];
getNanFloat
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setNanFloat(float value)
optional float nan_float = 19 [default = nan];
public UnittestProto.TestExtremeDefaultValues.Builder clearNanFloat()
optional float nan_float = 19 [default = nan];
public 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.
hasCppTrigraph
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public 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.
getCppTrigraph
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public 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.
getCppTrigraphBytes
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setCppTrigraph(java.lang.String value)
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.
public UnittestProto.TestExtremeDefaultValues.Builder clearCppTrigraph()
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.
public UnittestProto.TestExtremeDefaultValues.Builder setCppTrigraphBytes(com.google.protobuf.ByteString value)
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.
public boolean hasStringWithZero()
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
hasStringWithZero
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public java.lang.String getStringWithZero()
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
getStringWithZero
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public com.google.protobuf.ByteString getStringWithZeroBytes()
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
getStringWithZeroBytes
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setStringWithZero(java.lang.String value)
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
public UnittestProto.TestExtremeDefaultValues.Builder clearStringWithZero()
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
public UnittestProto.TestExtremeDefaultValues.Builder setStringWithZeroBytes(com.google.protobuf.ByteString value)
optional string string_with_zero = 23 [default = "hel\000lo"];
String defaults containing the character '\000'
public boolean hasBytesWithZero()
optional bytes bytes_with_zero = 24 [default = "wor\000ld"];
hasBytesWithZero
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public com.google.protobuf.ByteString getBytesWithZero()
optional bytes bytes_with_zero = 24 [default = "wor\000ld"];
getBytesWithZero
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setBytesWithZero(com.google.protobuf.ByteString value)
optional bytes bytes_with_zero = 24 [default = "wor\000ld"];
public UnittestProto.TestExtremeDefaultValues.Builder clearBytesWithZero()
optional bytes bytes_with_zero = 24 [default = "wor\000ld"];
public boolean hasStringPieceWithZero()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
hasStringPieceWithZero
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public java.lang.String getStringPieceWithZero()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
getStringPieceWithZero
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public com.google.protobuf.ByteString getStringPieceWithZeroBytes()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
getStringPieceWithZeroBytes
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setStringPieceWithZero(java.lang.String value)
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
public UnittestProto.TestExtremeDefaultValues.Builder clearStringPieceWithZero()
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
public UnittestProto.TestExtremeDefaultValues.Builder setStringPieceWithZeroBytes(com.google.protobuf.ByteString value)
optional string string_piece_with_zero = 25 [default = "ab\000c", ctype = STRING_PIECE];
public boolean hasCordWithZero()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
hasCordWithZero
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public java.lang.String getCordWithZero()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
getCordWithZero
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public com.google.protobuf.ByteString getCordWithZeroBytes()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
getCordWithZeroBytes
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setCordWithZero(java.lang.String value)
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
public UnittestProto.TestExtremeDefaultValues.Builder clearCordWithZero()
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
public UnittestProto.TestExtremeDefaultValues.Builder setCordWithZeroBytes(com.google.protobuf.ByteString value)
optional string cord_with_zero = 26 [default = "12\0003", ctype = CORD];
public boolean hasReplacementString()
optional string replacement_string = 27 [default = "${unknown}"];
hasReplacementString
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public java.lang.String getReplacementString()
optional string replacement_string = 27 [default = "${unknown}"];
getReplacementString
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public com.google.protobuf.ByteString getReplacementStringBytes()
optional string replacement_string = 27 [default = "${unknown}"];
getReplacementStringBytes
in interface UnittestProto.TestExtremeDefaultValuesOrBuilder
public UnittestProto.TestExtremeDefaultValues.Builder setReplacementString(java.lang.String value)
optional string replacement_string = 27 [default = "${unknown}"];
public UnittestProto.TestExtremeDefaultValues.Builder clearReplacementString()
optional string replacement_string = 27 [default = "${unknown}"];
public UnittestProto.TestExtremeDefaultValues.Builder setReplacementStringBytes(com.google.protobuf.ByteString value)
optional string replacement_string = 27 [default = "${unknown}"];