typesv1beta1

package
v0.0.0-...-d2cb316 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 103

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cs3_types_v1beta1_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Opaque

type Opaque struct {

	// REQUIRED.
	Map map[string]*OpaqueEntry `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

Opaque represents opaque information in a form on a map. For example, a local filesystem can use this message to include filesystem extended attributes.

func (*Opaque) Descriptor deprecated

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

Deprecated: Use Opaque.ProtoReflect.Descriptor instead.

func (*Opaque) GetMap

func (x *Opaque) GetMap() map[string]*OpaqueEntry

func (*Opaque) ProtoMessage

func (*Opaque) ProtoMessage()

func (*Opaque) ProtoReflect

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

func (*Opaque) Reset

func (x *Opaque) Reset()

func (*Opaque) String

func (x *Opaque) String() string

type OpaqueEntry

type OpaqueEntry struct {

	// REQUIRED.
	// The decoder to use: json, xml, toml, ...
	// TODO(labkode): make encoder a fixed set using a enum type?
	Decoder string `protobuf:"bytes,1,opt,name=decoder,proto3" json:"decoder,omitempty"`
	// REQUIRED.
	// The encoded value.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

OpaqueEntry represents the encoded opaque value.

func (*OpaqueEntry) Descriptor deprecated

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

Deprecated: Use OpaqueEntry.ProtoReflect.Descriptor instead.

func (*OpaqueEntry) GetDecoder

func (x *OpaqueEntry) GetDecoder() string

func (*OpaqueEntry) GetValue

func (x *OpaqueEntry) GetValue() []byte

func (*OpaqueEntry) ProtoMessage

func (*OpaqueEntry) ProtoMessage()

func (*OpaqueEntry) ProtoReflect

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

func (*OpaqueEntry) Reset

func (x *OpaqueEntry) Reset()

func (*OpaqueEntry) String

func (x *OpaqueEntry) String() string

type Timestamp

type Timestamp struct {

	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds uint64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// Non-negative fractions of a second at nanosecond resolution. Negative
	// second values with fractions must still have non-negative nanos values
	// that count forward in time.
	// Value MUST be from 0 to 999,999,999
	// inclusive.
	Nanos uint32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
	// contains filtered or unexported fields
}

Adapted from Google google/protobuf/timestamp.proto. A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.

The range MUST be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. Restricting to this range ensures the conversion from and to [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

func (*Timestamp) Descriptor deprecated

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

Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.

func (*Timestamp) GetNanos

func (x *Timestamp) GetNanos() uint32

func (*Timestamp) GetSeconds

func (x *Timestamp) GetSeconds() uint64

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) ProtoReflect

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

func (*Timestamp) Reset

func (x *Timestamp) Reset()

func (*Timestamp) String

func (x *Timestamp) String() string

Jump to

Keyboard shortcuts

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