public sealed class GrpcServiceDefinition : IMessage<ApiConfig.Types.GrpcServiceDefinition>, IEquatable<ApiConfig.Types.GrpcServiceDefinition>, IDeepCloneable<ApiConfig.Types.GrpcServiceDefinition>, IBufferMessage, IMessage
A gRPC service definition.
Implements
IMessage<ApiConfig.Types.GrpcServiceDefinition>, IEquatable<ApiConfig.Types.GrpcServiceDefinition>, IDeepCloneable<ApiConfig.Types.GrpcServiceDefinition>, IBufferMessage, IMessageNamespace
Google.Cloud.ApiGateway.V1Assembly
Google.Cloud.ApiGateway.V1.dll
Constructors
GrpcServiceDefinition()
public GrpcServiceDefinition()
GrpcServiceDefinition(ApiConfig.Types.GrpcServiceDefinition)
public GrpcServiceDefinition(ApiConfig.Types.GrpcServiceDefinition other)
Parameter | |
---|---|
Name | Description |
other | ApiConfig.Types.GrpcServiceDefinition |
Properties
FileDescriptorSet
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.
$ protoc --include_imports --include_source_info test.proto -o out.pb
Property Value | |
---|---|
Type | Description |
ApiConfig.Types.File |
Source
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<ApiConfig.Types.File> |