|
|
|
@ -294,7 +294,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _fileDescriptorSetFieldNames; |
|
|
|
|
if (file_.Count > 0) { |
|
|
|
|
output.WriteMessageArray(1, field_names[0], file_); |
|
|
|
@ -307,6 +307,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
foreach (global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto element in FileList) { |
|
|
|
@ -316,8 +323,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static FileDescriptorSet ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -694,7 +699,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _fileDescriptorProtoFieldNames; |
|
|
|
|
if (hasName) { |
|
|
|
|
output.WriteString(1, field_names[4], Name); |
|
|
|
@ -731,6 +736,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasName) { |
|
|
|
@ -769,8 +781,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static FileDescriptorProto ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -1437,7 +1447,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _extensionRangeFieldNames; |
|
|
|
|
if (hasStart) { |
|
|
|
|
output.WriteInt32(1, field_names[1], Start); |
|
|
|
@ -1453,6 +1463,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasStart) { |
|
|
|
@ -1465,8 +1482,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static ExtensionRange ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -1802,7 +1817,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _descriptorProtoFieldNames; |
|
|
|
|
if (hasName) { |
|
|
|
|
output.WriteString(1, field_names[4], Name); |
|
|
|
@ -1833,6 +1848,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasName) { |
|
|
|
@ -1860,8 +1882,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static DescriptorProto ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -2527,7 +2547,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _fieldDescriptorProtoFieldNames; |
|
|
|
|
if (hasName) { |
|
|
|
|
output.WriteString(1, field_names[3], Name); |
|
|
|
@ -2561,6 +2581,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasName) { |
|
|
|
@ -2591,8 +2618,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static FieldDescriptorProto ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -3101,7 +3126,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _enumDescriptorProtoFieldNames; |
|
|
|
|
if (hasName) { |
|
|
|
|
output.WriteString(1, field_names[0], Name); |
|
|
|
@ -3120,6 +3145,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasName) { |
|
|
|
@ -3135,8 +3167,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static EnumDescriptorProto ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -3511,7 +3541,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _enumValueDescriptorProtoFieldNames; |
|
|
|
|
if (hasName) { |
|
|
|
|
output.WriteString(1, field_names[0], Name); |
|
|
|
@ -3530,6 +3560,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasName) { |
|
|
|
@ -3545,8 +3582,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static EnumValueDescriptorProto ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -3901,7 +3936,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _serviceDescriptorProtoFieldNames; |
|
|
|
|
if (hasName) { |
|
|
|
|
output.WriteString(1, field_names[1], Name); |
|
|
|
@ -3920,6 +3955,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasName) { |
|
|
|
@ -3935,8 +3977,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static ServiceDescriptorProto ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -4321,7 +4361,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _methodDescriptorProtoFieldNames; |
|
|
|
|
if (hasName) { |
|
|
|
|
output.WriteString(1, field_names[1], Name); |
|
|
|
@ -4343,6 +4383,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasName) { |
|
|
|
@ -4361,8 +4408,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static MethodDescriptorProto ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -4816,7 +4861,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _fileOptionsFieldNames; |
|
|
|
|
pb::ExtendableMessage<FileOptions, FileOptions.Builder>.ExtensionWriter extensionWriter = CreateExtensionWriter(this); |
|
|
|
|
if (hasJavaPackage) { |
|
|
|
@ -4855,6 +4900,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasJavaPackage) { |
|
|
|
@ -4889,8 +4941,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static FileOptions ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -5415,7 +5465,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _messageOptionsFieldNames; |
|
|
|
|
pb::ExtendableMessage<MessageOptions, MessageOptions.Builder>.ExtensionWriter extensionWriter = CreateExtensionWriter(this); |
|
|
|
|
if (hasMessageSetWireFormat) { |
|
|
|
@ -5436,6 +5486,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasMessageSetWireFormat) { |
|
|
|
@ -5452,8 +5509,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static MessageOptions ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -5838,7 +5893,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _fieldOptionsFieldNames; |
|
|
|
|
pb::ExtendableMessage<FieldOptions, FieldOptions.Builder>.ExtensionWriter extensionWriter = CreateExtensionWriter(this); |
|
|
|
|
if (hasCtype) { |
|
|
|
@ -5865,6 +5920,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasCtype) { |
|
|
|
@ -5887,8 +5949,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static FieldOptions ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -6284,7 +6344,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _enumOptionsFieldNames; |
|
|
|
|
pb::ExtendableMessage<EnumOptions, EnumOptions.Builder>.ExtensionWriter extensionWriter = CreateExtensionWriter(this); |
|
|
|
|
if (uninterpretedOption_.Count > 0) { |
|
|
|
@ -6299,6 +6359,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
foreach (global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption element in UninterpretedOptionList) { |
|
|
|
@ -6309,8 +6376,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static EnumOptions ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -6589,7 +6654,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _enumValueOptionsFieldNames; |
|
|
|
|
pb::ExtendableMessage<EnumValueOptions, EnumValueOptions.Builder>.ExtensionWriter extensionWriter = CreateExtensionWriter(this); |
|
|
|
|
if (uninterpretedOption_.Count > 0) { |
|
|
|
@ -6604,6 +6669,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
foreach (global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption element in UninterpretedOptionList) { |
|
|
|
@ -6614,8 +6686,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static EnumValueOptions ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -6894,7 +6964,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _serviceOptionsFieldNames; |
|
|
|
|
pb::ExtendableMessage<ServiceOptions, ServiceOptions.Builder>.ExtensionWriter extensionWriter = CreateExtensionWriter(this); |
|
|
|
|
if (uninterpretedOption_.Count > 0) { |
|
|
|
@ -6909,6 +6979,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
foreach (global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption element in UninterpretedOptionList) { |
|
|
|
@ -6919,8 +6996,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static ServiceOptions ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -7199,7 +7274,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _methodOptionsFieldNames; |
|
|
|
|
pb::ExtendableMessage<MethodOptions, MethodOptions.Builder>.ExtensionWriter extensionWriter = CreateExtensionWriter(this); |
|
|
|
|
if (uninterpretedOption_.Count > 0) { |
|
|
|
@ -7214,6 +7289,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
foreach (global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption element in UninterpretedOptionList) { |
|
|
|
@ -7224,8 +7306,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static MethodOptions ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -7539,7 +7619,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _namePartFieldNames; |
|
|
|
|
if (hasNamePart_) { |
|
|
|
|
output.WriteString(1, field_names[1], NamePart_); |
|
|
|
@ -7555,6 +7635,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
if (hasNamePart_) { |
|
|
|
@ -7567,8 +7654,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static NamePart ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -7886,7 +7971,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _uninterpretedOptionFieldNames; |
|
|
|
|
if (name_.Count > 0) { |
|
|
|
|
output.WriteMessageArray(2, field_names[3], name_); |
|
|
|
@ -7917,6 +8002,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
foreach (global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Types.NamePart element in NameList) { |
|
|
|
@ -7944,8 +8036,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static UninterpretedOption ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -8429,7 +8519,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _locationFieldNames; |
|
|
|
|
if (path_.Count > 0) { |
|
|
|
|
output.WritePackedInt32Array(1, field_names[0], pathMemoizedSerializedSize, path_); |
|
|
|
@ -8445,6 +8535,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
{ |
|
|
|
@ -8473,8 +8570,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static Location ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
@ -8751,7 +8846,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override void WriteTo(pb::ICodedOutputStream output) { |
|
|
|
|
int size = SerializedSize; |
|
|
|
|
CalcSerializedSize(); |
|
|
|
|
string[] field_names = _sourceCodeInfoFieldNames; |
|
|
|
|
if (location_.Count > 0) { |
|
|
|
|
output.WriteMessageArray(1, field_names[0], location_); |
|
|
|
@ -8764,6 +8859,13 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
get { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
return CalcSerializedSize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private int CalcSerializedSize() { |
|
|
|
|
int size = memoizedSerializedSize; |
|
|
|
|
if (size != -1) return size; |
|
|
|
|
|
|
|
|
|
size = 0; |
|
|
|
|
foreach (global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo.Types.Location element in LocationList) { |
|
|
|
@ -8773,8 +8875,6 @@ namespace Google.ProtocolBuffers.DescriptorProtos { |
|
|
|
|
memoizedSerializedSize = size; |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static SourceCodeInfo ParseFrom(pb::ByteString data) { |
|
|
|
|
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); |
|
|
|
|
} |
|
|
|
|