|
|
|
@ -52,36 +52,37 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
|
|
|
|
"CiRnb29nbGUvcHJvdG9idWYvY3NoYXJwX29wdGlvbnMucHJvdG8SD2dvb2ds" + |
|
|
|
|
"ZS5wcm90b2J1ZhogZ29vZ2xlL3Byb3RvYnVmL2Rlc2NyaXB0b3IucHJvdG8i" + |
|
|
|
|
"tgMKEUNTaGFycEZpbGVPcHRpb25zEhEKCW5hbWVzcGFjZRgBIAEoCRIaChJ1" + |
|
|
|
|
"1wMKEUNTaGFycEZpbGVPcHRpb25zEhEKCW5hbWVzcGFjZRgBIAEoCRIaChJ1" + |
|
|
|
|
"bWJyZWxsYV9jbGFzc25hbWUYAiABKAkSHAoOcHVibGljX2NsYXNzZXMYAyAB" + |
|
|
|
|
"KAg6BHRydWUSFgoObXVsdGlwbGVfZmlsZXMYBCABKAgSFAoMbmVzdF9jbGFz" + |
|
|
|
|
"c2VzGAUgASgIEhYKDmNvZGVfY29udHJhY3RzGAYgASgIEiQKHGV4cGFuZF9u" + |
|
|
|
|
"YW1lc3BhY2VfZGlyZWN0b3JpZXMYByABKAgSHAoOY2xzX2NvbXBsaWFuY2UY" + |
|
|
|
|
"CCABKAg6BHRydWUSHAoOZmlsZV9leHRlbnNpb24Y3QEgASgJOgMuY3MSGwoS" + |
|
|
|
|
"dW1icmVsbGFfbmFtZXNwYWNlGN4BIAEoCRIcChBvdXRwdXRfZGlyZWN0b3J5" + |
|
|
|
|
"GN8BIAEoCToBLhImChZpZ25vcmVfZ29vZ2xlX3Byb3RvYnVmGOABIAEoCDoF" + |
|
|
|
|
"ZmFsc2USSQoWc2VydmljZV9nZW5lcmF0b3JfdHlwZRjhASABKA4yIi5nb29n" + |
|
|
|
|
"bGUucHJvdG9idWYuQ1NoYXJwU2VydmljZVR5cGU6BE5PTkUiKwoSQ1NoYXJw" + |
|
|
|
|
"RmllbGRPcHRpb25zEhUKD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+ |
|
|
|
|
"CzIlLmdvb2dsZS5wcm90b2J1Zi5DU2hhcnBTZXJ2aWNlT3B0aW9uczpkChVj" + |
|
|
|
|
"c2hhcnBfbWV0aG9kX29wdGlvbnMSHi5nb29nbGUucHJvdG9idWYuTWV0aG9k" + |
|
|
|
|
"T3B0aW9ucxjoByABKAsyJC5nb29nbGUucHJvdG9idWYuQ1NoYXJwTWV0aG9k" + |
|
|
|
|
"T3B0aW9ucw=="); |
|
|
|
|
pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) { |
|
|
|
|
descriptor = root; |
|
|
|
|
internal__static_google_protobuf_CSharpFileOptions__Descriptor = Descriptor.MessageTypes[0]; |
|
|
|
|
internal__static_google_protobuf_CSharpFileOptions__FieldAccessorTable = |
|
|
|
|
new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.CSharpFileOptions, global::Google.ProtocolBuffers.DescriptorProtos.CSharpFileOptions.Builder>(internal__static_google_protobuf_CSharpFileOptions__Descriptor, |
|
|
|
|
new string[] { "Namespace", "UmbrellaClassname", "PublicClasses", "MultipleFiles", "NestClasses", "CodeContracts", "ExpandNamespaceDirectories", "ClsCompliance", "FileExtension", "UmbrellaNamespace", "OutputDirectory", "IgnoreGoogleProtobuf", "ServiceGeneratorType", }); |
|
|
|
|
new string[] { "Namespace", "UmbrellaClassname", "PublicClasses", "MultipleFiles", "NestClasses", "CodeContracts", "ExpandNamespaceDirectories", "ClsCompliance", "AddSerializable", "FileExtension", "UmbrellaNamespace", "OutputDirectory", "IgnoreGoogleProtobuf", "ServiceGeneratorType", }); |
|
|
|
|
internal__static_google_protobuf_CSharpFieldOptions__Descriptor = Descriptor.MessageTypes[1]; |
|
|
|
|
internal__static_google_protobuf_CSharpFieldOptions__FieldAccessorTable = |
|
|
|
|
new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.CSharpFieldOptions, global::Google.ProtocolBuffers.DescriptorProtos.CSharpFieldOptions.Builder>(internal__static_google_protobuf_CSharpFieldOptions__Descriptor, |
|
|
|
@ -126,8 +127,8 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")] |
|
|
|
|
public sealed partial class CSharpFileOptions : pb::GeneratedMessage<CSharpFileOptions, CSharpFileOptions.Builder> { |
|
|
|
|
private static readonly CSharpFileOptions defaultInstance = new Builder().BuildPartial(); |
|
|
|
|
private static readonly string[] _cSharpFileOptionsFieldNames = new string[] { "cls_compliance", "code_contracts", "expand_namespace_directories", "file_extension", "ignore_google_protobuf", "multiple_files", "namespace", "nest_classes", "output_directory", "public_classes", "service_generator_type", "umbrella_classname", "umbrella_namespace" }; |
|
|
|
|
private static readonly uint[] _cSharpFileOptionsFieldTags = new uint[] { 64, 48, 56, 1770, 1792, 32, 10, 40, 1786, 24, 1800, 18, 1778 }; |
|
|
|
|
private static readonly string[] _cSharpFileOptionsFieldNames = new string[] { "add_serializable", "cls_compliance", "code_contracts", "expand_namespace_directories", "file_extension", "ignore_google_protobuf", "multiple_files", "namespace", "nest_classes", "output_directory", "public_classes", "service_generator_type", "umbrella_classname", "umbrella_namespace" }; |
|
|
|
|
private static readonly uint[] _cSharpFileOptionsFieldTags = new uint[] { 72, 64, 48, 56, 1770, 1792, 32, 10, 40, 1786, 24, 1800, 18, 1778 }; |
|
|
|
|
public static CSharpFileOptions DefaultInstance { |
|
|
|
|
get { return defaultInstance; } |
|
|
|
|
} |
|
|
|
@ -228,6 +229,16 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { return clsCompliance_; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public const int AddSerializableFieldNumber = 9; |
|
|
|
|
private bool hasAddSerializable; |
|
|
|
|
private bool addSerializable_; |
|
|
|
|
public bool HasAddSerializable { |
|
|
|
|
get { return hasAddSerializable; } |
|
|
|
|
} |
|
|
|
|
public bool AddSerializable { |
|
|
|
|
get { return addSerializable_; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public const int FileExtensionFieldNumber = 221; |
|
|
|
|
private bool hasFileExtension; |
|
|
|
|
private string fileExtension_ = ".cs"; |
|
|
|
@ -288,43 +299,46 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
string[] field_names = _cSharpFileOptionsFieldNames; |
|
|
|
|
if (hasNamespace) { |
|
|
|
|
output.WriteString(1, field_names[6], Namespace); |
|
|
|
|
output.WriteString(1, field_names[7], Namespace); |
|
|
|
|
} |
|
|
|
|
if (hasUmbrellaClassname) { |
|
|
|
|
output.WriteString(2, field_names[11], UmbrellaClassname); |
|
|
|
|
output.WriteString(2, field_names[12], UmbrellaClassname); |
|
|
|
|
} |
|
|
|
|
if (hasPublicClasses) { |
|
|
|
|
output.WriteBool(3, field_names[9], PublicClasses); |
|
|
|
|
output.WriteBool(3, field_names[10], PublicClasses); |
|
|
|
|
} |
|
|
|
|
if (hasMultipleFiles) { |
|
|
|
|
output.WriteBool(4, field_names[5], MultipleFiles); |
|
|
|
|
output.WriteBool(4, field_names[6], MultipleFiles); |
|
|
|
|
} |
|
|
|
|
if (hasNestClasses) { |
|
|
|
|
output.WriteBool(5, field_names[7], NestClasses); |
|
|
|
|
output.WriteBool(5, field_names[8], NestClasses); |
|
|
|
|
} |
|
|
|
|
if (hasCodeContracts) { |
|
|
|
|
output.WriteBool(6, field_names[1], CodeContracts); |
|
|
|
|
output.WriteBool(6, field_names[2], CodeContracts); |
|
|
|
|
} |
|
|
|
|
if (hasExpandNamespaceDirectories) { |
|
|
|
|
output.WriteBool(7, field_names[2], ExpandNamespaceDirectories); |
|
|
|
|
output.WriteBool(7, field_names[3], ExpandNamespaceDirectories); |
|
|
|
|
} |
|
|
|
|
if (hasClsCompliance) { |
|
|
|
|
output.WriteBool(8, field_names[0], ClsCompliance); |
|
|
|
|
output.WriteBool(8, field_names[1], ClsCompliance); |
|
|
|
|
} |
|
|
|
|
if (hasAddSerializable) { |
|
|
|
|
output.WriteBool(9, field_names[0], AddSerializable); |
|
|
|
|
} |
|
|
|
|
if (hasFileExtension) { |
|
|
|
|
output.WriteString(221, field_names[3], FileExtension); |
|
|
|
|
output.WriteString(221, field_names[4], FileExtension); |
|
|
|
|
} |
|
|
|
|
if (hasUmbrellaNamespace) { |
|
|
|
|
output.WriteString(222, field_names[12], UmbrellaNamespace); |
|
|
|
|
output.WriteString(222, field_names[13], UmbrellaNamespace); |
|
|
|
|
} |
|
|
|
|
if (hasOutputDirectory) { |
|
|
|
|
output.WriteString(223, field_names[8], OutputDirectory); |
|
|
|
|
output.WriteString(223, field_names[9], OutputDirectory); |
|
|
|
|
} |
|
|
|
|
if (hasIgnoreGoogleProtobuf) { |
|
|
|
|
output.WriteBool(224, field_names[4], IgnoreGoogleProtobuf); |
|
|
|
|
output.WriteBool(224, field_names[5], IgnoreGoogleProtobuf); |
|
|
|
|
} |
|
|
|
|
if (hasServiceGeneratorType) { |
|
|
|
|
output.WriteEnum(225, field_names[10], (int) ServiceGeneratorType, ServiceGeneratorType); |
|
|
|
|
output.WriteEnum(225, field_names[11], (int) ServiceGeneratorType, ServiceGeneratorType); |
|
|
|
|
} |
|
|
|
|
UnknownFields.WriteTo(output); |
|
|
|
|
} |
|
|
|
@ -360,6 +374,9 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
if (hasClsCompliance) { |
|
|
|
|
size += pb::CodedOutputStream.ComputeBoolSize(8, ClsCompliance); |
|
|
|
|
} |
|
|
|
|
if (hasAddSerializable) { |
|
|
|
|
size += pb::CodedOutputStream.ComputeBoolSize(9, AddSerializable); |
|
|
|
|
} |
|
|
|
|
if (hasFileExtension) { |
|
|
|
|
size += pb::CodedOutputStream.ComputeStringSize(221, FileExtension); |
|
|
|
|
} |
|
|
|
@ -494,6 +511,9 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
if (other.HasClsCompliance) { |
|
|
|
|
ClsCompliance = other.ClsCompliance; |
|
|
|
|
} |
|
|
|
|
if (other.HasAddSerializable) { |
|
|
|
|
AddSerializable = other.AddSerializable; |
|
|
|
|
} |
|
|
|
|
if (other.HasFileExtension) { |
|
|
|
|
FileExtension = other.FileExtension; |
|
|
|
|
} |
|
|
|
@ -583,6 +603,10 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
result.hasClsCompliance = input.ReadBool(ref result.clsCompliance_); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
case 72: { |
|
|
|
|
result.hasAddSerializable = input.ReadBool(ref result.addSerializable_); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
case 1770: { |
|
|
|
|
result.hasFileExtension = input.ReadString(ref result.fileExtension_); |
|
|
|
|
break; |
|
|
|
@ -767,6 +791,24 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool HasAddSerializable { |
|
|
|
|
get { return result.hasAddSerializable; } |
|
|
|
|
} |
|
|
|
|
public bool AddSerializable { |
|
|
|
|
get { return result.AddSerializable; } |
|
|
|
|
set { SetAddSerializable(value); } |
|
|
|
|
} |
|
|
|
|
public Builder SetAddSerializable(bool value) { |
|
|
|
|
result.hasAddSerializable = true; |
|
|
|
|
result.addSerializable_ = value; |
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
public Builder ClearAddSerializable() { |
|
|
|
|
result.hasAddSerializable = false; |
|
|
|
|
result.addSerializable_ = false; |
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool HasFileExtension { |
|
|
|
|
get { return result.hasFileExtension; } |
|
|
|
|
} |
|
|
|
|