base

package
v1.0.22 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_byteplus_base_base_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ResponseError

type ResponseError struct {
	Code    string `protobuf:"bytes,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 (*ResponseError) Descriptor deprecated

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

Deprecated: Use ResponseError.ProtoReflect.Descriptor instead.

func (*ResponseError) GetCode

func (x *ResponseError) GetCode() string

func (*ResponseError) GetMessage

func (x *ResponseError) GetMessage() string

func (*ResponseError) ProtoMessage

func (*ResponseError) ProtoMessage()

func (*ResponseError) ProtoReflect

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

func (*ResponseError) Reset

func (x *ResponseError) Reset()

func (*ResponseError) String

func (x *ResponseError) String() string

type ResponseMetadata

type ResponseMetadata struct {
	RequestId string         `protobuf:"bytes,1,opt,name=RequestId,proto3" json:"RequestId,omitempty"` // 请求ID
	Action    string         `protobuf:"bytes,2,opt,name=Action,proto3" json:"Action,omitempty"`       // 请求接口
	Version   string         `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`     // 版本
	Service   string         `protobuf:"bytes,4,opt,name=Service,proto3" json:"Service,omitempty"`     // 服务
	Region    string         `protobuf:"bytes,5,opt,name=Region,proto3" json:"Region,omitempty"`       // 区域
	Error     *ResponseError `protobuf:"bytes,6,opt,name=Error,proto3" json:"Error,omitempty"`         // 异常信息
	// contains filtered or unexported fields
}

func (*ResponseMetadata) Descriptor deprecated

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

Deprecated: Use ResponseMetadata.ProtoReflect.Descriptor instead.

func (*ResponseMetadata) GetAction

func (x *ResponseMetadata) GetAction() string

func (*ResponseMetadata) GetError

func (x *ResponseMetadata) GetError() *ResponseError

func (*ResponseMetadata) GetRegion

func (x *ResponseMetadata) GetRegion() string

func (*ResponseMetadata) GetRequestId

func (x *ResponseMetadata) GetRequestId() string

func (*ResponseMetadata) GetService

func (x *ResponseMetadata) GetService() string

func (*ResponseMetadata) GetVersion

func (x *ResponseMetadata) GetVersion() string

func (*ResponseMetadata) ProtoMessage

func (*ResponseMetadata) ProtoMessage()

func (*ResponseMetadata) ProtoReflect

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

func (*ResponseMetadata) Reset

func (x *ResponseMetadata) Reset()

func (*ResponseMetadata) String

func (x *ResponseMetadata) String() string

Jump to

Keyboard shortcuts

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