pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Principal

type Principal struct {
	Identity     string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	AccessKey    string `protobuf:"bytes,2,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
	AccessSecret string `protobuf:"bytes,3,opt,name=accessSecret,proto3" json:"accessSecret,omitempty"`
	// contains filtered or unexported fields
}

func (*Principal) Descriptor deprecated

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

Deprecated: Use Principal.ProtoReflect.Descriptor instead.

func (*Principal) GetAccessKey

func (x *Principal) GetAccessKey() string

func (*Principal) GetAccessSecret

func (x *Principal) GetAccessSecret() string

func (*Principal) GetIdentity

func (x *Principal) GetIdentity() string

func (*Principal) MarshalJSON

func (m *Principal) MarshalJSON() ([]byte, error)

Principal implement json.Marshaler.

func (*Principal) ProtoMessage

func (*Principal) ProtoMessage()

func (*Principal) ProtoReflect

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

func (*Principal) Reset

func (x *Principal) Reset()

func (*Principal) String

func (x *Principal) String() string

func (*Principal) UnmarshalJSON

func (m *Principal) UnmarshalJSON(b []byte) error

Principal implement json.Marshaler.

func (*Principal) UnmarshalURLValues

func (m *Principal) UnmarshalURLValues(prefix string, values url.Values) error

Principal implement urlenc.URLValuesUnmarshaler.

func (*Principal) Validate

func (this *Principal) Validate() error

type Relation

type Relation struct {

	// Related trace id . optional
	TraceID string `protobuf:"bytes,1,opt,name=traceID,proto3" json:"traceID,omitempty"`
	// Related resource id . Optional
	ResID string `protobuf:"bytes,2,opt,name=resID,proto3" json:"resID,omitempty"`
	// Related resource type . Optional
	ResType string `protobuf:"bytes,3,opt,name=resType,proto3" json:"resType,omitempty"`
	// Optional
	ResourceKeys []string `protobuf:"bytes,4,rep,name=resourceKeys,proto3" json:"resourceKeys,omitempty"`
	// contains filtered or unexported fields
}

func (*Relation) Descriptor deprecated

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

Deprecated: Use Relation.ProtoReflect.Descriptor instead.

func (*Relation) GetResID

func (x *Relation) GetResID() string

func (*Relation) GetResType

func (x *Relation) GetResType() string

func (*Relation) GetResourceKeys

func (x *Relation) GetResourceKeys() []string

func (*Relation) GetTraceID

func (x *Relation) GetTraceID() string

func (*Relation) MarshalJSON

func (m *Relation) MarshalJSON() ([]byte, error)

Relation implement json.Marshaler.

func (*Relation) ProtoMessage

func (*Relation) ProtoMessage()

func (*Relation) ProtoReflect

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

func (*Relation) Reset

func (x *Relation) Reset()

func (*Relation) String

func (x *Relation) String() string

func (*Relation) UnmarshalJSON

func (m *Relation) UnmarshalJSON(b []byte) error

Relation implement json.Marshaler.

func (*Relation) UnmarshalURLValues

func (m *Relation) UnmarshalURLValues(prefix string, values url.Values) error

Relation implement urlenc.URLValuesUnmarshaler.

func (*Relation) Validate

func (this *Relation) Validate() error

Jump to

Keyboard shortcuts

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