Auto-generate files after cl/557967343

pull/13584/head
Protobuf Team Bot 1 year ago
parent b66ef4c3f0
commit 32ec0d5dbd
  1. BIN
      csharp/src/Google.Protobuf.Test/testprotos.pb
  2. 143
      csharp/src/Google.Protobuf/Reflection/Descriptor.pb.cs

@ -182,47 +182,43 @@ namespace Google.Protobuf.Reflection {
"dGl2ZV9pbnRfdmFsdWUYBSABKAMSFAoMZG91YmxlX3ZhbHVlGAYgASgBEhQK", "dGl2ZV9pbnRfdmFsdWUYBSABKAMSFAoMZG91YmxlX3ZhbHVlGAYgASgBEhQK",
"DHN0cmluZ192YWx1ZRgHIAEoDBIXCg9hZ2dyZWdhdGVfdmFsdWUYCCABKAka", "DHN0cmluZ192YWx1ZRgHIAEoDBIXCg9hZ2dyZWdhdGVfdmFsdWUYCCABKAka",
"MwoITmFtZVBhcnQSEQoJbmFtZV9wYXJ0GAEgAigJEhQKDGlzX2V4dGVuc2lv", "MwoITmFtZVBhcnQSEQoJbmFtZV9wYXJ0GAEgAigJEhQKDGlzX2V4dGVuc2lv",
"bhgCIAIoCCKqCQoKRmVhdHVyZVNldBJfCg5maWVsZF9wcmVzZW5jZRgBIAEo", "bhgCIAIoCCLcBwoKRmVhdHVyZVNldBJfCg5maWVsZF9wcmVzZW5jZRgBIAEo",
"DjIpLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0LkZpZWxkUHJlc2VuY2VC", "DjIpLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0LkZpZWxkUHJlc2VuY2VC",
"HIgBAZgBBJgBAaIBEAoEMjAyMxIIRVhQTElDSVQSUQoJZW51bV90eXBlGAIg", "HIgBAZgBBJgBAaIBEAoEMjAyMxIIRVhQTElDSVQSUQoJZW51bV90eXBlGAIg",
"ASgOMiQuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuRW51bVR5cGVCGIgB", "ASgOMiQuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuRW51bVR5cGVCGIgB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29vZ2xlLlByb3RvYnVmLlJlZmxlY3Rpb24="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
@ -246,7 +242,7 @@ namespace Google.Protobuf.Reflection {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.ServiceOptions), global::Google.Protobuf.Reflection.ServiceOptions.Parser, new[]{ "Features", "Deprecated", "UninterpretedOption" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.ServiceOptions), global::Google.Protobuf.Reflection.ServiceOptions.Parser, new[]{ "Features", "Deprecated", "UninterpretedOption" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.MethodOptions), global::Google.Protobuf.Reflection.MethodOptions.Parser, new[]{ "Deprecated", "IdempotencyLevel", "Features", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.MethodOptions), global::Google.Protobuf.Reflection.MethodOptions.Parser, new[]{ "Deprecated", "IdempotencyLevel", "Features", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption), global::Google.Protobuf.Reflection.UninterpretedOption.Parser, new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart), global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart.Parser, new[]{ "NamePart_", "IsExtension" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption), global::Google.Protobuf.Reflection.UninterpretedOption.Parser, new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart), global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart.Parser, new[]{ "NamePart_", "IsExtension" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FeatureSet), global::Google.Protobuf.Reflection.FeatureSet.Parser, new[]{ "FieldPresence", "EnumType", "RepeatedFieldEncoding", "StringFieldValidation", "MessageEncoding", "JsonFormat", "RawFeatures" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.FieldPresence), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.EnumType), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FeatureSet), global::Google.Protobuf.Reflection.FeatureSet.Parser, new[]{ "FieldPresence", "EnumType", "RepeatedFieldEncoding", "MessageEncoding", "JsonFormat", "RawFeatures" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.FieldPresence), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.EnumType), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, new[]{ "Location" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, new[]{ "Location" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Parser, new[]{ "Annotation" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Parser, new[]{ "Path", "SourceFile", "Begin", "End", "Semantic" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Types.Semantic) }, null, null)}) new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Parser, new[]{ "Annotation" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Parser, new[]{ "Path", "SourceFile", "Begin", "End", "Semantic" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Types.Semantic) }, null, null)})
})); }));
@ -11671,7 +11667,6 @@ namespace Google.Protobuf.Reflection {
fieldPresence_ = other.fieldPresence_; fieldPresence_ = other.fieldPresence_;
enumType_ = other.enumType_; enumType_ = other.enumType_;
repeatedFieldEncoding_ = other.repeatedFieldEncoding_; repeatedFieldEncoding_ = other.repeatedFieldEncoding_;
stringFieldValidation_ = other.stringFieldValidation_;
messageEncoding_ = other.messageEncoding_; messageEncoding_ = other.messageEncoding_;
jsonFormat_ = other.jsonFormat_; jsonFormat_ = other.jsonFormat_;
rawFeatures_ = other.rawFeatures_ != null ? other.rawFeatures_.Clone() : null; rawFeatures_ = other.rawFeatures_ != null ? other.rawFeatures_.Clone() : null;
@ -11766,33 +11761,6 @@ namespace Google.Protobuf.Reflection {
_hasBits0 &= ~4; _hasBits0 &= ~4;
} }
/// <summary>Field number for the "string_field_validation" field.</summary>
public const int StringFieldValidationFieldNumber = 4;
private readonly static global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation StringFieldValidationDefaultValue = global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation.Unknown;
private global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation stringFieldValidation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation StringFieldValidation {
get { if ((_hasBits0 & 8) != 0) { return stringFieldValidation_; } else { return StringFieldValidationDefaultValue; } }
set {
_hasBits0 |= 8;
stringFieldValidation_ = value;
}
}
/// <summary>Gets whether the "string_field_validation" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasStringFieldValidation {
get { return (_hasBits0 & 8) != 0; }
}
/// <summary>Clears the value of the "string_field_validation" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearStringFieldValidation() {
_hasBits0 &= ~8;
}
/// <summary>Field number for the "message_encoding" field.</summary> /// <summary>Field number for the "message_encoding" field.</summary>
public const int MessageEncodingFieldNumber = 5; public const int MessageEncodingFieldNumber = 5;
private readonly static global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding MessageEncodingDefaultValue = global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding.Unknown; private readonly static global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding MessageEncodingDefaultValue = global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding.Unknown;
@ -11801,9 +11769,9 @@ namespace Google.Protobuf.Reflection {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding MessageEncoding { public global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding MessageEncoding {
get { if ((_hasBits0 & 16) != 0) { return messageEncoding_; } else { return MessageEncodingDefaultValue; } } get { if ((_hasBits0 & 8) != 0) { return messageEncoding_; } else { return MessageEncodingDefaultValue; } }
set { set {
_hasBits0 |= 16; _hasBits0 |= 8;
messageEncoding_ = value; messageEncoding_ = value;
} }
} }
@ -11811,13 +11779,13 @@ namespace Google.Protobuf.Reflection {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasMessageEncoding { public bool HasMessageEncoding {
get { return (_hasBits0 & 16) != 0; } get { return (_hasBits0 & 8) != 0; }
} }
/// <summary>Clears the value of the "message_encoding" field</summary> /// <summary>Clears the value of the "message_encoding" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearMessageEncoding() { public void ClearMessageEncoding() {
_hasBits0 &= ~16; _hasBits0 &= ~8;
} }
/// <summary>Field number for the "json_format" field.</summary> /// <summary>Field number for the "json_format" field.</summary>
@ -11828,9 +11796,9 @@ namespace Google.Protobuf.Reflection {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat JsonFormat { public global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat JsonFormat {
get { if ((_hasBits0 & 32) != 0) { return jsonFormat_; } else { return JsonFormatDefaultValue; } } get { if ((_hasBits0 & 16) != 0) { return jsonFormat_; } else { return JsonFormatDefaultValue; } }
set { set {
_hasBits0 |= 32; _hasBits0 |= 16;
jsonFormat_ = value; jsonFormat_ = value;
} }
} }
@ -11838,13 +11806,13 @@ namespace Google.Protobuf.Reflection {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasJsonFormat { public bool HasJsonFormat {
get { return (_hasBits0 & 32) != 0; } get { return (_hasBits0 & 16) != 0; }
} }
/// <summary>Clears the value of the "json_format" field</summary> /// <summary>Clears the value of the "json_format" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearJsonFormat() { public void ClearJsonFormat() {
_hasBits0 &= ~32; _hasBits0 &= ~16;
} }
/// <summary>Field number for the "raw_features" field.</summary> /// <summary>Field number for the "raw_features" field.</summary>
@ -11877,7 +11845,6 @@ namespace Google.Protobuf.Reflection {
if (FieldPresence != other.FieldPresence) return false; if (FieldPresence != other.FieldPresence) return false;
if (EnumType != other.EnumType) return false; if (EnumType != other.EnumType) return false;
if (RepeatedFieldEncoding != other.RepeatedFieldEncoding) return false; if (RepeatedFieldEncoding != other.RepeatedFieldEncoding) return false;
if (StringFieldValidation != other.StringFieldValidation) return false;
if (MessageEncoding != other.MessageEncoding) return false; if (MessageEncoding != other.MessageEncoding) return false;
if (JsonFormat != other.JsonFormat) return false; if (JsonFormat != other.JsonFormat) return false;
if (!object.Equals(RawFeatures, other.RawFeatures)) return false; if (!object.Equals(RawFeatures, other.RawFeatures)) return false;
@ -11894,7 +11861,6 @@ namespace Google.Protobuf.Reflection {
if (HasFieldPresence) hash ^= FieldPresence.GetHashCode(); if (HasFieldPresence) hash ^= FieldPresence.GetHashCode();
if (HasEnumType) hash ^= EnumType.GetHashCode(); if (HasEnumType) hash ^= EnumType.GetHashCode();
if (HasRepeatedFieldEncoding) hash ^= RepeatedFieldEncoding.GetHashCode(); if (HasRepeatedFieldEncoding) hash ^= RepeatedFieldEncoding.GetHashCode();
if (HasStringFieldValidation) hash ^= StringFieldValidation.GetHashCode();
if (HasMessageEncoding) hash ^= MessageEncoding.GetHashCode(); if (HasMessageEncoding) hash ^= MessageEncoding.GetHashCode();
if (HasJsonFormat) hash ^= JsonFormat.GetHashCode(); if (HasJsonFormat) hash ^= JsonFormat.GetHashCode();
if (rawFeatures_ != null) hash ^= RawFeatures.GetHashCode(); if (rawFeatures_ != null) hash ^= RawFeatures.GetHashCode();
@ -11931,10 +11897,6 @@ namespace Google.Protobuf.Reflection {
output.WriteRawTag(24); output.WriteRawTag(24);
output.WriteEnum((int) RepeatedFieldEncoding); output.WriteEnum((int) RepeatedFieldEncoding);
} }
if (HasStringFieldValidation) {
output.WriteRawTag(32);
output.WriteEnum((int) StringFieldValidation);
}
if (HasMessageEncoding) { if (HasMessageEncoding) {
output.WriteRawTag(40); output.WriteRawTag(40);
output.WriteEnum((int) MessageEncoding); output.WriteEnum((int) MessageEncoding);
@ -11972,10 +11934,6 @@ namespace Google.Protobuf.Reflection {
output.WriteRawTag(24); output.WriteRawTag(24);
output.WriteEnum((int) RepeatedFieldEncoding); output.WriteEnum((int) RepeatedFieldEncoding);
} }
if (HasStringFieldValidation) {
output.WriteRawTag(32);
output.WriteEnum((int) StringFieldValidation);
}
if (HasMessageEncoding) { if (HasMessageEncoding) {
output.WriteRawTag(40); output.WriteRawTag(40);
output.WriteEnum((int) MessageEncoding); output.WriteEnum((int) MessageEncoding);
@ -12010,9 +11968,6 @@ namespace Google.Protobuf.Reflection {
if (HasRepeatedFieldEncoding) { if (HasRepeatedFieldEncoding) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RepeatedFieldEncoding); size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RepeatedFieldEncoding);
} }
if (HasStringFieldValidation) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StringFieldValidation);
}
if (HasMessageEncoding) { if (HasMessageEncoding) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MessageEncoding); size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MessageEncoding);
} }
@ -12046,9 +12001,6 @@ namespace Google.Protobuf.Reflection {
if (other.HasRepeatedFieldEncoding) { if (other.HasRepeatedFieldEncoding) {
RepeatedFieldEncoding = other.RepeatedFieldEncoding; RepeatedFieldEncoding = other.RepeatedFieldEncoding;
} }
if (other.HasStringFieldValidation) {
StringFieldValidation = other.StringFieldValidation;
}
if (other.HasMessageEncoding) { if (other.HasMessageEncoding) {
MessageEncoding = other.MessageEncoding; MessageEncoding = other.MessageEncoding;
} }
@ -12091,10 +12043,6 @@ namespace Google.Protobuf.Reflection {
RepeatedFieldEncoding = (global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding) input.ReadEnum(); RepeatedFieldEncoding = (global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding) input.ReadEnum();
break; break;
} }
case 32: {
StringFieldValidation = (global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation) input.ReadEnum();
break;
}
case 40: { case 40: {
MessageEncoding = (global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding) input.ReadEnum(); MessageEncoding = (global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding) input.ReadEnum();
break; break;
@ -12139,10 +12087,6 @@ namespace Google.Protobuf.Reflection {
RepeatedFieldEncoding = (global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding) input.ReadEnum(); RepeatedFieldEncoding = (global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding) input.ReadEnum();
break; break;
} }
case 32: {
StringFieldValidation = (global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation) input.ReadEnum();
break;
}
case 40: { case 40: {
MessageEncoding = (global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding) input.ReadEnum(); MessageEncoding = (global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding) input.ReadEnum();
break; break;
@ -12209,13 +12153,6 @@ namespace Google.Protobuf.Reflection {
[pbr::OriginalName("EXPANDED")] Expanded = 2, [pbr::OriginalName("EXPANDED")] Expanded = 2,
} }
public enum StringFieldValidation {
[pbr::OriginalName("STRING_FIELD_VALIDATION_UNKNOWN")] Unknown = 0,
[pbr::OriginalName("MANDATORY")] Mandatory = 1,
[pbr::OriginalName("HINT")] Hint = 2,
[pbr::OriginalName("NONE")] None = 3,
}
public enum MessageEncoding { public enum MessageEncoding {
[pbr::OriginalName("MESSAGE_ENCODING_UNKNOWN")] Unknown = 0, [pbr::OriginalName("MESSAGE_ENCODING_UNKNOWN")] Unknown = 0,
[pbr::OriginalName("LENGTH_PREFIXED")] LengthPrefixed = 1, [pbr::OriginalName("LENGTH_PREFIXED")] LengthPrefixed = 1,

Loading…
Cancel
Save