Searched refs:JsonName (Results 1 - 5 of 5) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | FieldDescriptor.cs | 71 public string JsonName { get; } property in Google.Protobuf.Reflection.FieldDescriptor 128 JsonName = Proto.JsonName == "" ? JsonFormatter.ToJsonName(Proto.Name) : Proto.JsonName; in FieldDescriptor()
|
H A D | MessageDescriptor.cs | 114 // TODO: Use field => field.Proto.JsonName when we're confident it's appropriate. (And then use it in the formatter, too.) in MessageDescriptor() 126 map[field.JsonName] = field; in CreateJsonFieldMap()
|
H A D | Descriptor.cs | 170 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto), global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser, new[]{ "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "OneofIndex", "JsonName", "Options", "Proto3Optional" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type), typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label) }, null, null), in DescriptorReflection() 2404 public string JsonName { property in Google.Protobuf.Reflection.FieldDescriptorProto 2500 if (JsonName != other.JsonName) return false; in Equals() 2517 if (HasJsonName) hash ^= JsonName.GetHashCode(); in GetHashCode() 2574 output.WriteString(JsonName); in WriteTo() 2627 output.WriteString(JsonName); in IBufferMessage.InternalWriteTo() 2667 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonName); in CalculateSize() 2711 JsonName = other.JsonName; in MergeFrom() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | Type.cs | 67 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Field), global::Google.Protobuf.WellKnownTypes.Field.Parser, new[]{ "Kind", "Cardinality", "Number", "Name", "TypeUrl", "OneofIndex", "Packed", "Options", "JsonName", "DefaultValue" }, null, new[]{ typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Kind), typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality) }, null, null), in TypeReflection() 613 public string JsonName { property in Google.Protobuf.WellKnownTypes.Field 655 if (JsonName != other.JsonName) return false; in Equals() 671 if (JsonName.Length != 0) hash ^= JsonName.GetHashCode(); in GetHashCode() 718 if (JsonName.Length != 0) { in WriteTo() 720 output.WriteString(JsonName); in WriteTo() 764 if (JsonName.Length != 0) { in IBufferMessage.InternalWriteTo() 766 output.WriteString(JsonName); in IBufferMessage.InternalWriteTo() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | JsonFormatter.cs | 235 WriteString(writer, accessor.Descriptor.JsonName); in WriteMessageFields()
|
Completed in 15 milliseconds