common

package
v0.0.0-...-aeb3b05 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ExpirationConfig_ExpirationPolicy_name = map[int32]string{
		0: "EXPIRATION_POLICY_UNSPECIFIED",
		1: "STATIC",
		2: "SINCE_LAST_ACTIVE",
	}
	ExpirationConfig_ExpirationPolicy_value = map[string]int32{
		"EXPIRATION_POLICY_UNSPECIFIED": 0,
		"STATIC":                        1,
		"SINCE_LAST_ACTIVE":             2,
	}
)

Enum value maps for ExpirationConfig_ExpirationPolicy.

View Source
var File_yandex_cloud_ai_common_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Error

type Error struct {
	Code    int64  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() int64

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) SetCode

func (m *Error) SetCode(v int64)

func (*Error) SetMessage

func (m *Error) SetMessage(v string)

func (*Error) String

func (x *Error) String() string

type ExpirationConfig

type ExpirationConfig struct {
	ExpirationPolicy ExpirationConfig_ExpirationPolicy `` /* 172-byte string literal not displayed */
	TtlDays          int64                             `protobuf:"varint,2,opt,name=ttl_days,json=ttlDays,proto3" json:"ttl_days,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpirationConfig) Descriptor deprecated

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

Deprecated: Use ExpirationConfig.ProtoReflect.Descriptor instead.

func (*ExpirationConfig) GetExpirationPolicy

func (x *ExpirationConfig) GetExpirationPolicy() ExpirationConfig_ExpirationPolicy

func (*ExpirationConfig) GetTtlDays

func (x *ExpirationConfig) GetTtlDays() int64

func (*ExpirationConfig) ProtoMessage

func (*ExpirationConfig) ProtoMessage()

func (*ExpirationConfig) ProtoReflect

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

func (*ExpirationConfig) Reset

func (x *ExpirationConfig) Reset()

func (*ExpirationConfig) SetExpirationPolicy

func (m *ExpirationConfig) SetExpirationPolicy(v ExpirationConfig_ExpirationPolicy)

func (*ExpirationConfig) SetTtlDays

func (m *ExpirationConfig) SetTtlDays(v int64)

func (*ExpirationConfig) String

func (x *ExpirationConfig) String() string

type ExpirationConfig_ExpirationPolicy

type ExpirationConfig_ExpirationPolicy int32
const (
	ExpirationConfig_EXPIRATION_POLICY_UNSPECIFIED ExpirationConfig_ExpirationPolicy = 0
	ExpirationConfig_STATIC                        ExpirationConfig_ExpirationPolicy = 1
	ExpirationConfig_SINCE_LAST_ACTIVE             ExpirationConfig_ExpirationPolicy = 2
)

func (ExpirationConfig_ExpirationPolicy) Descriptor

func (ExpirationConfig_ExpirationPolicy) Enum

func (ExpirationConfig_ExpirationPolicy) EnumDescriptor deprecated

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

Deprecated: Use ExpirationConfig_ExpirationPolicy.Descriptor instead.

func (ExpirationConfig_ExpirationPolicy) Number

func (ExpirationConfig_ExpirationPolicy) String

func (ExpirationConfig_ExpirationPolicy) Type

Jump to

Keyboard shortcuts

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