Method | Description | |
---|---|---|
CreateGenerator ( |
Returns a generator configured with the specified options.
|
|
Generate ( ) : void |
Method | Description | |
---|---|---|
ConvertDescriptors ( FileDescriptorSet descriptorProtos ) : IList |
Resolves any dependencies and converts FileDescriptorProtos into FileDescriptors. The list returned is in the same order as the protos are listed in the descriptor set. Note: this method is internal rather than private to allow testing.
|
|
Generate ( FileDescriptor descriptor ) : void |
Generates code for a particular file. All dependencies must already have been resolved.
|
|
Generator ( |
||
GetOutputFile ( FileDescriptor descriptor ) : string |
public static CreateGenerator ( |
||
options | ||
return |