Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPersistentDataBlockManagerServiceServer(s grpc.ServiceRegistrar, srv PersistentDataBlockManagerServiceServer)
- type IsFactoryResetProtectionActiveRequest
- func (*IsFactoryResetProtectionActiveRequest) Descriptor() ([]byte, []int)deprecated
- func (*IsFactoryResetProtectionActiveRequest) ProtoMessage()
- func (x *IsFactoryResetProtectionActiveRequest) ProtoReflect() protoreflect.Message
- func (x *IsFactoryResetProtectionActiveRequest) Reset()
- func (x *IsFactoryResetProtectionActiveRequest) String() string
- type IsFactoryResetProtectionActiveResponse
- func (*IsFactoryResetProtectionActiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsFactoryResetProtectionActiveResponse) GetResult() bool
- func (*IsFactoryResetProtectionActiveResponse) ProtoMessage()
- func (x *IsFactoryResetProtectionActiveResponse) ProtoReflect() protoreflect.Message
- func (x *IsFactoryResetProtectionActiveResponse) Reset()
- func (x *IsFactoryResetProtectionActiveResponse) String() string
- type PersistentDataBlockManagerServiceClient
- type PersistentDataBlockManagerServiceServer
- type UnimplementedPersistentDataBlockManagerServiceServer
- type UnsafePersistentDataBlockManagerServiceServer
Constants ¶
const (
PersistentDataBlockManagerService_IsFactoryResetProtectionActive_FullMethodName = "/persistentdata.PersistentDataBlockManagerService/IsFactoryResetProtectionActive"
)
Variables ¶
var File_proto_persistentdata_persistentdata_proto protoreflect.FileDescriptor
var PersistentDataBlockManagerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "persistentdata.PersistentDataBlockManagerService", HandlerType: (*PersistentDataBlockManagerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IsFactoryResetProtectionActive", Handler: _PersistentDataBlockManagerService_IsFactoryResetProtectionActive_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/persistentdata/persistentdata.proto", }
PersistentDataBlockManagerService_ServiceDesc is the grpc.ServiceDesc for PersistentDataBlockManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPersistentDataBlockManagerServiceServer ¶
func RegisterPersistentDataBlockManagerServiceServer(s grpc.ServiceRegistrar, srv PersistentDataBlockManagerServiceServer)
Types ¶
type IsFactoryResetProtectionActiveRequest ¶
type IsFactoryResetProtectionActiveRequest struct {
// contains filtered or unexported fields
}
func (*IsFactoryResetProtectionActiveRequest) Descriptor
deprecated
func (*IsFactoryResetProtectionActiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsFactoryResetProtectionActiveRequest.ProtoReflect.Descriptor instead.
func (*IsFactoryResetProtectionActiveRequest) ProtoMessage ¶
func (*IsFactoryResetProtectionActiveRequest) ProtoMessage()
func (*IsFactoryResetProtectionActiveRequest) ProtoReflect ¶
func (x *IsFactoryResetProtectionActiveRequest) ProtoReflect() protoreflect.Message
func (*IsFactoryResetProtectionActiveRequest) Reset ¶
func (x *IsFactoryResetProtectionActiveRequest) Reset()
func (*IsFactoryResetProtectionActiveRequest) String ¶
func (x *IsFactoryResetProtectionActiveRequest) String() string
type IsFactoryResetProtectionActiveResponse ¶
type IsFactoryResetProtectionActiveResponse struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*IsFactoryResetProtectionActiveResponse) Descriptor
deprecated
func (*IsFactoryResetProtectionActiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsFactoryResetProtectionActiveResponse.ProtoReflect.Descriptor instead.
func (*IsFactoryResetProtectionActiveResponse) GetResult ¶
func (x *IsFactoryResetProtectionActiveResponse) GetResult() bool
func (*IsFactoryResetProtectionActiveResponse) ProtoMessage ¶
func (*IsFactoryResetProtectionActiveResponse) ProtoMessage()
func (*IsFactoryResetProtectionActiveResponse) ProtoReflect ¶
func (x *IsFactoryResetProtectionActiveResponse) ProtoReflect() protoreflect.Message
func (*IsFactoryResetProtectionActiveResponse) Reset ¶
func (x *IsFactoryResetProtectionActiveResponse) Reset()
func (*IsFactoryResetProtectionActiveResponse) String ¶
func (x *IsFactoryResetProtectionActiveResponse) String() string
type PersistentDataBlockManagerServiceClient ¶
type PersistentDataBlockManagerServiceClient interface {
IsFactoryResetProtectionActive(ctx context.Context, in *IsFactoryResetProtectionActiveRequest, opts ...grpc.CallOption) (*IsFactoryResetProtectionActiveResponse, error)
}
PersistentDataBlockManagerServiceClient is the client API for PersistentDataBlockManagerService 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.
func NewPersistentDataBlockManagerServiceClient ¶
func NewPersistentDataBlockManagerServiceClient(cc grpc.ClientConnInterface) PersistentDataBlockManagerServiceClient
type PersistentDataBlockManagerServiceServer ¶
type PersistentDataBlockManagerServiceServer interface {
IsFactoryResetProtectionActive(context.Context, *IsFactoryResetProtectionActiveRequest) (*IsFactoryResetProtectionActiveResponse, error)
// contains filtered or unexported methods
}
PersistentDataBlockManagerServiceServer is the server API for PersistentDataBlockManagerService service. All implementations must embed UnimplementedPersistentDataBlockManagerServiceServer for forward compatibility.
type UnimplementedPersistentDataBlockManagerServiceServer ¶
type UnimplementedPersistentDataBlockManagerServiceServer struct{}
UnimplementedPersistentDataBlockManagerServiceServer 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 (UnimplementedPersistentDataBlockManagerServiceServer) IsFactoryResetProtectionActive ¶
func (UnimplementedPersistentDataBlockManagerServiceServer) IsFactoryResetProtectionActive(context.Context, *IsFactoryResetProtectionActiveRequest) (*IsFactoryResetProtectionActiveResponse, error)
type UnsafePersistentDataBlockManagerServiceServer ¶
type UnsafePersistentDataBlockManagerServiceServer interface {
// contains filtered or unexported methods
}
UnsafePersistentDataBlockManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PersistentDataBlockManagerServiceServer will result in compilation errors.