metadata

package
v0.0.0-...-4ba0660 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gapic_metadata_gapic_metadata_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GapicMetadata

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 `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata about a GAPIC library for a specific combination of API, version, and computer language.

func (*GapicMetadata) Descriptor deprecated

func (*GapicMetadata) Descriptor() ([]byte, []int)

Deprecated: Use GapicMetadata.ProtoReflect.Descriptor instead.

func (*GapicMetadata) GetComment

func (x *GapicMetadata) GetComment() string

func (*GapicMetadata) GetLanguage

func (x *GapicMetadata) GetLanguage() string

func (*GapicMetadata) GetLibraryPackage

func (x *GapicMetadata) GetLibraryPackage() string

func (*GapicMetadata) GetProtoPackage

func (x *GapicMetadata) GetProtoPackage() string

func (*GapicMetadata) GetSchema

func (x *GapicMetadata) GetSchema() string

func (*GapicMetadata) GetServices

func (*GapicMetadata) ProtoMessage

func (*GapicMetadata) ProtoMessage()

func (*GapicMetadata) ProtoReflect

func (x *GapicMetadata) ProtoReflect() protoreflect.Message

func (*GapicMetadata) Reset

func (x *GapicMetadata) Reset()

func (*GapicMetadata) String

func (x *GapicMetadata) String() string

type GapicMetadata_MethodList

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
}

List of GAPIC client methods implementing the proto-defined RPC for the transport and service specified in the containing structures.

func (*GapicMetadata_MethodList) Descriptor deprecated

func (*GapicMetadata_MethodList) Descriptor() ([]byte, []int)

Deprecated: Use GapicMetadata_MethodList.ProtoReflect.Descriptor instead.

func (*GapicMetadata_MethodList) GetMethods

func (x *GapicMetadata_MethodList) GetMethods() []string

func (*GapicMetadata_MethodList) ProtoMessage

func (*GapicMetadata_MethodList) ProtoMessage()

func (*GapicMetadata_MethodList) ProtoReflect

func (x *GapicMetadata_MethodList) ProtoReflect() protoreflect.Message

func (*GapicMetadata_MethodList) Reset

func (x *GapicMetadata_MethodList) Reset()

func (*GapicMetadata_MethodList) String

func (x *GapicMetadata_MethodList) String() string

type GapicMetadata_ServiceAsClient

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 `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about a specific client implementing a proto-defined service.

func (*GapicMetadata_ServiceAsClient) Descriptor deprecated

func (*GapicMetadata_ServiceAsClient) Descriptor() ([]byte, []int)

Deprecated: Use GapicMetadata_ServiceAsClient.ProtoReflect.Descriptor instead.

func (*GapicMetadata_ServiceAsClient) GetLibraryClient

func (x *GapicMetadata_ServiceAsClient) GetLibraryClient() string

func (*GapicMetadata_ServiceAsClient) GetRpcs

func (*GapicMetadata_ServiceAsClient) ProtoMessage

func (*GapicMetadata_ServiceAsClient) ProtoMessage()

func (*GapicMetadata_ServiceAsClient) ProtoReflect

func (*GapicMetadata_ServiceAsClient) Reset

func (x *GapicMetadata_ServiceAsClient) Reset()

func (*GapicMetadata_ServiceAsClient) String

type GapicMetadata_ServiceForTransport

type GapicMetadata_ServiceForTransport struct {
	Clients map[string]*GapicMetadata_ServiceAsClient `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

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").

func (*GapicMetadata_ServiceForTransport) Descriptor deprecated

func (*GapicMetadata_ServiceForTransport) Descriptor() ([]byte, []int)

Deprecated: Use GapicMetadata_ServiceForTransport.ProtoReflect.Descriptor instead.

func (*GapicMetadata_ServiceForTransport) GetClients

func (*GapicMetadata_ServiceForTransport) ProtoMessage

func (*GapicMetadata_ServiceForTransport) ProtoMessage()

func (*GapicMetadata_ServiceForTransport) ProtoReflect

func (*GapicMetadata_ServiceForTransport) Reset

func (*GapicMetadata_ServiceForTransport) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL