From 17a1c14cd83bfc50661ff3d46498145de23626cd Mon Sep 17 00:00:00 2001 From: Julie Qiu Date: Tue, 27 Aug 2024 22:42:02 -0400 Subject: [PATCH] chore(internal): fix some misspellings Fixes #1566 --- internal/gengapic/custom_operation.go | 2 +- internal/gengapic/example.go | 2 +- internal/gengapic/gengrpc.go | 2 +- .../testdata/custom_op_type_bool.want | 2 +- .../testdata/custom_op_type_enum.want | 2 +- internal/grpc_service_config/config.go | 8 +- .../grpc_service_config.pb.go | 4 +- .../grpc_service_config.proto | 6 +- internal/snippets/metadata/metadata.pb.go | 475 +++++++++--------- internal/snippets/metadata/metadata.proto | 8 +- 10 files changed, 256 insertions(+), 255 deletions(-) diff --git a/internal/gengapic/custom_operation.go b/internal/gengapic/custom_operation.go index d33792d58..4975e34ea 100644 --- a/internal/gengapic/custom_operation.go +++ b/internal/gengapic/custom_operation.go @@ -163,7 +163,7 @@ func (g *generator) customOperationType() error { // Wait p("// Wait blocks until the operation is complete, polling regularly") - p("// after an intial period of backing off between attempts.") + p("// after an initial period of backing off between attempts.") p("func (o *%s) Wait(ctx context.Context, opts ...gax.CallOption) error {", opName) p(" bo := gax.Backoff{") p(" Initial: %s,", defaultPollInitialDelay) diff --git a/internal/gengapic/example.go b/internal/gengapic/example.go index a8621eb62..fc548a71d 100644 --- a/internal/gengapic/example.go +++ b/internal/gengapic/example.go @@ -172,7 +172,7 @@ func (g *generator) exampleLROCall(m *descriptorpb.MethodDescriptorProto) { opInfo := eLRO.(*longrunning.OperationInfo) if opInfo.GetResponseType() == emptyValue || opInfo == nil { // no new variables when this is used - // therefore don't attempt to delcare it + // therefore don't attempt to declare it retVars = "err =" } diff --git a/internal/gengapic/gengrpc.go b/internal/gengapic/gengrpc.go index 909b2edfd..8d7f4cefa 100644 --- a/internal/gengapic/gengrpc.go +++ b/internal/gengapic/gengrpc.go @@ -48,7 +48,7 @@ func (g *generator) genGRPCMethods(serv *descriptorpb.ServiceDescriptorProto, se } // genGRPCMethod generates a single method from a client. m must be a method declared in serv. -// If the generated method requires an auxillary type, it is added to aux. +// If the generated method requires an auxiliary type, it is added to aux. func (g *generator) genGRPCMethod(servName string, serv *descriptorpb.ServiceDescriptorProto, m *descriptorpb.MethodDescriptorProto) error { // Check if the RPC returns google.longrunning.Operation. if g.isLRO(m) { diff --git a/internal/gengapic/testdata/custom_op_type_bool.want b/internal/gengapic/testdata/custom_op_type_bool.want index 18bc8ff87..5015c9ee5 100644 --- a/internal/gengapic/testdata/custom_op_type_bool.want +++ b/internal/gengapic/testdata/custom_op_type_bool.want @@ -15,7 +15,7 @@ func (o *Operation) Name() string { } // Wait blocks until the operation is complete, polling regularly -// after an intial period of backing off between attempts. +// after an initial period of backing off between attempts. func (o *Operation) Wait(ctx context.Context, opts ...gax.CallOption) error { bo := gax.Backoff{ Initial: time.Second, diff --git a/internal/gengapic/testdata/custom_op_type_enum.want b/internal/gengapic/testdata/custom_op_type_enum.want index 3bb1e3a5f..9329d3466 100644 --- a/internal/gengapic/testdata/custom_op_type_enum.want +++ b/internal/gengapic/testdata/custom_op_type_enum.want @@ -15,7 +15,7 @@ func (o *Operation) Name() string { } // Wait blocks until the operation is complete, polling regularly -// after an intial period of backing off between attempts. +// after an initial period of backing off between attempts. func (o *Operation) Wait(ctx context.Context, opts ...gax.CallOption) error { bo := gax.Backoff{ Initial: time.Second, diff --git a/internal/grpc_service_config/config.go b/internal/grpc_service_config/config.go index 6685dc8d1..857d673e2 100644 --- a/internal/grpc_service_config/config.go +++ b/internal/grpc_service_config/config.go @@ -87,7 +87,7 @@ func New(in io.Reader) (Config, error) { // RetryPolicy returns the retryPolicy and a presence flag for the // given fully-qualified Service and simple Method names. A config assignment -// for a specific Method takes precendence over a Service-level assignment. +// for a specific Method takes precedence over a Service-level assignment. func (c Config) RetryPolicy(s, m string) (*MethodConfig_RetryPolicy, bool) { // Favor the policy defined for a fully-qualified Method name. policy, ok := c.policies[s+"."+m] @@ -102,7 +102,7 @@ func (c Config) RetryPolicy(s, m string) (*MethodConfig_RetryPolicy, bool) { // Timeout returns the timeout in milliseconds and a presence flag for the given // fully-qualified Service and simple Method names. A config assignment for the -// specific Method takes precendence over a Service-level assignment. +// specific Method takes precedence over a Service-level assignment. func (c Config) Timeout(s, m string) (int64, bool) { // Favor the timeout defined for a fully-qualified Method name. timeout, ok := c.timeouts[s+"."+m] @@ -128,7 +128,7 @@ func ToMillis(d *duration.Duration) int64 { // RequestLimit returns the request limit in bytes and a presence flag for the // given fully-qualified Service and simple Method names. A config assignment -// for a specific Method takes precendence over a Service-level assignment. +// for a specific Method takes precedence over a Service-level assignment. func (c Config) RequestLimit(s, m string) (int, bool) { // Favor the limit defined for a fully-qualified Method name. lim, ok := c.reqLimits[s+"."+m] @@ -143,7 +143,7 @@ func (c Config) RequestLimit(s, m string) (int, bool) { // ResponseLimit returns the response limit in bytes and a presence flag for the // given fully-qualified Service and simple Method names. A config assignment -// for a specific Method takes precendence over a Service-level assignment. +// for a specific Method takes precedence over a Service-level assignment. func (c Config) ResponseLimit(s, m string) (int, bool) { // Favor the limit defined for a fully-qualified Method name. lim, ok := c.resLimits[s+"."+m] diff --git a/internal/grpc_service_config/grpc_service_config.pb.go b/internal/grpc_service_config/grpc_service_config.pb.go index 925cf5154..d1a04ac30 100644 --- a/internal/grpc_service_config/grpc_service_config.pb.go +++ b/internal/grpc_service_config/grpc_service_config.pb.go @@ -150,7 +150,7 @@ type MethodConfig struct { // compression) in bytes. This applies both to streaming and non-streaming // requests. // - // The actual value used is the minumum of the value specified here and the + // The actual value used is the minimum of the value specified here and the // value set by the application via the gRPC client API. If either one is // not set, then the other will be used. If neither is set, then the // built-in default is used. @@ -166,7 +166,7 @@ type MethodConfig struct { // compression) in bytes. This applies both to streaming and non-streaming // requests. // - // The actual value used is the minumum of the value specified here and the + // The actual value used is the minimum of the value specified here and the // value set by the application via the gRPC client API. If either one is // not set, then the other will be used. If neither is set, then the // built-in default is used. diff --git a/internal/grpc_service_config/grpc_service_config.proto b/internal/grpc_service_config/grpc_service_config.proto index 1c9c2dcf1..2b7decfb4 100644 --- a/internal/grpc_service_config/grpc_service_config.proto +++ b/internal/grpc_service_config/grpc_service_config.proto @@ -75,7 +75,7 @@ message MethodConfig { // compression) in bytes. This applies both to streaming and non-streaming // requests. // - // The actual value used is the minumum of the value specified here and the + // The actual value used is the minimum of the value specified here and the // value set by the application via the gRPC client API. If either one is // not set, then the other will be used. If neither is set, then the // built-in default is used. @@ -92,7 +92,7 @@ message MethodConfig { // compression) in bytes. This applies both to streaming and non-streaming // requests. // - // The actual value used is the minumum of the value specified here and the + // The actual value used is the minimum of the value specified here and the // value set by the application via the gRPC client API. If either one is // not set, then the other will be used. If neither is set, then the // built-in default is used. @@ -303,4 +303,4 @@ message ServiceConfig { HealthCheckConfig health_check_config = 5; // next available tag: 6 -} \ No newline at end of file +} diff --git a/internal/snippets/metadata/metadata.pb.go b/internal/snippets/metadata/metadata.pb.go index 20d13e55e..2127412e7 100644 --- a/internal/snippets/metadata/metadata.pb.go +++ b/internal/snippets/metadata/metadata.pb.go @@ -18,9 +18,9 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.26.0 -// protoc v3.19.4 -// source: metadata/metadata.proto +// protoc-gen-go v1.34.1 +// protoc v4.23.4 +// source: internal/snippets/metadata/metadata.proto package metadata @@ -118,11 +118,11 @@ func (x Language) String() string { } func (Language) Descriptor() protoreflect.EnumDescriptor { - return file_metadata_metadata_proto_enumTypes[0].Descriptor() + return file_internal_snippets_metadata_metadata_proto_enumTypes[0].Descriptor() } func (Language) Type() protoreflect.EnumType { - return &file_metadata_metadata_proto_enumTypes[0] + return &file_internal_snippets_metadata_metadata_proto_enumTypes[0] } func (x Language) Number() protoreflect.EnumNumber { @@ -131,7 +131,7 @@ func (x Language) Number() protoreflect.EnumNumber { // Deprecated: Use Language.Descriptor instead. func (Language) EnumDescriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{0} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{0} } // The origin of the snippet. @@ -180,11 +180,11 @@ func (x Snippet_Origin) String() string { } func (Snippet_Origin) Descriptor() protoreflect.EnumDescriptor { - return file_metadata_metadata_proto_enumTypes[1].Descriptor() + return file_internal_snippets_metadata_metadata_proto_enumTypes[1].Descriptor() } func (Snippet_Origin) Type() protoreflect.EnumType { - return &file_metadata_metadata_proto_enumTypes[1] + return &file_internal_snippets_metadata_metadata_proto_enumTypes[1] } func (x Snippet_Origin) Number() protoreflect.EnumNumber { @@ -193,7 +193,7 @@ func (x Snippet_Origin) Number() protoreflect.EnumNumber { // Deprecated: Use Snippet_Origin.Descriptor instead. func (Snippet_Origin) EnumDescriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{1, 0} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{1, 0} } // The type of the segment. @@ -208,7 +208,7 @@ const ( // This corresponds to the sample as determined by the region tags. Snippet_Segment_FULL Snippet_Segment_SegmentType = 1 // A shorter version of the full sample, may not include imports and some - // langauge specific initialization code. This is to be used in contexts + // language specific initialization code. This is to be used in contexts // in which the full aspects of the sample are made clear outside the // code. Snippet_Segment_SHORT Snippet_Segment_SegmentType = 2 @@ -259,11 +259,11 @@ func (x Snippet_Segment_SegmentType) String() string { } func (Snippet_Segment_SegmentType) Descriptor() protoreflect.EnumDescriptor { - return file_metadata_metadata_proto_enumTypes[2].Descriptor() + return file_internal_snippets_metadata_metadata_proto_enumTypes[2].Descriptor() } func (Snippet_Segment_SegmentType) Type() protoreflect.EnumType { - return &file_metadata_metadata_proto_enumTypes[2] + return &file_internal_snippets_metadata_metadata_proto_enumTypes[2] } func (x Snippet_Segment_SegmentType) Number() protoreflect.EnumNumber { @@ -272,7 +272,7 @@ func (x Snippet_Segment_SegmentType) Number() protoreflect.EnumNumber { // Deprecated: Use Snippet_Segment_SegmentType.Descriptor instead. func (Snippet_Segment_SegmentType) EnumDescriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{1, 0, 0} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{1, 0, 0} } // The snippet index for a single client library. @@ -290,7 +290,7 @@ type Index struct { func (x *Index) Reset() { *x = Index{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[0] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -303,7 +303,7 @@ func (x *Index) String() string { func (*Index) ProtoMessage() {} func (x *Index) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[0] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -316,7 +316,7 @@ func (x *Index) ProtoReflect() protoreflect.Message { // Deprecated: Use Index.ProtoReflect.Descriptor instead. func (*Index) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{0} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{0} } func (x *Index) GetClientLibrary() *ClientLibrary { @@ -362,7 +362,7 @@ type Snippet struct { // may be written in F# or VB .NET. // Note that this does not contain information about the snippet supported // platforms or language versions, etc. This is just a quick way to identify - // the generally supported langauge. + // the generally supported language. Language Language `protobuf:"varint,5,opt,name=language,proto3,enum=google.cloud.tools.snippetgen.snippetindex.v1.Language" json:"language,omitempty"` // The client library method this snippet is for. ClientMethod *ClientMethod `protobuf:"bytes,6,opt,name=client_method,json=clientMethod,proto3" json:"client_method,omitempty"` @@ -384,7 +384,7 @@ type Snippet struct { func (x *Snippet) Reset() { *x = Snippet{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[1] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -397,7 +397,7 @@ func (x *Snippet) String() string { func (*Snippet) ProtoMessage() {} func (x *Snippet) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[1] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -410,7 +410,7 @@ func (x *Snippet) ProtoReflect() protoreflect.Message { // Deprecated: Use Snippet.ProtoReflect.Descriptor instead. func (*Snippet) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{1} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{1} } func (x *Snippet) GetRegionTag() string { @@ -500,7 +500,7 @@ type ClientMethod struct { // declaration. Must be empty if the method has no parameters. Parameters []*ClientMethod_Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` // Fully qualified type name of this method result, if any. - ResultType string `protobuf:"bytes,5,opt,name=result_type,json=retTyp,proto3" json:"result_type,omitempty"` + ResultType string `protobuf:"bytes,5,opt,name=result_type,json=resultType,proto3" json:"result_type,omitempty"` // The service client this method is declared in. Client *ServiceClient `protobuf:"bytes,6,opt,name=client,proto3" json:"client,omitempty"` // The service method this client method is for. @@ -510,7 +510,7 @@ type ClientMethod struct { func (x *ClientMethod) Reset() { *x = ClientMethod{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[2] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -523,7 +523,7 @@ func (x *ClientMethod) String() string { func (*ClientMethod) ProtoMessage() {} func (x *ClientMethod) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[2] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -536,7 +536,7 @@ func (x *ClientMethod) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientMethod.ProtoReflect.Descriptor instead. func (*ClientMethod) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{2} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{2} } func (x *ClientMethod) GetShortName() string { @@ -608,7 +608,7 @@ type ServiceClient struct { func (x *ServiceClient) Reset() { *x = ServiceClient{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[3] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -621,7 +621,7 @@ func (x *ServiceClient) String() string { func (*ServiceClient) ProtoMessage() {} func (x *ServiceClient) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[3] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -634,7 +634,7 @@ func (x *ServiceClient) ProtoReflect() protoreflect.Message { // Deprecated: Use ServiceClient.ProtoReflect.Descriptor instead. func (*ServiceClient) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{3} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{3} } func (x *ServiceClient) GetShortName() string { @@ -672,7 +672,7 @@ type ClientLibrary struct { // The programming language the library is written in. // Note that this does not contain information about the library supported // platforms or language versions, etc. This is just a quick way to identify - // the generally supported langauge. + // the generally supported language. Language Language `protobuf:"varint,3,opt,name=language,proto3,enum=google.cloud.tools.snippetgen.snippetindex.v1.Language" json:"language,omitempty"` // The APIs this client library is for. // Some languages bundle several APIs on the same client library. @@ -682,7 +682,7 @@ type ClientLibrary struct { func (x *ClientLibrary) Reset() { *x = ClientLibrary{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[4] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -695,7 +695,7 @@ func (x *ClientLibrary) String() string { func (*ClientLibrary) ProtoMessage() {} func (x *ClientLibrary) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[4] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -708,7 +708,7 @@ func (x *ClientLibrary) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientLibrary.ProtoReflect.Descriptor instead. func (*ClientLibrary) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{4} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{4} } func (x *ClientLibrary) GetName() string { @@ -759,7 +759,7 @@ type Method struct { func (x *Method) Reset() { *x = Method{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[5] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -772,7 +772,7 @@ func (x *Method) String() string { func (*Method) ProtoMessage() {} func (x *Method) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[5] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -785,7 +785,7 @@ func (x *Method) ProtoReflect() protoreflect.Message { // Deprecated: Use Method.ProtoReflect.Descriptor instead. func (*Method) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{5} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{5} } func (x *Method) GetShortName() string { @@ -830,7 +830,7 @@ type Service struct { func (x *Service) Reset() { *x = Service{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[6] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -843,7 +843,7 @@ func (x *Service) String() string { func (*Service) ProtoMessage() {} func (x *Service) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[6] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -856,7 +856,7 @@ func (x *Service) ProtoReflect() protoreflect.Message { // Deprecated: Use Service.ProtoReflect.Descriptor instead. func (*Service) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{6} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{6} } func (x *Service) GetShortName() string { @@ -891,7 +891,7 @@ type Api struct { func (x *Api) Reset() { *x = Api{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[7] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -904,7 +904,7 @@ func (x *Api) String() string { func (*Api) ProtoMessage() {} func (x *Api) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[7] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -917,7 +917,7 @@ func (x *Api) ProtoReflect() protoreflect.Message { // Deprecated: Use Api.ProtoReflect.Descriptor instead. func (*Api) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{7} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{7} } func (x *Api) GetId() string { @@ -953,7 +953,7 @@ type Snippet_Segment struct { func (x *Snippet_Segment) Reset() { *x = Snippet_Segment{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[8] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -966,7 +966,7 @@ func (x *Snippet_Segment) String() string { func (*Snippet_Segment) ProtoMessage() {} func (x *Snippet_Segment) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[8] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -979,7 +979,7 @@ func (x *Snippet_Segment) ProtoReflect() protoreflect.Message { // Deprecated: Use Snippet_Segment.ProtoReflect.Descriptor instead. func (*Snippet_Segment) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{1, 0} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{1, 0} } func (x *Snippet_Segment) GetStart() int32 { @@ -1019,7 +1019,7 @@ type ClientMethod_Parameter struct { func (x *ClientMethod_Parameter) Reset() { *x = ClientMethod_Parameter{} if protoimpl.UnsafeEnabled { - mi := &file_metadata_metadata_proto_msgTypes[9] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1032,7 +1032,7 @@ func (x *ClientMethod_Parameter) String() string { func (*ClientMethod_Parameter) ProtoMessage() {} func (x *ClientMethod_Parameter) ProtoReflect() protoreflect.Message { - mi := &file_metadata_metadata_proto_msgTypes[9] + mi := &file_internal_snippets_metadata_metadata_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1045,7 +1045,7 @@ func (x *ClientMethod_Parameter) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientMethod_Parameter.ProtoReflect.Descriptor instead. func (*ClientMethod_Parameter) Descriptor() ([]byte, []int) { - return file_metadata_metadata_proto_rawDescGZIP(), []int{2, 0} + return file_internal_snippets_metadata_metadata_proto_rawDescGZIP(), []int{2, 0} } func (x *ClientMethod_Parameter) GetType() string { @@ -1062,194 +1062,195 @@ func (x *ClientMethod_Parameter) GetName() string { return "" } -var File_metadata_metadata_proto protoreflect.FileDescriptor +var File_internal_snippets_metadata_metadata_proto protoreflect.FileDescriptor -var file_metadata_metadata_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, - 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x22, 0xc0, 0x01, 0x0a, 0x05, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x12, 0x63, 0x0a, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x62, - 0x72, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, +var file_internal_snippets_metadata_metadata_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x73, 0x6e, 0x69, 0x70, 0x70, + 0x65, 0x74, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, - 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x6e, 0x69, 0x70, 0x70, - 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, - 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, - 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, - 0x74, 0x52, 0x08, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x73, 0x22, 0x8b, 0x07, 0x0a, 0x07, - 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, - 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x12, 0x53, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, - 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6c, - 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, - 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, - 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0c, 0x63, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6e, - 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, - 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x55, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, - 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, - 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x2e, - 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x5a, - 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, - 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, - 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0xb9, 0x02, 0x0a, 0x07, 0x53, - 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, - 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x5e, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4a, 0x2e, 0x67, + 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x22, 0xc0, 0x01, 0x0a, 0x05, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x63, 0x0a, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, - 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6e, 0x69, - 0x70, 0x70, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xa5, - 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, - 0x0a, 0x18, 0x53, 0x45, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, - 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x48, 0x4f, 0x52, 0x54, 0x10, - 0x02, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x49, 0x54, - 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, - 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, - 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x51, 0x55, - 0x45, 0x53, 0x54, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, - 0x15, 0x0a, 0x11, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x5f, 0x48, 0x41, 0x4e, 0x44, - 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x22, 0x51, 0x0a, 0x06, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, - 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x50, 0x49, 0x5f, - 0x44, 0x45, 0x46, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, - 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x41, 0x4e, 0x44, - 0x57, 0x52, 0x49, 0x54, 0x54, 0x45, 0x4e, 0x10, 0x03, 0x22, 0xc2, 0x03, 0x0a, 0x0c, 0x43, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, - 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, - 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, - 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x65, 0x0a, 0x0a, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x6e, 0x69, + 0x70, 0x70, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, + 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, + 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6e, 0x69, 0x70, + 0x70, 0x65, 0x74, 0x52, 0x08, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x73, 0x22, 0x8b, 0x07, + 0x0a, 0x07, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x66, 0x69, 0x6c, 0x65, 0x12, 0x53, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, + 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, + 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x2e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x54, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, - 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x6d, 0x65, - 0x74, 0x68, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, - 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, - 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x1a, 0x33, 0x0a, 0x09, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4b, - 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, - 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xda, 0x01, 0x0a, 0x0d, - 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x08, 0x6c, - 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, - 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, - 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, - 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, - 0x12, 0x46, 0x0a, 0x04, 0x61, 0x70, 0x69, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, + 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0c, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, + 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, + 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x55, 0x0a, 0x06, 0x6f, 0x72, 0x69, + 0x67, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, + 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, + 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, + 0x74, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, + 0x12, 0x5a, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, + 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0xb9, 0x02, 0x0a, + 0x07, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, + 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, + 0x12, 0x5e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, - 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x70, 0x69, 0x52, 0x04, 0x61, 0x70, 0x69, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x06, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x50, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, - 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, - 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x22, 0x45, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x22, 0xa5, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, + 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x48, 0x4f, 0x52, + 0x54, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x49, 0x4e, + 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x1a, + 0x0a, 0x16, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, + 0x4c, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, + 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x10, + 0x05, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x5f, 0x48, 0x41, + 0x4e, 0x44, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x22, 0x51, 0x0a, 0x06, 0x4f, 0x72, 0x69, 0x67, + 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x50, + 0x49, 0x5f, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0a, + 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x41, + 0x4e, 0x44, 0x57, 0x52, 0x49, 0x54, 0x54, 0x45, 0x4e, 0x10, 0x03, 0x22, 0xc2, 0x03, 0x0a, 0x0c, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x03, 0x41, 0x70, 0x69, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2a, 0xef, 0x01, 0x0a, 0x08, 0x4c, 0x61, - 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, - 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x5f, 0x50, 0x4c, 0x55, 0x53, 0x5f, 0x50, 0x4c, 0x55, 0x53, 0x10, - 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x50, 0x10, 0x02, 0x12, 0x08, - 0x0a, 0x04, 0x44, 0x41, 0x52, 0x54, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4c, 0x49, 0x58, - 0x49, 0x52, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x52, 0x4c, 0x41, 0x4e, 0x47, 0x10, 0x05, - 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x50, 0x10, 0x06, 0x12, 0x06, 0x0a, - 0x02, 0x47, 0x4f, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x41, 0x56, 0x41, 0x10, 0x08, 0x12, - 0x0e, 0x0a, 0x0a, 0x4a, 0x41, 0x56, 0x41, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, 0x09, 0x12, - 0x0a, 0x0a, 0x06, 0x4b, 0x4f, 0x54, 0x4c, 0x49, 0x4e, 0x10, 0x0a, 0x12, 0x07, 0x0a, 0x03, 0x50, - 0x48, 0x50, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x59, 0x54, 0x48, 0x4f, 0x4e, 0x10, 0x0c, - 0x12, 0x08, 0x0a, 0x04, 0x52, 0x55, 0x42, 0x59, 0x10, 0x0d, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x55, - 0x53, 0x54, 0x10, 0x0e, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x57, 0x49, 0x46, 0x54, 0x10, 0x0f, 0x12, - 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, 0x10, 0x12, - 0x0a, 0x0a, 0x06, 0x56, 0x42, 0x5f, 0x4e, 0x45, 0x54, 0x10, 0x11, 0x42, 0xe3, 0x01, 0x5a, 0x4c, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2d, 0x67, 0x6f, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x2f, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x3b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xaa, 0x02, 0x2d, 0x47, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x54, 0x6f, 0x6f, 0x6c, - 0x73, 0x2e, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x2e, 0x53, 0x6e, 0x69, - 0x70, 0x70, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x2d, 0x47, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x54, 0x6f, 0x6f, 0x6c, - 0x73, 0x5c, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x5c, 0x53, 0x6e, 0x69, - 0x70, 0x70, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x32, 0x47, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x54, 0x6f, - 0x6f, 0x6c, 0x73, 0x3a, 0x3a, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x3a, - 0x3a, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x3a, 0x56, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x65, + 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, + 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x2e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x54, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, + 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x06, + 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, + 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, + 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, + 0x68, 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x1a, 0x33, 0x0a, 0x09, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x4b, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xda, 0x01, + 0x0a, 0x0d, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, + 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, + 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, 0x2e, + 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, + 0x67, 0x65, 0x12, 0x46, 0x0a, 0x04, 0x61, 0x70, 0x69, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, 0x65, 0x6e, + 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x70, 0x69, 0x52, 0x04, 0x61, 0x70, 0x69, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x06, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x50, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x67, + 0x65, 0x6e, 0x2e, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x22, 0x45, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x03, 0x41, 0x70, + 0x69, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2a, 0xef, 0x01, 0x0a, 0x08, + 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x4e, 0x47, + 0x55, 0x41, 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x5f, 0x50, 0x4c, 0x55, 0x53, 0x5f, 0x50, 0x4c, 0x55, + 0x53, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x50, 0x10, 0x02, + 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x52, 0x54, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4c, + 0x49, 0x58, 0x49, 0x52, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x52, 0x4c, 0x41, 0x4e, 0x47, + 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x50, 0x10, 0x06, 0x12, + 0x06, 0x0a, 0x02, 0x47, 0x4f, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x41, 0x56, 0x41, 0x10, + 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x41, 0x56, 0x41, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, + 0x09, 0x12, 0x0a, 0x0a, 0x06, 0x4b, 0x4f, 0x54, 0x4c, 0x49, 0x4e, 0x10, 0x0a, 0x12, 0x07, 0x0a, + 0x03, 0x50, 0x48, 0x50, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x59, 0x54, 0x48, 0x4f, 0x4e, + 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x55, 0x42, 0x59, 0x10, 0x0d, 0x12, 0x08, 0x0a, 0x04, + 0x52, 0x55, 0x53, 0x54, 0x10, 0x0e, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x57, 0x49, 0x46, 0x54, 0x10, + 0x0f, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, + 0x10, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x42, 0x5f, 0x4e, 0x45, 0x54, 0x10, 0x11, 0x42, 0xe3, 0x01, + 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2d, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2d, 0x67, 0x6f, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x2f, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x73, 0x2f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x3b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xaa, 0x02, + 0x2d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x54, 0x6f, + 0x6f, 0x6c, 0x73, 0x2e, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x2e, 0x53, + 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x2d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x54, 0x6f, + 0x6f, 0x6c, 0x73, 0x5c, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x5c, 0x53, + 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x31, 0xea, 0x02, + 0x32, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, + 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x3a, 0x3a, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x47, 0x65, + 0x6e, 0x3a, 0x3a, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_metadata_metadata_proto_rawDescOnce sync.Once - file_metadata_metadata_proto_rawDescData = file_metadata_metadata_proto_rawDesc + file_internal_snippets_metadata_metadata_proto_rawDescOnce sync.Once + file_internal_snippets_metadata_metadata_proto_rawDescData = file_internal_snippets_metadata_metadata_proto_rawDesc ) -func file_metadata_metadata_proto_rawDescGZIP() []byte { - file_metadata_metadata_proto_rawDescOnce.Do(func() { - file_metadata_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_metadata_metadata_proto_rawDescData) +func file_internal_snippets_metadata_metadata_proto_rawDescGZIP() []byte { + file_internal_snippets_metadata_metadata_proto_rawDescOnce.Do(func() { + file_internal_snippets_metadata_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_snippets_metadata_metadata_proto_rawDescData) }) - return file_metadata_metadata_proto_rawDescData + return file_internal_snippets_metadata_metadata_proto_rawDescData } -var file_metadata_metadata_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_metadata_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_metadata_metadata_proto_goTypes = []interface{}{ +var file_internal_snippets_metadata_metadata_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_internal_snippets_metadata_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_internal_snippets_metadata_metadata_proto_goTypes = []interface{}{ (Language)(0), // 0: google.cloud.tools.snippetgen.snippetindex.v1.Language (Snippet_Origin)(0), // 1: google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Origin (Snippet_Segment_SegmentType)(0), // 2: google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment.SegmentType @@ -1264,7 +1265,7 @@ var file_metadata_metadata_proto_goTypes = []interface{}{ (*Snippet_Segment)(nil), // 11: google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment (*ClientMethod_Parameter)(nil), // 12: google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.Parameter } -var file_metadata_metadata_proto_depIdxs = []int32{ +var file_internal_snippets_metadata_metadata_proto_depIdxs = []int32{ 7, // 0: google.cloud.tools.snippetgen.snippetindex.v1.Index.client_library:type_name -> google.cloud.tools.snippetgen.snippetindex.v1.ClientLibrary 4, // 1: google.cloud.tools.snippetgen.snippetindex.v1.Index.snippets:type_name -> google.cloud.tools.snippetgen.snippetindex.v1.Snippet 0, // 2: google.cloud.tools.snippetgen.snippetindex.v1.Snippet.language:type_name -> google.cloud.tools.snippetgen.snippetindex.v1.Language @@ -1285,13 +1286,13 @@ var file_metadata_metadata_proto_depIdxs = []int32{ 0, // [0:13] is the sub-list for field type_name } -func init() { file_metadata_metadata_proto_init() } -func file_metadata_metadata_proto_init() { - if File_metadata_metadata_proto != nil { +func init() { file_internal_snippets_metadata_metadata_proto_init() } +func file_internal_snippets_metadata_metadata_proto_init() { + if File_internal_snippets_metadata_metadata_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_metadata_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Index); i { case 0: return &v.state @@ -1303,7 +1304,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Snippet); i { case 0: return &v.state @@ -1315,7 +1316,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientMethod); i { case 0: return &v.state @@ -1327,7 +1328,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServiceClient); i { case 0: return &v.state @@ -1339,7 +1340,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientLibrary); i { case 0: return &v.state @@ -1351,7 +1352,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Method); i { case 0: return &v.state @@ -1363,7 +1364,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Service); i { case 0: return &v.state @@ -1375,7 +1376,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Api); i { case 0: return &v.state @@ -1387,7 +1388,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Snippet_Segment); i { case 0: return &v.state @@ -1399,7 +1400,7 @@ func file_metadata_metadata_proto_init() { return nil } } - file_metadata_metadata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_internal_snippets_metadata_metadata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientMethod_Parameter); i { case 0: return &v.state @@ -1416,19 +1417,19 @@ func file_metadata_metadata_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_metadata_metadata_proto_rawDesc, + RawDescriptor: file_internal_snippets_metadata_metadata_proto_rawDesc, NumEnums: 3, NumMessages: 10, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_metadata_metadata_proto_goTypes, - DependencyIndexes: file_metadata_metadata_proto_depIdxs, - EnumInfos: file_metadata_metadata_proto_enumTypes, - MessageInfos: file_metadata_metadata_proto_msgTypes, + GoTypes: file_internal_snippets_metadata_metadata_proto_goTypes, + DependencyIndexes: file_internal_snippets_metadata_metadata_proto_depIdxs, + EnumInfos: file_internal_snippets_metadata_metadata_proto_enumTypes, + MessageInfos: file_internal_snippets_metadata_metadata_proto_msgTypes, }.Build() - File_metadata_metadata_proto = out.File - file_metadata_metadata_proto_rawDesc = nil - file_metadata_metadata_proto_goTypes = nil - file_metadata_metadata_proto_depIdxs = nil + File_internal_snippets_metadata_metadata_proto = out.File + file_internal_snippets_metadata_metadata_proto_rawDesc = nil + file_internal_snippets_metadata_metadata_proto_goTypes = nil + file_internal_snippets_metadata_metadata_proto_depIdxs = nil } diff --git a/internal/snippets/metadata/metadata.proto b/internal/snippets/metadata/metadata.proto index 65ba5ece7..41d00b13d 100644 --- a/internal/snippets/metadata/metadata.proto +++ b/internal/snippets/metadata/metadata.proto @@ -62,7 +62,7 @@ message Snippet { // may be written in F# or VB .NET. // Note that this does not contain information about the snippet supported // platforms or language versions, etc. This is just a quick way to identify - // the generally supported langauge. + // the generally supported language. Language language = 5; // The client library method this snippet is for. @@ -129,7 +129,7 @@ message Snippet { FULL = 1; // A shorter version of the full sample, may not include imports and some - // langauge specific initialization code. This is to be used in contexts + // language specific initialization code. This is to be used in contexts // in which the full aspects of the sample are made clear outside the // code. SHORT = 2; @@ -229,7 +229,7 @@ message ClientLibrary { // The programming language the library is written in. // Note that this does not contain information about the library supported // platforms or language versions, etc. This is just a quick way to identify - // the generally supported langauge. + // the generally supported language. Language language = 3; // The APIs this client library is for. @@ -317,4 +317,4 @@ enum Language { TYPESCRIPT = 16; VB_NET = 17; -} \ No newline at end of file +}