v1

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0, MIT Imports: 28 Imported by: 3

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	AdminService_LoginAdmin_FullMethodName          = "/personaldatanode.v1.AdminService/LoginAdmin"
	AdminService_RefreshAdminToken_FullMethodName   = "/personaldatanode.v1.AdminService/RefreshAdminToken"
	AdminService_LogoutAdmin_FullMethodName         = "/personaldatanode.v1.AdminService/LogoutAdmin"
	AdminService_ChangeAdminPassword_FullMethodName = "/personaldatanode.v1.AdminService/ChangeAdminPassword"
)
View Source
const (
	BlockchainPeerService_CreateTransaction_FullMethodName = "/personaldatanode.v1.BlockchainPeerService/CreateTransaction"
	BlockchainPeerService_Validate_FullMethodName          = "/personaldatanode.v1.BlockchainPeerService/Validate"
	BlockchainPeerService_GetBlocks_FullMethodName         = "/personaldatanode.v1.BlockchainPeerService/GetBlocks"
	BlockchainPeerService_GetEntities_FullMethodName       = "/personaldatanode.v1.BlockchainPeerService/GetEntities"
)

Variables

View Source
var (
	BlockchainEntity_Type_name = map[int32]string{
		0: "TYPE_UNKNOWN_UNSPECIFIED",
		1: "TYPE_GROUP",
		2: "TYPE_CHANNEL",
	}
	BlockchainEntity_Type_value = map[string]int32{
		"TYPE_UNKNOWN_UNSPECIFIED": 0,
		"TYPE_GROUP":               1,
		"TYPE_CHANNEL":             2,
	}
)

Enum value maps for BlockchainEntity_Type.

View Source
var (
	BlockchainTransaction_Operation_name = map[int32]string{
		0: "OPERATION_UNKNOWN_UNSPECIFIED",
		1: "OPERATION_CREATE",
		2: "OPERATION_TRANSIT",
		3: "OPERATION_DELETE",
	}
	BlockchainTransaction_Operation_value = map[string]int32{
		"OPERATION_UNKNOWN_UNSPECIFIED": 0,
		"OPERATION_CREATE":              1,
		"OPERATION_TRANSIT":             2,
		"OPERATION_DELETE":              3,
	}
)

Enum value maps for BlockchainTransaction_Operation.

View Source
var (
	BlockchainTransaction_Field_name = map[int32]string{
		0: "FIELD_UNKNOWN_UNSPECIFIED",
		1: "FIELD_ENTITY_ID",
		2: "FIELD_NETWORK_NODE_ID",
	}
	BlockchainTransaction_Field_value = map[string]int32{
		"FIELD_UNKNOWN_UNSPECIFIED": 0,
		"FIELD_ENTITY_ID":           1,
		"FIELD_NETWORK_NODE_ID":     2,
	}
)

Enum value maps for BlockchainTransaction_Field.

View Source
var AdminService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "personaldatanode.v1.AdminService",
	HandlerType: (*AdminServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LoginAdmin",
			Handler:    _AdminService_LoginAdmin_Handler,
		},
		{
			MethodName: "RefreshAdminToken",
			Handler:    _AdminService_RefreshAdminToken_Handler,
		},
		{
			MethodName: "LogoutAdmin",
			Handler:    _AdminService_LogoutAdmin_Handler,
		},
		{
			MethodName: "ChangeAdminPassword",
			Handler:    _AdminService_ChangeAdminPassword_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "personaldatanode/v1/admin_service.proto",
}

AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var BlockchainPeerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "personaldatanode.v1.BlockchainPeerService",
	HandlerType: (*BlockchainPeerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTransaction",
			Handler:    _BlockchainPeerService_CreateTransaction_Handler,
		},
		{
			MethodName: "Validate",
			Handler:    _BlockchainPeerService_Validate_Handler,
		},
		{
			MethodName: "GetBlocks",
			Handler:    _BlockchainPeerService_GetBlocks_Handler,
		},
		{
			MethodName: "GetEntities",
			Handler:    _BlockchainPeerService_GetEntities_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "personaldatanode/v1/blockchain_peer_service.proto",
}

BlockchainPeerService_ServiceDesc is the grpc.ServiceDesc for BlockchainPeerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CoreService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "personaldatanode.v1.CoreService",
	HandlerType: (*CoreServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "personaldatanode/v1/core_service.proto",
}

CoreService_ServiceDesc is the grpc.ServiceDesc for CoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_personaldatanode_v1_admin_service_proto protoreflect.FileDescriptor
View Source
var File_personaldatanode_v1_blockchain_block_proto protoreflect.FileDescriptor
View Source
var File_personaldatanode_v1_blockchain_entity_proto protoreflect.FileDescriptor
View Source
var File_personaldatanode_v1_blockchain_peer_service_proto protoreflect.FileDescriptor
View Source
var File_personaldatanode_v1_blockchain_transaction_proto protoreflect.FileDescriptor
View Source
var File_personaldatanode_v1_core_service_proto protoreflect.FileDescriptor

Functions

func RegisterAdminServiceHandler added in v0.0.27

func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAdminServiceHandler registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAdminServiceHandlerClient added in v0.0.27

func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminServiceClient) error

RegisterAdminServiceHandlerClient registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AdminServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AdminServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AdminServiceClient" to call the correct interceptors.

func RegisterAdminServiceHandlerFromEndpoint added in v0.0.27

func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAdminServiceHandlerFromEndpoint is same as RegisterAdminServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAdminServiceHandlerServer added in v0.0.27

func RegisterAdminServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdminServiceServer) error

RegisterAdminServiceHandlerServer registers the http handlers for service AdminService to "mux". UnaryRPC :call AdminServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAdminServiceHandlerFromEndpoint instead.

func RegisterAdminServiceServer

func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)

func RegisterBlockchainPeerServiceHandler added in v0.0.28

func RegisterBlockchainPeerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBlockchainPeerServiceHandler registers the http handlers for service BlockchainPeerService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBlockchainPeerServiceHandlerClient added in v0.0.28

func RegisterBlockchainPeerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BlockchainPeerServiceClient) error

RegisterBlockchainPeerServiceHandlerClient registers the http handlers for service BlockchainPeerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BlockchainPeerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BlockchainPeerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BlockchainPeerServiceClient" to call the correct interceptors.

func RegisterBlockchainPeerServiceHandlerFromEndpoint added in v0.0.28

func RegisterBlockchainPeerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBlockchainPeerServiceHandlerFromEndpoint is same as RegisterBlockchainPeerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBlockchainPeerServiceHandlerServer added in v0.0.28

func RegisterBlockchainPeerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BlockchainPeerServiceServer) error

RegisterBlockchainPeerServiceHandlerServer registers the http handlers for service BlockchainPeerService to "mux". UnaryRPC :call BlockchainPeerServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBlockchainPeerServiceHandlerFromEndpoint instead.

func RegisterBlockchainPeerServiceServer

func RegisterBlockchainPeerServiceServer(s grpc.ServiceRegistrar, srv BlockchainPeerServiceServer)

func RegisterCoreServiceServer

func RegisterCoreServiceServer(s grpc.ServiceRegistrar, srv CoreServiceServer)

Types

type AdminServiceChangeAdminPasswordRequest added in v0.0.27

type AdminServiceChangeAdminPasswordRequest struct {
	RemoteMacAddress string `protobuf:"bytes,1,opt,name=remote_mac_address,json=remoteMacAddress,proto3" json:"remote_mac_address,omitempty"`
	Token            string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Password         string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	NewPassword      string `protobuf:"bytes,4,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminServiceChangeAdminPasswordRequest) Descriptor deprecated added in v0.0.27

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

Deprecated: Use AdminServiceChangeAdminPasswordRequest.ProtoReflect.Descriptor instead.

func (*AdminServiceChangeAdminPasswordRequest) GetNewPassword added in v0.0.27

func (x *AdminServiceChangeAdminPasswordRequest) GetNewPassword() string

func (*AdminServiceChangeAdminPasswordRequest) GetPassword added in v0.0.27

func (*AdminServiceChangeAdminPasswordRequest) GetRemoteMacAddress added in v0.0.27

func (x *AdminServiceChangeAdminPasswordRequest) GetRemoteMacAddress() string

func (*AdminServiceChangeAdminPasswordRequest) GetToken added in v0.0.27

func (*AdminServiceChangeAdminPasswordRequest) ProtoMessage added in v0.0.27

func (*AdminServiceChangeAdminPasswordRequest) ProtoReflect added in v0.0.27

func (*AdminServiceChangeAdminPasswordRequest) Reset added in v0.0.27

func (*AdminServiceChangeAdminPasswordRequest) String added in v0.0.27

func (*AdminServiceChangeAdminPasswordRequest) Validate added in v0.0.27

Validate checks the field values on AdminServiceChangeAdminPasswordRequest 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 (*AdminServiceChangeAdminPasswordRequest) ValidateAll added in v0.0.27

ValidateAll checks the field values on AdminServiceChangeAdminPasswordRequest 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 AdminServiceChangeAdminPasswordRequestMultiError, or nil if none found.

type AdminServiceChangeAdminPasswordRequestMultiError added in v0.0.27

type AdminServiceChangeAdminPasswordRequestMultiError []error

AdminServiceChangeAdminPasswordRequestMultiError is an error wrapping multiple validation errors returned by AdminServiceChangeAdminPasswordRequest.ValidateAll() if the designated constraints aren't met.

func (AdminServiceChangeAdminPasswordRequestMultiError) AllErrors added in v0.0.27

AllErrors returns a list of validation violation errors.

func (AdminServiceChangeAdminPasswordRequestMultiError) Error added in v0.0.27

Error returns a concatenation of all the error messages it wraps.

type AdminServiceChangeAdminPasswordRequestValidationError added in v0.0.27

type AdminServiceChangeAdminPasswordRequestValidationError struct {
	// contains filtered or unexported fields
}

AdminServiceChangeAdminPasswordRequestValidationError is the validation error returned by AdminServiceChangeAdminPasswordRequest.Validate if the designated constraints aren't met.

func (AdminServiceChangeAdminPasswordRequestValidationError) Cause added in v0.0.27

Cause function returns cause value.

func (AdminServiceChangeAdminPasswordRequestValidationError) Error added in v0.0.27

Error satisfies the builtin error interface

func (AdminServiceChangeAdminPasswordRequestValidationError) ErrorName added in v0.0.27

ErrorName returns error name.

func (AdminServiceChangeAdminPasswordRequestValidationError) Field added in v0.0.27

Field function returns field value.

func (AdminServiceChangeAdminPasswordRequestValidationError) Key added in v0.0.27

Key function returns key value.

func (AdminServiceChangeAdminPasswordRequestValidationError) Reason added in v0.0.27

Reason function returns reason value.

type AdminServiceChangeAdminPasswordResponse added in v0.0.27

type AdminServiceChangeAdminPasswordResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminServiceChangeAdminPasswordResponse) Descriptor deprecated added in v0.0.27

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

Deprecated: Use AdminServiceChangeAdminPasswordResponse.ProtoReflect.Descriptor instead.

func (*AdminServiceChangeAdminPasswordResponse) GetSuccess added in v0.0.27

func (*AdminServiceChangeAdminPasswordResponse) ProtoMessage added in v0.0.27

func (*AdminServiceChangeAdminPasswordResponse) ProtoReflect added in v0.0.27

func (*AdminServiceChangeAdminPasswordResponse) Reset added in v0.0.27

func (*AdminServiceChangeAdminPasswordResponse) String added in v0.0.27

func (*AdminServiceChangeAdminPasswordResponse) Validate added in v0.0.27

Validate checks the field values on AdminServiceChangeAdminPasswordResponse 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 (*AdminServiceChangeAdminPasswordResponse) ValidateAll added in v0.0.27

ValidateAll checks the field values on AdminServiceChangeAdminPasswordResponse 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 AdminServiceChangeAdminPasswordResponseMultiError, or nil if none found.

type AdminServiceChangeAdminPasswordResponseMultiError added in v0.0.27

type AdminServiceChangeAdminPasswordResponseMultiError []error

AdminServiceChangeAdminPasswordResponseMultiError is an error wrapping multiple validation errors returned by AdminServiceChangeAdminPasswordResponse.ValidateAll() if the designated constraints aren't met.

func (AdminServiceChangeAdminPasswordResponseMultiError) AllErrors added in v0.0.27

AllErrors returns a list of validation violation errors.

func (AdminServiceChangeAdminPasswordResponseMultiError) Error added in v0.0.27

Error returns a concatenation of all the error messages it wraps.

type AdminServiceChangeAdminPasswordResponseValidationError added in v0.0.27

type AdminServiceChangeAdminPasswordResponseValidationError struct {
	// contains filtered or unexported fields
}

AdminServiceChangeAdminPasswordResponseValidationError is the validation error returned by AdminServiceChangeAdminPasswordResponse.Validate if the designated constraints aren't met.

func (AdminServiceChangeAdminPasswordResponseValidationError) Cause added in v0.0.27

Cause function returns cause value.

func (AdminServiceChangeAdminPasswordResponseValidationError) Error added in v0.0.27

Error satisfies the builtin error interface

func (AdminServiceChangeAdminPasswordResponseValidationError) ErrorName added in v0.0.27

ErrorName returns error name.

func (AdminServiceChangeAdminPasswordResponseValidationError) Field added in v0.0.27

Field function returns field value.

func (AdminServiceChangeAdminPasswordResponseValidationError) Key added in v0.0.27

Key function returns key value.

func (AdminServiceChangeAdminPasswordResponseValidationError) Reason added in v0.0.27

Reason function returns reason value.

type AdminServiceClient

AdminServiceClient is the client API for AdminService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AdminServiceLoginAdminRequest added in v0.0.27

type AdminServiceLoginAdminRequest struct {
	RemoteMacAddress string `protobuf:"bytes,1,opt,name=remote_mac_address,json=remoteMacAddress,proto3" json:"remote_mac_address,omitempty"`
	Email            string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	PhoneNumber      string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	Password         string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminServiceLoginAdminRequest) Descriptor deprecated added in v0.0.27

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

Deprecated: Use AdminServiceLoginAdminRequest.ProtoReflect.Descriptor instead.

func (*AdminServiceLoginAdminRequest) GetEmail added in v0.0.27

func (x *AdminServiceLoginAdminRequest) GetEmail() string

func (*AdminServiceLoginAdminRequest) GetPassword added in v0.0.27

func (x *AdminServiceLoginAdminRequest) GetPassword() string

func (*AdminServiceLoginAdminRequest) GetPhoneNumber added in v0.0.27

func (x *AdminServiceLoginAdminRequest) GetPhoneNumber() string

func (*AdminServiceLoginAdminRequest) GetRemoteMacAddress added in v0.0.27

func (x *AdminServiceLoginAdminRequest) GetRemoteMacAddress() string

func (*AdminServiceLoginAdminRequest) ProtoMessage added in v0.0.27

func (*AdminServiceLoginAdminRequest) ProtoMessage()

func (*AdminServiceLoginAdminRequest) ProtoReflect added in v0.0.27

func (*AdminServiceLoginAdminRequest) Reset added in v0.0.27

func (x *AdminServiceLoginAdminRequest) Reset()

func (*AdminServiceLoginAdminRequest) String added in v0.0.27

func (*AdminServiceLoginAdminRequest) Validate added in v0.0.27

func (m *AdminServiceLoginAdminRequest) Validate() error

Validate checks the field values on AdminServiceLoginAdminRequest 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 (*AdminServiceLoginAdminRequest) ValidateAll added in v0.0.27

func (m *AdminServiceLoginAdminRequest) ValidateAll() error

ValidateAll checks the field values on AdminServiceLoginAdminRequest 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 AdminServiceLoginAdminRequestMultiError, or nil if none found.

type AdminServiceLoginAdminRequestMultiError added in v0.0.27

type AdminServiceLoginAdminRequestMultiError []error

AdminServiceLoginAdminRequestMultiError is an error wrapping multiple validation errors returned by AdminServiceLoginAdminRequest.ValidateAll() if the designated constraints aren't met.

func (AdminServiceLoginAdminRequestMultiError) AllErrors added in v0.0.27

AllErrors returns a list of validation violation errors.

func (AdminServiceLoginAdminRequestMultiError) Error added in v0.0.27

Error returns a concatenation of all the error messages it wraps.

type AdminServiceLoginAdminRequestValidationError added in v0.0.27

type AdminServiceLoginAdminRequestValidationError struct {
	// contains filtered or unexported fields
}

AdminServiceLoginAdminRequestValidationError is the validation error returned by AdminServiceLoginAdminRequest.Validate if the designated constraints aren't met.

func (AdminServiceLoginAdminRequestValidationError) Cause added in v0.0.27

Cause function returns cause value.

func (AdminServiceLoginAdminRequestValidationError) Error added in v0.0.27

Error satisfies the builtin error interface

func (AdminServiceLoginAdminRequestValidationError) ErrorName added in v0.0.27

ErrorName returns error name.

func (AdminServiceLoginAdminRequestValidationError) Field added in v0.0.27

Field function returns field value.

func (AdminServiceLoginAdminRequestValidationError) Key added in v0.0.27

Key function returns key value.

func (AdminServiceLoginAdminRequestValidationError) Reason added in v0.0.27

Reason function returns reason value.

type AdminServiceLoginAdminResponse added in v0.0.27

type AdminServiceLoginAdminResponse struct {
	Token        string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminServiceLoginAdminResponse) Descriptor deprecated added in v0.0.27

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

Deprecated: Use AdminServiceLoginAdminResponse.ProtoReflect.Descriptor instead.

func (*AdminServiceLoginAdminResponse) GetRefreshToken added in v0.0.27

func (x *AdminServiceLoginAdminResponse) GetRefreshToken() string

func (*AdminServiceLoginAdminResponse) GetToken added in v0.0.27

func (x *AdminServiceLoginAdminResponse) GetToken() string

func (*AdminServiceLoginAdminResponse) ProtoMessage added in v0.0.27

func (*AdminServiceLoginAdminResponse) ProtoMessage()

func (*AdminServiceLoginAdminResponse) ProtoReflect added in v0.0.27

func (*AdminServiceLoginAdminResponse) Reset added in v0.0.27

func (x *AdminServiceLoginAdminResponse) Reset()

func (*AdminServiceLoginAdminResponse) String added in v0.0.27

func (*AdminServiceLoginAdminResponse) Validate added in v0.0.27

func (m *AdminServiceLoginAdminResponse) Validate() error

Validate checks the field values on AdminServiceLoginAdminResponse 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 (*AdminServiceLoginAdminResponse) ValidateAll added in v0.0.27

func (m *AdminServiceLoginAdminResponse) ValidateAll() error

ValidateAll checks the field values on AdminServiceLoginAdminResponse 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 AdminServiceLoginAdminResponseMultiError, or nil if none found.

type AdminServiceLoginAdminResponseMultiError added in v0.0.27

type AdminServiceLoginAdminResponseMultiError []error

AdminServiceLoginAdminResponseMultiError is an error wrapping multiple validation errors returned by AdminServiceLoginAdminResponse.ValidateAll() if the designated constraints aren't met.

func (AdminServiceLoginAdminResponseMultiError) AllErrors added in v0.0.27

AllErrors returns a list of validation violation errors.

func (AdminServiceLoginAdminResponseMultiError) Error added in v0.0.27

Error returns a concatenation of all the error messages it wraps.

type AdminServiceLoginAdminResponseValidationError added in v0.0.27

type AdminServiceLoginAdminResponseValidationError struct {
	// contains filtered or unexported fields
}

AdminServiceLoginAdminResponseValidationError is the validation error returned by AdminServiceLoginAdminResponse.Validate if the designated constraints aren't met.

func (AdminServiceLoginAdminResponseValidationError) Cause added in v0.0.27

Cause function returns cause value.

func (AdminServiceLoginAdminResponseValidationError) Error added in v0.0.27

Error satisfies the builtin error interface

func (AdminServiceLoginAdminResponseValidationError) ErrorName added in v0.0.27

ErrorName returns error name.

func (AdminServiceLoginAdminResponseValidationError) Field added in v0.0.27

Field function returns field value.

func (AdminServiceLoginAdminResponseValidationError) Key added in v0.0.27

Key function returns key value.

func (AdminServiceLoginAdminResponseValidationError) Reason added in v0.0.27

Reason function returns reason value.

type AdminServiceLogoutAdminRequest added in v0.0.27

type AdminServiceLogoutAdminRequest struct {
	RemoteMacAddress string `protobuf:"bytes,1,opt,name=remote_mac_address,json=remoteMacAddress,proto3" json:"remote_mac_address,omitempty"`
	Token            string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminServiceLogoutAdminRequest) Descriptor deprecated added in v0.0.27

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

Deprecated: Use AdminServiceLogoutAdminRequest.ProtoReflect.Descriptor instead.

func (*AdminServiceLogoutAdminRequest) GetRemoteMacAddress added in v0.0.27

func (x *AdminServiceLogoutAdminRequest) GetRemoteMacAddress() string

func (*AdminServiceLogoutAdminRequest) GetToken added in v0.0.27

func (x *AdminServiceLogoutAdminRequest) GetToken() string

func (*AdminServiceLogoutAdminRequest) ProtoMessage added in v0.0.27

func (*AdminServiceLogoutAdminRequest) ProtoMessage()

func (*AdminServiceLogoutAdminRequest) ProtoReflect added in v0.0.27

func (*AdminServiceLogoutAdminRequest) Reset added in v0.0.27

func (x *AdminServiceLogoutAdminRequest) Reset()

func (*AdminServiceLogoutAdminRequest) String added in v0.0.27

func (*AdminServiceLogoutAdminRequest) Validate added in v0.0.27

func (m *AdminServiceLogoutAdminRequest) Validate() error

Validate checks the field values on AdminServiceLogoutAdminRequest 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 (*AdminServiceLogoutAdminRequest) ValidateAll added in v0.0.27

func (m *AdminServiceLogoutAdminRequest) ValidateAll() error

ValidateAll checks the field values on AdminServiceLogoutAdminRequest 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 AdminServiceLogoutAdminRequestMultiError, or nil if none found.

type AdminServiceLogoutAdminRequestMultiError added in v0.0.27

type AdminServiceLogoutAdminRequestMultiError []error

AdminServiceLogoutAdminRequestMultiError is an error wrapping multiple validation errors returned by AdminServiceLogoutAdminRequest.ValidateAll() if the designated constraints aren't met.

func (AdminServiceLogoutAdminRequestMultiError) AllErrors added in v0.0.27

AllErrors returns a list of validation violation errors.

func (AdminServiceLogoutAdminRequestMultiError) Error added in v0.0.27

Error returns a concatenation of all the error messages it wraps.

type AdminServiceLogoutAdminRequestValidationError added in v0.0.27

type AdminServiceLogoutAdminRequestValidationError struct {
	// contains filtered or unexported fields
}

AdminServiceLogoutAdminRequestValidationError is the validation error returned by AdminServiceLogoutAdminRequest.Validate if the designated constraints aren't met.

func (AdminServiceLogoutAdminRequestValidationError) Cause added in v0.0.27

Cause function returns cause value.

func (AdminServiceLogoutAdminRequestValidationError) Error added in v0.0.27

Error satisfies the builtin error interface

func (AdminServiceLogoutAdminRequestValidationError) ErrorName added in v0.0.27

ErrorName returns error name.

func (AdminServiceLogoutAdminRequestValidationError) Field added in v0.0.27

Field function returns field value.

func (AdminServiceLogoutAdminRequestValidationError) Key added in v0.0.27

Key function returns key value.

func (AdminServiceLogoutAdminRequestValidationError) Reason added in v0.0.27

Reason function returns reason value.

type AdminServiceLogoutAdminResponse added in v0.0.27

type AdminServiceLogoutAdminResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminServiceLogoutAdminResponse) Descriptor deprecated added in v0.0.27

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

Deprecated: Use AdminServiceLogoutAdminResponse.ProtoReflect.Descriptor instead.

func (*AdminServiceLogoutAdminResponse) GetSuccess added in v0.0.27

func (x *AdminServiceLogoutAdminResponse) GetSuccess() bool

func (*AdminServiceLogoutAdminResponse) ProtoMessage added in v0.0.27

func (*AdminServiceLogoutAdminResponse) ProtoMessage()

func (*AdminServiceLogoutAdminResponse) ProtoReflect added in v0.0.27

func (*AdminServiceLogoutAdminResponse) Reset added in v0.0.27

func (*AdminServiceLogoutAdminResponse) String added in v0.0.27

func (*AdminServiceLogoutAdminResponse) Validate added in v0.0.27

func (m *AdminServiceLogoutAdminResponse) Validate() error

Validate checks the field values on AdminServiceLogoutAdminResponse 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 (*AdminServiceLogoutAdminResponse) ValidateAll added in v0.0.27

func (m *AdminServiceLogoutAdminResponse) ValidateAll() error

ValidateAll checks the field values on AdminServiceLogoutAdminResponse 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 AdminServiceLogoutAdminResponseMultiError, or nil if none found.

type AdminServiceLogoutAdminResponseMultiError added in v0.0.27

type AdminServiceLogoutAdminResponseMultiError []error

AdminServiceLogoutAdminResponseMultiError is an error wrapping multiple validation errors returned by AdminServiceLogoutAdminResponse.ValidateAll() if the designated constraints aren't met.

func (AdminServiceLogoutAdminResponseMultiError) AllErrors added in v0.0.27

AllErrors returns a list of validation violation errors.

func (AdminServiceLogoutAdminResponseMultiError) Error added in v0.0.27

Error returns a concatenation of all the error messages it wraps.

type AdminServiceLogoutAdminResponseValidationError added in v0.0.27

type AdminServiceLogoutAdminResponseValidationError struct {
	// contains filtered or unexported fields
}

AdminServiceLogoutAdminResponseValidationError is the validation error returned by AdminServiceLogoutAdminResponse.Validate if the designated constraints aren't met.

func (AdminServiceLogoutAdminResponseValidationError) Cause added in v0.0.27

Cause function returns cause value.

func (AdminServiceLogoutAdminResponseValidationError) Error added in v0.0.27

Error satisfies the builtin error interface

func (AdminServiceLogoutAdminResponseValidationError) ErrorName added in v0.0.27

ErrorName returns error name.

func (AdminServiceLogoutAdminResponseValidationError) Field added in v0.0.27

Field function returns field value.

func (AdminServiceLogoutAdminResponseValidationError) Key added in v0.0.27

Key function returns key value.

func (AdminServiceLogoutAdminResponseValidationError) Reason added in v0.0.27

Reason function returns reason value.

type AdminServiceRefreshAdminTokenRequest added in v0.0.27

type AdminServiceRefreshAdminTokenRequest struct {
	RemoteMacAddress string `protobuf:"bytes,1,opt,name=remote_mac_address,json=remoteMacAddress,proto3" json:"remote_mac_address,omitempty"`
	RefreshToken     string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminServiceRefreshAdminTokenRequest) Descriptor deprecated added in v0.0.27

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

Deprecated: Use AdminServiceRefreshAdminTokenRequest.ProtoReflect.Descriptor instead.

func (*AdminServiceRefreshAdminTokenRequest) GetRefreshToken added in v0.0.27

func (x *AdminServiceRefreshAdminTokenRequest) GetRefreshToken() string

func (*AdminServiceRefreshAdminTokenRequest) GetRemoteMacAddress added in v0.0.27

func (x *AdminServiceRefreshAdminTokenRequest) GetRemoteMacAddress() string

func (*AdminServiceRefreshAdminTokenRequest) ProtoMessage added in v0.0.27

func (*AdminServiceRefreshAdminTokenRequest) ProtoMessage()

func (*AdminServiceRefreshAdminTokenRequest) ProtoReflect added in v0.0.27

func (*AdminServiceRefreshAdminTokenRequest) Reset added in v0.0.27

func (*AdminServiceRefreshAdminTokenRequest) String added in v0.0.27

func (*AdminServiceRefreshAdminTokenRequest) Validate added in v0.0.27

Validate checks the field values on AdminServiceRefreshAdminTokenRequest 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 (*AdminServiceRefreshAdminTokenRequest) ValidateAll added in v0.0.27

ValidateAll checks the field values on AdminServiceRefreshAdminTokenRequest 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 AdminServiceRefreshAdminTokenRequestMultiError, or nil if none found.

type AdminServiceRefreshAdminTokenRequestMultiError added in v0.0.27

type AdminServiceRefreshAdminTokenRequestMultiError []error

AdminServiceRefreshAdminTokenRequestMultiError is an error wrapping multiple validation errors returned by AdminServiceRefreshAdminTokenRequest.ValidateAll() if the designated constraints aren't met.

func (AdminServiceRefreshAdminTokenRequestMultiError) AllErrors added in v0.0.27

AllErrors returns a list of validation violation errors.

func (AdminServiceRefreshAdminTokenRequestMultiError) Error added in v0.0.27

Error returns a concatenation of all the error messages it wraps.

type AdminServiceRefreshAdminTokenRequestValidationError added in v0.0.27

type AdminServiceRefreshAdminTokenRequestValidationError struct {
	// contains filtered or unexported fields
}

AdminServiceRefreshAdminTokenRequestValidationError is the validation error returned by AdminServiceRefreshAdminTokenRequest.Validate if the designated constraints aren't met.

func (AdminServiceRefreshAdminTokenRequestValidationError) Cause added in v0.0.27

Cause function returns cause value.

func (AdminServiceRefreshAdminTokenRequestValidationError) Error added in v0.0.27

Error satisfies the builtin error interface

func (AdminServiceRefreshAdminTokenRequestValidationError) ErrorName added in v0.0.27

ErrorName returns error name.

func (AdminServiceRefreshAdminTokenRequestValidationError) Field added in v0.0.27

Field function returns field value.

func (AdminServiceRefreshAdminTokenRequestValidationError) Key added in v0.0.27

Key function returns key value.

func (AdminServiceRefreshAdminTokenRequestValidationError) Reason added in v0.0.27

Reason function returns reason value.

type AdminServiceRefreshAdminTokenResponse added in v0.0.27

type AdminServiceRefreshAdminTokenResponse struct {
	Token        string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminServiceRefreshAdminTokenResponse) Descriptor deprecated added in v0.0.27

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

Deprecated: Use AdminServiceRefreshAdminTokenResponse.ProtoReflect.Descriptor instead.

func (*AdminServiceRefreshAdminTokenResponse) GetRefreshToken added in v0.0.27

func (x *AdminServiceRefreshAdminTokenResponse) GetRefreshToken() string

func (*AdminServiceRefreshAdminTokenResponse) GetToken added in v0.0.27

func (*AdminServiceRefreshAdminTokenResponse) ProtoMessage added in v0.0.27

func (*AdminServiceRefreshAdminTokenResponse) ProtoMessage()

func (*AdminServiceRefreshAdminTokenResponse) ProtoReflect added in v0.0.27

func (*AdminServiceRefreshAdminTokenResponse) Reset added in v0.0.27

func (*AdminServiceRefreshAdminTokenResponse) String added in v0.0.27

func (*AdminServiceRefreshAdminTokenResponse) Validate added in v0.0.27

Validate checks the field values on AdminServiceRefreshAdminTokenResponse 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 (*AdminServiceRefreshAdminTokenResponse) ValidateAll added in v0.0.27

ValidateAll checks the field values on AdminServiceRefreshAdminTokenResponse 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 AdminServiceRefreshAdminTokenResponseMultiError, or nil if none found.

type AdminServiceRefreshAdminTokenResponseMultiError added in v0.0.27

type AdminServiceRefreshAdminTokenResponseMultiError []error

AdminServiceRefreshAdminTokenResponseMultiError is an error wrapping multiple validation errors returned by AdminServiceRefreshAdminTokenResponse.ValidateAll() if the designated constraints aren't met.

func (AdminServiceRefreshAdminTokenResponseMultiError) AllErrors added in v0.0.27

AllErrors returns a list of validation violation errors.

func (AdminServiceRefreshAdminTokenResponseMultiError) Error added in v0.0.27

Error returns a concatenation of all the error messages it wraps.

type AdminServiceRefreshAdminTokenResponseValidationError added in v0.0.27

type AdminServiceRefreshAdminTokenResponseValidationError struct {
	// contains filtered or unexported fields
}

AdminServiceRefreshAdminTokenResponseValidationError is the validation error returned by AdminServiceRefreshAdminTokenResponse.Validate if the designated constraints aren't met.

func (AdminServiceRefreshAdminTokenResponseValidationError) Cause added in v0.0.27

Cause function returns cause value.

func (AdminServiceRefreshAdminTokenResponseValidationError) Error added in v0.0.27

Error satisfies the builtin error interface

func (AdminServiceRefreshAdminTokenResponseValidationError) ErrorName added in v0.0.27

ErrorName returns error name.

func (AdminServiceRefreshAdminTokenResponseValidationError) Field added in v0.0.27

Field function returns field value.

func (AdminServiceRefreshAdminTokenResponseValidationError) Key added in v0.0.27

Key function returns key value.

func (AdminServiceRefreshAdminTokenResponseValidationError) Reason added in v0.0.27

Reason function returns reason value.

type AdminServiceServer

AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility.

type BlockchainBlock added in v0.0.28

type BlockchainBlock struct {
	Header *BlockchainBlock_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Data   *BlockchainTransaction  `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainBlock) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainBlock.ProtoReflect.Descriptor instead.

func (*BlockchainBlock) GetData added in v0.0.28

func (x *BlockchainBlock) GetData() *BlockchainTransaction

func (*BlockchainBlock) GetHeader added in v0.0.28

func (x *BlockchainBlock) GetHeader() *BlockchainBlock_Header

func (*BlockchainBlock) ProtoMessage added in v0.0.28

func (*BlockchainBlock) ProtoMessage()

func (*BlockchainBlock) ProtoReflect added in v0.0.28

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

func (*BlockchainBlock) Reset added in v0.0.28

func (x *BlockchainBlock) Reset()

func (*BlockchainBlock) String added in v0.0.28

func (x *BlockchainBlock) String() string

func (*BlockchainBlock) Validate added in v0.0.28

func (m *BlockchainBlock) Validate() error

Validate checks the field values on BlockchainBlock 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 (*BlockchainBlock) ValidateAll added in v0.0.28

func (m *BlockchainBlock) ValidateAll() error

ValidateAll checks the field values on BlockchainBlock 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 BlockchainBlockMultiError, or nil if none found.

type BlockchainBlockMultiError added in v0.0.28

type BlockchainBlockMultiError []error

BlockchainBlockMultiError is an error wrapping multiple validation errors returned by BlockchainBlock.ValidateAll() if the designated constraints aren't met.

func (BlockchainBlockMultiError) AllErrors added in v0.0.28

func (m BlockchainBlockMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BlockchainBlockMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainBlockValidationError added in v0.0.28

type BlockchainBlockValidationError struct {
	// contains filtered or unexported fields
}

BlockchainBlockValidationError is the validation error returned by BlockchainBlock.Validate if the designated constraints aren't met.

func (BlockchainBlockValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainBlockValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainBlockValidationError) ErrorName added in v0.0.28

func (e BlockchainBlockValidationError) ErrorName() string

ErrorName returns error name.

func (BlockchainBlockValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainBlockValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainBlockValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainBlock_Header added in v0.0.28

type BlockchainBlock_Header struct {
	Hash            string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	ParentBlockHash string `protobuf:"bytes,2,opt,name=parent_block_hash,json=parentBlockHash,proto3" json:"parent_block_hash,omitempty"`
	Timestamp       string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainBlock_Header) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainBlock_Header.ProtoReflect.Descriptor instead.

func (*BlockchainBlock_Header) GetHash added in v0.0.28

func (x *BlockchainBlock_Header) GetHash() string

func (*BlockchainBlock_Header) GetParentBlockHash added in v0.0.28

func (x *BlockchainBlock_Header) GetParentBlockHash() string

func (*BlockchainBlock_Header) GetTimestamp added in v0.0.28

func (x *BlockchainBlock_Header) GetTimestamp() string

func (*BlockchainBlock_Header) ProtoMessage added in v0.0.28

func (*BlockchainBlock_Header) ProtoMessage()

func (*BlockchainBlock_Header) ProtoReflect added in v0.0.28

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

func (*BlockchainBlock_Header) Reset added in v0.0.28

func (x *BlockchainBlock_Header) Reset()

func (*BlockchainBlock_Header) String added in v0.0.28

func (x *BlockchainBlock_Header) String() string

func (*BlockchainBlock_Header) Validate added in v0.0.28

func (m *BlockchainBlock_Header) Validate() error

Validate checks the field values on BlockchainBlock_Header 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 (*BlockchainBlock_Header) ValidateAll added in v0.0.28

func (m *BlockchainBlock_Header) ValidateAll() error

ValidateAll checks the field values on BlockchainBlock_Header 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 BlockchainBlock_HeaderMultiError, or nil if none found.

type BlockchainBlock_HeaderMultiError added in v0.0.28

type BlockchainBlock_HeaderMultiError []error

BlockchainBlock_HeaderMultiError is an error wrapping multiple validation errors returned by BlockchainBlock_Header.ValidateAll() if the designated constraints aren't met.

func (BlockchainBlock_HeaderMultiError) AllErrors added in v0.0.28

func (m BlockchainBlock_HeaderMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BlockchainBlock_HeaderMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainBlock_HeaderValidationError added in v0.0.28

type BlockchainBlock_HeaderValidationError struct {
	// contains filtered or unexported fields
}

BlockchainBlock_HeaderValidationError is the validation error returned by BlockchainBlock_Header.Validate if the designated constraints aren't met.

func (BlockchainBlock_HeaderValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainBlock_HeaderValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainBlock_HeaderValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainBlock_HeaderValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainBlock_HeaderValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainBlock_HeaderValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainEntity added in v0.0.28

type BlockchainEntity struct {
	T    BlockchainEntity_Type `protobuf:"varint,1,opt,name=t,proto3,enum=personaldatanode.v1.BlockchainEntity_Type" json:"t,omitempty"`
	Id   int64                 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Nnid int64                 `protobuf:"varint,3,opt,name=nnid,proto3" json:"nnid,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainEntity) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainEntity.ProtoReflect.Descriptor instead.

func (*BlockchainEntity) GetId added in v0.0.28

func (x *BlockchainEntity) GetId() int64

func (*BlockchainEntity) GetNnid added in v0.0.28

func (x *BlockchainEntity) GetNnid() int64

func (*BlockchainEntity) GetT added in v0.0.28

func (*BlockchainEntity) ProtoMessage added in v0.0.28

func (*BlockchainEntity) ProtoMessage()

func (*BlockchainEntity) ProtoReflect added in v0.0.28

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

func (*BlockchainEntity) Reset added in v0.0.28

func (x *BlockchainEntity) Reset()

func (*BlockchainEntity) String added in v0.0.28

func (x *BlockchainEntity) String() string

func (*BlockchainEntity) Validate added in v0.0.28

func (m *BlockchainEntity) Validate() error

Validate checks the field values on BlockchainEntity 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 (*BlockchainEntity) ValidateAll added in v0.0.28

func (m *BlockchainEntity) ValidateAll() error

ValidateAll checks the field values on BlockchainEntity 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 BlockchainEntityMultiError, or nil if none found.

type BlockchainEntityMultiError added in v0.0.28

type BlockchainEntityMultiError []error

BlockchainEntityMultiError is an error wrapping multiple validation errors returned by BlockchainEntity.ValidateAll() if the designated constraints aren't met.

func (BlockchainEntityMultiError) AllErrors added in v0.0.28

func (m BlockchainEntityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BlockchainEntityMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainEntityValidationError added in v0.0.28

type BlockchainEntityValidationError struct {
	// contains filtered or unexported fields
}

BlockchainEntityValidationError is the validation error returned by BlockchainEntity.Validate if the designated constraints aren't met.

func (BlockchainEntityValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainEntityValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainEntityValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainEntityValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainEntityValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainEntityValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainEntity_Type added in v0.0.28

type BlockchainEntity_Type int32
const (
	BlockchainEntity_TYPE_UNKNOWN_UNSPECIFIED BlockchainEntity_Type = 0
	BlockchainEntity_TYPE_GROUP               BlockchainEntity_Type = 1
	BlockchainEntity_TYPE_CHANNEL             BlockchainEntity_Type = 2
)

func (BlockchainEntity_Type) Descriptor added in v0.0.28

func (BlockchainEntity_Type) Enum added in v0.0.28

func (BlockchainEntity_Type) EnumDescriptor deprecated added in v0.0.28

func (BlockchainEntity_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use BlockchainEntity_Type.Descriptor instead.

func (BlockchainEntity_Type) Number added in v0.0.28

func (BlockchainEntity_Type) String added in v0.0.28

func (x BlockchainEntity_Type) String() string

func (BlockchainEntity_Type) Type added in v0.0.28

type BlockchainPeerServiceClient

BlockchainPeerServiceClient is the client API for BlockchainPeerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type BlockchainPeerServiceCreateTransactionRequest added in v0.0.28

type BlockchainPeerServiceCreateTransactionRequest struct {
	Data *BlockchainTransaction `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainPeerServiceCreateTransactionRequest) Descriptor deprecated added in v0.0.28

Deprecated: Use BlockchainPeerServiceCreateTransactionRequest.ProtoReflect.Descriptor instead.

func (*BlockchainPeerServiceCreateTransactionRequest) GetData added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionRequest) ProtoMessage added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionRequest) ProtoReflect added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionRequest) Reset added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionRequest) String added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionRequest) Validate added in v0.0.28

Validate checks the field values on BlockchainPeerServiceCreateTransactionRequest 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 (*BlockchainPeerServiceCreateTransactionRequest) ValidateAll added in v0.0.28

ValidateAll checks the field values on BlockchainPeerServiceCreateTransactionRequest 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 BlockchainPeerServiceCreateTransactionRequestMultiError, or nil if none found.

type BlockchainPeerServiceCreateTransactionRequestMultiError added in v0.0.28

type BlockchainPeerServiceCreateTransactionRequestMultiError []error

BlockchainPeerServiceCreateTransactionRequestMultiError is an error wrapping multiple validation errors returned by BlockchainPeerServiceCreateTransactionRequest.ValidateAll() if the designated constraints aren't met.

func (BlockchainPeerServiceCreateTransactionRequestMultiError) AllErrors added in v0.0.28

AllErrors returns a list of validation violation errors.

func (BlockchainPeerServiceCreateTransactionRequestMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainPeerServiceCreateTransactionRequestValidationError added in v0.0.28

type BlockchainPeerServiceCreateTransactionRequestValidationError struct {
	// contains filtered or unexported fields
}

BlockchainPeerServiceCreateTransactionRequestValidationError is the validation error returned by BlockchainPeerServiceCreateTransactionRequest.Validate if the designated constraints aren't met.

func (BlockchainPeerServiceCreateTransactionRequestValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainPeerServiceCreateTransactionRequestValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainPeerServiceCreateTransactionRequestValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainPeerServiceCreateTransactionRequestValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainPeerServiceCreateTransactionRequestValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainPeerServiceCreateTransactionRequestValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainPeerServiceCreateTransactionResponse added in v0.0.28

type BlockchainPeerServiceCreateTransactionResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainPeerServiceCreateTransactionResponse) Descriptor deprecated added in v0.0.28

Deprecated: Use BlockchainPeerServiceCreateTransactionResponse.ProtoReflect.Descriptor instead.

func (*BlockchainPeerServiceCreateTransactionResponse) GetSuccess added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionResponse) ProtoMessage added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionResponse) ProtoReflect added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionResponse) Reset added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionResponse) String added in v0.0.28

func (*BlockchainPeerServiceCreateTransactionResponse) Validate added in v0.0.28

Validate checks the field values on BlockchainPeerServiceCreateTransactionResponse 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 (*BlockchainPeerServiceCreateTransactionResponse) ValidateAll added in v0.0.28

ValidateAll checks the field values on BlockchainPeerServiceCreateTransactionResponse 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 BlockchainPeerServiceCreateTransactionResponseMultiError, or nil if none found.

type BlockchainPeerServiceCreateTransactionResponseMultiError added in v0.0.28

type BlockchainPeerServiceCreateTransactionResponseMultiError []error

BlockchainPeerServiceCreateTransactionResponseMultiError is an error wrapping multiple validation errors returned by BlockchainPeerServiceCreateTransactionResponse.ValidateAll() if the designated constraints aren't met.

func (BlockchainPeerServiceCreateTransactionResponseMultiError) AllErrors added in v0.0.28

AllErrors returns a list of validation violation errors.

func (BlockchainPeerServiceCreateTransactionResponseMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainPeerServiceCreateTransactionResponseValidationError added in v0.0.28

type BlockchainPeerServiceCreateTransactionResponseValidationError struct {
	// contains filtered or unexported fields
}

BlockchainPeerServiceCreateTransactionResponseValidationError is the validation error returned by BlockchainPeerServiceCreateTransactionResponse.Validate if the designated constraints aren't met.

func (BlockchainPeerServiceCreateTransactionResponseValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainPeerServiceCreateTransactionResponseValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainPeerServiceCreateTransactionResponseValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainPeerServiceCreateTransactionResponseValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainPeerServiceCreateTransactionResponseValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainPeerServiceCreateTransactionResponseValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainPeerServiceGetBlocksRequest added in v0.0.28

type BlockchainPeerServiceGetBlocksRequest struct {
	From       *string        `protobuf:"bytes,1,opt,name=from,proto3,oneof" json:"from,omitempty"`
	To         *string        `protobuf:"bytes,2,opt,name=to,proto3,oneof" json:"to,omitempty"`
	Pagination *v1.Pagination `protobuf:"bytes,3,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainPeerServiceGetBlocksRequest) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainPeerServiceGetBlocksRequest.ProtoReflect.Descriptor instead.

func (*BlockchainPeerServiceGetBlocksRequest) GetFrom added in v0.0.28

func (*BlockchainPeerServiceGetBlocksRequest) GetPagination added in v0.0.28

func (*BlockchainPeerServiceGetBlocksRequest) GetTo added in v0.0.28

func (*BlockchainPeerServiceGetBlocksRequest) ProtoMessage added in v0.0.28

func (*BlockchainPeerServiceGetBlocksRequest) ProtoMessage()

func (*BlockchainPeerServiceGetBlocksRequest) ProtoReflect added in v0.0.28

func (*BlockchainPeerServiceGetBlocksRequest) Reset added in v0.0.28

func (*BlockchainPeerServiceGetBlocksRequest) String added in v0.0.28

func (*BlockchainPeerServiceGetBlocksRequest) Validate added in v0.0.28

Validate checks the field values on BlockchainPeerServiceGetBlocksRequest 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 (*BlockchainPeerServiceGetBlocksRequest) ValidateAll added in v0.0.28

ValidateAll checks the field values on BlockchainPeerServiceGetBlocksRequest 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 BlockchainPeerServiceGetBlocksRequestMultiError, or nil if none found.

type BlockchainPeerServiceGetBlocksRequestMultiError added in v0.0.28

type BlockchainPeerServiceGetBlocksRequestMultiError []error

BlockchainPeerServiceGetBlocksRequestMultiError is an error wrapping multiple validation errors returned by BlockchainPeerServiceGetBlocksRequest.ValidateAll() if the designated constraints aren't met.

func (BlockchainPeerServiceGetBlocksRequestMultiError) AllErrors added in v0.0.28

AllErrors returns a list of validation violation errors.

func (BlockchainPeerServiceGetBlocksRequestMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainPeerServiceGetBlocksRequestValidationError added in v0.0.28

type BlockchainPeerServiceGetBlocksRequestValidationError struct {
	// contains filtered or unexported fields
}

BlockchainPeerServiceGetBlocksRequestValidationError is the validation error returned by BlockchainPeerServiceGetBlocksRequest.Validate if the designated constraints aren't met.

func (BlockchainPeerServiceGetBlocksRequestValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainPeerServiceGetBlocksRequestValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainPeerServiceGetBlocksRequestValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainPeerServiceGetBlocksRequestValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainPeerServiceGetBlocksRequestValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainPeerServiceGetBlocksRequestValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainPeerServiceGetBlocksResponse added in v0.0.28

type BlockchainPeerServiceGetBlocksResponse struct {
	Data  []*BlockchainBlock `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Total int64              `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainPeerServiceGetBlocksResponse) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainPeerServiceGetBlocksResponse.ProtoReflect.Descriptor instead.

func (*BlockchainPeerServiceGetBlocksResponse) GetData added in v0.0.28

func (*BlockchainPeerServiceGetBlocksResponse) GetTotal added in v0.0.28

func (*BlockchainPeerServiceGetBlocksResponse) ProtoMessage added in v0.0.28

func (*BlockchainPeerServiceGetBlocksResponse) ProtoReflect added in v0.0.28

func (*BlockchainPeerServiceGetBlocksResponse) Reset added in v0.0.28

func (*BlockchainPeerServiceGetBlocksResponse) String added in v0.0.28

func (*BlockchainPeerServiceGetBlocksResponse) Validate added in v0.0.28

Validate checks the field values on BlockchainPeerServiceGetBlocksResponse 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 (*BlockchainPeerServiceGetBlocksResponse) ValidateAll added in v0.0.28

ValidateAll checks the field values on BlockchainPeerServiceGetBlocksResponse 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 BlockchainPeerServiceGetBlocksResponseMultiError, or nil if none found.

type BlockchainPeerServiceGetBlocksResponseMultiError added in v0.0.28

type BlockchainPeerServiceGetBlocksResponseMultiError []error

BlockchainPeerServiceGetBlocksResponseMultiError is an error wrapping multiple validation errors returned by BlockchainPeerServiceGetBlocksResponse.ValidateAll() if the designated constraints aren't met.

func (BlockchainPeerServiceGetBlocksResponseMultiError) AllErrors added in v0.0.28

AllErrors returns a list of validation violation errors.

func (BlockchainPeerServiceGetBlocksResponseMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainPeerServiceGetBlocksResponseValidationError added in v0.0.28

type BlockchainPeerServiceGetBlocksResponseValidationError struct {
	// contains filtered or unexported fields
}

BlockchainPeerServiceGetBlocksResponseValidationError is the validation error returned by BlockchainPeerServiceGetBlocksResponse.Validate if the designated constraints aren't met.

func (BlockchainPeerServiceGetBlocksResponseValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainPeerServiceGetBlocksResponseValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainPeerServiceGetBlocksResponseValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainPeerServiceGetBlocksResponseValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainPeerServiceGetBlocksResponseValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainPeerServiceGetBlocksResponseValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainPeerServiceGetEntitiesRequest added in v0.0.28

type BlockchainPeerServiceGetEntitiesRequest struct {
	Ids        []int64        `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	Pagination *v1.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainPeerServiceGetEntitiesRequest) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainPeerServiceGetEntitiesRequest.ProtoReflect.Descriptor instead.

func (*BlockchainPeerServiceGetEntitiesRequest) GetIds added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesRequest) GetPagination added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesRequest) ProtoMessage added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesRequest) ProtoReflect added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesRequest) Reset added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesRequest) String added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesRequest) Validate added in v0.0.28

Validate checks the field values on BlockchainPeerServiceGetEntitiesRequest 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 (*BlockchainPeerServiceGetEntitiesRequest) ValidateAll added in v0.0.28

ValidateAll checks the field values on BlockchainPeerServiceGetEntitiesRequest 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 BlockchainPeerServiceGetEntitiesRequestMultiError, or nil if none found.

type BlockchainPeerServiceGetEntitiesRequestMultiError added in v0.0.28

type BlockchainPeerServiceGetEntitiesRequestMultiError []error

BlockchainPeerServiceGetEntitiesRequestMultiError is an error wrapping multiple validation errors returned by BlockchainPeerServiceGetEntitiesRequest.ValidateAll() if the designated constraints aren't met.

func (BlockchainPeerServiceGetEntitiesRequestMultiError) AllErrors added in v0.0.28

AllErrors returns a list of validation violation errors.

func (BlockchainPeerServiceGetEntitiesRequestMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainPeerServiceGetEntitiesRequestValidationError added in v0.0.28

type BlockchainPeerServiceGetEntitiesRequestValidationError struct {
	// contains filtered or unexported fields
}

BlockchainPeerServiceGetEntitiesRequestValidationError is the validation error returned by BlockchainPeerServiceGetEntitiesRequest.Validate if the designated constraints aren't met.

func (BlockchainPeerServiceGetEntitiesRequestValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainPeerServiceGetEntitiesRequestValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainPeerServiceGetEntitiesRequestValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainPeerServiceGetEntitiesRequestValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainPeerServiceGetEntitiesRequestValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainPeerServiceGetEntitiesRequestValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainPeerServiceGetEntitiesResponse added in v0.0.28

type BlockchainPeerServiceGetEntitiesResponse struct {
	Data  []*BlockchainEntity `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Total int64               `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainPeerServiceGetEntitiesResponse) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainPeerServiceGetEntitiesResponse.ProtoReflect.Descriptor instead.

func (*BlockchainPeerServiceGetEntitiesResponse) GetData added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesResponse) GetTotal added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesResponse) ProtoMessage added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesResponse) ProtoReflect added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesResponse) Reset added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesResponse) String added in v0.0.28

func (*BlockchainPeerServiceGetEntitiesResponse) Validate added in v0.0.28

Validate checks the field values on BlockchainPeerServiceGetEntitiesResponse 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 (*BlockchainPeerServiceGetEntitiesResponse) ValidateAll added in v0.0.28

ValidateAll checks the field values on BlockchainPeerServiceGetEntitiesResponse 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 BlockchainPeerServiceGetEntitiesResponseMultiError, or nil if none found.

type BlockchainPeerServiceGetEntitiesResponseMultiError added in v0.0.28

type BlockchainPeerServiceGetEntitiesResponseMultiError []error

BlockchainPeerServiceGetEntitiesResponseMultiError is an error wrapping multiple validation errors returned by BlockchainPeerServiceGetEntitiesResponse.ValidateAll() if the designated constraints aren't met.

func (BlockchainPeerServiceGetEntitiesResponseMultiError) AllErrors added in v0.0.28

AllErrors returns a list of validation violation errors.

func (BlockchainPeerServiceGetEntitiesResponseMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainPeerServiceGetEntitiesResponseValidationError added in v0.0.28

type BlockchainPeerServiceGetEntitiesResponseValidationError struct {
	// contains filtered or unexported fields
}

BlockchainPeerServiceGetEntitiesResponseValidationError is the validation error returned by BlockchainPeerServiceGetEntitiesResponse.Validate if the designated constraints aren't met.

func (BlockchainPeerServiceGetEntitiesResponseValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainPeerServiceGetEntitiesResponseValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainPeerServiceGetEntitiesResponseValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainPeerServiceGetEntitiesResponseValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainPeerServiceGetEntitiesResponseValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainPeerServiceGetEntitiesResponseValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainPeerServiceServer

BlockchainPeerServiceServer is the server API for BlockchainPeerService service. All implementations must embed UnimplementedBlockchainPeerServiceServer for forward compatibility.

type BlockchainPeerServiceValidateRequest added in v0.0.28

type BlockchainPeerServiceValidateRequest struct {
	Data *BlockchainBlock `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainPeerServiceValidateRequest) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainPeerServiceValidateRequest.ProtoReflect.Descriptor instead.

func (*BlockchainPeerServiceValidateRequest) GetData added in v0.0.28

func (*BlockchainPeerServiceValidateRequest) ProtoMessage added in v0.0.28

func (*BlockchainPeerServiceValidateRequest) ProtoMessage()

func (*BlockchainPeerServiceValidateRequest) ProtoReflect added in v0.0.28

func (*BlockchainPeerServiceValidateRequest) Reset added in v0.0.28

func (*BlockchainPeerServiceValidateRequest) String added in v0.0.28

func (*BlockchainPeerServiceValidateRequest) Validate added in v0.0.28

Validate checks the field values on BlockchainPeerServiceValidateRequest 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 (*BlockchainPeerServiceValidateRequest) ValidateAll added in v0.0.28

ValidateAll checks the field values on BlockchainPeerServiceValidateRequest 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 BlockchainPeerServiceValidateRequestMultiError, or nil if none found.

type BlockchainPeerServiceValidateRequestMultiError added in v0.0.28

type BlockchainPeerServiceValidateRequestMultiError []error

BlockchainPeerServiceValidateRequestMultiError is an error wrapping multiple validation errors returned by BlockchainPeerServiceValidateRequest.ValidateAll() if the designated constraints aren't met.

func (BlockchainPeerServiceValidateRequestMultiError) AllErrors added in v0.0.28

AllErrors returns a list of validation violation errors.

func (BlockchainPeerServiceValidateRequestMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainPeerServiceValidateRequestValidationError added in v0.0.28

type BlockchainPeerServiceValidateRequestValidationError struct {
	// contains filtered or unexported fields
}

BlockchainPeerServiceValidateRequestValidationError is the validation error returned by BlockchainPeerServiceValidateRequest.Validate if the designated constraints aren't met.

func (BlockchainPeerServiceValidateRequestValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainPeerServiceValidateRequestValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainPeerServiceValidateRequestValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainPeerServiceValidateRequestValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainPeerServiceValidateRequestValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainPeerServiceValidateRequestValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainPeerServiceValidateResponse added in v0.0.28

type BlockchainPeerServiceValidateResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainPeerServiceValidateResponse) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainPeerServiceValidateResponse.ProtoReflect.Descriptor instead.

func (*BlockchainPeerServiceValidateResponse) GetValid added in v0.0.28

func (*BlockchainPeerServiceValidateResponse) ProtoMessage added in v0.0.28

func (*BlockchainPeerServiceValidateResponse) ProtoMessage()

func (*BlockchainPeerServiceValidateResponse) ProtoReflect added in v0.0.28

func (*BlockchainPeerServiceValidateResponse) Reset added in v0.0.28

func (*BlockchainPeerServiceValidateResponse) String added in v0.0.28

func (*BlockchainPeerServiceValidateResponse) Validate added in v0.0.28

Validate checks the field values on BlockchainPeerServiceValidateResponse 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 (*BlockchainPeerServiceValidateResponse) ValidateAll added in v0.0.28

ValidateAll checks the field values on BlockchainPeerServiceValidateResponse 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 BlockchainPeerServiceValidateResponseMultiError, or nil if none found.

type BlockchainPeerServiceValidateResponseMultiError added in v0.0.28

type BlockchainPeerServiceValidateResponseMultiError []error

BlockchainPeerServiceValidateResponseMultiError is an error wrapping multiple validation errors returned by BlockchainPeerServiceValidateResponse.ValidateAll() if the designated constraints aren't met.

func (BlockchainPeerServiceValidateResponseMultiError) AllErrors added in v0.0.28

AllErrors returns a list of validation violation errors.

func (BlockchainPeerServiceValidateResponseMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainPeerServiceValidateResponseValidationError added in v0.0.28

type BlockchainPeerServiceValidateResponseValidationError struct {
	// contains filtered or unexported fields
}

BlockchainPeerServiceValidateResponseValidationError is the validation error returned by BlockchainPeerServiceValidateResponse.Validate if the designated constraints aren't met.

func (BlockchainPeerServiceValidateResponseValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainPeerServiceValidateResponseValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainPeerServiceValidateResponseValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainPeerServiceValidateResponseValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainPeerServiceValidateResponseValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainPeerServiceValidateResponseValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainTransaction added in v0.0.28

type BlockchainTransaction struct {
	Op         BlockchainTransaction_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=personaldatanode.v1.BlockchainTransaction_Operation" json:"op,omitempty"`
	Field      *BlockchainTransaction_Field    `protobuf:"varint,2,opt,name=field,proto3,enum=personaldatanode.v1.BlockchainTransaction_Field,oneof" json:"field,omitempty"`
	Value      *string                         `protobuf:"bytes,3,opt,name=value,proto3,oneof" json:"value,omitempty"`
	Identifier *string                         `protobuf:"bytes,4,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainTransaction) Descriptor deprecated added in v0.0.28

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

Deprecated: Use BlockchainTransaction.ProtoReflect.Descriptor instead.

func (*BlockchainTransaction) GetField added in v0.0.28

func (*BlockchainTransaction) GetIdentifier added in v0.0.28

func (x *BlockchainTransaction) GetIdentifier() string

func (*BlockchainTransaction) GetOp added in v0.0.28

func (*BlockchainTransaction) GetValue added in v0.0.28

func (x *BlockchainTransaction) GetValue() string

func (*BlockchainTransaction) ProtoMessage added in v0.0.28

func (*BlockchainTransaction) ProtoMessage()

func (*BlockchainTransaction) ProtoReflect added in v0.0.28

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

func (*BlockchainTransaction) Reset added in v0.0.28

func (x *BlockchainTransaction) Reset()

func (*BlockchainTransaction) String added in v0.0.28

func (x *BlockchainTransaction) String() string

func (*BlockchainTransaction) Validate added in v0.0.28

func (m *BlockchainTransaction) Validate() error

Validate checks the field values on BlockchainTransaction 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 (*BlockchainTransaction) ValidateAll added in v0.0.28

func (m *BlockchainTransaction) ValidateAll() error

ValidateAll checks the field values on BlockchainTransaction 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 BlockchainTransactionMultiError, or nil if none found.

type BlockchainTransactionMultiError added in v0.0.28

type BlockchainTransactionMultiError []error

BlockchainTransactionMultiError is an error wrapping multiple validation errors returned by BlockchainTransaction.ValidateAll() if the designated constraints aren't met.

func (BlockchainTransactionMultiError) AllErrors added in v0.0.28

func (m BlockchainTransactionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BlockchainTransactionMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type BlockchainTransactionValidationError added in v0.0.28

type BlockchainTransactionValidationError struct {
	// contains filtered or unexported fields
}

BlockchainTransactionValidationError is the validation error returned by BlockchainTransaction.Validate if the designated constraints aren't met.

func (BlockchainTransactionValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (BlockchainTransactionValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (BlockchainTransactionValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (BlockchainTransactionValidationError) Field added in v0.0.28

Field function returns field value.

func (BlockchainTransactionValidationError) Key added in v0.0.28

Key function returns key value.

func (BlockchainTransactionValidationError) Reason added in v0.0.28

Reason function returns reason value.

type BlockchainTransaction_Field added in v0.0.28

type BlockchainTransaction_Field int32
const (
	BlockchainTransaction_FIELD_UNKNOWN_UNSPECIFIED BlockchainTransaction_Field = 0
	BlockchainTransaction_FIELD_ENTITY_ID           BlockchainTransaction_Field = 1
	BlockchainTransaction_FIELD_NETWORK_NODE_ID     BlockchainTransaction_Field = 2
)

func (BlockchainTransaction_Field) Descriptor added in v0.0.28

func (BlockchainTransaction_Field) Enum added in v0.0.28

func (BlockchainTransaction_Field) EnumDescriptor deprecated added in v0.0.28

func (BlockchainTransaction_Field) EnumDescriptor() ([]byte, []int)

Deprecated: Use BlockchainTransaction_Field.Descriptor instead.

func (BlockchainTransaction_Field) Number added in v0.0.28

func (BlockchainTransaction_Field) String added in v0.0.28

func (BlockchainTransaction_Field) Type added in v0.0.28

type BlockchainTransaction_Operation added in v0.0.28

type BlockchainTransaction_Operation int32
const (
	BlockchainTransaction_OPERATION_UNKNOWN_UNSPECIFIED BlockchainTransaction_Operation = 0
	BlockchainTransaction_OPERATION_CREATE              BlockchainTransaction_Operation = 1
	BlockchainTransaction_OPERATION_TRANSIT             BlockchainTransaction_Operation = 2
	BlockchainTransaction_OPERATION_DELETE              BlockchainTransaction_Operation = 3
)

func (BlockchainTransaction_Operation) Descriptor added in v0.0.28

func (BlockchainTransaction_Operation) Enum added in v0.0.28

func (BlockchainTransaction_Operation) EnumDescriptor deprecated added in v0.0.28

func (BlockchainTransaction_Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use BlockchainTransaction_Operation.Descriptor instead.

func (BlockchainTransaction_Operation) Number added in v0.0.28

func (BlockchainTransaction_Operation) String added in v0.0.28

func (BlockchainTransaction_Operation) Type added in v0.0.28

type CoreServiceClient

type CoreServiceClient interface {
}

CoreServiceClient is the client API for CoreService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CoreServiceServer

type CoreServiceServer interface {
	// contains filtered or unexported methods
}

CoreServiceServer is the server API for CoreService service. All implementations must embed UnimplementedCoreServiceServer for forward compatibility.

type UnimplementedAdminServiceServer

type UnimplementedAdminServiceServer struct{}

UnimplementedAdminServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAdminServiceServer) ChangeAdminPassword added in v0.0.27

func (UnimplementedAdminServiceServer) LoginAdmin added in v0.0.27

func (UnimplementedAdminServiceServer) LogoutAdmin added in v0.0.27

func (UnimplementedAdminServiceServer) RefreshAdminToken added in v0.0.27

type UnimplementedBlockchainPeerServiceServer

type UnimplementedBlockchainPeerServiceServer struct{}

UnimplementedBlockchainPeerServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBlockchainPeerServiceServer) GetBlocks added in v0.0.28

func (UnimplementedBlockchainPeerServiceServer) Validate added in v0.0.28

type UnimplementedCoreServiceServer

type UnimplementedCoreServiceServer struct{}

UnimplementedCoreServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

type UnsafeAdminServiceServer

type UnsafeAdminServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.

type UnsafeBlockchainPeerServiceServer

type UnsafeBlockchainPeerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBlockchainPeerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlockchainPeerServiceServer will result in compilation errors.

type UnsafeCoreServiceServer

type UnsafeCoreServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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