public static final class UnittestProto.TestExtremeDefaultValues extends com.google.protobuf.GeneratedMessage implements UnittestProto.TestExtremeDefaultValuesOrBuilder
protobuf_unittest.TestExtremeDefaultValues
Modifier and Type | Class and Description |
---|---|
static class |
UnittestProto.TestExtremeDefaultValues.Builder
Protobuf type
protobuf_unittest.TestExtremeDefaultValues |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
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 = "? ? ?? ?? ??? ??/ ??-"]; |
static UnittestProto.TestExtremeDefaultValues |
getDefaultInstance() |
UnittestProto.TestExtremeDefaultValues |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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]; |
com.google.protobuf.Parser<UnittestProto.TestExtremeDefaultValues> |
getParserForType() |
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}"]; |
int |
getSerializedSize() |
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"]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static UnittestProto.TestExtremeDefaultValues.Builder |
newBuilder() |
static UnittestProto.TestExtremeDefaultValues.Builder |
newBuilder(UnittestProto.TestExtremeDefaultValues prototype) |
UnittestProto.TestExtremeDefaultValues.Builder |
newBuilderForType() |
protected UnittestProto.TestExtremeDefaultValues.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static UnittestProto.TestExtremeDefaultValues |
parseDelimitedFrom(java.io.InputStream input) |
static UnittestProto.TestExtremeDefaultValues |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestExtremeDefaultValues |
parseFrom(byte[] data) |
static UnittestProto.TestExtremeDefaultValues |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestExtremeDefaultValues |
parseFrom(com.google.protobuf.ByteString data) |
static UnittestProto.TestExtremeDefaultValues |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestExtremeDefaultValues |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UnittestProto.TestExtremeDefaultValues |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestExtremeDefaultValues |
parseFrom(java.io.InputStream input) |
static UnittestProto.TestExtremeDefaultValues |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestExtremeDefaultValues.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<UnittestProto.TestExtremeDefaultValues> PARSER
public static final int ESCAPED_BYTES_FIELD_NUMBER
public static final int LARGE_UINT32_FIELD_NUMBER
public static final int LARGE_UINT64_FIELD_NUMBER
public static final int SMALL_INT32_FIELD_NUMBER
public static final int SMALL_INT64_FIELD_NUMBER
public static final int REALLY_SMALL_INT32_FIELD_NUMBER
public static final int REALLY_SMALL_INT64_FIELD_NUMBER
public static final int UTF8_STRING_FIELD_NUMBER
public static final int ZERO_FLOAT_FIELD_NUMBER
public static final int ONE_FLOAT_FIELD_NUMBER
public static final int SMALL_FLOAT_FIELD_NUMBER
public static final int NEGATIVE_ONE_FLOAT_FIELD_NUMBER
public static final int NEGATIVE_FLOAT_FIELD_NUMBER
public static final int LARGE_FLOAT_FIELD_NUMBER
public static final int SMALL_NEGATIVE_FLOAT_FIELD_NUMBER
public static final int INF_DOUBLE_FIELD_NUMBER
public static final int NEG_INF_DOUBLE_FIELD_NUMBER
public static final int NAN_DOUBLE_FIELD_NUMBER
public static final int INF_FLOAT_FIELD_NUMBER
public static final int NEG_INF_FLOAT_FIELD_NUMBER
public static final int NAN_FLOAT_FIELD_NUMBER
public static final int CPP_TRIGRAPH_FIELD_NUMBER
public static final int STRING_WITH_ZERO_FIELD_NUMBER
public static final int BYTES_WITH_ZERO_FIELD_NUMBER
public static final int STRING_PIECE_WITH_ZERO_FIELD_NUMBER
public static final int CORD_WITH_ZERO_FIELD_NUMBER
public static final int REPLACEMENT_STRING_FIELD_NUMBER
public static UnittestProto.TestExtremeDefaultValues getDefaultInstance()
public UnittestProto.TestExtremeDefaultValues getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<UnittestProto.TestExtremeDefaultValues> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
java.io.ObjectStreamException
public static UnittestProto.TestExtremeDefaultValues parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestExtremeDefaultValues parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestExtremeDefaultValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestExtremeDefaultValues parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestProto.TestExtremeDefaultValues parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestExtremeDefaultValues parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestExtremeDefaultValues parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestExtremeDefaultValues parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestExtremeDefaultValues parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestExtremeDefaultValues parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestProto.TestExtremeDefaultValues.Builder newBuilder()
public UnittestProto.TestExtremeDefaultValues.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static UnittestProto.TestExtremeDefaultValues.Builder newBuilder(UnittestProto.TestExtremeDefaultValues prototype)
public UnittestProto.TestExtremeDefaultValues.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected UnittestProto.TestExtremeDefaultValues.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage