Home
last modified time | relevance | path

Searched refs:JsonName (Results 1 - 5 of 5) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DFieldDescriptor.cs71 public string JsonName { get; } property in Google.Protobuf.Reflection.FieldDescriptor
128 JsonName = Proto.JsonName == "" ? JsonFormatter.ToJsonName(Proto.Name) : Proto.JsonName; in FieldDescriptor()
H A DMessageDescriptor.cs114 // 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 DDescriptor.cs170 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 DType.cs67 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 DJsonFormatter.cs235 WriteString(writer, accessor.Descriptor.JsonName); in WriteMessageFields()

Completed in 15 milliseconds