• Protocol Buffers
Home Guides Reference Support
  • Protocol Buffers
  • Home
  • Guides
  • Reference
  • Support
  • Reference Overview
  • C++ Reference
    • C++ Generated Code
    • C++ Arena Allocation Guide
    • C++ API
      • Overview
      • protobuf
        • Overview
        • arena.h
        • descriptor.h
        • descriptor.pb.h
        • descriptor_database.h
        • dynamic_message.h
        • map.h
        • message.h
        • message_lite.h
        • repeated_field.h
        • service.h
        • text_format.h
        • unknown_field_set.h
        • common.h
      • protobuf::io
        • Overview
        • coded_stream.h
        • printer.h
        • tokenizer.h
        • zero_copy_stream.h
        • zero_copy_stream_impl.h
        • zero_copy_stream_impl_lite.h
      • protobuf::util
        • Overview
        • field_comparator.h
        • field_mask_util.h
        • json_util.h
        • message_differencer.h
        • time_util.h
        • type_resolver.h
        • type_resolver_util.h
      • protobuf::compiler
        • Overview
        • code_generator.h
        • command_line_interface.h
        • importer.h
        • parser.h
        • plugin.h
        • plugin.pb.h
        • cpp_generator.h
        • csharp_generator.h
        • csharp_names.h
        • java_generator.h
        • java_names.h
        • js_generator.h
        • objectivec_generator.h
        • objectivec_helpers.h
        • python_generator.h
        • ruby_generator.h
  • Dart Reference
    • Dart Generated Code
    • Dart API (dartdoc)
  • Go Reference
    • Go Generated Code
    • Go API (godoc)
    • Go FAQ
  • Java Reference
    • Java Generated Code
    • Java API (javadoc)
  • Python Reference
    • Python Generated Code
    • Python API (Sphinx)
  • Ruby Reference
    • Ruby Generated Code
  • C# Reference
    • C# Generated Code
    • C# API
      • Overview
      • Google.Protobuf
        • Overview
        • Classes
          • ByteString
          • CodedInputStream
          • CodedOutputStream
          • CodedOutputStream.OutOfSpaceException
          • FieldCodec
          • FieldCodec< T >
          • InvalidJsonException
          • InvalidProtocolBufferException
          • JsonFormatter
          • JsonFormatter.Settings
          • JsonParser
          • JsonParser.Settings
          • MessageExtensions
          • MessageParser
          • MessageParser< T >
          • ProtoPreconditions
          • WireFormat
        • Interfaces
          • ICustomDiagnosticMessage
          • IDeepCloneable< T >
          • IMessage
          • IMessage< T >
      • Google.Protobuf.Collections
        • Overview
        • Classes
          • MapField< TKey, TValue >
          • MapField< TKey, TValue >.Codec
          • RepeatedField< T >
      • Google.Protobuf.Reflection
        • Overview
        • Classes
          • DescriptorBase
          • DescriptorValidationException
          • EnumDescriptor
          • EnumValueDescriptor
          • FieldDescriptor
          • FileDescriptor
          • GeneratedClrTypeInfo
          • MessageDescriptor
          • MessageDescriptor.FieldCollection
          • MethodDescriptor
          • OneofAccessor
          • OneofDescriptor
          • OriginalNameAttribute
          • ServiceDescriptor
          • TypeRegistry
        • Interfaces
          • IDescriptor
          • IFieldAccessor
      • Google.Protobuf.WellKnownTypes
        • Overview
        • Classes
          • Any
          • AnyReflection
          • Api
          • ApiReflection
          • BoolValue
          • BytesValue
          • DoubleValue
          • Duration
          • DurationReflection
          • Empty
          • EmptyReflection
          • Enum
          • EnumValue
          • Field
          • Field.Types
          • FieldMask
          • FieldMaskReflection
          • FloatValue
          • Int32Value
          • Int64Value
          • ListValue
          • Method
          • Mixin
          • Option
          • SourceContext
          • SourceContextReflection
          • StringValue
          • Struct
          • StructReflection
          • TimeExtensions
          • Timestamp
          • TimestampReflection
          • Type
          • TypeReflection
          • UInt32Value
          • UInt64Value
          • Value
          • WrappersReflection
      • Namespaces
        • Google
  • Objective C Reference
    • Objective C Generated Code
  • JavaScript Reference
    • JavaScript Generated Code
  • PHP Reference
    • PHP Generated Code
  • Protocol Buffers Reference
    • Protocol Buffers Version 2 Language Specification
    • Protocol Buffers Version 3 Language Specification
    • Protocol Buffers Well-Known Types
  • Other Languages and Plugins
  • Home
  • Products
  • Protocol Buffers
  • Reference

Google.Protobuf.Collections

Summary

Classes

Google.Protobuf.Collections.MapField< TKey, TValue >

Representation of a map field in a Protocol Buffer message.

Google.Protobuf.Collections.RepeatedField< T >

The contents of a repeated field: essentially, a collection with some extra restrictions (no null values) and capabilities (deep cloning).

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2016-09-27 UTC.

  • file_download
    Downloads
    Protocol buffers downloads and instructions
  • GitHub GitHub
    The latest protocol buffers code and releases
  • Connect

    • Blog

    • Facebook
    • Medium
    • Twitter

    • YouTube

  • Programs

    • Women Techmakers
    • Google Developer Groups
    • Google Developers Experts
    • Accelerators
    • Developer Student Clubs
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Sign up for the Google Developers newsletter Subscribe