You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/internal/gen/controller/api/services/list.pb.go

612 lines
23 KiB

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: controller/api/services/v1/list.proto
package services
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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)
)
// ResourceType represents the different list
// endpoint resource types supported.
type ResourceType int32
const (
ResourceType_RESOURCE_TYPE_UNSPECIFIED ResourceType = 0
ResourceType_RESOURCE_TYPE_ACCOUNT ResourceType = 1
ResourceType_RESOURCE_TYPE_AUTH_METHOD ResourceType = 2
ResourceType_RESOURCE_TYPE_AUTH_TOKEN ResourceType = 3
ResourceType_RESOURCE_TYPE_CREDENTIAL ResourceType = 4
ResourceType_RESOURCE_TYPE_CREDENTIAL_LIBRARY ResourceType = 5
ResourceType_RESOURCE_TYPE_CREDENTIAL_STORE ResourceType = 6
ResourceType_RESOURCE_TYPE_GROUP ResourceType = 7
ResourceType_RESOURCE_TYPE_HOST ResourceType = 8
ResourceType_RESOURCE_TYPE_HOST_CATALOG ResourceType = 9
ResourceType_RESOURCE_TYPE_HOST_SET ResourceType = 10
ResourceType_RESOURCE_TYPE_MANAGED_GROUP ResourceType = 11
ResourceType_RESOURCE_TYPE_ROLE ResourceType = 12
ResourceType_RESOURCE_TYPE_SCOPE ResourceType = 13
ResourceType_RESOURCE_TYPE_SESSION ResourceType = 14
ResourceType_RESOURCE_TYPE_SESSION_RECORDING ResourceType = 15
ResourceType_RESOURCE_TYPE_STORAGE_BUCKET ResourceType = 16
ResourceType_RESOURCE_TYPE_TARGET ResourceType = 17
ResourceType_RESOURCE_TYPE_USER ResourceType = 18
ResourceType_RESOURCE_TYPE_WORKER ResourceType = 19
ResourceType_RESOURCE_TYPE_POLICY ResourceType = 20
ResourceType_RESOURCE_TYPE_ALIAS ResourceType = 21
)
// Enum value maps for ResourceType.
var (
ResourceType_name = map[int32]string{
0: "RESOURCE_TYPE_UNSPECIFIED",
1: "RESOURCE_TYPE_ACCOUNT",
2: "RESOURCE_TYPE_AUTH_METHOD",
3: "RESOURCE_TYPE_AUTH_TOKEN",
4: "RESOURCE_TYPE_CREDENTIAL",
5: "RESOURCE_TYPE_CREDENTIAL_LIBRARY",
6: "RESOURCE_TYPE_CREDENTIAL_STORE",
7: "RESOURCE_TYPE_GROUP",
8: "RESOURCE_TYPE_HOST",
9: "RESOURCE_TYPE_HOST_CATALOG",
10: "RESOURCE_TYPE_HOST_SET",
11: "RESOURCE_TYPE_MANAGED_GROUP",
12: "RESOURCE_TYPE_ROLE",
13: "RESOURCE_TYPE_SCOPE",
14: "RESOURCE_TYPE_SESSION",
15: "RESOURCE_TYPE_SESSION_RECORDING",
16: "RESOURCE_TYPE_STORAGE_BUCKET",
17: "RESOURCE_TYPE_TARGET",
18: "RESOURCE_TYPE_USER",
19: "RESOURCE_TYPE_WORKER",
20: "RESOURCE_TYPE_POLICY",
21: "RESOURCE_TYPE_ALIAS",
}
ResourceType_value = map[string]int32{
"RESOURCE_TYPE_UNSPECIFIED": 0,
"RESOURCE_TYPE_ACCOUNT": 1,
"RESOURCE_TYPE_AUTH_METHOD": 2,
"RESOURCE_TYPE_AUTH_TOKEN": 3,
"RESOURCE_TYPE_CREDENTIAL": 4,
"RESOURCE_TYPE_CREDENTIAL_LIBRARY": 5,
"RESOURCE_TYPE_CREDENTIAL_STORE": 6,
"RESOURCE_TYPE_GROUP": 7,
"RESOURCE_TYPE_HOST": 8,
"RESOURCE_TYPE_HOST_CATALOG": 9,
"RESOURCE_TYPE_HOST_SET": 10,
"RESOURCE_TYPE_MANAGED_GROUP": 11,
"RESOURCE_TYPE_ROLE": 12,
"RESOURCE_TYPE_SCOPE": 13,
"RESOURCE_TYPE_SESSION": 14,
"RESOURCE_TYPE_SESSION_RECORDING": 15,
"RESOURCE_TYPE_STORAGE_BUCKET": 16,
"RESOURCE_TYPE_TARGET": 17,
"RESOURCE_TYPE_USER": 18,
"RESOURCE_TYPE_WORKER": 19,
"RESOURCE_TYPE_POLICY": 20,
"RESOURCE_TYPE_ALIAS": 21,
}
)
func (x ResourceType) Enum() *ResourceType {
p := new(ResourceType)
*p = x
return p
}
func (x ResourceType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ResourceType) Descriptor() protoreflect.EnumDescriptor {
return file_controller_api_services_v1_list_proto_enumTypes[0].Descriptor()
}
func (ResourceType) Type() protoreflect.EnumType {
return &file_controller_api_services_v1_list_proto_enumTypes[0]
}
func (x ResourceType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) EnumDescriptor() ([]byte, []int) {
return file_controller_api_services_v1_list_proto_rawDescGZIP(), []int{0}
}
// ListToken is used to maintain state
// between list endpoint invocations. It
// is never exposed to the user directly,
// only in its marshaled form.
type ListToken struct {
state protoimpl.MessageState `protogen:"open.v1"`
// when the token was created
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// the resource type listed
ResourceType ResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=controller.api.services.v1.ResourceType" json:"resource_type,omitempty"`
// A hash of the users permissions
// at the time of the token issuing.
GrantsHash []byte `protobuf:"bytes,3,opt,name=grants_hash,json=grantsHash,proto3" json:"grants_hash,omitempty"`
// The subtype of the token. It changes
// between different stages of the pagination.
//
// Types that are valid to be assigned to Token:
//
// *ListToken_PaginationToken
// *ListToken_StartRefreshToken
// *ListToken_RefreshToken
Token isListToken_Token `protobuf_oneof:"token"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListToken) Reset() {
*x = ListToken{}
mi := &file_controller_api_services_v1_list_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListToken) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListToken) ProtoMessage() {}
func (x *ListToken) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_list_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 ListToken.ProtoReflect.Descriptor instead.
func (*ListToken) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_list_proto_rawDescGZIP(), []int{0}
}
func (x *ListToken) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *ListToken) GetResourceType() ResourceType {
if x != nil {
return x.ResourceType
}
return ResourceType_RESOURCE_TYPE_UNSPECIFIED
}
func (x *ListToken) GetGrantsHash() []byte {
if x != nil {
return x.GrantsHash
}
return nil
}
func (x *ListToken) GetToken() isListToken_Token {
if x != nil {
return x.Token
}
return nil
}
func (x *ListToken) GetPaginationToken() *PaginationToken {
if x != nil {
if x, ok := x.Token.(*ListToken_PaginationToken); ok {
return x.PaginationToken
}
}
return nil
}
func (x *ListToken) GetStartRefreshToken() *StartRefreshToken {
if x != nil {
if x, ok := x.Token.(*ListToken_StartRefreshToken); ok {
return x.StartRefreshToken
}
}
return nil
}
func (x *ListToken) GetRefreshToken() *RefreshToken {
if x != nil {
if x, ok := x.Token.(*ListToken_RefreshToken); ok {
return x.RefreshToken
}
}
return nil
}
type isListToken_Token interface {
isListToken_Token()
}
type ListToken_PaginationToken struct {
// Set for any responses from the initial pagination phase,
// except the last.
PaginationToken *PaginationToken `protobuf:"bytes,4,opt,name=pagination_token,json=paginationToken,proto3,oneof"`
}
type ListToken_StartRefreshToken struct {
// Set for the final response of either phase to indicate the next request
// will be a new refresh pagination phase.
StartRefreshToken *StartRefreshToken `protobuf:"bytes,5,opt,name=start_refresh_token,json=startRefreshToken,proto3,oneof"`
}
type ListToken_RefreshToken struct {
// Set in any response from a refresh phase pagination,
// except the last.
RefreshToken *RefreshToken `protobuf:"bytes,6,opt,name=refresh_token,json=refreshToken,proto3,oneof"`
}
func (*ListToken_PaginationToken) isListToken_Token() {}
func (*ListToken_StartRefreshToken) isListToken_Token() {}
func (*ListToken_RefreshToken) isListToken_Token() {}
// PaginationToken describes the list token subtype
// used during the initial pagination phase.
type PaginationToken struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The public ID of the last item that was included
// in the page which this token was returned with.
LastItemId string `protobuf:"bytes,1,opt,name=last_item_id,json=lastItemId,proto3" json:"last_item_id,omitempty"`
// The create time of the last item that was included
// in the page which this token was returned with.
LastItemCreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_item_create_time,json=lastItemCreateTime,proto3" json:"last_item_create_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PaginationToken) Reset() {
*x = PaginationToken{}
mi := &file_controller_api_services_v1_list_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PaginationToken) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PaginationToken) ProtoMessage() {}
func (x *PaginationToken) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_list_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 PaginationToken.ProtoReflect.Descriptor instead.
func (*PaginationToken) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_list_proto_rawDescGZIP(), []int{1}
}
func (x *PaginationToken) GetLastItemId() string {
if x != nil {
return x.LastItemId
}
return ""
}
func (x *PaginationToken) GetLastItemCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.LastItemCreateTime
}
return nil
}
// StartRefreshToken describes the list token subtype
// used at the end of any pagination phase, both the
// initial and any refresh phases.
type StartRefreshToken struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The end time of the phase previous to this one,
// which should be used as the lower bound for the
// new refresh phase.
PreviousPhaseUpperBound *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=previous_phase_upper_bound,json=previousPhaseUpperBound,proto3" json:"previous_phase_upper_bound,omitempty"`
// The timestamp of the transaction that last listed the deleted IDs,
// for use as a lower bound in the next deleted IDs list.
PreviousDeletedIdsTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=previous_deleted_ids_time,json=previousDeletedIdsTime,proto3" json:"previous_deleted_ids_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StartRefreshToken) Reset() {
*x = StartRefreshToken{}
mi := &file_controller_api_services_v1_list_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StartRefreshToken) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StartRefreshToken) ProtoMessage() {}
func (x *StartRefreshToken) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_list_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 StartRefreshToken.ProtoReflect.Descriptor instead.
func (*StartRefreshToken) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_list_proto_rawDescGZIP(), []int{2}
}
func (x *StartRefreshToken) GetPreviousPhaseUpperBound() *timestamppb.Timestamp {
if x != nil {
return x.PreviousPhaseUpperBound
}
return nil
}
func (x *StartRefreshToken) GetPreviousDeletedIdsTime() *timestamppb.Timestamp {
if x != nil {
return x.PreviousDeletedIdsTime
}
return nil
}
// RefreshToken describes the list token subtype used
// between pages in a refresh pagination phase.
type RefreshToken struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The upper bound for the timestamp comparisons in
// this refresh phase. This is equal to the time that
// the first request in this phase was processed.
// Constant for the lifetime of the refresh phase.
PhaseUpperBound *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=phase_upper_bound,json=phaseUpperBound,proto3" json:"phase_upper_bound,omitempty"`
// The lower bound for the timestamp comparisons in
// this refresh phase. This is equal to the initial
// create time of the token if the previous phase was
// the initial pagination phase, or the upper bound of
// the previous refresh phase otherwise.
// Constant for the lifetime of the refresh phase.
PhaseLowerBound *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=phase_lower_bound,json=phaseLowerBound,proto3" json:"phase_lower_bound,omitempty"`
// The timestamp of the transaction that last listed the deleted IDs,
// for use as a lower bound in the next deleted IDs list.
PreviousDeletedIdsTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=previous_deleted_ids_time,json=previousDeletedIdsTime,proto3" json:"previous_deleted_ids_time,omitempty"`
// The public ID of the last item that was included
// in the page which this token was returned with.
LastItemId string `protobuf:"bytes,4,opt,name=last_item_id,json=lastItemId,proto3" json:"last_item_id,omitempty"`
// The update time of the last item that was included
// in the page which this token was returned with.
LastItemUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_item_update_time,json=lastItemUpdateTime,proto3" json:"last_item_update_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RefreshToken) Reset() {
*x = RefreshToken{}
mi := &file_controller_api_services_v1_list_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RefreshToken) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RefreshToken) ProtoMessage() {}
func (x *RefreshToken) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_list_proto_msgTypes[3]
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 RefreshToken.ProtoReflect.Descriptor instead.
func (*RefreshToken) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_list_proto_rawDescGZIP(), []int{3}
}
func (x *RefreshToken) GetPhaseUpperBound() *timestamppb.Timestamp {
if x != nil {
return x.PhaseUpperBound
}
return nil
}
func (x *RefreshToken) GetPhaseLowerBound() *timestamppb.Timestamp {
if x != nil {
return x.PhaseLowerBound
}
return nil
}
func (x *RefreshToken) GetPreviousDeletedIdsTime() *timestamppb.Timestamp {
if x != nil {
return x.PreviousDeletedIdsTime
}
return nil
}
func (x *RefreshToken) GetLastItemId() string {
if x != nil {
return x.LastItemId
}
return ""
}
func (x *RefreshToken) GetLastItemUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.LastItemUpdateTime
}
return nil
}
var File_controller_api_services_v1_list_proto protoreflect.FileDescriptor
const file_controller_api_services_v1_list_proto_rawDesc = "" +
"\n" +
"%controller/api/services/v1/list.proto\x12\x1acontroller.api.services.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcd\x03\n" +
"\tListToken\x12;\n" +
"\vcreate_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
"createTime\x12M\n" +
"\rresource_type\x18\x02 \x01(\x0e2(.controller.api.services.v1.ResourceTypeR\fresourceType\x12\x1f\n" +
"\vgrants_hash\x18\x03 \x01(\fR\n" +
"grantsHash\x12X\n" +
"\x10pagination_token\x18\x04 \x01(\v2+.controller.api.services.v1.PaginationTokenH\x00R\x0fpaginationToken\x12_\n" +
"\x13start_refresh_token\x18\x05 \x01(\v2-.controller.api.services.v1.StartRefreshTokenH\x00R\x11startRefreshToken\x12O\n" +
"\rrefresh_token\x18\x06 \x01(\v2(.controller.api.services.v1.RefreshTokenH\x00R\frefreshTokenB\a\n" +
"\x05token\"\x82\x01\n" +
"\x0fPaginationToken\x12 \n" +
"\flast_item_id\x18\x01 \x01(\tR\n" +
"lastItemId\x12M\n" +
"\x15last_item_create_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x12lastItemCreateTime\"\xc3\x01\n" +
"\x11StartRefreshToken\x12W\n" +
"\x1aprevious_phase_upper_bound\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x17previousPhaseUpperBound\x12U\n" +
"\x19previous_deleted_ids_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x16previousDeletedIdsTime\"\xe6\x02\n" +
"\fRefreshToken\x12F\n" +
"\x11phase_upper_bound\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x0fphaseUpperBound\x12F\n" +
"\x11phase_lower_bound\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x0fphaseLowerBound\x12U\n" +
"\x19previous_deleted_ids_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x16previousDeletedIdsTime\x12 \n" +
"\flast_item_id\x18\x04 \x01(\tR\n" +
"lastItemId\x12M\n" +
"\x15last_item_update_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x12lastItemUpdateTime*\x8d\x05\n" +
"\fResourceType\x12\x1d\n" +
"\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x19\n" +
"\x15RESOURCE_TYPE_ACCOUNT\x10\x01\x12\x1d\n" +
"\x19RESOURCE_TYPE_AUTH_METHOD\x10\x02\x12\x1c\n" +
"\x18RESOURCE_TYPE_AUTH_TOKEN\x10\x03\x12\x1c\n" +
"\x18RESOURCE_TYPE_CREDENTIAL\x10\x04\x12$\n" +
" RESOURCE_TYPE_CREDENTIAL_LIBRARY\x10\x05\x12\"\n" +
"\x1eRESOURCE_TYPE_CREDENTIAL_STORE\x10\x06\x12\x17\n" +
"\x13RESOURCE_TYPE_GROUP\x10\a\x12\x16\n" +
"\x12RESOURCE_TYPE_HOST\x10\b\x12\x1e\n" +
"\x1aRESOURCE_TYPE_HOST_CATALOG\x10\t\x12\x1a\n" +
"\x16RESOURCE_TYPE_HOST_SET\x10\n" +
"\x12\x1f\n" +
"\x1bRESOURCE_TYPE_MANAGED_GROUP\x10\v\x12\x16\n" +
"\x12RESOURCE_TYPE_ROLE\x10\f\x12\x17\n" +
"\x13RESOURCE_TYPE_SCOPE\x10\r\x12\x19\n" +
"\x15RESOURCE_TYPE_SESSION\x10\x0e\x12#\n" +
"\x1fRESOURCE_TYPE_SESSION_RECORDING\x10\x0f\x12 \n" +
"\x1cRESOURCE_TYPE_STORAGE_BUCKET\x10\x10\x12\x18\n" +
"\x14RESOURCE_TYPE_TARGET\x10\x11\x12\x16\n" +
"\x12RESOURCE_TYPE_USER\x10\x12\x12\x18\n" +
"\x14RESOURCE_TYPE_WORKER\x10\x13\x12\x18\n" +
"\x14RESOURCE_TYPE_POLICY\x10\x14\x12\x17\n" +
"\x13RESOURCE_TYPE_ALIAS\x10\x15BMZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3"
var (
file_controller_api_services_v1_list_proto_rawDescOnce sync.Once
file_controller_api_services_v1_list_proto_rawDescData []byte
)
func file_controller_api_services_v1_list_proto_rawDescGZIP() []byte {
file_controller_api_services_v1_list_proto_rawDescOnce.Do(func() {
file_controller_api_services_v1_list_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_list_proto_rawDesc), len(file_controller_api_services_v1_list_proto_rawDesc)))
})
return file_controller_api_services_v1_list_proto_rawDescData
}
var file_controller_api_services_v1_list_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_controller_api_services_v1_list_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_controller_api_services_v1_list_proto_goTypes = []any{
(ResourceType)(0), // 0: controller.api.services.v1.ResourceType
(*ListToken)(nil), // 1: controller.api.services.v1.ListToken
(*PaginationToken)(nil), // 2: controller.api.services.v1.PaginationToken
(*StartRefreshToken)(nil), // 3: controller.api.services.v1.StartRefreshToken
(*RefreshToken)(nil), // 4: controller.api.services.v1.RefreshToken
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
}
var file_controller_api_services_v1_list_proto_depIdxs = []int32{
5, // 0: controller.api.services.v1.ListToken.create_time:type_name -> google.protobuf.Timestamp
0, // 1: controller.api.services.v1.ListToken.resource_type:type_name -> controller.api.services.v1.ResourceType
2, // 2: controller.api.services.v1.ListToken.pagination_token:type_name -> controller.api.services.v1.PaginationToken
3, // 3: controller.api.services.v1.ListToken.start_refresh_token:type_name -> controller.api.services.v1.StartRefreshToken
4, // 4: controller.api.services.v1.ListToken.refresh_token:type_name -> controller.api.services.v1.RefreshToken
5, // 5: controller.api.services.v1.PaginationToken.last_item_create_time:type_name -> google.protobuf.Timestamp
5, // 6: controller.api.services.v1.StartRefreshToken.previous_phase_upper_bound:type_name -> google.protobuf.Timestamp
5, // 7: controller.api.services.v1.StartRefreshToken.previous_deleted_ids_time:type_name -> google.protobuf.Timestamp
5, // 8: controller.api.services.v1.RefreshToken.phase_upper_bound:type_name -> google.protobuf.Timestamp
5, // 9: controller.api.services.v1.RefreshToken.phase_lower_bound:type_name -> google.protobuf.Timestamp
5, // 10: controller.api.services.v1.RefreshToken.previous_deleted_ids_time:type_name -> google.protobuf.Timestamp
5, // 11: controller.api.services.v1.RefreshToken.last_item_update_time:type_name -> google.protobuf.Timestamp
12, // [12:12] is the sub-list for method output_type
12, // [12:12] is the sub-list for method input_type
12, // [12:12] is the sub-list for extension type_name
12, // [12:12] is the sub-list for extension extendee
0, // [0:12] is the sub-list for field type_name
}
func init() { file_controller_api_services_v1_list_proto_init() }
func file_controller_api_services_v1_list_proto_init() {
if File_controller_api_services_v1_list_proto != nil {
return
}
file_controller_api_services_v1_list_proto_msgTypes[0].OneofWrappers = []any{
(*ListToken_PaginationToken)(nil),
(*ListToken_StartRefreshToken)(nil),
(*ListToken_RefreshToken)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_list_proto_rawDesc), len(file_controller_api_services_v1_list_proto_rawDesc)),
NumEnums: 1,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_controller_api_services_v1_list_proto_goTypes,
DependencyIndexes: file_controller_api_services_v1_list_proto_depIdxs,
EnumInfos: file_controller_api_services_v1_list_proto_enumTypes,
MessageInfos: file_controller_api_services_v1_list_proto_msgTypes,
}.Build()
File_controller_api_services_v1_list_proto = out.File
file_controller_api_services_v1_list_proto_goTypes = nil
file_controller_api_services_v1_list_proto_depIdxs = nil
}