package Ydb_ObjectStorage

import "github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_ObjectStorage"

Index

Variables

var (
	ListingRequest_EMatchType_name = map[int32]string{
		0: "EQUAL",
		1: "NOT_EQUAL",
	}
	ListingRequest_EMatchType_value = map[string]int32{
		"EQUAL":     0,
		"NOT_EQUAL": 1,
	}
)

Enum value maps for ListingRequest_EMatchType.

var File_draft_protos_ydb_object_storage_proto protoreflect.FileDescriptor

Types

type ListingRequest

type ListingRequest struct {
	TableName           string          `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	KeyPrefix           *Ydb.TypedValue `protobuf:"bytes,2,opt,name=key_prefix,json=keyPrefix,proto3" json:"key_prefix,omitempty"` // A tuple representing all key columns that preceed path column
	PathColumnPrefix    string          `protobuf:"bytes,3,opt,name=path_column_prefix,json=pathColumnPrefix,proto3" json:"path_column_prefix,omitempty"`
	PathColumnDelimiter string          `protobuf:"bytes,4,opt,name=path_column_delimiter,json=pathColumnDelimiter,proto3" json:"path_column_delimiter,omitempty"`
	ContinuationToken   []byte          `protobuf:"bytes,5,opt,name=continuation_token,json=continuationToken,proto3" json:"continuation_token,omitempty"`
	StartAfterKeySuffix *Ydb.TypedValue `protobuf:"bytes,6,opt,name=start_after_key_suffix,json=startAfterKeySuffix,proto3" json:"start_after_key_suffix,omitempty"` // A tuple representing key columns that succeed path column
	MaxKeys             int32           `protobuf:"varint,7,opt,name=max_keys,json=maxKeys,proto3" json:"max_keys,omitempty"`
	ColumnsToReturn     []string        `protobuf:"bytes,8,rep,name=columns_to_return,json=columnsToReturn,proto3" json:"columns_to_return,omitempty"`
	MatchingFilter      *Ydb.TypedValue `protobuf:"bytes,10,opt,name=matching_filter,json=matchingFilter,proto3" json:"matching_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListingRequest) Descriptor

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

Deprecated: Use ListingRequest.ProtoReflect.Descriptor instead.

func (*ListingRequest) GetColumnsToReturn

func (x *ListingRequest) GetColumnsToReturn() []string

func (*ListingRequest) GetContinuationToken

func (x *ListingRequest) GetContinuationToken() []byte

func (*ListingRequest) GetKeyPrefix

func (x *ListingRequest) GetKeyPrefix() *Ydb.TypedValue

func (*ListingRequest) GetMatchingFilter

func (x *ListingRequest) GetMatchingFilter() *Ydb.TypedValue

func (*ListingRequest) GetMaxKeys

func (x *ListingRequest) GetMaxKeys() int32

func (*ListingRequest) GetPathColumnDelimiter

func (x *ListingRequest) GetPathColumnDelimiter() string

func (*ListingRequest) GetPathColumnPrefix

func (x *ListingRequest) GetPathColumnPrefix() string

func (*ListingRequest) GetStartAfterKeySuffix

func (x *ListingRequest) GetStartAfterKeySuffix() *Ydb.TypedValue

func (*ListingRequest) GetTableName

func (x *ListingRequest) GetTableName() string

func (*ListingRequest) ProtoMessage

func (*ListingRequest) ProtoMessage()

func (*ListingRequest) ProtoReflect

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

func (*ListingRequest) Reset

func (x *ListingRequest) Reset()

func (*ListingRequest) String

func (x *ListingRequest) String() string

type ListingRequest_EMatchType

type ListingRequest_EMatchType int32
const (
	ListingRequest_EQUAL     ListingRequest_EMatchType = 0
	ListingRequest_NOT_EQUAL ListingRequest_EMatchType = 1
)

func (ListingRequest_EMatchType) Descriptor

func (ListingRequest_EMatchType) Enum

func (ListingRequest_EMatchType) EnumDescriptor

func (ListingRequest_EMatchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListingRequest_EMatchType.Descriptor instead.

func (ListingRequest_EMatchType) Number

func (ListingRequest_EMatchType) String

func (x ListingRequest_EMatchType) String() string

func (ListingRequest_EMatchType) Type

type ListingResponse

type ListingResponse struct {
	Status                Ydb.StatusIds_StatusCode  `protobuf:"varint,1,opt,name=status,proto3,enum=Ydb.StatusIds_StatusCode" json:"status,omitempty"`
	Issues                []*Ydb_Issue.IssueMessage `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
	CommonPrefixes        []string                  `protobuf:"bytes,3,rep,name=common_prefixes,json=commonPrefixes,proto3" json:"common_prefixes,omitempty"` // Folders.
	Contents              *Ydb.ResultSet            `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`                                   // Every Contents row starts with key suffix with KeySuffixSize columns
	IsTruncated           bool                      `protobuf:"varint,5,opt,name=is_truncated,json=isTruncated,proto3" json:"is_truncated,omitempty"`
	NextContinuationToken []byte                    `protobuf:"bytes,6,opt,name=next_continuation_token,json=nextContinuationToken,proto3" json:"next_continuation_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListingResponse) Descriptor

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

Deprecated: Use ListingResponse.ProtoReflect.Descriptor instead.

func (*ListingResponse) GetCommonPrefixes

func (x *ListingResponse) GetCommonPrefixes() []string

func (*ListingResponse) GetContents

func (x *ListingResponse) GetContents() *Ydb.ResultSet

func (*ListingResponse) GetIsTruncated

func (x *ListingResponse) GetIsTruncated() bool

func (*ListingResponse) GetIssues

func (x *ListingResponse) GetIssues() []*Ydb_Issue.IssueMessage

func (*ListingResponse) GetNextContinuationToken

func (x *ListingResponse) GetNextContinuationToken() []byte

func (*ListingResponse) GetStatus

func (x *ListingResponse) GetStatus() Ydb.StatusIds_StatusCode

func (*ListingResponse) ProtoMessage

func (*ListingResponse) ProtoMessage()

func (*ListingResponse) ProtoReflect

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

func (*ListingResponse) Reset

func (x *ListingResponse) Reset()

func (*ListingResponse) String

func (x *ListingResponse) String() string

Source Files

ydb_object_storage.pb.go

Version
v0.0.0-20241112172322-ea1f63298f77 (latest)
Published
Nov 12, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
4 weeks ago

Tools for package owners.