API Gateway v1 API - Class ApiConfig.Types.GrpcServiceDefinition (2.3.0)

public sealed class ApiConfig.Types.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.

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(GrpcServiceDefinition)

public GrpcServiceDefinition(ApiConfig.Types.GrpcServiceDefinition other)
Parameter
Name Description
other ApiConfigTypesGrpcServiceDefinition

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
ApiConfigTypesFile

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
RepeatedFieldApiConfigTypesFile