Class ApiConfig.Types.GrpcServiceDefinition (1.0.0)

public sealed class GrpcServiceDefinition : IMessage<ApiConfig.Types.GrpcServiceDefinition>, IEquatable<ApiConfig.Types.GrpcServiceDefinition>, IDeepCloneable<ApiConfig.Types.GrpcServiceDefinition>, IBufferMessage, IMessage

A gRPC service definition.

Inheritance

Object > ApiConfig.Types.GrpcServiceDefinition

Namespace

Google.Cloud.ApiGateway.V1

Assembly

Google.Cloud.ApiGateway.V1.dll

Constructors

GrpcServiceDefinition()

public GrpcServiceDefinition()

GrpcServiceDefinition(ApiConfig.Types.GrpcServiceDefinition)

public GrpcServiceDefinition(ApiConfig.Types.GrpcServiceDefinition other)
Parameter
NameDescription
otherApiConfig.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
TypeDescription
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
TypeDescription
RepeatedField<ApiConfig.Types.File>