// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/billing/v1/sku_service.proto

package billing

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type GetSkuRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the SKU to return.
	// To get the SKU ID, use [SkuService.List] request.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Currency of the SKU.
	// Can be one of the following:
	// * `RUB`
	// * `USD`
	// * `KZT`
	Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
	// Optional ID of the billing account.
	// If specified, contract prices for a particular billing account are included in the response.
	// To get the billing account ID, use [BillingAccountService.List] request.
	BillingAccountId string `protobuf:"bytes,3,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *GetSkuRequest) Reset() {
	*x = GetSkuRequest{}
	mi := &file_yandex_cloud_billing_v1_sku_service_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetSkuRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetSkuRequest) ProtoMessage() {}

func (x *GetSkuRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_billing_v1_sku_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetSkuRequest.ProtoReflect.Descriptor instead.
func (*GetSkuRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_billing_v1_sku_service_proto_rawDescGZIP(), []int{0}
}

func (x *GetSkuRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *GetSkuRequest) GetCurrency() string {
	if x != nil {
		return x.Currency
	}
	return ""
}

func (x *GetSkuRequest) GetBillingAccountId() string {
	if x != nil {
		return x.BillingAccountId
	}
	return ""
}

type ListSkusRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Currency of the prices.
	// Can be one of the following:
	// * `RUB`
	// * `USD`
	// * `KZT`
	Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	// Optional ID of the billing account.
	// If specified, contract prices for a particular billing account are included in the response.
	// To get the billing account ID, use [BillingAccountService.List] request.
	BillingAccountId string `protobuf:"bytes,2,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Sku.id] and [yandex.cloud.billing.v1.Sku.service_id] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	// E.g. `filter=serviceId="dn28hpu6268356q0j8mk"`.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListSkusResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results,
	// set [page_token] to the [ListSkusResponse.next_page_token]
	// returned by a previous list request.
	PageToken     string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSkusRequest) Reset() {
	*x = ListSkusRequest{}
	mi := &file_yandex_cloud_billing_v1_sku_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListSkusRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListSkusRequest) ProtoMessage() {}

func (x *ListSkusRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_billing_v1_sku_service_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListSkusRequest.ProtoReflect.Descriptor instead.
func (*ListSkusRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_billing_v1_sku_service_proto_rawDescGZIP(), []int{1}
}

func (x *ListSkusRequest) GetCurrency() string {
	if x != nil {
		return x.Currency
	}
	return ""
}

func (x *ListSkusRequest) GetBillingAccountId() string {
	if x != nil {
		return x.BillingAccountId
	}
	return ""
}

func (x *ListSkusRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

func (x *ListSkusRequest) GetPageSize() int64 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListSkusRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

type ListSkusResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of skus.
	Skus []*Sku `protobuf:"bytes,1,rep,name=skus,proto3" json:"skus,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListSkusRequest.page_size], use
	// [next_page_token] as the value
	// for the [ListSkusRequest.page_token] query parameter
	// in the next list request. Each subsequent list request will have its own
	// [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSkusResponse) Reset() {
	*x = ListSkusResponse{}
	mi := &file_yandex_cloud_billing_v1_sku_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListSkusResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListSkusResponse) ProtoMessage() {}

func (x *ListSkusResponse) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_billing_v1_sku_service_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListSkusResponse.ProtoReflect.Descriptor instead.
func (*ListSkusResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_billing_v1_sku_service_proto_rawDescGZIP(), []int{2}
}

func (x *ListSkusResponse) GetSkus() []*Sku {
	if x != nil {
		return x.Skus
	}
	return nil
}

func (x *ListSkusResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

var File_yandex_cloud_billing_v1_sku_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_billing_v1_sku_service_proto_rawDesc = "" +
	"\n" +
	")yandex/cloud/billing/v1/sku_service.proto\x12\x17yandex.cloud.billing.v1\x1a\x1cgoogle/api/annotations.proto\x1a!yandex/cloud/billing/v1/sku.proto\x1a\x1dyandex/cloud/validation.proto\"}\n" +
	"\rGetSkuRequest\x12\x1c\n" +
	"\x02id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x02id\x12 \n" +
	"\bcurrency\x18\x02 \x01(\tB\x04\xe8\xc71\x01R\bcurrency\x12,\n" +
	"\x12billing_account_id\x18\x03 \x01(\tR\x10billingAccountId\"\xd8\x01\n" +
	"\x0fListSkusRequest\x12 \n" +
	"\bcurrency\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bcurrency\x12,\n" +
	"\x12billing_account_id\x18\x02 \x01(\tR\x10billingAccountId\x12\"\n" +
	"\x06filter\x18\x03 \x01(\tB\n" +
	"\x8a\xc81\x06<=1000R\x06filter\x12'\n" +
	"\tpage_size\x18\x04 \x01(\x03B\n" +
	"\xfa\xc71\x06<=1000R\bpageSize\x12(\n" +
	"\n" +
	"page_token\x18\x05 \x01(\tB\t\x8a\xc81\x05<=100R\tpageToken\"l\n" +
	"\x10ListSkusResponse\x120\n" +
	"\x04skus\x18\x01 \x03(\v2\x1c.yandex.cloud.billing.v1.SkuR\x04skus\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\xef\x01\n" +
	"\n" +
	"SkuService\x12j\n" +
	"\x03Get\x12&.yandex.cloud.billing.v1.GetSkuRequest\x1a\x1c.yandex.cloud.billing.v1.Sku\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/billing/v1/skus/{id}\x12u\n" +
	"\x04List\x12(.yandex.cloud.billing.v1.ListSkusRequest\x1a).yandex.cloud.billing.v1.ListSkusResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/billing/v1/skusBb\n" +
	"\x1byandex.cloud.api.billing.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/billing/v1;billingb\x06proto3"

var (
	file_yandex_cloud_billing_v1_sku_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_billing_v1_sku_service_proto_rawDescData []byte
)

func file_yandex_cloud_billing_v1_sku_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_billing_v1_sku_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_billing_v1_sku_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_billing_v1_sku_service_proto_rawDesc), len(file_yandex_cloud_billing_v1_sku_service_proto_rawDesc)))
	})
	return file_yandex_cloud_billing_v1_sku_service_proto_rawDescData
}

var file_yandex_cloud_billing_v1_sku_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_billing_v1_sku_service_proto_goTypes = []any{
	(*GetSkuRequest)(nil),    // 0: yandex.cloud.billing.v1.GetSkuRequest
	(*ListSkusRequest)(nil),  // 1: yandex.cloud.billing.v1.ListSkusRequest
	(*ListSkusResponse)(nil), // 2: yandex.cloud.billing.v1.ListSkusResponse
	(*Sku)(nil),              // 3: yandex.cloud.billing.v1.Sku
}
var file_yandex_cloud_billing_v1_sku_service_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.billing.v1.ListSkusResponse.skus:type_name -> yandex.cloud.billing.v1.Sku
	0, // 1: yandex.cloud.billing.v1.SkuService.Get:input_type -> yandex.cloud.billing.v1.GetSkuRequest
	1, // 2: yandex.cloud.billing.v1.SkuService.List:input_type -> yandex.cloud.billing.v1.ListSkusRequest
	3, // 3: yandex.cloud.billing.v1.SkuService.Get:output_type -> yandex.cloud.billing.v1.Sku
	2, // 4: yandex.cloud.billing.v1.SkuService.List:output_type -> yandex.cloud.billing.v1.ListSkusResponse
	3, // [3:5] is the sub-list for method output_type
	1, // [1:3] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_yandex_cloud_billing_v1_sku_service_proto_init() }
func file_yandex_cloud_billing_v1_sku_service_proto_init() {
	if File_yandex_cloud_billing_v1_sku_service_proto != nil {
		return
	}
	file_yandex_cloud_billing_v1_sku_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_billing_v1_sku_service_proto_rawDesc), len(file_yandex_cloud_billing_v1_sku_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_billing_v1_sku_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_billing_v1_sku_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_billing_v1_sku_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_billing_v1_sku_service_proto = out.File
	file_yandex_cloud_billing_v1_sku_service_proto_goTypes = nil
	file_yandex_cloud_billing_v1_sku_service_proto_depIdxs = nil
}
