Documentation ¶
Index ¶
- Variables
- type GetNodeIdReq
- func (*GetNodeIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeIdReq) GetInstanceId() string
- func (x *GetNodeIdReq) GetInstanceName() string
- func (x *GetNodeIdReq) GetMetadata() map[string]string
- func (*GetNodeIdReq) ProtoMessage()
- func (x *GetNodeIdReq) ProtoReflect() protoreflect.Message
- func (x *GetNodeIdReq) Reset()
- func (x *GetNodeIdReq) String() string
- func (m *GetNodeIdReq) Validate() error
- func (m *GetNodeIdReq) ValidateAll() error
- type GetNodeIdReqMultiError
- type GetNodeIdReqValidationError
- func (e GetNodeIdReqValidationError) Cause() error
- func (e GetNodeIdReqValidationError) Error() string
- func (e GetNodeIdReqValidationError) ErrorName() string
- func (e GetNodeIdReqValidationError) Field() string
- func (e GetNodeIdReqValidationError) Key() bool
- func (e GetNodeIdReqValidationError) Reason() string
- type GetNodeIdResp
- func (*GetNodeIdResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeIdResp) GetCode() int32
- func (x *GetNodeIdResp) GetData() *GetNodeIdRespData
- func (x *GetNodeIdResp) GetMessage() string
- func (x *GetNodeIdResp) GetMetadata() map[string]string
- func (x *GetNodeIdResp) GetReason() string
- func (*GetNodeIdResp) ProtoMessage()
- func (x *GetNodeIdResp) ProtoReflect() protoreflect.Message
- func (x *GetNodeIdResp) Reset()
- func (x *GetNodeIdResp) String() string
- func (m *GetNodeIdResp) Validate() error
- func (m *GetNodeIdResp) ValidateAll() error
- type GetNodeIdRespData
- func (*GetNodeIdRespData) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeIdRespData) GetAccessToken() string
- func (x *GetNodeIdRespData) GetExpiredAt() *timestamppb.Timestamp
- func (x *GetNodeIdRespData) GetHeartbeatInterval() *durationpb.Duration
- func (x *GetNodeIdRespData) GetInstanceId() string
- func (x *GetNodeIdRespData) GetNodeId() int64
- func (x *GetNodeIdRespData) GetStatus() enums.NodeIDStatusEnum_Status
- func (*GetNodeIdRespData) ProtoMessage()
- func (x *GetNodeIdRespData) ProtoReflect() protoreflect.Message
- func (x *GetNodeIdRespData) Reset()
- func (x *GetNodeIdRespData) String() string
- func (m *GetNodeIdRespData) Validate() error
- func (m *GetNodeIdRespData) ValidateAll() error
- type GetNodeIdRespDataMultiError
- type GetNodeIdRespDataValidationError
- func (e GetNodeIdRespDataValidationError) Cause() error
- func (e GetNodeIdRespDataValidationError) Error() string
- func (e GetNodeIdRespDataValidationError) ErrorName() string
- func (e GetNodeIdRespDataValidationError) Field() string
- func (e GetNodeIdRespDataValidationError) Key() bool
- func (e GetNodeIdRespDataValidationError) Reason() string
- type GetNodeIdRespMultiError
- type GetNodeIdRespValidationError
- func (e GetNodeIdRespValidationError) Cause() error
- func (e GetNodeIdRespValidationError) Error() string
- func (e GetNodeIdRespValidationError) ErrorName() string
- func (e GetNodeIdRespValidationError) Field() string
- func (e GetNodeIdRespValidationError) Key() bool
- func (e GetNodeIdRespValidationError) Reason() string
- type GetServiceInfoReq
- func (*GetServiceInfoReq) Descriptor() ([]byte, []int)deprecated
- func (*GetServiceInfoReq) ProtoMessage()
- func (x *GetServiceInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetServiceInfoReq) Reset()
- func (x *GetServiceInfoReq) String() string
- func (m *GetServiceInfoReq) Validate() error
- func (m *GetServiceInfoReq) ValidateAll() error
- type GetServiceInfoReqMultiError
- type GetServiceInfoReqValidationError
- func (e GetServiceInfoReqValidationError) Cause() error
- func (e GetServiceInfoReqValidationError) Error() string
- func (e GetServiceInfoReqValidationError) ErrorName() string
- func (e GetServiceInfoReqValidationError) Field() string
- func (e GetServiceInfoReqValidationError) Key() bool
- func (e GetServiceInfoReqValidationError) Reason() string
- type GetServiceInfoResp
- func (*GetServiceInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceInfoResp) GetCode() int32
- func (x *GetServiceInfoResp) GetData() *GetServiceInfoRespData
- func (x *GetServiceInfoResp) GetMessage() string
- func (x *GetServiceInfoResp) GetMetadata() map[string]string
- func (x *GetServiceInfoResp) GetReason() string
- func (*GetServiceInfoResp) ProtoMessage()
- func (x *GetServiceInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetServiceInfoResp) Reset()
- func (x *GetServiceInfoResp) String() string
- func (m *GetServiceInfoResp) Validate() error
- func (m *GetServiceInfoResp) ValidateAll() error
- type GetServiceInfoRespData
- func (*GetServiceInfoRespData) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceInfoRespData) GetHeartbeatInterval() *durationpb.Duration
- func (x *GetServiceInfoRespData) GetIdleDuration() *durationpb.Duration
- func (x *GetServiceInfoRespData) GetMaxNodeId() uint64
- func (x *GetServiceInfoRespData) GetMinNodeId() uint64
- func (*GetServiceInfoRespData) ProtoMessage()
- func (x *GetServiceInfoRespData) ProtoReflect() protoreflect.Message
- func (x *GetServiceInfoRespData) Reset()
- func (x *GetServiceInfoRespData) String() string
- func (m *GetServiceInfoRespData) Validate() error
- func (m *GetServiceInfoRespData) ValidateAll() error
- type GetServiceInfoRespDataMultiError
- type GetServiceInfoRespDataValidationError
- func (e GetServiceInfoRespDataValidationError) Cause() error
- func (e GetServiceInfoRespDataValidationError) Error() string
- func (e GetServiceInfoRespDataValidationError) ErrorName() string
- func (e GetServiceInfoRespDataValidationError) Field() string
- func (e GetServiceInfoRespDataValidationError) Key() bool
- func (e GetServiceInfoRespDataValidationError) Reason() string
- type GetServiceInfoRespMultiError
- type GetServiceInfoRespValidationError
- func (e GetServiceInfoRespValidationError) Cause() error
- func (e GetServiceInfoRespValidationError) Error() string
- func (e GetServiceInfoRespValidationError) ErrorName() string
- func (e GetServiceInfoRespValidationError) Field() string
- func (e GetServiceInfoRespValidationError) Key() bool
- func (e GetServiceInfoRespValidationError) Reason() string
- type PingReq
- func (*PingReq) Descriptor() ([]byte, []int)deprecated
- func (x *PingReq) GetMessage() string
- func (*PingReq) ProtoMessage()
- func (x *PingReq) ProtoReflect() protoreflect.Message
- func (x *PingReq) Reset()
- func (x *PingReq) String() string
- func (m *PingReq) Validate() error
- func (m *PingReq) ValidateAll() error
- type PingReqMultiError
- type PingReqValidationError
- type PingResp
- func (*PingResp) Descriptor() ([]byte, []int)deprecated
- func (x *PingResp) GetCode() int32
- func (x *PingResp) GetData() *PingRespData
- func (x *PingResp) GetMessage() string
- func (x *PingResp) GetMetadata() map[string]string
- func (x *PingResp) GetReason() string
- func (*PingResp) ProtoMessage()
- func (x *PingResp) ProtoReflect() protoreflect.Message
- func (x *PingResp) Reset()
- func (x *PingResp) String() string
- func (m *PingResp) Validate() error
- func (m *PingResp) ValidateAll() error
- type PingRespData
- func (*PingRespData) Descriptor() ([]byte, []int)deprecated
- func (x *PingRespData) GetMessage() string
- func (*PingRespData) ProtoMessage()
- func (x *PingRespData) ProtoReflect() protoreflect.Message
- func (x *PingRespData) Reset()
- func (x *PingRespData) String() string
- func (m *PingRespData) Validate() error
- func (m *PingRespData) ValidateAll() error
- type PingRespDataMultiError
- type PingRespDataValidationError
- func (e PingRespDataValidationError) Cause() error
- func (e PingRespDataValidationError) Error() string
- func (e PingRespDataValidationError) ErrorName() string
- func (e PingRespDataValidationError) Field() string
- func (e PingRespDataValidationError) Key() bool
- func (e PingRespDataValidationError) Reason() string
- type PingRespMultiError
- type PingRespValidationError
- type ReleaseNodeIdReq
- func (*ReleaseNodeIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseNodeIdReq) GetAccessToken() string
- func (x *ReleaseNodeIdReq) GetInstanceId() string
- func (x *ReleaseNodeIdReq) GetNodeId() int64
- func (*ReleaseNodeIdReq) ProtoMessage()
- func (x *ReleaseNodeIdReq) ProtoReflect() protoreflect.Message
- func (x *ReleaseNodeIdReq) Reset()
- func (x *ReleaseNodeIdReq) String() string
- func (m *ReleaseNodeIdReq) Validate() error
- func (m *ReleaseNodeIdReq) ValidateAll() error
- type ReleaseNodeIdReqMultiError
- type ReleaseNodeIdReqValidationError
- func (e ReleaseNodeIdReqValidationError) Cause() error
- func (e ReleaseNodeIdReqValidationError) Error() string
- func (e ReleaseNodeIdReqValidationError) ErrorName() string
- func (e ReleaseNodeIdReqValidationError) Field() string
- func (e ReleaseNodeIdReqValidationError) Key() bool
- func (e ReleaseNodeIdReqValidationError) Reason() string
- type ReleaseNodeIdResp
- func (*ReleaseNodeIdResp) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseNodeIdResp) GetCode() int32
- func (x *ReleaseNodeIdResp) GetData() *ReleaseNodeIdRespData
- func (x *ReleaseNodeIdResp) GetMessage() string
- func (x *ReleaseNodeIdResp) GetMetadata() map[string]string
- func (x *ReleaseNodeIdResp) GetReason() string
- func (*ReleaseNodeIdResp) ProtoMessage()
- func (x *ReleaseNodeIdResp) ProtoReflect() protoreflect.Message
- func (x *ReleaseNodeIdResp) Reset()
- func (x *ReleaseNodeIdResp) String() string
- func (m *ReleaseNodeIdResp) Validate() error
- func (m *ReleaseNodeIdResp) ValidateAll() error
- type ReleaseNodeIdRespData
- func (*ReleaseNodeIdRespData) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseNodeIdRespData) GetExpiredAt() *timestamppb.Timestamp
- func (x *ReleaseNodeIdRespData) GetStatus() enums.NodeIDStatusEnum_Status
- func (*ReleaseNodeIdRespData) ProtoMessage()
- func (x *ReleaseNodeIdRespData) ProtoReflect() protoreflect.Message
- func (x *ReleaseNodeIdRespData) Reset()
- func (x *ReleaseNodeIdRespData) String() string
- func (m *ReleaseNodeIdRespData) Validate() error
- func (m *ReleaseNodeIdRespData) ValidateAll() error
- type ReleaseNodeIdRespDataMultiError
- type ReleaseNodeIdRespDataValidationError
- func (e ReleaseNodeIdRespDataValidationError) Cause() error
- func (e ReleaseNodeIdRespDataValidationError) Error() string
- func (e ReleaseNodeIdRespDataValidationError) ErrorName() string
- func (e ReleaseNodeIdRespDataValidationError) Field() string
- func (e ReleaseNodeIdRespDataValidationError) Key() bool
- func (e ReleaseNodeIdRespDataValidationError) Reason() string
- type ReleaseNodeIdRespMultiError
- type ReleaseNodeIdRespValidationError
- func (e ReleaseNodeIdRespValidationError) Cause() error
- func (e ReleaseNodeIdRespValidationError) Error() string
- func (e ReleaseNodeIdRespValidationError) ErrorName() string
- func (e ReleaseNodeIdRespValidationError) Field() string
- func (e ReleaseNodeIdRespValidationError) Key() bool
- func (e ReleaseNodeIdRespValidationError) Reason() string
- type RenewalNodeIdReq
- func (*RenewalNodeIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *RenewalNodeIdReq) GetAccessToken() string
- func (x *RenewalNodeIdReq) GetInstanceId() string
- func (x *RenewalNodeIdReq) GetNodeId() int64
- func (*RenewalNodeIdReq) ProtoMessage()
- func (x *RenewalNodeIdReq) ProtoReflect() protoreflect.Message
- func (x *RenewalNodeIdReq) Reset()
- func (x *RenewalNodeIdReq) String() string
- func (m *RenewalNodeIdReq) Validate() error
- func (m *RenewalNodeIdReq) ValidateAll() error
- type RenewalNodeIdReqMultiError
- type RenewalNodeIdReqValidationError
- func (e RenewalNodeIdReqValidationError) Cause() error
- func (e RenewalNodeIdReqValidationError) Error() string
- func (e RenewalNodeIdReqValidationError) ErrorName() string
- func (e RenewalNodeIdReqValidationError) Field() string
- func (e RenewalNodeIdReqValidationError) Key() bool
- func (e RenewalNodeIdReqValidationError) Reason() string
- type RenewalNodeIdResp
- func (*RenewalNodeIdResp) Descriptor() ([]byte, []int)deprecated
- func (x *RenewalNodeIdResp) GetCode() int32
- func (x *RenewalNodeIdResp) GetData() *RenewalNodeIdRespData
- func (x *RenewalNodeIdResp) GetMessage() string
- func (x *RenewalNodeIdResp) GetMetadata() map[string]string
- func (x *RenewalNodeIdResp) GetReason() string
- func (*RenewalNodeIdResp) ProtoMessage()
- func (x *RenewalNodeIdResp) ProtoReflect() protoreflect.Message
- func (x *RenewalNodeIdResp) Reset()
- func (x *RenewalNodeIdResp) String() string
- func (m *RenewalNodeIdResp) Validate() error
- func (m *RenewalNodeIdResp) ValidateAll() error
- type RenewalNodeIdRespData
- func (*RenewalNodeIdRespData) Descriptor() ([]byte, []int)deprecated
- func (x *RenewalNodeIdRespData) GetExpiredAt() *timestamppb.Timestamp
- func (x *RenewalNodeIdRespData) GetStatus() enums.NodeIDStatusEnum_Status
- func (*RenewalNodeIdRespData) ProtoMessage()
- func (x *RenewalNodeIdRespData) ProtoReflect() protoreflect.Message
- func (x *RenewalNodeIdRespData) Reset()
- func (x *RenewalNodeIdRespData) String() string
- func (m *RenewalNodeIdRespData) Validate() error
- func (m *RenewalNodeIdRespData) ValidateAll() error
- type RenewalNodeIdRespDataMultiError
- type RenewalNodeIdRespDataValidationError
- func (e RenewalNodeIdRespDataValidationError) Cause() error
- func (e RenewalNodeIdRespDataValidationError) Error() string
- func (e RenewalNodeIdRespDataValidationError) ErrorName() string
- func (e RenewalNodeIdRespDataValidationError) Field() string
- func (e RenewalNodeIdRespDataValidationError) Key() bool
- func (e RenewalNodeIdRespDataValidationError) Reason() string
- type RenewalNodeIdRespMultiError
- type RenewalNodeIdRespValidationError
- func (e RenewalNodeIdRespValidationError) Cause() error
- func (e RenewalNodeIdRespValidationError) Error() string
- func (e RenewalNodeIdRespValidationError) ErrorName() string
- func (e RenewalNodeIdRespValidationError) Field() string
- func (e RenewalNodeIdRespValidationError) Key() bool
- func (e RenewalNodeIdRespValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_api_nodeid_service_v1_resources_node_id_resource_v1_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetNodeIdReq ¶
type GetNodeIdReq struct { InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID InstanceName string `protobuf:"bytes,2,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` // 实例名称 Metadata map[string]string `` // 实例元数据 /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetNodeIdReq) Descriptor
deprecated
func (*GetNodeIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeIdReq.ProtoReflect.Descriptor instead.
func (*GetNodeIdReq) GetInstanceId ¶
func (x *GetNodeIdReq) GetInstanceId() string
func (*GetNodeIdReq) GetInstanceName ¶
func (x *GetNodeIdReq) GetInstanceName() string
func (*GetNodeIdReq) GetMetadata ¶
func (x *GetNodeIdReq) GetMetadata() map[string]string
func (*GetNodeIdReq) ProtoMessage ¶
func (*GetNodeIdReq) ProtoMessage()
func (*GetNodeIdReq) ProtoReflect ¶
func (x *GetNodeIdReq) ProtoReflect() protoreflect.Message
func (*GetNodeIdReq) Reset ¶
func (x *GetNodeIdReq) Reset()
func (*GetNodeIdReq) String ¶
func (x *GetNodeIdReq) String() string
func (*GetNodeIdReq) Validate ¶
func (m *GetNodeIdReq) Validate() error
Validate checks the field values on GetNodeIdReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetNodeIdReq) ValidateAll ¶
func (m *GetNodeIdReq) ValidateAll() error
ValidateAll checks the field values on GetNodeIdReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeIdReqMultiError, or nil if none found.
type GetNodeIdReqMultiError ¶
type GetNodeIdReqMultiError []error
GetNodeIdReqMultiError is an error wrapping multiple validation errors returned by GetNodeIdReq.ValidateAll() if the designated constraints aren't met.
func (GetNodeIdReqMultiError) AllErrors ¶
func (m GetNodeIdReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeIdReqMultiError) Error ¶
func (m GetNodeIdReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeIdReqValidationError ¶
type GetNodeIdReqValidationError struct {
// contains filtered or unexported fields
}
GetNodeIdReqValidationError is the validation error returned by GetNodeIdReq.Validate if the designated constraints aren't met.
func (GetNodeIdReqValidationError) Cause ¶
func (e GetNodeIdReqValidationError) Cause() error
Cause function returns cause value.
func (GetNodeIdReqValidationError) Error ¶
func (e GetNodeIdReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeIdReqValidationError) ErrorName ¶
func (e GetNodeIdReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeIdReqValidationError) Field ¶
func (e GetNodeIdReqValidationError) Field() string
Field function returns field value.
func (GetNodeIdReqValidationError) Key ¶
func (e GetNodeIdReqValidationError) Key() bool
Key function returns key value.
func (GetNodeIdReqValidationError) Reason ¶
func (e GetNodeIdReqValidationError) Reason() string
Reason function returns reason value.
type GetNodeIdResp ¶
type GetNodeIdResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Data *GetNodeIdRespData `protobuf:"bytes,100,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetNodeIdResp) Descriptor
deprecated
func (*GetNodeIdResp) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeIdResp.ProtoReflect.Descriptor instead.
func (*GetNodeIdResp) GetCode ¶
func (x *GetNodeIdResp) GetCode() int32
func (*GetNodeIdResp) GetData ¶
func (x *GetNodeIdResp) GetData() *GetNodeIdRespData
func (*GetNodeIdResp) GetMessage ¶
func (x *GetNodeIdResp) GetMessage() string
func (*GetNodeIdResp) GetMetadata ¶
func (x *GetNodeIdResp) GetMetadata() map[string]string
func (*GetNodeIdResp) GetReason ¶
func (x *GetNodeIdResp) GetReason() string
func (*GetNodeIdResp) ProtoMessage ¶
func (*GetNodeIdResp) ProtoMessage()
func (*GetNodeIdResp) ProtoReflect ¶
func (x *GetNodeIdResp) ProtoReflect() protoreflect.Message
func (*GetNodeIdResp) Reset ¶
func (x *GetNodeIdResp) Reset()
func (*GetNodeIdResp) String ¶
func (x *GetNodeIdResp) String() string
func (*GetNodeIdResp) Validate ¶
func (m *GetNodeIdResp) Validate() error
Validate checks the field values on GetNodeIdResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetNodeIdResp) ValidateAll ¶
func (m *GetNodeIdResp) ValidateAll() error
ValidateAll checks the field values on GetNodeIdResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeIdRespMultiError, or nil if none found.
type GetNodeIdRespData ¶
type GetNodeIdRespData struct { InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID NodeId int64 `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // 节点id Status enums.NodeIDStatusEnum_Status `protobuf:"varint,3,opt,name=status,proto3,enum=saas.api.nodeid.enumv1.NodeIDStatusEnum_Status" json:"status,omitempty"` // 节点状态 ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` // 失效时间;默认:now()+100s HeartbeatInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` // 心跳续订间隔时间;默认:30s AccessToken string `protobuf:"bytes,6,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // 令牌;用于续订和释放ID // contains filtered or unexported fields }
func (*GetNodeIdRespData) Descriptor
deprecated
func (*GetNodeIdRespData) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeIdRespData.ProtoReflect.Descriptor instead.
func (*GetNodeIdRespData) GetAccessToken ¶
func (x *GetNodeIdRespData) GetAccessToken() string
func (*GetNodeIdRespData) GetExpiredAt ¶
func (x *GetNodeIdRespData) GetExpiredAt() *timestamppb.Timestamp
func (*GetNodeIdRespData) GetHeartbeatInterval ¶
func (x *GetNodeIdRespData) GetHeartbeatInterval() *durationpb.Duration
func (*GetNodeIdRespData) GetInstanceId ¶
func (x *GetNodeIdRespData) GetInstanceId() string
func (*GetNodeIdRespData) GetNodeId ¶
func (x *GetNodeIdRespData) GetNodeId() int64
func (*GetNodeIdRespData) GetStatus ¶
func (x *GetNodeIdRespData) GetStatus() enums.NodeIDStatusEnum_Status
func (*GetNodeIdRespData) ProtoMessage ¶
func (*GetNodeIdRespData) ProtoMessage()
func (*GetNodeIdRespData) ProtoReflect ¶
func (x *GetNodeIdRespData) ProtoReflect() protoreflect.Message
func (*GetNodeIdRespData) Reset ¶
func (x *GetNodeIdRespData) Reset()
func (*GetNodeIdRespData) String ¶
func (x *GetNodeIdRespData) String() string
func (*GetNodeIdRespData) Validate ¶
func (m *GetNodeIdRespData) Validate() error
Validate checks the field values on GetNodeIdRespData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetNodeIdRespData) ValidateAll ¶
func (m *GetNodeIdRespData) ValidateAll() error
ValidateAll checks the field values on GetNodeIdRespData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeIdRespDataMultiError, or nil if none found.
type GetNodeIdRespDataMultiError ¶
type GetNodeIdRespDataMultiError []error
GetNodeIdRespDataMultiError is an error wrapping multiple validation errors returned by GetNodeIdRespData.ValidateAll() if the designated constraints aren't met.
func (GetNodeIdRespDataMultiError) AllErrors ¶
func (m GetNodeIdRespDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeIdRespDataMultiError) Error ¶
func (m GetNodeIdRespDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeIdRespDataValidationError ¶
type GetNodeIdRespDataValidationError struct {
// contains filtered or unexported fields
}
GetNodeIdRespDataValidationError is the validation error returned by GetNodeIdRespData.Validate if the designated constraints aren't met.
func (GetNodeIdRespDataValidationError) Cause ¶
func (e GetNodeIdRespDataValidationError) Cause() error
Cause function returns cause value.
func (GetNodeIdRespDataValidationError) Error ¶
func (e GetNodeIdRespDataValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeIdRespDataValidationError) ErrorName ¶
func (e GetNodeIdRespDataValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeIdRespDataValidationError) Field ¶
func (e GetNodeIdRespDataValidationError) Field() string
Field function returns field value.
func (GetNodeIdRespDataValidationError) Key ¶
func (e GetNodeIdRespDataValidationError) Key() bool
Key function returns key value.
func (GetNodeIdRespDataValidationError) Reason ¶
func (e GetNodeIdRespDataValidationError) Reason() string
Reason function returns reason value.
type GetNodeIdRespMultiError ¶
type GetNodeIdRespMultiError []error
GetNodeIdRespMultiError is an error wrapping multiple validation errors returned by GetNodeIdResp.ValidateAll() if the designated constraints aren't met.
func (GetNodeIdRespMultiError) AllErrors ¶
func (m GetNodeIdRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeIdRespMultiError) Error ¶
func (m GetNodeIdRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeIdRespValidationError ¶
type GetNodeIdRespValidationError struct {
// contains filtered or unexported fields
}
GetNodeIdRespValidationError is the validation error returned by GetNodeIdResp.Validate if the designated constraints aren't met.
func (GetNodeIdRespValidationError) Cause ¶
func (e GetNodeIdRespValidationError) Cause() error
Cause function returns cause value.
func (GetNodeIdRespValidationError) Error ¶
func (e GetNodeIdRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeIdRespValidationError) ErrorName ¶
func (e GetNodeIdRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeIdRespValidationError) Field ¶
func (e GetNodeIdRespValidationError) Field() string
Field function returns field value.
func (GetNodeIdRespValidationError) Key ¶
func (e GetNodeIdRespValidationError) Key() bool
Key function returns key value.
func (GetNodeIdRespValidationError) Reason ¶
func (e GetNodeIdRespValidationError) Reason() string
Reason function returns reason value.
type GetServiceInfoReq ¶
type GetServiceInfoReq struct {
// contains filtered or unexported fields
}
func (*GetServiceInfoReq) Descriptor
deprecated
func (*GetServiceInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceInfoReq.ProtoReflect.Descriptor instead.
func (*GetServiceInfoReq) ProtoMessage ¶
func (*GetServiceInfoReq) ProtoMessage()
func (*GetServiceInfoReq) ProtoReflect ¶
func (x *GetServiceInfoReq) ProtoReflect() protoreflect.Message
func (*GetServiceInfoReq) Reset ¶
func (x *GetServiceInfoReq) Reset()
func (*GetServiceInfoReq) String ¶
func (x *GetServiceInfoReq) String() string
func (*GetServiceInfoReq) Validate ¶
func (m *GetServiceInfoReq) Validate() error
Validate checks the field values on GetServiceInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetServiceInfoReq) ValidateAll ¶
func (m *GetServiceInfoReq) ValidateAll() error
ValidateAll checks the field values on GetServiceInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetServiceInfoReqMultiError, or nil if none found.
type GetServiceInfoReqMultiError ¶
type GetServiceInfoReqMultiError []error
GetServiceInfoReqMultiError is an error wrapping multiple validation errors returned by GetServiceInfoReq.ValidateAll() if the designated constraints aren't met.
func (GetServiceInfoReqMultiError) AllErrors ¶
func (m GetServiceInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceInfoReqMultiError) Error ¶
func (m GetServiceInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceInfoReqValidationError ¶
type GetServiceInfoReqValidationError struct {
// contains filtered or unexported fields
}
GetServiceInfoReqValidationError is the validation error returned by GetServiceInfoReq.Validate if the designated constraints aren't met.
func (GetServiceInfoReqValidationError) Cause ¶
func (e GetServiceInfoReqValidationError) Cause() error
Cause function returns cause value.
func (GetServiceInfoReqValidationError) Error ¶
func (e GetServiceInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceInfoReqValidationError) ErrorName ¶
func (e GetServiceInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceInfoReqValidationError) Field ¶
func (e GetServiceInfoReqValidationError) Field() string
Field function returns field value.
func (GetServiceInfoReqValidationError) Key ¶
func (e GetServiceInfoReqValidationError) Key() bool
Key function returns key value.
func (GetServiceInfoReqValidationError) Reason ¶
func (e GetServiceInfoReqValidationError) Reason() string
Reason function returns reason value.
type GetServiceInfoResp ¶
type GetServiceInfoResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Data *GetServiceInfoRespData `protobuf:"bytes,100,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetServiceInfoResp) Descriptor
deprecated
func (*GetServiceInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceInfoResp.ProtoReflect.Descriptor instead.
func (*GetServiceInfoResp) GetCode ¶
func (x *GetServiceInfoResp) GetCode() int32
func (*GetServiceInfoResp) GetData ¶
func (x *GetServiceInfoResp) GetData() *GetServiceInfoRespData
func (*GetServiceInfoResp) GetMessage ¶
func (x *GetServiceInfoResp) GetMessage() string
func (*GetServiceInfoResp) GetMetadata ¶
func (x *GetServiceInfoResp) GetMetadata() map[string]string
func (*GetServiceInfoResp) GetReason ¶
func (x *GetServiceInfoResp) GetReason() string
func (*GetServiceInfoResp) ProtoMessage ¶
func (*GetServiceInfoResp) ProtoMessage()
func (*GetServiceInfoResp) ProtoReflect ¶
func (x *GetServiceInfoResp) ProtoReflect() protoreflect.Message
func (*GetServiceInfoResp) Reset ¶
func (x *GetServiceInfoResp) Reset()
func (*GetServiceInfoResp) String ¶
func (x *GetServiceInfoResp) String() string
func (*GetServiceInfoResp) Validate ¶
func (m *GetServiceInfoResp) Validate() error
Validate checks the field values on GetServiceInfoResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetServiceInfoResp) ValidateAll ¶
func (m *GetServiceInfoResp) ValidateAll() error
ValidateAll checks the field values on GetServiceInfoResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetServiceInfoRespMultiError, or nil if none found.
type GetServiceInfoRespData ¶
type GetServiceInfoRespData struct { MinNodeId uint64 `protobuf:"varint,1,opt,name=min_node_id,json=minNodeId,proto3" json:"min_node_id,omitempty"` // 最小节点;默认:1 MaxNodeId uint64 `protobuf:"varint,2,opt,name=max_node_id,json=maxNodeId,proto3" json:"max_node_id,omitempty"` // 最大节点;默认:1023 IdleDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=idle_duration,json=idleDuration,proto3" json:"idle_duration,omitempty"` // 空闲释放时间;默认:100s。 HeartbeatInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` // 心跳续订延长的时间;默认:30s。范围:[1, idle_duration];延长有效期:now()+idle_duration // contains filtered or unexported fields }
func (*GetServiceInfoRespData) Descriptor
deprecated
func (*GetServiceInfoRespData) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceInfoRespData.ProtoReflect.Descriptor instead.
func (*GetServiceInfoRespData) GetHeartbeatInterval ¶
func (x *GetServiceInfoRespData) GetHeartbeatInterval() *durationpb.Duration
func (*GetServiceInfoRespData) GetIdleDuration ¶
func (x *GetServiceInfoRespData) GetIdleDuration() *durationpb.Duration
func (*GetServiceInfoRespData) GetMaxNodeId ¶
func (x *GetServiceInfoRespData) GetMaxNodeId() uint64
func (*GetServiceInfoRespData) GetMinNodeId ¶
func (x *GetServiceInfoRespData) GetMinNodeId() uint64
func (*GetServiceInfoRespData) ProtoMessage ¶
func (*GetServiceInfoRespData) ProtoMessage()
func (*GetServiceInfoRespData) ProtoReflect ¶
func (x *GetServiceInfoRespData) ProtoReflect() protoreflect.Message
func (*GetServiceInfoRespData) Reset ¶
func (x *GetServiceInfoRespData) Reset()
func (*GetServiceInfoRespData) String ¶
func (x *GetServiceInfoRespData) String() string
func (*GetServiceInfoRespData) Validate ¶
func (m *GetServiceInfoRespData) Validate() error
Validate checks the field values on GetServiceInfoRespData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetServiceInfoRespData) ValidateAll ¶
func (m *GetServiceInfoRespData) ValidateAll() error
ValidateAll checks the field values on GetServiceInfoRespData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetServiceInfoRespDataMultiError, or nil if none found.
type GetServiceInfoRespDataMultiError ¶
type GetServiceInfoRespDataMultiError []error
GetServiceInfoRespDataMultiError is an error wrapping multiple validation errors returned by GetServiceInfoRespData.ValidateAll() if the designated constraints aren't met.
func (GetServiceInfoRespDataMultiError) AllErrors ¶
func (m GetServiceInfoRespDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceInfoRespDataMultiError) Error ¶
func (m GetServiceInfoRespDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceInfoRespDataValidationError ¶
type GetServiceInfoRespDataValidationError struct {
// contains filtered or unexported fields
}
GetServiceInfoRespDataValidationError is the validation error returned by GetServiceInfoRespData.Validate if the designated constraints aren't met.
func (GetServiceInfoRespDataValidationError) Cause ¶
func (e GetServiceInfoRespDataValidationError) Cause() error
Cause function returns cause value.
func (GetServiceInfoRespDataValidationError) Error ¶
func (e GetServiceInfoRespDataValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceInfoRespDataValidationError) ErrorName ¶
func (e GetServiceInfoRespDataValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceInfoRespDataValidationError) Field ¶
func (e GetServiceInfoRespDataValidationError) Field() string
Field function returns field value.
func (GetServiceInfoRespDataValidationError) Key ¶
func (e GetServiceInfoRespDataValidationError) Key() bool
Key function returns key value.
func (GetServiceInfoRespDataValidationError) Reason ¶
func (e GetServiceInfoRespDataValidationError) Reason() string
Reason function returns reason value.
type GetServiceInfoRespMultiError ¶
type GetServiceInfoRespMultiError []error
GetServiceInfoRespMultiError is an error wrapping multiple validation errors returned by GetServiceInfoResp.ValidateAll() if the designated constraints aren't met.
func (GetServiceInfoRespMultiError) AllErrors ¶
func (m GetServiceInfoRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceInfoRespMultiError) Error ¶
func (m GetServiceInfoRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServiceInfoRespValidationError ¶
type GetServiceInfoRespValidationError struct {
// contains filtered or unexported fields
}
GetServiceInfoRespValidationError is the validation error returned by GetServiceInfoResp.Validate if the designated constraints aren't met.
func (GetServiceInfoRespValidationError) Cause ¶
func (e GetServiceInfoRespValidationError) Cause() error
Cause function returns cause value.
func (GetServiceInfoRespValidationError) Error ¶
func (e GetServiceInfoRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceInfoRespValidationError) ErrorName ¶
func (e GetServiceInfoRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceInfoRespValidationError) Field ¶
func (e GetServiceInfoRespValidationError) Field() string
Field function returns field value.
func (GetServiceInfoRespValidationError) Key ¶
func (e GetServiceInfoRespValidationError) Key() bool
Key function returns key value.
func (GetServiceInfoRespValidationError) Reason ¶
func (e GetServiceInfoRespValidationError) Reason() string
Reason function returns reason value.
type PingReq ¶
type PingReq struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingReq) Descriptor
deprecated
func (*PingReq) GetMessage ¶
func (*PingReq) ProtoMessage ¶
func (*PingReq) ProtoMessage()
func (*PingReq) ProtoReflect ¶
func (x *PingReq) ProtoReflect() protoreflect.Message
func (*PingReq) Validate ¶
Validate checks the field values on PingReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PingReq) ValidateAll ¶
ValidateAll checks the field values on PingReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingReqMultiError, or nil if none found.
type PingReqMultiError ¶
type PingReqMultiError []error
PingReqMultiError is an error wrapping multiple validation errors returned by PingReq.ValidateAll() if the designated constraints aren't met.
func (PingReqMultiError) AllErrors ¶
func (m PingReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingReqMultiError) Error ¶
func (m PingReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingReqValidationError ¶
type PingReqValidationError struct {
// contains filtered or unexported fields
}
PingReqValidationError is the validation error returned by PingReq.Validate if the designated constraints aren't met.
func (PingReqValidationError) Cause ¶
func (e PingReqValidationError) Cause() error
Cause function returns cause value.
func (PingReqValidationError) Error ¶
func (e PingReqValidationError) Error() string
Error satisfies the builtin error interface
func (PingReqValidationError) ErrorName ¶
func (e PingReqValidationError) ErrorName() string
ErrorName returns error name.
func (PingReqValidationError) Field ¶
func (e PingReqValidationError) Field() string
Field function returns field value.
func (PingReqValidationError) Key ¶
func (e PingReqValidationError) Key() bool
Key function returns key value.
func (PingReqValidationError) Reason ¶
func (e PingReqValidationError) Reason() string
Reason function returns reason value.
type PingResp ¶
type PingResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Data *PingRespData `protobuf:"bytes,100,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PingResp) Descriptor
deprecated
func (*PingResp) GetData ¶
func (x *PingResp) GetData() *PingRespData
func (*PingResp) GetMessage ¶
func (*PingResp) GetMetadata ¶
func (*PingResp) ProtoMessage ¶
func (*PingResp) ProtoMessage()
func (*PingResp) ProtoReflect ¶
func (x *PingResp) ProtoReflect() protoreflect.Message
func (*PingResp) Validate ¶
Validate checks the field values on PingResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PingResp) ValidateAll ¶
ValidateAll checks the field values on PingResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingRespMultiError, or nil if none found.
type PingRespData ¶
type PingRespData struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingRespData) Descriptor
deprecated
func (*PingRespData) Descriptor() ([]byte, []int)
Deprecated: Use PingRespData.ProtoReflect.Descriptor instead.
func (*PingRespData) GetMessage ¶
func (x *PingRespData) GetMessage() string
func (*PingRespData) ProtoMessage ¶
func (*PingRespData) ProtoMessage()
func (*PingRespData) ProtoReflect ¶
func (x *PingRespData) ProtoReflect() protoreflect.Message
func (*PingRespData) Reset ¶
func (x *PingRespData) Reset()
func (*PingRespData) String ¶
func (x *PingRespData) String() string
func (*PingRespData) Validate ¶
func (m *PingRespData) Validate() error
Validate checks the field values on PingRespData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PingRespData) ValidateAll ¶
func (m *PingRespData) ValidateAll() error
ValidateAll checks the field values on PingRespData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingRespDataMultiError, or nil if none found.
type PingRespDataMultiError ¶
type PingRespDataMultiError []error
PingRespDataMultiError is an error wrapping multiple validation errors returned by PingRespData.ValidateAll() if the designated constraints aren't met.
func (PingRespDataMultiError) AllErrors ¶
func (m PingRespDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingRespDataMultiError) Error ¶
func (m PingRespDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingRespDataValidationError ¶
type PingRespDataValidationError struct {
// contains filtered or unexported fields
}
PingRespDataValidationError is the validation error returned by PingRespData.Validate if the designated constraints aren't met.
func (PingRespDataValidationError) Cause ¶
func (e PingRespDataValidationError) Cause() error
Cause function returns cause value.
func (PingRespDataValidationError) Error ¶
func (e PingRespDataValidationError) Error() string
Error satisfies the builtin error interface
func (PingRespDataValidationError) ErrorName ¶
func (e PingRespDataValidationError) ErrorName() string
ErrorName returns error name.
func (PingRespDataValidationError) Field ¶
func (e PingRespDataValidationError) Field() string
Field function returns field value.
func (PingRespDataValidationError) Key ¶
func (e PingRespDataValidationError) Key() bool
Key function returns key value.
func (PingRespDataValidationError) Reason ¶
func (e PingRespDataValidationError) Reason() string
Reason function returns reason value.
type PingRespMultiError ¶
type PingRespMultiError []error
PingRespMultiError is an error wrapping multiple validation errors returned by PingResp.ValidateAll() if the designated constraints aren't met.
func (PingRespMultiError) AllErrors ¶
func (m PingRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingRespMultiError) Error ¶
func (m PingRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingRespValidationError ¶
type PingRespValidationError struct {
// contains filtered or unexported fields
}
PingRespValidationError is the validation error returned by PingResp.Validate if the designated constraints aren't met.
func (PingRespValidationError) Cause ¶
func (e PingRespValidationError) Cause() error
Cause function returns cause value.
func (PingRespValidationError) Error ¶
func (e PingRespValidationError) Error() string
Error satisfies the builtin error interface
func (PingRespValidationError) ErrorName ¶
func (e PingRespValidationError) ErrorName() string
ErrorName returns error name.
func (PingRespValidationError) Field ¶
func (e PingRespValidationError) Field() string
Field function returns field value.
func (PingRespValidationError) Key ¶
func (e PingRespValidationError) Key() bool
Key function returns key value.
func (PingRespValidationError) Reason ¶
func (e PingRespValidationError) Reason() string
Reason function returns reason value.
type ReleaseNodeIdReq ¶
type ReleaseNodeIdReq struct { InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID NodeId int64 `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // 节点id AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // 令牌;用于续订和释放ID // contains filtered or unexported fields }
func (*ReleaseNodeIdReq) Descriptor
deprecated
func (*ReleaseNodeIdReq) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseNodeIdReq.ProtoReflect.Descriptor instead.
func (*ReleaseNodeIdReq) GetAccessToken ¶
func (x *ReleaseNodeIdReq) GetAccessToken() string
func (*ReleaseNodeIdReq) GetInstanceId ¶
func (x *ReleaseNodeIdReq) GetInstanceId() string
func (*ReleaseNodeIdReq) GetNodeId ¶
func (x *ReleaseNodeIdReq) GetNodeId() int64
func (*ReleaseNodeIdReq) ProtoMessage ¶
func (*ReleaseNodeIdReq) ProtoMessage()
func (*ReleaseNodeIdReq) ProtoReflect ¶
func (x *ReleaseNodeIdReq) ProtoReflect() protoreflect.Message
func (*ReleaseNodeIdReq) Reset ¶
func (x *ReleaseNodeIdReq) Reset()
func (*ReleaseNodeIdReq) String ¶
func (x *ReleaseNodeIdReq) String() string
func (*ReleaseNodeIdReq) Validate ¶
func (m *ReleaseNodeIdReq) Validate() error
Validate checks the field values on ReleaseNodeIdReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReleaseNodeIdReq) ValidateAll ¶
func (m *ReleaseNodeIdReq) ValidateAll() error
ValidateAll checks the field values on ReleaseNodeIdReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReleaseNodeIdReqMultiError, or nil if none found.
type ReleaseNodeIdReqMultiError ¶
type ReleaseNodeIdReqMultiError []error
ReleaseNodeIdReqMultiError is an error wrapping multiple validation errors returned by ReleaseNodeIdReq.ValidateAll() if the designated constraints aren't met.
func (ReleaseNodeIdReqMultiError) AllErrors ¶
func (m ReleaseNodeIdReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReleaseNodeIdReqMultiError) Error ¶
func (m ReleaseNodeIdReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReleaseNodeIdReqValidationError ¶
type ReleaseNodeIdReqValidationError struct {
// contains filtered or unexported fields
}
ReleaseNodeIdReqValidationError is the validation error returned by ReleaseNodeIdReq.Validate if the designated constraints aren't met.
func (ReleaseNodeIdReqValidationError) Cause ¶
func (e ReleaseNodeIdReqValidationError) Cause() error
Cause function returns cause value.
func (ReleaseNodeIdReqValidationError) Error ¶
func (e ReleaseNodeIdReqValidationError) Error() string
Error satisfies the builtin error interface
func (ReleaseNodeIdReqValidationError) ErrorName ¶
func (e ReleaseNodeIdReqValidationError) ErrorName() string
ErrorName returns error name.
func (ReleaseNodeIdReqValidationError) Field ¶
func (e ReleaseNodeIdReqValidationError) Field() string
Field function returns field value.
func (ReleaseNodeIdReqValidationError) Key ¶
func (e ReleaseNodeIdReqValidationError) Key() bool
Key function returns key value.
func (ReleaseNodeIdReqValidationError) Reason ¶
func (e ReleaseNodeIdReqValidationError) Reason() string
Reason function returns reason value.
type ReleaseNodeIdResp ¶
type ReleaseNodeIdResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Data *ReleaseNodeIdRespData `protobuf:"bytes,100,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReleaseNodeIdResp) Descriptor
deprecated
func (*ReleaseNodeIdResp) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseNodeIdResp.ProtoReflect.Descriptor instead.
func (*ReleaseNodeIdResp) GetCode ¶
func (x *ReleaseNodeIdResp) GetCode() int32
func (*ReleaseNodeIdResp) GetData ¶
func (x *ReleaseNodeIdResp) GetData() *ReleaseNodeIdRespData
func (*ReleaseNodeIdResp) GetMessage ¶
func (x *ReleaseNodeIdResp) GetMessage() string
func (*ReleaseNodeIdResp) GetMetadata ¶
func (x *ReleaseNodeIdResp) GetMetadata() map[string]string
func (*ReleaseNodeIdResp) GetReason ¶
func (x *ReleaseNodeIdResp) GetReason() string
func (*ReleaseNodeIdResp) ProtoMessage ¶
func (*ReleaseNodeIdResp) ProtoMessage()
func (*ReleaseNodeIdResp) ProtoReflect ¶
func (x *ReleaseNodeIdResp) ProtoReflect() protoreflect.Message
func (*ReleaseNodeIdResp) Reset ¶
func (x *ReleaseNodeIdResp) Reset()
func (*ReleaseNodeIdResp) String ¶
func (x *ReleaseNodeIdResp) String() string
func (*ReleaseNodeIdResp) Validate ¶
func (m *ReleaseNodeIdResp) Validate() error
Validate checks the field values on ReleaseNodeIdResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReleaseNodeIdResp) ValidateAll ¶
func (m *ReleaseNodeIdResp) ValidateAll() error
ValidateAll checks the field values on ReleaseNodeIdResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReleaseNodeIdRespMultiError, or nil if none found.
type ReleaseNodeIdRespData ¶
type ReleaseNodeIdRespData struct { Status enums.NodeIDStatusEnum_Status `protobuf:"varint,1,opt,name=status,proto3,enum=saas.api.nodeid.enumv1.NodeIDStatusEnum_Status" json:"status,omitempty"` // 节点状态 ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` // 失效时间;默认:now()+100s // contains filtered or unexported fields }
func (*ReleaseNodeIdRespData) Descriptor
deprecated
func (*ReleaseNodeIdRespData) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseNodeIdRespData.ProtoReflect.Descriptor instead.
func (*ReleaseNodeIdRespData) GetExpiredAt ¶
func (x *ReleaseNodeIdRespData) GetExpiredAt() *timestamppb.Timestamp
func (*ReleaseNodeIdRespData) GetStatus ¶
func (x *ReleaseNodeIdRespData) GetStatus() enums.NodeIDStatusEnum_Status
func (*ReleaseNodeIdRespData) ProtoMessage ¶
func (*ReleaseNodeIdRespData) ProtoMessage()
func (*ReleaseNodeIdRespData) ProtoReflect ¶
func (x *ReleaseNodeIdRespData) ProtoReflect() protoreflect.Message
func (*ReleaseNodeIdRespData) Reset ¶
func (x *ReleaseNodeIdRespData) Reset()
func (*ReleaseNodeIdRespData) String ¶
func (x *ReleaseNodeIdRespData) String() string
func (*ReleaseNodeIdRespData) Validate ¶
func (m *ReleaseNodeIdRespData) Validate() error
Validate checks the field values on ReleaseNodeIdRespData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReleaseNodeIdRespData) ValidateAll ¶
func (m *ReleaseNodeIdRespData) ValidateAll() error
ValidateAll checks the field values on ReleaseNodeIdRespData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReleaseNodeIdRespDataMultiError, or nil if none found.
type ReleaseNodeIdRespDataMultiError ¶
type ReleaseNodeIdRespDataMultiError []error
ReleaseNodeIdRespDataMultiError is an error wrapping multiple validation errors returned by ReleaseNodeIdRespData.ValidateAll() if the designated constraints aren't met.
func (ReleaseNodeIdRespDataMultiError) AllErrors ¶
func (m ReleaseNodeIdRespDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReleaseNodeIdRespDataMultiError) Error ¶
func (m ReleaseNodeIdRespDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReleaseNodeIdRespDataValidationError ¶
type ReleaseNodeIdRespDataValidationError struct {
// contains filtered or unexported fields
}
ReleaseNodeIdRespDataValidationError is the validation error returned by ReleaseNodeIdRespData.Validate if the designated constraints aren't met.
func (ReleaseNodeIdRespDataValidationError) Cause ¶
func (e ReleaseNodeIdRespDataValidationError) Cause() error
Cause function returns cause value.
func (ReleaseNodeIdRespDataValidationError) Error ¶
func (e ReleaseNodeIdRespDataValidationError) Error() string
Error satisfies the builtin error interface
func (ReleaseNodeIdRespDataValidationError) ErrorName ¶
func (e ReleaseNodeIdRespDataValidationError) ErrorName() string
ErrorName returns error name.
func (ReleaseNodeIdRespDataValidationError) Field ¶
func (e ReleaseNodeIdRespDataValidationError) Field() string
Field function returns field value.
func (ReleaseNodeIdRespDataValidationError) Key ¶
func (e ReleaseNodeIdRespDataValidationError) Key() bool
Key function returns key value.
func (ReleaseNodeIdRespDataValidationError) Reason ¶
func (e ReleaseNodeIdRespDataValidationError) Reason() string
Reason function returns reason value.
type ReleaseNodeIdRespMultiError ¶
type ReleaseNodeIdRespMultiError []error
ReleaseNodeIdRespMultiError is an error wrapping multiple validation errors returned by ReleaseNodeIdResp.ValidateAll() if the designated constraints aren't met.
func (ReleaseNodeIdRespMultiError) AllErrors ¶
func (m ReleaseNodeIdRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReleaseNodeIdRespMultiError) Error ¶
func (m ReleaseNodeIdRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReleaseNodeIdRespValidationError ¶
type ReleaseNodeIdRespValidationError struct {
// contains filtered or unexported fields
}
ReleaseNodeIdRespValidationError is the validation error returned by ReleaseNodeIdResp.Validate if the designated constraints aren't met.
func (ReleaseNodeIdRespValidationError) Cause ¶
func (e ReleaseNodeIdRespValidationError) Cause() error
Cause function returns cause value.
func (ReleaseNodeIdRespValidationError) Error ¶
func (e ReleaseNodeIdRespValidationError) Error() string
Error satisfies the builtin error interface
func (ReleaseNodeIdRespValidationError) ErrorName ¶
func (e ReleaseNodeIdRespValidationError) ErrorName() string
ErrorName returns error name.
func (ReleaseNodeIdRespValidationError) Field ¶
func (e ReleaseNodeIdRespValidationError) Field() string
Field function returns field value.
func (ReleaseNodeIdRespValidationError) Key ¶
func (e ReleaseNodeIdRespValidationError) Key() bool
Key function returns key value.
func (ReleaseNodeIdRespValidationError) Reason ¶
func (e ReleaseNodeIdRespValidationError) Reason() string
Reason function returns reason value.
type RenewalNodeIdReq ¶
type RenewalNodeIdReq struct { InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // 实例ID NodeId int64 `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // 节点id AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // 令牌;用于续订和释放ID // contains filtered or unexported fields }
func (*RenewalNodeIdReq) Descriptor
deprecated
func (*RenewalNodeIdReq) Descriptor() ([]byte, []int)
Deprecated: Use RenewalNodeIdReq.ProtoReflect.Descriptor instead.
func (*RenewalNodeIdReq) GetAccessToken ¶
func (x *RenewalNodeIdReq) GetAccessToken() string
func (*RenewalNodeIdReq) GetInstanceId ¶
func (x *RenewalNodeIdReq) GetInstanceId() string
func (*RenewalNodeIdReq) GetNodeId ¶
func (x *RenewalNodeIdReq) GetNodeId() int64
func (*RenewalNodeIdReq) ProtoMessage ¶
func (*RenewalNodeIdReq) ProtoMessage()
func (*RenewalNodeIdReq) ProtoReflect ¶
func (x *RenewalNodeIdReq) ProtoReflect() protoreflect.Message
func (*RenewalNodeIdReq) Reset ¶
func (x *RenewalNodeIdReq) Reset()
func (*RenewalNodeIdReq) String ¶
func (x *RenewalNodeIdReq) String() string
func (*RenewalNodeIdReq) Validate ¶
func (m *RenewalNodeIdReq) Validate() error
Validate checks the field values on RenewalNodeIdReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RenewalNodeIdReq) ValidateAll ¶
func (m *RenewalNodeIdReq) ValidateAll() error
ValidateAll checks the field values on RenewalNodeIdReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RenewalNodeIdReqMultiError, or nil if none found.
type RenewalNodeIdReqMultiError ¶
type RenewalNodeIdReqMultiError []error
RenewalNodeIdReqMultiError is an error wrapping multiple validation errors returned by RenewalNodeIdReq.ValidateAll() if the designated constraints aren't met.
func (RenewalNodeIdReqMultiError) AllErrors ¶
func (m RenewalNodeIdReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RenewalNodeIdReqMultiError) Error ¶
func (m RenewalNodeIdReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RenewalNodeIdReqValidationError ¶
type RenewalNodeIdReqValidationError struct {
// contains filtered or unexported fields
}
RenewalNodeIdReqValidationError is the validation error returned by RenewalNodeIdReq.Validate if the designated constraints aren't met.
func (RenewalNodeIdReqValidationError) Cause ¶
func (e RenewalNodeIdReqValidationError) Cause() error
Cause function returns cause value.
func (RenewalNodeIdReqValidationError) Error ¶
func (e RenewalNodeIdReqValidationError) Error() string
Error satisfies the builtin error interface
func (RenewalNodeIdReqValidationError) ErrorName ¶
func (e RenewalNodeIdReqValidationError) ErrorName() string
ErrorName returns error name.
func (RenewalNodeIdReqValidationError) Field ¶
func (e RenewalNodeIdReqValidationError) Field() string
Field function returns field value.
func (RenewalNodeIdReqValidationError) Key ¶
func (e RenewalNodeIdReqValidationError) Key() bool
Key function returns key value.
func (RenewalNodeIdReqValidationError) Reason ¶
func (e RenewalNodeIdReqValidationError) Reason() string
Reason function returns reason value.
type RenewalNodeIdResp ¶
type RenewalNodeIdResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Data *RenewalNodeIdRespData `protobuf:"bytes,100,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RenewalNodeIdResp) Descriptor
deprecated
func (*RenewalNodeIdResp) Descriptor() ([]byte, []int)
Deprecated: Use RenewalNodeIdResp.ProtoReflect.Descriptor instead.
func (*RenewalNodeIdResp) GetCode ¶
func (x *RenewalNodeIdResp) GetCode() int32
func (*RenewalNodeIdResp) GetData ¶
func (x *RenewalNodeIdResp) GetData() *RenewalNodeIdRespData
func (*RenewalNodeIdResp) GetMessage ¶
func (x *RenewalNodeIdResp) GetMessage() string
func (*RenewalNodeIdResp) GetMetadata ¶
func (x *RenewalNodeIdResp) GetMetadata() map[string]string
func (*RenewalNodeIdResp) GetReason ¶
func (x *RenewalNodeIdResp) GetReason() string
func (*RenewalNodeIdResp) ProtoMessage ¶
func (*RenewalNodeIdResp) ProtoMessage()
func (*RenewalNodeIdResp) ProtoReflect ¶
func (x *RenewalNodeIdResp) ProtoReflect() protoreflect.Message
func (*RenewalNodeIdResp) Reset ¶
func (x *RenewalNodeIdResp) Reset()
func (*RenewalNodeIdResp) String ¶
func (x *RenewalNodeIdResp) String() string
func (*RenewalNodeIdResp) Validate ¶
func (m *RenewalNodeIdResp) Validate() error
Validate checks the field values on RenewalNodeIdResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RenewalNodeIdResp) ValidateAll ¶
func (m *RenewalNodeIdResp) ValidateAll() error
ValidateAll checks the field values on RenewalNodeIdResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RenewalNodeIdRespMultiError, or nil if none found.
type RenewalNodeIdRespData ¶
type RenewalNodeIdRespData struct { Status enums.NodeIDStatusEnum_Status `protobuf:"varint,1,opt,name=status,proto3,enum=saas.api.nodeid.enumv1.NodeIDStatusEnum_Status" json:"status,omitempty"` // 节点状态 ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` // 失效时间;默认:now()+100s // contains filtered or unexported fields }
func (*RenewalNodeIdRespData) Descriptor
deprecated
func (*RenewalNodeIdRespData) Descriptor() ([]byte, []int)
Deprecated: Use RenewalNodeIdRespData.ProtoReflect.Descriptor instead.
func (*RenewalNodeIdRespData) GetExpiredAt ¶
func (x *RenewalNodeIdRespData) GetExpiredAt() *timestamppb.Timestamp
func (*RenewalNodeIdRespData) GetStatus ¶
func (x *RenewalNodeIdRespData) GetStatus() enums.NodeIDStatusEnum_Status
func (*RenewalNodeIdRespData) ProtoMessage ¶
func (*RenewalNodeIdRespData) ProtoMessage()
func (*RenewalNodeIdRespData) ProtoReflect ¶
func (x *RenewalNodeIdRespData) ProtoReflect() protoreflect.Message
func (*RenewalNodeIdRespData) Reset ¶
func (x *RenewalNodeIdRespData) Reset()
func (*RenewalNodeIdRespData) String ¶
func (x *RenewalNodeIdRespData) String() string
func (*RenewalNodeIdRespData) Validate ¶
func (m *RenewalNodeIdRespData) Validate() error
Validate checks the field values on RenewalNodeIdRespData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RenewalNodeIdRespData) ValidateAll ¶
func (m *RenewalNodeIdRespData) ValidateAll() error
ValidateAll checks the field values on RenewalNodeIdRespData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RenewalNodeIdRespDataMultiError, or nil if none found.
type RenewalNodeIdRespDataMultiError ¶
type RenewalNodeIdRespDataMultiError []error
RenewalNodeIdRespDataMultiError is an error wrapping multiple validation errors returned by RenewalNodeIdRespData.ValidateAll() if the designated constraints aren't met.
func (RenewalNodeIdRespDataMultiError) AllErrors ¶
func (m RenewalNodeIdRespDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RenewalNodeIdRespDataMultiError) Error ¶
func (m RenewalNodeIdRespDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RenewalNodeIdRespDataValidationError ¶
type RenewalNodeIdRespDataValidationError struct {
// contains filtered or unexported fields
}
RenewalNodeIdRespDataValidationError is the validation error returned by RenewalNodeIdRespData.Validate if the designated constraints aren't met.
func (RenewalNodeIdRespDataValidationError) Cause ¶
func (e RenewalNodeIdRespDataValidationError) Cause() error
Cause function returns cause value.
func (RenewalNodeIdRespDataValidationError) Error ¶
func (e RenewalNodeIdRespDataValidationError) Error() string
Error satisfies the builtin error interface
func (RenewalNodeIdRespDataValidationError) ErrorName ¶
func (e RenewalNodeIdRespDataValidationError) ErrorName() string
ErrorName returns error name.
func (RenewalNodeIdRespDataValidationError) Field ¶
func (e RenewalNodeIdRespDataValidationError) Field() string
Field function returns field value.
func (RenewalNodeIdRespDataValidationError) Key ¶
func (e RenewalNodeIdRespDataValidationError) Key() bool
Key function returns key value.
func (RenewalNodeIdRespDataValidationError) Reason ¶
func (e RenewalNodeIdRespDataValidationError) Reason() string
Reason function returns reason value.
type RenewalNodeIdRespMultiError ¶
type RenewalNodeIdRespMultiError []error
RenewalNodeIdRespMultiError is an error wrapping multiple validation errors returned by RenewalNodeIdResp.ValidateAll() if the designated constraints aren't met.
func (RenewalNodeIdRespMultiError) AllErrors ¶
func (m RenewalNodeIdRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RenewalNodeIdRespMultiError) Error ¶
func (m RenewalNodeIdRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RenewalNodeIdRespValidationError ¶
type RenewalNodeIdRespValidationError struct {
// contains filtered or unexported fields
}
RenewalNodeIdRespValidationError is the validation error returned by RenewalNodeIdResp.Validate if the designated constraints aren't met.
func (RenewalNodeIdRespValidationError) Cause ¶
func (e RenewalNodeIdRespValidationError) Cause() error
Cause function returns cause value.
func (RenewalNodeIdRespValidationError) Error ¶
func (e RenewalNodeIdRespValidationError) Error() string
Error satisfies the builtin error interface
func (RenewalNodeIdRespValidationError) ErrorName ¶
func (e RenewalNodeIdRespValidationError) ErrorName() string
ErrorName returns error name.
func (RenewalNodeIdRespValidationError) Field ¶
func (e RenewalNodeIdRespValidationError) Field() string
Field function returns field value.
func (RenewalNodeIdRespValidationError) Key ¶
func (e RenewalNodeIdRespValidationError) Key() bool
Key function returns key value.
func (RenewalNodeIdRespValidationError) Reason ¶
func (e RenewalNodeIdRespValidationError) Reason() string
Reason function returns reason value.