Home
last modified time | relevance | path

Searched refs:RepeatedExtension (Results 1 - 16 of 16) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
H A DIExtendableMessage.cs50 /// For a version of this method that never returns null, use <see cref="IExtendableMessage{T}.GetOrInitializeExtension{TValue}(RepeatedExtension{T, TValue})"/>
52 RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<T, TValue> extension); in GetExtension()
57 RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<T, TValue> extension); in GetOrInitializeExtension()
77 void ClearExtension<TValue>(RepeatedExtension<T, TValue> extension); in ClearExtension()
H A DExtension.cs98 public sealed class RepeatedExtension<TTarget, TValue> : Extension where TTarget : IExtendableMessage<TTarget> class
105 public RepeatedExtension(int fieldNumber, FieldCodec<TValue> codec) : base(fieldNumber) in RepeatedExtension() method in Google.Protobuf.RepeatedExtension
H A DExtensionSet.cs77 public static RepeatedField<TValue> Get<TTarget, TValue>(ref ExtensionSet<TTarget> set, RepeatedExtension<TTarget, TValue> extension) where TTarget : IExtendableMessage<TTarget>
93 public static RepeatedField<TValue> GetOrInitialize<TTarget, TValue>(ref ExtensionSet<TTarget> set, RepeatedExtension<TTarget, TValue> extension) where TTarget : IExtendableMessage<TTarget>
168 public static void Clear<TTarget, TValue>(ref ExtensionSet<TTarget> set, RepeatedExtension<TTarget, TValue> extension) where TTarget : IExtendableMessage<TTarget>
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DReflectionUtil.cs231 else if (extension is RepeatedExtension<T1, T3>) in GetExtension()
233 return extensionMessage.GetOrInitializeExtension(extension as RepeatedExtension<T1, T3>); in GetExtension()
254 else if (extension is RepeatedExtension<T1, T3>) in HasExtension()
277 else if (extension is RepeatedExtension<T1, T3>) in SetExtension()
300 else if (extension is RepeatedExtension<T1, T3>) in ClearExtension()
302 extensionMessage.GetExtension(extension as RepeatedExtension<T1, T3>).Clear(); in ClearExtension()
H A DEnumValueDescriptor.cs101 public RepeatedField<T> GetOption<T>(RepeatedExtension<EnumValueOptions, T> extension) in GetOption()
H A DEnumDescriptor.cs156 public RepeatedField<T> GetOption<T>(RepeatedExtension<EnumOptions, T> extension) in GetOption()
H A DMethodDescriptor.cs101 public RepeatedField<T> GetOption<T>(RepeatedExtension<MethodOptions, T> extension) in GetOption()
H A DServiceDescriptor.cs122 public RepeatedField<T> GetOption<T>(RepeatedExtension<ServiceOptions, T> extension) in GetOption()
H A DOneofDescriptor.cs145 public RepeatedField<T> GetOption<T>(RepeatedExtension<OneofOptions, T> extension) in GetOption()
H A DDescriptor.cs2104 public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension) { in GetExtension()
2107 public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension) { in GetOrInitializeExtension()
2119 public void ClearExtension<TValue>(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension) { in ClearExtension()
5958 public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<FileOptions, TValue> extension) { in GetExtension()
5961 public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FileOptions, TValue> extension) { in GetOrInitializeExtension()
5973 public void ClearExtension<TValue>(pb::RepeatedExtension<FileOptions, TValue> extension) { in ClearExtension()
6444 public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<MessageOptions, TValue> extension) { in GetExtension()
6447 public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MessageOptions, TValue> extension) { in GetOrInitializeExtension()
6459 public void ClearExtension<TValue>(pb::RepeatedExtension<MessageOptions, TValue> extension) { in ClearExtension()
7013 public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<FieldOption in GetExtension()
[all...]
H A DMessageDescriptor.cs315 public Collections.RepeatedField<T> GetOption<T>(RepeatedExtension<MessageOptions, T> extension) in GetOption()
H A DFieldDescriptor.cs347 public RepeatedField<T> GetOption<T>(RepeatedExtension<FieldOptions, T> extension) in GetOption()
H A DFileDescriptor.cs575 public RepeatedField<T> GetOption<T>(RepeatedExtension<FileOptions, T> extension) in GetOption()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
H A DUnittestSelfreferentialOptions.cs332 public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<FooOptions, TValue> extension) { in GetExtension()
335 public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FooOptions, TValue> extension) { in GetOrInitializeExtension()
347 public void ClearExtension<TValue>(pb::RepeatedExtension<FooOptions, TValue> extension) { in ClearExtension()
H A DUnittest.cs729 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestDynamicExtensions), global::Google.Protobuf.TestProtos.Proto2.TestDynamicExtensions.Parser, new[]{ "ScalarExtension", "EnumExtension", "DynamicEnumExtension", "MessageExtension", "DynamicMessageExtension", "RepeatedExtension", "PackedExtension" }, null, new[]{ typeof(global::Google.Protobuf.TestProtos.Proto2.TestDynamicExtensions.Types.DynamicEnumType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestDynamicExtensions.Types.DynamicMessageType), global::Google.Protobuf.TestProtos.Proto2.TestDynamicExtensions.Types.DynamicMessageType.Parser, new[]{ "DynamicField" }, null, null, null, null)}), in UnittestReflection()
811 public static readonly pb::RepeatedExtension<global::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, int> RepeatedInt32Extension =
812 new pb::RepeatedExtension<global::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, int>(31, pb::FieldCodec.ForInt32(248));
813 public static readonly pb::RepeatedExtension<global::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, long> RepeatedInt64Extension =
814 new pb::RepeatedExtension<global::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, long>(32, pb::FieldCodec.ForInt64(256));
815 public static readonly pb::RepeatedExtension<global::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, uint> RepeatedUint32Extension =
816 new pb::RepeatedExtension<global::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, uint>(33, pb::FieldCodec.ForUInt32(264));
817 public static readonly pb::RepeatedExtension<global::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, ulong> RepeatedUint64Extension =
818 new pb::RepeatedExtension<global::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, ulong>(34, pb::FieldCodec.ForUInt64(272));
819 public static readonly pb::RepeatedExtension<globa
24182 public pbc::RepeatedField<string> RepeatedExtension { global() property in Google.Protobuf.TestProtos.Proto2.TestDynamicExtensions
[all...]
H A DTestMessagesProto2.cs4704 public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<TestAllTypesProto2, TValue> extension) { in GetExtension()
4707 public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestAllTypesProto2, TValue> extension) { in GetOrInitializeExtension()
4719 public void ClearExtension<TValue>(pb::RepeatedExtension<TestAllTypesProto2, TValue> extension) { in ClearExtension()
5375 public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<MessageSetCorrect, TValue> extension) { in GetExtension()
5378 public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MessageSetCorrect, TValue> extension) { in GetOrInitializeExtension()
5390 public void ClearExtension<TValue>(pb::RepeatedExtension<MessageSetCorrect, TValue> extension) { in ClearExtension()

Completed in 55 milliseconds