CreateInstance() public static method

public static CreateInstance ( ) : FieldSet
return FieldSet
 internal Builder(MessageDescriptor type)
 {
     this.type          = type;
     this.fields        = FieldSet.CreateInstance();
     this.unknownFields = UnknownFieldSet.DefaultInstance;
     this.oneofCase     = new FieldDescriptor[type.Proto.OneofDeclCount];
 }
Beispiel #2
0
 internal Builder(MessageDescriptor type)
 {
     this.type          = type;
     this.fields        = FieldSet.CreateInstance();
     this.unknownFields = UnknownFieldSet.DefaultInstance;
 }