Documentation ¶
Index ¶
- Variables
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCode() int64
- func (x *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (m *Error) SetCode(v int64)
- func (m *Error) SetMessage(v string)
- func (x *Error) String() string
- type ExpirationConfig
- func (*ExpirationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ExpirationConfig) GetExpirationPolicy() ExpirationConfig_ExpirationPolicy
- func (x *ExpirationConfig) GetTtlDays() int64
- func (*ExpirationConfig) ProtoMessage()
- func (x *ExpirationConfig) ProtoReflect() protoreflect.Message
- func (x *ExpirationConfig) Reset()
- func (m *ExpirationConfig) SetExpirationPolicy(v ExpirationConfig_ExpirationPolicy)
- func (m *ExpirationConfig) SetTtlDays(v int64)
- func (x *ExpirationConfig) String() string
- type ExpirationConfig_ExpirationPolicy
- func (ExpirationConfig_ExpirationPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x ExpirationConfig_ExpirationPolicy) Enum() *ExpirationConfig_ExpirationPolicy
- func (ExpirationConfig_ExpirationPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExpirationConfig_ExpirationPolicy) Number() protoreflect.EnumNumber
- func (x ExpirationConfig_ExpirationPolicy) String() string
- func (ExpirationConfig_ExpirationPolicy) Type() protoreflect.EnumType
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) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
func (*Error) SetMessage ¶
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) Descriptor() protoreflect.EnumDescriptor
func (ExpirationConfig_ExpirationPolicy) Enum ¶
func (x ExpirationConfig_ExpirationPolicy) Enum() *ExpirationConfig_ExpirationPolicy
func (ExpirationConfig_ExpirationPolicy) EnumDescriptor
deprecated
func (ExpirationConfig_ExpirationPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExpirationConfig_ExpirationPolicy.Descriptor instead.
func (ExpirationConfig_ExpirationPolicy) Number ¶
func (x ExpirationConfig_ExpirationPolicy) Number() protoreflect.EnumNumber
func (ExpirationConfig_ExpirationPolicy) String ¶
func (x ExpirationConfig_ExpirationPolicy) String() string
func (ExpirationConfig_ExpirationPolicy) Type ¶
func (ExpirationConfig_ExpirationPolicy) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.