Lines Matching refs:pb

6 using pb = global::Google.Protobuf;  typedef
224 public sealed partial class ConformanceRequest : pb::IMessage<ConformanceRequest> {
225 …private static readonly pb::MessageParser<ConformanceRequest> _parser = new pb::MessageParser<Conf…
226 public static pb::MessageParser<ConformanceRequest> Parser { get { return _parser; } }
232 pbr::MessageDescriptor pb::IMessage.Descriptor {
261 public pb::ByteString ProtobufPayload {
262 … { return payloadCase_ == PayloadOneofCase.ProtobufPayload ? (pb::ByteString) payload_ : pb::ByteS…
264 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
274 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
337 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
340 public void WriteTo(pb::CodedOutputStream output) { in WriteTo()
358 size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload); in CalculateSize()
361 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload); in CalculateSize()
364 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputFormat); in CalculateSize()
387 public void MergeFrom(pb::CodedInputStream input) { in MergeFrom()
416 public sealed partial class ConformanceResponse : pb::IMessage<ConformanceResponse> {
417 …private static readonly pb::MessageParser<ConformanceResponse> _parser = new pb::MessageParser<Con…
418 public static pb::MessageParser<ConformanceResponse> Parser { get { return _parser; } }
424 pbr::MessageDescriptor pb::IMessage.Descriptor {
474 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
489 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
504 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
515 public pb::ByteString ProtobufPayload {
516 …get { return resultCase_ == ResultOneofCase.ProtobufPayload ? (pb::ByteString) result_ : pb::ByteS…
518 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
532 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
546 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
606 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
609 public void WriteTo(pb::CodedOutputStream output) { in WriteTo()
639 size += 1 + pb::CodedOutputStream.ComputeStringSize(ParseError); in CalculateSize()
642 size += 1 + pb::CodedOutputStream.ComputeStringSize(SerializeError); in CalculateSize()
645 size += 1 + pb::CodedOutputStream.ComputeStringSize(RuntimeError); in CalculateSize()
648 size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload); in CalculateSize()
651 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload); in CalculateSize()
654 size += 1 + pb::CodedOutputStream.ComputeStringSize(Skipped); in CalculateSize()
686 public void MergeFrom(pb::CodedInputStream input) { in MergeFrom()
728 public sealed partial class TestAllTypes : pb::IMessage<TestAllTypes> {
729 …private static readonly pb::MessageParser<TestAllTypes> _parser = new pb::MessageParser<TestAllTyp…
730 public static pb::MessageParser<TestAllTypes> Parser { get { return _parser; } }
736 pbr::MessageDescriptor pb::IMessage.Descriptor {
1011 optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1017 private pb::ByteString optionalBytes_ = pb::ByteString.Empty;
1018 public pb::ByteString OptionalBytes {
1021 optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1071 optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1081 optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1097 private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec
1098 = pb::FieldCodec.ForInt32(250);
1109 private static readonly pb::FieldCodec<long> _repeated_repeatedInt64_codec
1110 = pb::FieldCodec.ForInt64(258);
1118 private static readonly pb::FieldCodec<uint> _repeated_repeatedUint32_codec
1119 = pb::FieldCodec.ForUInt32(266);
1127 private static readonly pb::FieldCodec<ulong> _repeated_repeatedUint64_codec
1128 = pb::FieldCodec.ForUInt64(274);
1136 private static readonly pb::FieldCodec<int> _repeated_repeatedSint32_codec
1137 = pb::FieldCodec.ForSInt32(282);
1145 private static readonly pb::FieldCodec<long> _repeated_repeatedSint64_codec
1146 = pb::FieldCodec.ForSInt64(290);
1154 private static readonly pb::FieldCodec<uint> _repeated_repeatedFixed32_codec
1155 = pb::FieldCodec.ForFixed32(298);
1163 private static readonly pb::FieldCodec<ulong> _repeated_repeatedFixed64_codec
1164 = pb::FieldCodec.ForFixed64(306);
1172 private static readonly pb::FieldCodec<int> _repeated_repeatedSfixed32_codec
1173 = pb::FieldCodec.ForSFixed32(314);
1181 private static readonly pb::FieldCodec<long> _repeated_repeatedSfixed64_codec
1182 = pb::FieldCodec.ForSFixed64(322);
1190 private static readonly pb::FieldCodec<float> _repeated_repeatedFloat_codec
1191 = pb::FieldCodec.ForFloat(330);
1199 private static readonly pb::FieldCodec<double> _repeated_repeatedDouble_codec
1200 = pb::FieldCodec.ForDouble(338);
1208 private static readonly pb::FieldCodec<bool> _repeated_repeatedBool_codec
1209 = pb::FieldCodec.ForBool(346);
1217 private static readonly pb::FieldCodec<string> _repeated_repeatedString_codec
1218 = pb::FieldCodec.ForString(354);
1226 private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytes_codec
1227 = pb::FieldCodec.ForBytes(362);
1228 …private readonly pbc::RepeatedField<pb::ByteString> repeatedBytes_ = new pbc::RepeatedField<pb::By…
1229 public pbc::RepeatedField<pb::ByteString> RepeatedBytes {
1235 …private static readonly pb::FieldCodec<global::Conformance.TestAllTypes.Types.NestedMessage> _repe…
1236 … = pb::FieldCodec.ForMessage(386, global::Conformance.TestAllTypes.Types.NestedMessage.Parser);
1244 …private static readonly pb::FieldCodec<global::Conformance.ForeignMessage> _repeated_repeatedForei…
1245 = pb::FieldCodec.ForMessage(394, global::Conformance.ForeignMessage.Parser);
1253 …private static readonly pb::FieldCodec<global::Conformance.TestAllTypes.Types.NestedEnum> _repeate…
1254 …= pb::FieldCodec.ForEnum(410, x => (int) x, x => (global::Conformance.TestAllTypes.Types.NestedEnu…
1262 …private static readonly pb::FieldCodec<global::Conformance.ForeignEnum> _repeated_repeatedForeignE…
1263 = pb::FieldCodec.ForEnum(418, x => (int) x, x => (global::Conformance.ForeignEnum) x);
1271 private static readonly pb::FieldCodec<string> _repeated_repeatedStringPiece_codec
1272 = pb::FieldCodec.ForString(434);
1280 private static readonly pb::FieldCodec<string> _repeated_repeatedCord_codec
1281 = pb::FieldCodec.ForString(442);
1290 … = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 450);
1302 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 458…
1311 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 4…
1320 …= new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8), pb::FieldCodec.ForUInt64(16),…
1329 …= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8), pb::FieldCodec.ForSInt32(16), 482…
1338 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8), pb::FieldCodec.ForSInt64(16), 4…
1347 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13), pb::FieldCodec.ForFixed32(21)…
1356 …= new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9), pb::FieldCodec.ForFixed64(17…
1365 …= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13), pb::FieldCodec.ForSFixed32(21)…
1374 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9), pb::FieldCodec.ForSFixed64(17…
1383 …= new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForFloat(21), 530…
1392 …= new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForDouble(17), 5…
1401 … = new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8), pb::FieldCodec.ForBool(16), 546);
1410 …= new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForString(1…
1418 private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_mapStringBytes_codec
1419 …= new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.For…
1420 …private readonly pbc::MapField<string, pb::ByteString> mapStringBytes_ = new pbc::MapField<string,…
1421 public pbc::MapField<string, pb::ByteString> MapStringBytes {
1428 …global::Conformance.TestAllTypes.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10), pb::Fiel…
1437 …:MapField<string, global::Conformance.ForeignMessage>.Codec(pb::FieldCodec.ForString(10), pb::Fiel…
1446 …g, global::Conformance.TestAllTypes.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10), pb::Fiel…
1455 …bc::MapField<string, global::Conformance.ForeignEnum>.Codec(pb::FieldCodec.ForString(10), pb::Fiel…
1486 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1493 public pb::ByteString OneofBytes {
1494 …return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb::Byte…
1496 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1503 …private static readonly pb::FieldCodec<bool?> _single_optionalBoolWrapper_codec = pb::FieldCodec.F…
1517 …private static readonly pb::FieldCodec<int?> _single_optionalInt32Wrapper_codec = pb::FieldCodec.F…
1528 …private static readonly pb::FieldCodec<long?> _single_optionalInt64Wrapper_codec = pb::FieldCodec.…
1539 …private static readonly pb::FieldCodec<uint?> _single_optionalUint32Wrapper_codec = pb::FieldCodec…
1550 …private static readonly pb::FieldCodec<ulong?> _single_optionalUint64Wrapper_codec = pb::FieldCode…
1561 …private static readonly pb::FieldCodec<float?> _single_optionalFloatWrapper_codec = pb::FieldCodec…
1572 …private static readonly pb::FieldCodec<double?> _single_optionalDoubleWrapper_codec = pb::FieldCod…
1583 …private static readonly pb::FieldCodec<string> _single_optionalStringWrapper_codec = pb::FieldCode…
1594 …private static readonly pb::FieldCodec<pb::ByteString> _single_optionalBytesWrapper_codec = pb::Fi…
1595 private pb::ByteString optionalBytesWrapper_;
1596 public pb::ByteString OptionalBytesWrapper {
1605 private static readonly pb::FieldCodec<bool?> _repeated_repeatedBoolWrapper_codec
1606 = pb::FieldCodec.ForStructWrapper<bool>(1690);
1614 private static readonly pb::FieldCodec<int?> _repeated_repeatedInt32Wrapper_codec
1615 = pb::FieldCodec.ForStructWrapper<int>(1698);
1623 private static readonly pb::FieldCodec<long?> _repeated_repeatedInt64Wrapper_codec
1624 = pb::FieldCodec.ForStructWrapper<long>(1706);
1632 private static readonly pb::FieldCodec<uint?> _repeated_repeatedUint32Wrapper_codec
1633 = pb::FieldCodec.ForStructWrapper<uint>(1714);
1641 private static readonly pb::FieldCodec<ulong?> _repeated_repeatedUint64Wrapper_codec
1642 = pb::FieldCodec.ForStructWrapper<ulong>(1722);
1650 private static readonly pb::FieldCodec<float?> _repeated_repeatedFloatWrapper_codec
1651 = pb::FieldCodec.ForStructWrapper<float>(1730);
1659 private static readonly pb::FieldCodec<double?> _repeated_repeatedDoubleWrapper_codec
1660 = pb::FieldCodec.ForStructWrapper<double>(1738);
1668 private static readonly pb::FieldCodec<string> _repeated_repeatedStringWrapper_codec
1669 = pb::FieldCodec.ForClassWrapper<string>(1746);
1677 private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytesWrapper_codec
1678 = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1754);
1679 …private readonly pbc::RepeatedField<pb::ByteString> repeatedBytesWrapper_ = new pbc::RepeatedField…
1680 public pbc::RepeatedField<pb::ByteString> RepeatedBytesWrapper {
1746 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Duration> _repeated_…
1747 = pb::FieldCodec.ForMessage(2490, global::Google.Protobuf.WellKnownTypes.Duration.Parser);
1755 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Timestamp> _repeated…
1756 = pb::FieldCodec.ForMessage(2498, global::Google.Protobuf.WellKnownTypes.Timestamp.Parser);
1764 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.FieldMask> _repeated…
1765 = pb::FieldCodec.ForMessage(2506, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser);
1773 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Struct> _repeated_re…
1774 = pb::FieldCodec.ForMessage(2594, global::Google.Protobuf.WellKnownTypes.Struct.Parser);
1782 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_repea…
1783 = pb::FieldCodec.ForMessage(2522, global::Google.Protobuf.WellKnownTypes.Any.Parser);
1791 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Value> _repeated_rep…
1792 = pb::FieldCodec.ForMessage(2530, global::Google.Protobuf.WellKnownTypes.Value.Parser);
2178 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
2181 public void WriteTo(pb::CodedOutputStream output) { in WriteTo()
2445 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
2448 size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64); in CalculateSize()
2451 size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionalUint32); in CalculateSize()
2454 size += 1 + pb::CodedOutputStream.ComputeUInt64Size(OptionalUint64); in CalculateSize()
2457 size += 1 + pb::CodedOutputStream.ComputeSInt32Size(OptionalSint32); in CalculateSize()
2460 size += 1 + pb::CodedOutputStream.ComputeSInt64Size(OptionalSint64); in CalculateSize()
2484 size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString); in CalculateSize()
2487 size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes); in CalculateSize()
2490 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessage); in CalculateSize()
2493 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMessage); in CalculateSize()
2496 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); in CalculateSize()
2499 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); in CalculateSize()
2502 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece); in CalculateSize()
2505 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); in CalculateSize()
2508 size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage); in CalculateSize()
2551 size += 2 + pb::CodedOutputStream.ComputeUInt32Size(OneofUint32); in CalculateSize()
2554 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage); in CalculateSize()
2557 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); in CalculateSize()
2560 size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes); in CalculateSize()
2599 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalDuration); in CalculateSize()
2602 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalTimestamp); in CalculateSize()
2605 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalFieldMask); in CalculateSize()
2608 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalStruct); in CalculateSize()
2611 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalAny); in CalculateSize()
2614 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalValue); in CalculateSize()
2623 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); in CalculateSize()
2626 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2); in CalculateSize()
2629 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3); in CalculateSize()
2632 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4); in CalculateSize()
2635 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5); in CalculateSize()
2638 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6); in CalculateSize()
2641 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7); in CalculateSize()
2644 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8); in CalculateSize()
2647 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9); in CalculateSize()
2650 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName10); in CalculateSize()
2653 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDNAME11); in CalculateSize()
2656 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDName12); in CalculateSize()
2821 if (optionalBytesWrapper_ == null || other.OptionalBytesWrapper != pb::ByteString.Empty) { in MergeFrom()
2929 public void MergeFrom(pb::CodedInputStream input) { in MergeFrom()
3286 pb::ByteString value = _single_optionalBytesWrapper_codec.Read(input); in MergeFrom()
3287 if (optionalBytesWrapper_ == null || value != pb::ByteString.Empty) { in MergeFrom()
3461 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> {
3462 …private static readonly pb::MessageParser<NestedMessage> _parser = new pb::MessageParser<NestedMes…
3463 public static pb::MessageParser<NestedMessage> Parser { get { return _parser; } }
3469 pbr::MessageDescriptor pb::IMessage.Descriptor {
3532 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
3535 public void WriteTo(pb::CodedOutputStream output) { in WriteTo()
3549 size += 1 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
3552 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Corecursive); in CalculateSize()
3572 public void MergeFrom(pb::CodedInputStream input) { in MergeFrom()
3602 public sealed partial class ForeignMessage : pb::IMessage<ForeignMessage> {
3603 …private static readonly pb::MessageParser<ForeignMessage> _parser = new pb::MessageParser<ForeignM…
3604 public static pb::MessageParser<ForeignMessage> Parser { get { return _parser; } }
3610 pbr::MessageDescriptor pb::IMessage.Descriptor {
3660 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
3663 public void WriteTo(pb::CodedOutputStream output) { in WriteTo()
3673 size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); in CalculateSize()
3687 public void MergeFrom(pb::CodedInputStream input) { in MergeFrom()