param_server

package
v0.0.0-...-4a7e8af Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ParamServerResult_Result_name = map[int32]string{
		0: "RESULT_UNKNOWN",
		1: "RESULT_SUCCESS",
		2: "RESULT_NOT_FOUND",
		3: "RESULT_WRONG_TYPE",
		4: "RESULT_PARAM_NAME_TOO_LONG",
		5: "RESULT_NO_SYSTEM",
		6: "RESULT_PARAM_VALUE_TOO_LONG",
	}
	ParamServerResult_Result_value = map[string]int32{
		"RESULT_UNKNOWN":              0,
		"RESULT_SUCCESS":              1,
		"RESULT_NOT_FOUND":            2,
		"RESULT_WRONG_TYPE":           3,
		"RESULT_PARAM_NAME_TOO_LONG":  4,
		"RESULT_NO_SYSTEM":            5,
		"RESULT_PARAM_VALUE_TOO_LONG": 6,
	}
)

Enum value maps for ParamServerResult_Result.

View Source
var File_param_server_proto protoreflect.FileDescriptor
View Source
var ParamServerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mavsdk.rpc.param_server.ParamServerService",
	HandlerType: (*ParamServerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RetrieveParamInt",
			Handler:    _ParamServerService_RetrieveParamInt_Handler,
		},
		{
			MethodName: "ProvideParamInt",
			Handler:    _ParamServerService_ProvideParamInt_Handler,
		},
		{
			MethodName: "RetrieveParamFloat",
			Handler:    _ParamServerService_RetrieveParamFloat_Handler,
		},
		{
			MethodName: "ProvideParamFloat",
			Handler:    _ParamServerService_ProvideParamFloat_Handler,
		},
		{
			MethodName: "RetrieveParamCustom",
			Handler:    _ParamServerService_RetrieveParamCustom_Handler,
		},
		{
			MethodName: "ProvideParamCustom",
			Handler:    _ParamServerService_ProvideParamCustom_Handler,
		},
		{
			MethodName: "RetrieveAllParams",
			Handler:    _ParamServerService_RetrieveAllParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "param_server.proto",
}

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

Functions

func RegisterParamServerServiceServer

func RegisterParamServerServiceServer(s grpc.ServiceRegistrar, srv ParamServerServiceServer)

Types

type AllParams

type AllParams struct {
	IntParams    []*IntParam    `protobuf:"bytes,1,rep,name=int_params,json=intParams,proto3" json:"int_params,omitempty"`          // Collection of all parameter names and values of type int
	FloatParams  []*FloatParam  `protobuf:"bytes,2,rep,name=float_params,json=floatParams,proto3" json:"float_params,omitempty"`    // Collection of all parameter names and values of type float
	CustomParams []*CustomParam `protobuf:"bytes,3,rep,name=custom_params,json=customParams,proto3" json:"custom_params,omitempty"` // Collection of all parameter names and values of type custom
	// contains filtered or unexported fields
}

Type collecting all integer, float, and custom parameters.

func (*AllParams) Descriptor deprecated

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

Deprecated: Use AllParams.ProtoReflect.Descriptor instead.

func (*AllParams) GetCustomParams

func (x *AllParams) GetCustomParams() []*CustomParam

func (*AllParams) GetFloatParams

func (x *AllParams) GetFloatParams() []*FloatParam

func (*AllParams) GetIntParams

func (x *AllParams) GetIntParams() []*IntParam

func (*AllParams) ProtoMessage

func (*AllParams) ProtoMessage()

func (*AllParams) ProtoReflect

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

func (*AllParams) Reset

func (x *AllParams) Reset()

func (*AllParams) String

func (x *AllParams) String() string

type CustomParam

type CustomParam struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`   // Name of the parameter
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Value of the parameter
	// contains filtered or unexported fields
}

Type for float parameters.

func (*CustomParam) Descriptor deprecated

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

Deprecated: Use CustomParam.ProtoReflect.Descriptor instead.

func (*CustomParam) GetName

func (x *CustomParam) GetName() string

func (*CustomParam) GetValue

func (x *CustomParam) GetValue() string

func (*CustomParam) ProtoMessage

func (*CustomParam) ProtoMessage()

func (*CustomParam) ProtoReflect

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

func (*CustomParam) Reset

func (x *CustomParam) Reset()

func (*CustomParam) String

func (x *CustomParam) String() string

type FloatParam

type FloatParam struct {
	Name  string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`     // Name of the parameter
	Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // Value of the parameter
	// contains filtered or unexported fields
}

Type for float parameters.

func (*FloatParam) Descriptor deprecated

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

Deprecated: Use FloatParam.ProtoReflect.Descriptor instead.

func (*FloatParam) GetName

func (x *FloatParam) GetName() string

func (*FloatParam) GetValue

func (x *FloatParam) GetValue() float32

func (*FloatParam) ProtoMessage

func (*FloatParam) ProtoMessage()

func (*FloatParam) ProtoReflect

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

func (*FloatParam) Reset

func (x *FloatParam) Reset()

func (*FloatParam) String

func (x *FloatParam) String() string

type IntParam

type IntParam struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`    // Name of the parameter
	Value int32  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // Value of the parameter
	// contains filtered or unexported fields
}

Type for integer parameters.

func (*IntParam) Descriptor deprecated

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

Deprecated: Use IntParam.ProtoReflect.Descriptor instead.

func (*IntParam) GetName

func (x *IntParam) GetName() string

func (*IntParam) GetValue

func (x *IntParam) GetValue() int32

func (*IntParam) ProtoMessage

func (*IntParam) ProtoMessage()

func (*IntParam) ProtoReflect

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

func (*IntParam) Reset

func (x *IntParam) Reset()

func (*IntParam) String

func (x *IntParam) String() string

type ParamServerResult

type ParamServerResult struct {
	Result    ParamServerResult_Result `protobuf:"varint,1,opt,name=result,proto3,enum=mavsdk.rpc.param_server.ParamServerResult_Result" json:"result,omitempty"` // Result enum value
	ResultStr string                   `protobuf:"bytes,2,opt,name=result_str,json=resultStr,proto3" json:"result_str,omitempty"`                                 // Human-readable English string describing the result
	// contains filtered or unexported fields
}

Result type.

func (*ParamServerResult) Descriptor deprecated

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

Deprecated: Use ParamServerResult.ProtoReflect.Descriptor instead.

func (*ParamServerResult) GetResult

func (*ParamServerResult) GetResultStr

func (x *ParamServerResult) GetResultStr() string

func (*ParamServerResult) ProtoMessage

func (*ParamServerResult) ProtoMessage()

func (*ParamServerResult) ProtoReflect

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

func (*ParamServerResult) Reset

func (x *ParamServerResult) Reset()

func (*ParamServerResult) String

func (x *ParamServerResult) String() string

type ParamServerResult_Result

type ParamServerResult_Result int32

Possible results returned for param requests.

const (
	ParamServerResult_RESULT_UNKNOWN              ParamServerResult_Result = 0 // Unknown result
	ParamServerResult_RESULT_SUCCESS              ParamServerResult_Result = 1 // Request succeeded
	ParamServerResult_RESULT_NOT_FOUND            ParamServerResult_Result = 2 // Not Found
	ParamServerResult_RESULT_WRONG_TYPE           ParamServerResult_Result = 3 // Wrong type
	ParamServerResult_RESULT_PARAM_NAME_TOO_LONG  ParamServerResult_Result = 4 // Parameter name too long (> 16)
	ParamServerResult_RESULT_NO_SYSTEM            ParamServerResult_Result = 5 // No system available
	ParamServerResult_RESULT_PARAM_VALUE_TOO_LONG ParamServerResult_Result = 6 // Parameter name too long (> 128)
)

func (ParamServerResult_Result) Descriptor

func (ParamServerResult_Result) Enum

func (ParamServerResult_Result) EnumDescriptor deprecated

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

Deprecated: Use ParamServerResult_Result.Descriptor instead.

func (ParamServerResult_Result) Number

func (ParamServerResult_Result) String

func (x ParamServerResult_Result) String() string

func (ParamServerResult_Result) Type

type ParamServerServiceClient

type ParamServerServiceClient interface {
	// Retrieve an int parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	RetrieveParamInt(ctx context.Context, in *RetrieveParamIntRequest, opts ...grpc.CallOption) (*RetrieveParamIntResponse, error)
	// Provide an int parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	ProvideParamInt(ctx context.Context, in *ProvideParamIntRequest, opts ...grpc.CallOption) (*ProvideParamIntResponse, error)
	// Retrieve a float parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	RetrieveParamFloat(ctx context.Context, in *RetrieveParamFloatRequest, opts ...grpc.CallOption) (*RetrieveParamFloatResponse, error)
	// Provide a float parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	ProvideParamFloat(ctx context.Context, in *ProvideParamFloatRequest, opts ...grpc.CallOption) (*ProvideParamFloatResponse, error)
	// Retrieve a custom parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	RetrieveParamCustom(ctx context.Context, in *RetrieveParamCustomRequest, opts ...grpc.CallOption) (*RetrieveParamCustomResponse, error)
	// Provide a custom parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	ProvideParamCustom(ctx context.Context, in *ProvideParamCustomRequest, opts ...grpc.CallOption) (*ProvideParamCustomResponse, error)
	// Retrieve all parameters.
	RetrieveAllParams(ctx context.Context, in *RetrieveAllParamsRequest, opts ...grpc.CallOption) (*RetrieveAllParamsResponse, error)
}

ParamServerServiceClient is the client API for ParamServerService 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 ParamServerServiceServer

type ParamServerServiceServer interface {
	// Retrieve an int parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	RetrieveParamInt(context.Context, *RetrieveParamIntRequest) (*RetrieveParamIntResponse, error)
	// Provide an int parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	ProvideParamInt(context.Context, *ProvideParamIntRequest) (*ProvideParamIntResponse, error)
	// Retrieve a float parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	RetrieveParamFloat(context.Context, *RetrieveParamFloatRequest) (*RetrieveParamFloatResponse, error)
	// Provide a float parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	ProvideParamFloat(context.Context, *ProvideParamFloatRequest) (*ProvideParamFloatResponse, error)
	// Retrieve a custom parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	RetrieveParamCustom(context.Context, *RetrieveParamCustomRequest) (*RetrieveParamCustomResponse, error)
	// Provide a custom parameter.
	//
	// If the type is wrong, the result will be `WRONG_TYPE`.
	ProvideParamCustom(context.Context, *ProvideParamCustomRequest) (*ProvideParamCustomResponse, error)
	// Retrieve all parameters.
	RetrieveAllParams(context.Context, *RetrieveAllParamsRequest) (*RetrieveAllParamsResponse, error)
	// contains filtered or unexported methods
}

ParamServerServiceServer is the server API for ParamServerService service. All implementations must embed UnimplementedParamServerServiceServer for forward compatibility

type ProvideParamCustomRequest

type ProvideParamCustomRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`   // Name of the parameter to provide
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Value the parameter should be set to
	// contains filtered or unexported fields
}

func (*ProvideParamCustomRequest) Descriptor deprecated

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

Deprecated: Use ProvideParamCustomRequest.ProtoReflect.Descriptor instead.

func (*ProvideParamCustomRequest) GetName

func (x *ProvideParamCustomRequest) GetName() string

func (*ProvideParamCustomRequest) GetValue

func (x *ProvideParamCustomRequest) GetValue() string

func (*ProvideParamCustomRequest) ProtoMessage

func (*ProvideParamCustomRequest) ProtoMessage()

func (*ProvideParamCustomRequest) ProtoReflect

func (*ProvideParamCustomRequest) Reset

func (x *ProvideParamCustomRequest) Reset()

func (*ProvideParamCustomRequest) String

func (x *ProvideParamCustomRequest) String() string

type ProvideParamCustomResponse

type ProvideParamCustomResponse struct {
	ParamServerResult *ParamServerResult `protobuf:"bytes,1,opt,name=param_server_result,json=paramServerResult,proto3" json:"param_server_result,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvideParamCustomResponse) Descriptor deprecated

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

Deprecated: Use ProvideParamCustomResponse.ProtoReflect.Descriptor instead.

func (*ProvideParamCustomResponse) GetParamServerResult

func (x *ProvideParamCustomResponse) GetParamServerResult() *ParamServerResult

func (*ProvideParamCustomResponse) ProtoMessage

func (*ProvideParamCustomResponse) ProtoMessage()

func (*ProvideParamCustomResponse) ProtoReflect

func (*ProvideParamCustomResponse) Reset

func (x *ProvideParamCustomResponse) Reset()

func (*ProvideParamCustomResponse) String

func (x *ProvideParamCustomResponse) String() string

type ProvideParamFloatRequest

type ProvideParamFloatRequest struct {
	Name  string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`     // Name of the parameter to provide
	Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // Value the parameter should be set to
	// contains filtered or unexported fields
}

func (*ProvideParamFloatRequest) Descriptor deprecated

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

Deprecated: Use ProvideParamFloatRequest.ProtoReflect.Descriptor instead.

func (*ProvideParamFloatRequest) GetName

func (x *ProvideParamFloatRequest) GetName() string

func (*ProvideParamFloatRequest) GetValue

func (x *ProvideParamFloatRequest) GetValue() float32

func (*ProvideParamFloatRequest) ProtoMessage

func (*ProvideParamFloatRequest) ProtoMessage()

func (*ProvideParamFloatRequest) ProtoReflect

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

func (*ProvideParamFloatRequest) Reset

func (x *ProvideParamFloatRequest) Reset()

func (*ProvideParamFloatRequest) String

func (x *ProvideParamFloatRequest) String() string

type ProvideParamFloatResponse

type ProvideParamFloatResponse struct {
	ParamServerResult *ParamServerResult `protobuf:"bytes,1,opt,name=param_server_result,json=paramServerResult,proto3" json:"param_server_result,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvideParamFloatResponse) Descriptor deprecated

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

Deprecated: Use ProvideParamFloatResponse.ProtoReflect.Descriptor instead.

func (*ProvideParamFloatResponse) GetParamServerResult

func (x *ProvideParamFloatResponse) GetParamServerResult() *ParamServerResult

func (*ProvideParamFloatResponse) ProtoMessage

func (*ProvideParamFloatResponse) ProtoMessage()

func (*ProvideParamFloatResponse) ProtoReflect

func (*ProvideParamFloatResponse) Reset

func (x *ProvideParamFloatResponse) Reset()

func (*ProvideParamFloatResponse) String

func (x *ProvideParamFloatResponse) String() string

type ProvideParamIntRequest

type ProvideParamIntRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`    // Name of the parameter to provide
	Value int32  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // Value the parameter should be set to
	// contains filtered or unexported fields
}

func (*ProvideParamIntRequest) Descriptor deprecated

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

Deprecated: Use ProvideParamIntRequest.ProtoReflect.Descriptor instead.

func (*ProvideParamIntRequest) GetName

func (x *ProvideParamIntRequest) GetName() string

func (*ProvideParamIntRequest) GetValue

func (x *ProvideParamIntRequest) GetValue() int32

func (*ProvideParamIntRequest) ProtoMessage

func (*ProvideParamIntRequest) ProtoMessage()

func (*ProvideParamIntRequest) ProtoReflect

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

func (*ProvideParamIntRequest) Reset

func (x *ProvideParamIntRequest) Reset()

func (*ProvideParamIntRequest) String

func (x *ProvideParamIntRequest) String() string

type ProvideParamIntResponse

type ProvideParamIntResponse struct {
	ParamServerResult *ParamServerResult `protobuf:"bytes,1,opt,name=param_server_result,json=paramServerResult,proto3" json:"param_server_result,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvideParamIntResponse) Descriptor deprecated

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

Deprecated: Use ProvideParamIntResponse.ProtoReflect.Descriptor instead.

func (*ProvideParamIntResponse) GetParamServerResult

func (x *ProvideParamIntResponse) GetParamServerResult() *ParamServerResult

func (*ProvideParamIntResponse) ProtoMessage

func (*ProvideParamIntResponse) ProtoMessage()

func (*ProvideParamIntResponse) ProtoReflect

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

func (*ProvideParamIntResponse) Reset

func (x *ProvideParamIntResponse) Reset()

func (*ProvideParamIntResponse) String

func (x *ProvideParamIntResponse) String() string

type RetrieveAllParamsRequest

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

func (*RetrieveAllParamsRequest) Descriptor deprecated

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

Deprecated: Use RetrieveAllParamsRequest.ProtoReflect.Descriptor instead.

func (*RetrieveAllParamsRequest) ProtoMessage

func (*RetrieveAllParamsRequest) ProtoMessage()

func (*RetrieveAllParamsRequest) ProtoReflect

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

func (*RetrieveAllParamsRequest) Reset

func (x *RetrieveAllParamsRequest) Reset()

func (*RetrieveAllParamsRequest) String

func (x *RetrieveAllParamsRequest) String() string

type RetrieveAllParamsResponse

type RetrieveAllParamsResponse struct {
	Params *AllParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // Collection of all parameters
	// contains filtered or unexported fields
}

func (*RetrieveAllParamsResponse) Descriptor deprecated

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

Deprecated: Use RetrieveAllParamsResponse.ProtoReflect.Descriptor instead.

func (*RetrieveAllParamsResponse) GetParams

func (x *RetrieveAllParamsResponse) GetParams() *AllParams

func (*RetrieveAllParamsResponse) ProtoMessage

func (*RetrieveAllParamsResponse) ProtoMessage()

func (*RetrieveAllParamsResponse) ProtoReflect

func (*RetrieveAllParamsResponse) Reset

func (x *RetrieveAllParamsResponse) Reset()

func (*RetrieveAllParamsResponse) String

func (x *RetrieveAllParamsResponse) String() string

type RetrieveParamCustomRequest

type RetrieveParamCustomRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the parameter
	// contains filtered or unexported fields
}

func (*RetrieveParamCustomRequest) Descriptor deprecated

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

Deprecated: Use RetrieveParamCustomRequest.ProtoReflect.Descriptor instead.

func (*RetrieveParamCustomRequest) GetName

func (x *RetrieveParamCustomRequest) GetName() string

func (*RetrieveParamCustomRequest) ProtoMessage

func (*RetrieveParamCustomRequest) ProtoMessage()

func (*RetrieveParamCustomRequest) ProtoReflect

func (*RetrieveParamCustomRequest) Reset

func (x *RetrieveParamCustomRequest) Reset()

func (*RetrieveParamCustomRequest) String

func (x *RetrieveParamCustomRequest) String() string

type RetrieveParamCustomResponse

type RetrieveParamCustomResponse struct {
	ParamServerResult *ParamServerResult `protobuf:"bytes,1,opt,name=param_server_result,json=paramServerResult,proto3" json:"param_server_result,omitempty"`
	Value             string             `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Value of the requested parameter
	// contains filtered or unexported fields
}

func (*RetrieveParamCustomResponse) Descriptor deprecated

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

Deprecated: Use RetrieveParamCustomResponse.ProtoReflect.Descriptor instead.

func (*RetrieveParamCustomResponse) GetParamServerResult

func (x *RetrieveParamCustomResponse) GetParamServerResult() *ParamServerResult

func (*RetrieveParamCustomResponse) GetValue

func (x *RetrieveParamCustomResponse) GetValue() string

func (*RetrieveParamCustomResponse) ProtoMessage

func (*RetrieveParamCustomResponse) ProtoMessage()

func (*RetrieveParamCustomResponse) ProtoReflect

func (*RetrieveParamCustomResponse) Reset

func (x *RetrieveParamCustomResponse) Reset()

func (*RetrieveParamCustomResponse) String

func (x *RetrieveParamCustomResponse) String() string

type RetrieveParamFloatRequest

type RetrieveParamFloatRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the parameter
	// contains filtered or unexported fields
}

func (*RetrieveParamFloatRequest) Descriptor deprecated

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

Deprecated: Use RetrieveParamFloatRequest.ProtoReflect.Descriptor instead.

func (*RetrieveParamFloatRequest) GetName

func (x *RetrieveParamFloatRequest) GetName() string

func (*RetrieveParamFloatRequest) ProtoMessage

func (*RetrieveParamFloatRequest) ProtoMessage()

func (*RetrieveParamFloatRequest) ProtoReflect

func (*RetrieveParamFloatRequest) Reset

func (x *RetrieveParamFloatRequest) Reset()

func (*RetrieveParamFloatRequest) String

func (x *RetrieveParamFloatRequest) String() string

type RetrieveParamFloatResponse

type RetrieveParamFloatResponse struct {
	ParamServerResult *ParamServerResult `protobuf:"bytes,1,opt,name=param_server_result,json=paramServerResult,proto3" json:"param_server_result,omitempty"`
	Value             float32            `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // Value of the requested parameter
	// contains filtered or unexported fields
}

func (*RetrieveParamFloatResponse) Descriptor deprecated

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

Deprecated: Use RetrieveParamFloatResponse.ProtoReflect.Descriptor instead.

func (*RetrieveParamFloatResponse) GetParamServerResult

func (x *RetrieveParamFloatResponse) GetParamServerResult() *ParamServerResult

func (*RetrieveParamFloatResponse) GetValue

func (x *RetrieveParamFloatResponse) GetValue() float32

func (*RetrieveParamFloatResponse) ProtoMessage

func (*RetrieveParamFloatResponse) ProtoMessage()

func (*RetrieveParamFloatResponse) ProtoReflect

func (*RetrieveParamFloatResponse) Reset

func (x *RetrieveParamFloatResponse) Reset()

func (*RetrieveParamFloatResponse) String

func (x *RetrieveParamFloatResponse) String() string

type RetrieveParamIntRequest

type RetrieveParamIntRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the parameter
	// contains filtered or unexported fields
}

func (*RetrieveParamIntRequest) Descriptor deprecated

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

Deprecated: Use RetrieveParamIntRequest.ProtoReflect.Descriptor instead.

func (*RetrieveParamIntRequest) GetName

func (x *RetrieveParamIntRequest) GetName() string

func (*RetrieveParamIntRequest) ProtoMessage

func (*RetrieveParamIntRequest) ProtoMessage()

func (*RetrieveParamIntRequest) ProtoReflect

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

func (*RetrieveParamIntRequest) Reset

func (x *RetrieveParamIntRequest) Reset()

func (*RetrieveParamIntRequest) String

func (x *RetrieveParamIntRequest) String() string

type RetrieveParamIntResponse

type RetrieveParamIntResponse struct {
	ParamServerResult *ParamServerResult `protobuf:"bytes,1,opt,name=param_server_result,json=paramServerResult,proto3" json:"param_server_result,omitempty"`
	Value             int32              `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // Value of the requested parameter
	// contains filtered or unexported fields
}

func (*RetrieveParamIntResponse) Descriptor deprecated

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

Deprecated: Use RetrieveParamIntResponse.ProtoReflect.Descriptor instead.

func (*RetrieveParamIntResponse) GetParamServerResult

func (x *RetrieveParamIntResponse) GetParamServerResult() *ParamServerResult

func (*RetrieveParamIntResponse) GetValue

func (x *RetrieveParamIntResponse) GetValue() int32

func (*RetrieveParamIntResponse) ProtoMessage

func (*RetrieveParamIntResponse) ProtoMessage()

func (*RetrieveParamIntResponse) ProtoReflect

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

func (*RetrieveParamIntResponse) Reset

func (x *RetrieveParamIntResponse) Reset()

func (*RetrieveParamIntResponse) String

func (x *RetrieveParamIntResponse) String() string

type ServiceImpl

type ServiceImpl struct {
	Client ParamServerServiceClient
}

func (*ServiceImpl) ProvideParamCustom

func (s *ServiceImpl) ProvideParamCustom(ctx context.Context, name string, value string) (*ProvideParamCustomResponse, error)

func (*ServiceImpl) ProvideParamFloat

func (s *ServiceImpl) ProvideParamFloat(ctx context.Context, name string, value float32) (*ProvideParamFloatResponse, error)

func (*ServiceImpl) ProvideParamInt

func (s *ServiceImpl) ProvideParamInt(ctx context.Context, name string, value int32) (*ProvideParamIntResponse, error)

func (*ServiceImpl) RetrieveAllParams

func (s *ServiceImpl) RetrieveAllParams(ctx context.Context) (*RetrieveAllParamsResponse, error)

func (*ServiceImpl) RetrieveParamCustom

func (s *ServiceImpl) RetrieveParamCustom(ctx context.Context, name string) (*RetrieveParamCustomResponse, error)

func (*ServiceImpl) RetrieveParamFloat

func (s *ServiceImpl) RetrieveParamFloat(ctx context.Context, name string) (*RetrieveParamFloatResponse, error)

func (*ServiceImpl) RetrieveParamInt

func (s *ServiceImpl) RetrieveParamInt(ctx context.Context, name string) (*RetrieveParamIntResponse, error)

type UnimplementedParamServerServiceServer

type UnimplementedParamServerServiceServer struct {
}

UnimplementedParamServerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedParamServerServiceServer) ProvideParamCustom

func (UnimplementedParamServerServiceServer) ProvideParamFloat

func (UnimplementedParamServerServiceServer) ProvideParamInt

func (UnimplementedParamServerServiceServer) RetrieveAllParams

func (UnimplementedParamServerServiceServer) RetrieveParamCustom

func (UnimplementedParamServerServiceServer) RetrieveParamFloat

func (UnimplementedParamServerServiceServer) RetrieveParamInt

type UnsafeParamServerServiceServer

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

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

Jump to

Keyboard shortcuts

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