var File_gapic_metadata_gapic_metadata_proto protoreflect.FileDescriptor
Metadata about a GAPIC library for a specific combination of API, version, and computer language.
type GapicMetadata struct { // Schema version of this proto. Current value: 1.0 Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // Any human-readable comments to be included in this file. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // Computer language of this generated language. This must be // spelled out as it spoken in English, with no capitalization or // separators (e.g. "csharp", "nodejs"). Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` // The proto package containing the API definition for which this // GAPIC library was generated. ProtoPackage string `protobuf:"bytes,4,opt,name=proto_package,json=protoPackage,proto3" json:"proto_package,omitempty"` // The language-specific library package for this GAPIC library. LibraryPackage string `protobuf:"bytes,5,opt,name=library_package,json=libraryPackage,proto3" json:"library_package,omitempty"` // A map from each proto-defined service to ServiceForTransports, // which allows listing information about transport-specific // implementations of the service. // // The key is the name of the service as it appears in the .proto // file. Services map[string]*GapicMetadata_ServiceForTransport `protobuf:"bytes,6,rep,name=services,proto3" json:"services,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*GapicMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GapicMetadata.ProtoReflect.Descriptor instead.
func (x *GapicMetadata) GetComment() string
func (x *GapicMetadata) GetLanguage() string
func (x *GapicMetadata) GetLibraryPackage() string
func (x *GapicMetadata) GetProtoPackage() string
func (x *GapicMetadata) GetSchema() string
func (x *GapicMetadata) GetServices() map[string]*GapicMetadata_ServiceForTransport
func (*GapicMetadata) ProtoMessage()
func (x *GapicMetadata) ProtoReflect() protoreflect.Message
func (x *GapicMetadata) Reset()
func (x *GapicMetadata) String() string
List of GAPIC client methods implementing the proto-defined RPC for the transport and service specified in the containing structures.
type GapicMetadata_MethodList struct { // List of methods for a specific proto-service client in the // GAPIC. These names should be formatted as they appear in the // source code. Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"` // contains filtered or unexported fields }
func (*GapicMetadata_MethodList) Descriptor() ([]byte, []int)
Deprecated: Use GapicMetadata_MethodList.ProtoReflect.Descriptor instead.
func (x *GapicMetadata_MethodList) GetMethods() []string
func (*GapicMetadata_MethodList) ProtoMessage()
func (x *GapicMetadata_MethodList) ProtoReflect() protoreflect.Message
func (x *GapicMetadata_MethodList) Reset()
func (x *GapicMetadata_MethodList) String() string
Information about a specific client implementing a proto-defined service.
type GapicMetadata_ServiceAsClient struct { // The name of the library client formatted as it appears in the source code LibraryClient string `protobuf:"bytes,1,opt,name=library_client,json=libraryClient,proto3" json:"library_client,omitempty"` // A mapping from each proto-defined RPC name to the the list of // methods in library_client that implement it. There can be more // than one library_client method for each RPC. RPCs with no // library_client methods need not be included. // // The key name is the name of the RPC as defined and formatted in // the proto file. Rpcs map[string]*GapicMetadata_MethodList `protobuf:"bytes,2,rep,name=rpcs,proto3" json:"rpcs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*GapicMetadata_ServiceAsClient) Descriptor() ([]byte, []int)
Deprecated: Use GapicMetadata_ServiceAsClient.ProtoReflect.Descriptor instead.
func (x *GapicMetadata_ServiceAsClient) GetLibraryClient() string
func (x *GapicMetadata_ServiceAsClient) GetRpcs() map[string]*GapicMetadata_MethodList
func (*GapicMetadata_ServiceAsClient) ProtoMessage()
func (x *GapicMetadata_ServiceAsClient) ProtoReflect() protoreflect.Message
func (x *GapicMetadata_ServiceAsClient) Reset()
func (x *GapicMetadata_ServiceAsClient) String() string
A map from a transport name to ServiceAsClient, which allows listing information about the client objects that implement the parent RPC service for the specified transport.
The key name is the transport, lower-cased with no separators (e.g. "grpc", "rest").
type GapicMetadata_ServiceForTransport struct { Clients map[string]*GapicMetadata_ServiceAsClient `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*GapicMetadata_ServiceForTransport) Descriptor() ([]byte, []int)
Deprecated: Use GapicMetadata_ServiceForTransport.ProtoReflect.Descriptor instead.
func (x *GapicMetadata_ServiceForTransport) GetClients() map[string]*GapicMetadata_ServiceAsClient
func (*GapicMetadata_ServiceForTransport) ProtoMessage()
func (x *GapicMetadata_ServiceForTransport) ProtoReflect() protoreflect.Message
func (x *GapicMetadata_ServiceForTransport) Reset()
func (x *GapicMetadata_ServiceForTransport) String() string