public sealed class GrpcServiceDefinition : IMessage<ApiConfig.Types.GrpcServiceDefinition>, IEquatable<ApiConfig.Types.GrpcServiceDefinition>, IDeepCloneable<ApiConfig.Types.GrpcServiceDefinition>, IBufferMessage, IMessage
Reference documentation and code samples for the API Gateway v1 API class ApiConfig.Types.GrpcServiceDefinition.
public ApiConfig.Types.File FileDescriptorSet { get; set; }
Input only. File descriptor set, generated by protoc.
To generate, use protoc with imports and source info included.
For an example test.proto file, the following command would put the value
in a new file named out.pb.
public RepeatedField<ApiConfig.Types.File> Source { get; }
Optional. Uncompiled proto files associated with the descriptor set, used for
display purposes (server-side compilation is not supported). These
should match the inputs to 'protoc' command used to generate
file_descriptor_set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGrpcServiceDefinition\u003c/code\u003e class within the Google Cloud API Gateway v1 API is designed to represent a gRPC service definition.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, all related to the management of data and objects in the API.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two constructors: a default constructor and one that takes another \u003ccode\u003eGrpcServiceDefinition\u003c/code\u003e instance for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties for \u003ccode\u003eFileDescriptorSet\u003c/code\u003e and \u003ccode\u003eSource\u003c/code\u003e, which handle the file descriptor set generated by protoc and the uncompiled proto files for display, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides versioned reference material, showing the class in versions ranging from 1.0.0 to 2.4.0, with 2.4.0 being the latest.\u003c/p\u003e\n"]]],[],null,[]]