trackmyfishv1alpha1

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: GPL-3.0 Imports: 29 Imported by: 1

Documentation

Overview

Package trackmyfishv1alpha1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	HeartbeatStatus_Status_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "OPERATIONAL",
		2: "DEGRADED",
		3: "DOWN",
	}
	HeartbeatStatus_Status_value = map[string]int32{
		"UNSPECIFIED": 0,
		"OPERATIONAL": 1,
		"DEGRADED":    2,
		"DOWN":        3,
	}
)

Enum value maps for HeartbeatStatus_Status.

View Source
var (
	Tank_CapacityMeasurement_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "LITRES",
		2: "GALLONS",
	}
	Tank_CapacityMeasurement_value = map[string]int32{
		"UNSPECIFIED": 0,
		"LITRES":      1,
		"GALLONS":     2,
	}
)

Enum value maps for Tank_CapacityMeasurement.

View Source
var (
	Fish_Gender_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "MALE",
		2: "FEMALE",
	}
	Fish_Gender_value = map[string]int32{
		"UNSPECIFIED": 0,
		"MALE":        1,
		"FEMALE":      2,
	}
)

Enum value maps for Fish_Gender.

View Source
var File_trackmyfish_v1alpha1_trackmyfish_proto protoreflect.FileDescriptor

Functions

func RegisterTrackMyFishServiceHandler

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

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

func RegisterTrackMyFishServiceHandlerClient

func RegisterTrackMyFishServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TrackMyFishServiceClient) error

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

func RegisterTrackMyFishServiceHandlerFromEndpoint

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

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

func RegisterTrackMyFishServiceHandlerServer

func RegisterTrackMyFishServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TrackMyFishServiceServer) error

RegisterTrackMyFishServiceHandlerServer registers the http handlers for service TrackMyFishService to "mux". UnaryRPC :call TrackMyFishServiceServer 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 RegisterTrackMyFishServiceHandlerFromEndpoint instead.

func RegisterTrackMyFishServiceServer

func RegisterTrackMyFishServiceServer(s *grpc.Server, srv TrackMyFishServiceServer)

Types

type AddFishRequest

type AddFishRequest struct {

	// The fish to add
	Fish *Fish `protobuf:"bytes,1,opt,name=fish,proto3" json:"fish,omitempty"`
	// contains filtered or unexported fields
}

func (*AddFishRequest) Descriptor deprecated

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

Deprecated: Use AddFishRequest.ProtoReflect.Descriptor instead.

func (*AddFishRequest) GetFish

func (x *AddFishRequest) GetFish() *Fish

func (*AddFishRequest) ProtoMessage

func (*AddFishRequest) ProtoMessage()

func (*AddFishRequest) ProtoReflect

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

func (*AddFishRequest) Reset

func (x *AddFishRequest) Reset()

func (*AddFishRequest) String

func (x *AddFishRequest) String() string

func (*AddFishRequest) Validate

func (m *AddFishRequest) Validate() error

Validate checks the field values on AddFishRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AddFishRequestValidationError

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

AddFishRequestValidationError is the validation error returned by AddFishRequest.Validate if the designated constraints aren't met.

func (AddFishRequestValidationError) Cause

Cause function returns cause value.

func (AddFishRequestValidationError) Error

Error satisfies the builtin error interface

func (AddFishRequestValidationError) ErrorName

func (e AddFishRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddFishRequestValidationError) Field

Field function returns field value.

func (AddFishRequestValidationError) Key

Key function returns key value.

func (AddFishRequestValidationError) Reason

Reason function returns reason value.

type AddFishResponse

type AddFishResponse struct {

	// The added fish
	Fish *Fish `protobuf:"bytes,1,opt,name=fish,proto3" json:"fish,omitempty"`
	// contains filtered or unexported fields
}

func (*AddFishResponse) Descriptor deprecated

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

Deprecated: Use AddFishResponse.ProtoReflect.Descriptor instead.

func (*AddFishResponse) GetFish

func (x *AddFishResponse) GetFish() *Fish

func (*AddFishResponse) ProtoMessage

func (*AddFishResponse) ProtoMessage()

func (*AddFishResponse) ProtoReflect

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

func (*AddFishResponse) Reset

func (x *AddFishResponse) Reset()

func (*AddFishResponse) String

func (x *AddFishResponse) String() string

func (*AddFishResponse) Validate

func (m *AddFishResponse) Validate() error

Validate checks the field values on AddFishResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AddFishResponseValidationError

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

AddFishResponseValidationError is the validation error returned by AddFishResponse.Validate if the designated constraints aren't met.

func (AddFishResponseValidationError) Cause

Cause function returns cause value.

func (AddFishResponseValidationError) Error

Error satisfies the builtin error interface

func (AddFishResponseValidationError) ErrorName

func (e AddFishResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AddFishResponseValidationError) Field

Field function returns field value.

func (AddFishResponseValidationError) Key

Key function returns key value.

func (AddFishResponseValidationError) Reason

Reason function returns reason value.

type AddTankRequest added in v0.0.10

type AddTankRequest struct {

	// The tank to add
	Tank *Tank `protobuf:"bytes,1,opt,name=tank,proto3" json:"tank,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTankRequest) Descriptor deprecated added in v0.0.10

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

Deprecated: Use AddTankRequest.ProtoReflect.Descriptor instead.

func (*AddTankRequest) GetTank added in v0.0.10

func (x *AddTankRequest) GetTank() *Tank

func (*AddTankRequest) ProtoMessage added in v0.0.10

func (*AddTankRequest) ProtoMessage()

func (*AddTankRequest) ProtoReflect added in v0.0.10

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

func (*AddTankRequest) Reset added in v0.0.10

func (x *AddTankRequest) Reset()

func (*AddTankRequest) String added in v0.0.10

func (x *AddTankRequest) String() string

func (*AddTankRequest) Validate added in v0.0.10

func (m *AddTankRequest) Validate() error

Validate checks the field values on AddTankRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AddTankRequestValidationError added in v0.0.10

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

AddTankRequestValidationError is the validation error returned by AddTankRequest.Validate if the designated constraints aren't met.

func (AddTankRequestValidationError) Cause added in v0.0.10

Cause function returns cause value.

func (AddTankRequestValidationError) Error added in v0.0.10

Error satisfies the builtin error interface

func (AddTankRequestValidationError) ErrorName added in v0.0.10

func (e AddTankRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddTankRequestValidationError) Field added in v0.0.10

Field function returns field value.

func (AddTankRequestValidationError) Key added in v0.0.10

Key function returns key value.

func (AddTankRequestValidationError) Reason added in v0.0.10

Reason function returns reason value.

type AddTankResponse added in v0.0.10

type AddTankResponse struct {

	// The added tank
	Tank *Tank `protobuf:"bytes,1,opt,name=tank,proto3" json:"tank,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTankResponse) Descriptor deprecated added in v0.0.10

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

Deprecated: Use AddTankResponse.ProtoReflect.Descriptor instead.

func (*AddTankResponse) GetTank added in v0.0.10

func (x *AddTankResponse) GetTank() *Tank

func (*AddTankResponse) ProtoMessage added in v0.0.10

func (*AddTankResponse) ProtoMessage()

func (*AddTankResponse) ProtoReflect added in v0.0.10

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

func (*AddTankResponse) Reset added in v0.0.10

func (x *AddTankResponse) Reset()

func (*AddTankResponse) String added in v0.0.10

func (x *AddTankResponse) String() string

func (*AddTankResponse) Validate added in v0.0.10

func (m *AddTankResponse) Validate() error

Validate checks the field values on AddTankResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AddTankResponseValidationError added in v0.0.10

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

AddTankResponseValidationError is the validation error returned by AddTankResponse.Validate if the designated constraints aren't met.

func (AddTankResponseValidationError) Cause added in v0.0.10

Cause function returns cause value.

func (AddTankResponseValidationError) Error added in v0.0.10

Error satisfies the builtin error interface

func (AddTankResponseValidationError) ErrorName added in v0.0.10

func (e AddTankResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AddTankResponseValidationError) Field added in v0.0.10

Field function returns field value.

func (AddTankResponseValidationError) Key added in v0.0.10

Key function returns key value.

func (AddTankResponseValidationError) Reason added in v0.0.10

Reason function returns reason value.

type AddTankStatisticRequest added in v0.0.9

type AddTankStatisticRequest struct {

	// The tank statistic to add
	TankStatistic *TankStatistic `protobuf:"bytes,1,opt,name=tank_statistic,json=tankStatistic,proto3" json:"tank_statistic,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTankStatisticRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use AddTankStatisticRequest.ProtoReflect.Descriptor instead.

func (*AddTankStatisticRequest) GetTankStatistic added in v0.0.9

func (x *AddTankStatisticRequest) GetTankStatistic() *TankStatistic

func (*AddTankStatisticRequest) ProtoMessage added in v0.0.9

func (*AddTankStatisticRequest) ProtoMessage()

func (*AddTankStatisticRequest) ProtoReflect added in v0.0.9

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

func (*AddTankStatisticRequest) Reset added in v0.0.9

func (x *AddTankStatisticRequest) Reset()

func (*AddTankStatisticRequest) String added in v0.0.9

func (x *AddTankStatisticRequest) String() string

func (*AddTankStatisticRequest) Validate added in v0.0.9

func (m *AddTankStatisticRequest) Validate() error

Validate checks the field values on AddTankStatisticRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AddTankStatisticRequestValidationError added in v0.0.9

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

AddTankStatisticRequestValidationError is the validation error returned by AddTankStatisticRequest.Validate if the designated constraints aren't met.

func (AddTankStatisticRequestValidationError) Cause added in v0.0.9

Cause function returns cause value.

func (AddTankStatisticRequestValidationError) Error added in v0.0.9

Error satisfies the builtin error interface

func (AddTankStatisticRequestValidationError) ErrorName added in v0.0.9

ErrorName returns error name.

func (AddTankStatisticRequestValidationError) Field added in v0.0.9

Field function returns field value.

func (AddTankStatisticRequestValidationError) Key added in v0.0.9

Key function returns key value.

func (AddTankStatisticRequestValidationError) Reason added in v0.0.9

Reason function returns reason value.

type AddTankStatisticResponse added in v0.0.9

type AddTankStatisticResponse struct {

	// The added tank statistic
	TankStatistic *TankStatistic `protobuf:"bytes,1,opt,name=tank_statistic,json=tankStatistic,proto3" json:"tank_statistic,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTankStatisticResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use AddTankStatisticResponse.ProtoReflect.Descriptor instead.

func (*AddTankStatisticResponse) GetTankStatistic added in v0.0.9

func (x *AddTankStatisticResponse) GetTankStatistic() *TankStatistic

func (*AddTankStatisticResponse) ProtoMessage added in v0.0.9

func (*AddTankStatisticResponse) ProtoMessage()

func (*AddTankStatisticResponse) ProtoReflect added in v0.0.9

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

func (*AddTankStatisticResponse) Reset added in v0.0.9

func (x *AddTankStatisticResponse) Reset()

func (*AddTankStatisticResponse) String added in v0.0.9

func (x *AddTankStatisticResponse) String() string

func (*AddTankStatisticResponse) Validate added in v0.0.9

func (m *AddTankStatisticResponse) Validate() error

Validate checks the field values on AddTankStatisticResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AddTankStatisticResponseValidationError added in v0.0.9

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

AddTankStatisticResponseValidationError is the validation error returned by AddTankStatisticResponse.Validate if the designated constraints aren't met.

func (AddTankStatisticResponseValidationError) Cause added in v0.0.9

Cause function returns cause value.

func (AddTankStatisticResponseValidationError) Error added in v0.0.9

Error satisfies the builtin error interface

func (AddTankStatisticResponseValidationError) ErrorName added in v0.0.9

ErrorName returns error name.

func (AddTankStatisticResponseValidationError) Field added in v0.0.9

Field function returns field value.

func (AddTankStatisticResponseValidationError) Key added in v0.0.9

Key function returns key value.

func (AddTankStatisticResponseValidationError) Reason added in v0.0.9

Reason function returns reason value.

type DeleteFishRequest

type DeleteFishRequest struct {

	// The unique identifier of the change.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFishRequest) Descriptor deprecated

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

Deprecated: Use DeleteFishRequest.ProtoReflect.Descriptor instead.

func (*DeleteFishRequest) GetId

func (x *DeleteFishRequest) GetId() int32

func (*DeleteFishRequest) ProtoMessage

func (*DeleteFishRequest) ProtoMessage()

func (*DeleteFishRequest) ProtoReflect

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

func (*DeleteFishRequest) Reset

func (x *DeleteFishRequest) Reset()

func (*DeleteFishRequest) String

func (x *DeleteFishRequest) String() string

func (*DeleteFishRequest) Validate

func (m *DeleteFishRequest) Validate() error

Validate checks the field values on DeleteFishRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteFishRequestValidationError

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

DeleteFishRequestValidationError is the validation error returned by DeleteFishRequest.Validate if the designated constraints aren't met.

func (DeleteFishRequestValidationError) Cause

Cause function returns cause value.

func (DeleteFishRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteFishRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteFishRequestValidationError) Field

Field function returns field value.

func (DeleteFishRequestValidationError) Key

Key function returns key value.

func (DeleteFishRequestValidationError) Reason

Reason function returns reason value.

type DeleteFishResponse

type DeleteFishResponse struct {

	// The deleted fish
	Fish *Fish `protobuf:"bytes,1,opt,name=fish,proto3" json:"fish,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFishResponse) Descriptor deprecated

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

Deprecated: Use DeleteFishResponse.ProtoReflect.Descriptor instead.

func (*DeleteFishResponse) GetFish

func (x *DeleteFishResponse) GetFish() *Fish

func (*DeleteFishResponse) ProtoMessage

func (*DeleteFishResponse) ProtoMessage()

func (*DeleteFishResponse) ProtoReflect

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

func (*DeleteFishResponse) Reset

func (x *DeleteFishResponse) Reset()

func (*DeleteFishResponse) String

func (x *DeleteFishResponse) String() string

func (*DeleteFishResponse) Validate

func (m *DeleteFishResponse) Validate() error

Validate checks the field values on DeleteFishResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteFishResponseValidationError

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

DeleteFishResponseValidationError is the validation error returned by DeleteFishResponse.Validate if the designated constraints aren't met.

func (DeleteFishResponseValidationError) Cause

Cause function returns cause value.

func (DeleteFishResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteFishResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteFishResponseValidationError) Field

Field function returns field value.

func (DeleteFishResponseValidationError) Key

Key function returns key value.

func (DeleteFishResponseValidationError) Reason

Reason function returns reason value.

type DeleteTankRequest added in v0.0.10

type DeleteTankRequest struct {

	// The unique identifier of the change.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTankRequest) Descriptor deprecated added in v0.0.10

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

Deprecated: Use DeleteTankRequest.ProtoReflect.Descriptor instead.

func (*DeleteTankRequest) GetId added in v0.0.10

func (x *DeleteTankRequest) GetId() int32

func (*DeleteTankRequest) ProtoMessage added in v0.0.10

func (*DeleteTankRequest) ProtoMessage()

func (*DeleteTankRequest) ProtoReflect added in v0.0.10

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

func (*DeleteTankRequest) Reset added in v0.0.10

func (x *DeleteTankRequest) Reset()

func (*DeleteTankRequest) String added in v0.0.10

func (x *DeleteTankRequest) String() string

func (*DeleteTankRequest) Validate added in v0.0.10

func (m *DeleteTankRequest) Validate() error

Validate checks the field values on DeleteTankRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteTankRequestValidationError added in v0.0.10

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

DeleteTankRequestValidationError is the validation error returned by DeleteTankRequest.Validate if the designated constraints aren't met.

func (DeleteTankRequestValidationError) Cause added in v0.0.10

Cause function returns cause value.

func (DeleteTankRequestValidationError) Error added in v0.0.10

Error satisfies the builtin error interface

func (DeleteTankRequestValidationError) ErrorName added in v0.0.10

ErrorName returns error name.

func (DeleteTankRequestValidationError) Field added in v0.0.10

Field function returns field value.

func (DeleteTankRequestValidationError) Key added in v0.0.10

Key function returns key value.

func (DeleteTankRequestValidationError) Reason added in v0.0.10

Reason function returns reason value.

type DeleteTankResponse added in v0.0.10

type DeleteTankResponse struct {

	// The deleted tank
	Tank *Tank `protobuf:"bytes,1,opt,name=tank,proto3" json:"tank,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTankResponse) Descriptor deprecated added in v0.0.10

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

Deprecated: Use DeleteTankResponse.ProtoReflect.Descriptor instead.

func (*DeleteTankResponse) GetTank added in v0.0.10

func (x *DeleteTankResponse) GetTank() *Tank

func (*DeleteTankResponse) ProtoMessage added in v0.0.10

func (*DeleteTankResponse) ProtoMessage()

func (*DeleteTankResponse) ProtoReflect added in v0.0.10

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

func (*DeleteTankResponse) Reset added in v0.0.10

func (x *DeleteTankResponse) Reset()

func (*DeleteTankResponse) String added in v0.0.10

func (x *DeleteTankResponse) String() string

func (*DeleteTankResponse) Validate added in v0.0.10

func (m *DeleteTankResponse) Validate() error

Validate checks the field values on DeleteTankResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteTankResponseValidationError added in v0.0.10

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

DeleteTankResponseValidationError is the validation error returned by DeleteTankResponse.Validate if the designated constraints aren't met.

func (DeleteTankResponseValidationError) Cause added in v0.0.10

Cause function returns cause value.

func (DeleteTankResponseValidationError) Error added in v0.0.10

Error satisfies the builtin error interface

func (DeleteTankResponseValidationError) ErrorName added in v0.0.10

ErrorName returns error name.

func (DeleteTankResponseValidationError) Field added in v0.0.10

Field function returns field value.

func (DeleteTankResponseValidationError) Key added in v0.0.10

Key function returns key value.

func (DeleteTankResponseValidationError) Reason added in v0.0.10

Reason function returns reason value.

type DeleteTankStatisticRequest added in v0.0.9

type DeleteTankStatisticRequest struct {

	// The unique identifier of the change.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTankStatisticRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use DeleteTankStatisticRequest.ProtoReflect.Descriptor instead.

func (*DeleteTankStatisticRequest) GetId added in v0.0.9

func (x *DeleteTankStatisticRequest) GetId() int32

func (*DeleteTankStatisticRequest) ProtoMessage added in v0.0.9

func (*DeleteTankStatisticRequest) ProtoMessage()

func (*DeleteTankStatisticRequest) ProtoReflect added in v0.0.9

func (*DeleteTankStatisticRequest) Reset added in v0.0.9

func (x *DeleteTankStatisticRequest) Reset()

func (*DeleteTankStatisticRequest) String added in v0.0.9

func (x *DeleteTankStatisticRequest) String() string

func (*DeleteTankStatisticRequest) Validate added in v0.0.9

func (m *DeleteTankStatisticRequest) Validate() error

Validate checks the field values on DeleteTankStatisticRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteTankStatisticRequestValidationError added in v0.0.9

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

DeleteTankStatisticRequestValidationError is the validation error returned by DeleteTankStatisticRequest.Validate if the designated constraints aren't met.

func (DeleteTankStatisticRequestValidationError) Cause added in v0.0.9

Cause function returns cause value.

func (DeleteTankStatisticRequestValidationError) Error added in v0.0.9

Error satisfies the builtin error interface

func (DeleteTankStatisticRequestValidationError) ErrorName added in v0.0.9

ErrorName returns error name.

func (DeleteTankStatisticRequestValidationError) Field added in v0.0.9

Field function returns field value.

func (DeleteTankStatisticRequestValidationError) Key added in v0.0.9

Key function returns key value.

func (DeleteTankStatisticRequestValidationError) Reason added in v0.0.9

Reason function returns reason value.

type DeleteTankStatisticResponse added in v0.0.9

type DeleteTankStatisticResponse struct {

	// The deleted tank statistic
	TankStatistic *TankStatistic `protobuf:"bytes,1,opt,name=tank_statistic,json=tankStatistic,proto3" json:"tank_statistic,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTankStatisticResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use DeleteTankStatisticResponse.ProtoReflect.Descriptor instead.

func (*DeleteTankStatisticResponse) GetTankStatistic added in v0.0.9

func (x *DeleteTankStatisticResponse) GetTankStatistic() *TankStatistic

func (*DeleteTankStatisticResponse) ProtoMessage added in v0.0.9

func (*DeleteTankStatisticResponse) ProtoMessage()

func (*DeleteTankStatisticResponse) ProtoReflect added in v0.0.9

func (*DeleteTankStatisticResponse) Reset added in v0.0.9

func (x *DeleteTankStatisticResponse) Reset()

func (*DeleteTankStatisticResponse) String added in v0.0.9

func (x *DeleteTankStatisticResponse) String() string

func (*DeleteTankStatisticResponse) Validate added in v0.0.9

func (m *DeleteTankStatisticResponse) Validate() error

Validate checks the field values on DeleteTankStatisticResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteTankStatisticResponseValidationError added in v0.0.9

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

DeleteTankStatisticResponseValidationError is the validation error returned by DeleteTankStatisticResponse.Validate if the designated constraints aren't met.

func (DeleteTankStatisticResponseValidationError) Cause added in v0.0.9

Cause function returns cause value.

func (DeleteTankStatisticResponseValidationError) Error added in v0.0.9

Error satisfies the builtin error interface

func (DeleteTankStatisticResponseValidationError) ErrorName added in v0.0.9

ErrorName returns error name.

func (DeleteTankStatisticResponseValidationError) Field added in v0.0.9

Field function returns field value.

func (DeleteTankStatisticResponseValidationError) Key added in v0.0.9

Key function returns key value.

func (DeleteTankStatisticResponseValidationError) Reason added in v0.0.9

Reason function returns reason value.

type Fish

type Fish struct {

	// The unique identifier of the fish.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of the fish (e.g. Gourami)
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// The subtype of the fish (e.g. Pearl)
	Subtype string `protobuf:"bytes,3,opt,name=subtype,proto3" json:"subtype,omitempty"`
	// The color of the fish
	Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
	// The gender of the fish
	Gender Fish_Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=trackmyfish.v1alpha1.Fish_Gender" json:"gender,omitempty"`
	// The date of purchase of the fish
	PurchaseDate string `protobuf:"bytes,6,opt,name=purchase_date,json=purchaseDate,proto3" json:"purchase_date,omitempty"`
	// The number of fish matching this description
	Count int32 `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*Fish) Descriptor deprecated

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

Deprecated: Use Fish.ProtoReflect.Descriptor instead.

func (*Fish) GetColor

func (x *Fish) GetColor() string

func (*Fish) GetCount added in v0.0.9

func (x *Fish) GetCount() int32

func (*Fish) GetGender

func (x *Fish) GetGender() Fish_Gender

func (*Fish) GetId

func (x *Fish) GetId() int32

func (*Fish) GetPurchaseDate

func (x *Fish) GetPurchaseDate() string

func (*Fish) GetSubtype added in v0.0.9

func (x *Fish) GetSubtype() string

func (*Fish) GetType added in v0.0.9

func (x *Fish) GetType() string

func (*Fish) ProtoMessage

func (*Fish) ProtoMessage()

func (*Fish) ProtoReflect

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

func (*Fish) Reset

func (x *Fish) Reset()

func (*Fish) String

func (x *Fish) String() string

func (*Fish) Validate

func (m *Fish) Validate() error

Validate checks the field values on Fish with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FishValidationError

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

FishValidationError is the validation error returned by Fish.Validate if the designated constraints aren't met.

func (FishValidationError) Cause

func (e FishValidationError) Cause() error

Cause function returns cause value.

func (FishValidationError) Error

func (e FishValidationError) Error() string

Error satisfies the builtin error interface

func (FishValidationError) ErrorName

func (e FishValidationError) ErrorName() string

ErrorName returns error name.

func (FishValidationError) Field

func (e FishValidationError) Field() string

Field function returns field value.

func (FishValidationError) Key

func (e FishValidationError) Key() bool

Key function returns key value.

func (FishValidationError) Reason

func (e FishValidationError) Reason() string

Reason function returns reason value.

type Fish_Gender

type Fish_Gender int32
const (
	Fish_UNSPECIFIED Fish_Gender = 0
	Fish_MALE        Fish_Gender = 1
	Fish_FEMALE      Fish_Gender = 2
)

func (Fish_Gender) Descriptor

func (Fish_Gender) Enum

func (x Fish_Gender) Enum() *Fish_Gender

func (Fish_Gender) EnumDescriptor deprecated

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

Deprecated: Use Fish_Gender.Descriptor instead.

func (Fish_Gender) Number

func (x Fish_Gender) Number() protoreflect.EnumNumber

func (Fish_Gender) String

func (x Fish_Gender) String() string

func (Fish_Gender) Type

type HeartbeatRequest

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

func (*HeartbeatRequest) Descriptor deprecated

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

Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.

func (*HeartbeatRequest) ProtoMessage

func (*HeartbeatRequest) ProtoMessage()

func (*HeartbeatRequest) ProtoReflect

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

func (*HeartbeatRequest) Reset

func (x *HeartbeatRequest) Reset()

func (*HeartbeatRequest) String

func (x *HeartbeatRequest) String() string

func (*HeartbeatRequest) Validate

func (m *HeartbeatRequest) Validate() error

Validate checks the field values on HeartbeatRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HeartbeatRequestValidationError

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

HeartbeatRequestValidationError is the validation error returned by HeartbeatRequest.Validate if the designated constraints aren't met.

func (HeartbeatRequestValidationError) Cause

Cause function returns cause value.

func (HeartbeatRequestValidationError) Error

Error satisfies the builtin error interface

func (HeartbeatRequestValidationError) ErrorName

ErrorName returns error name.

func (HeartbeatRequestValidationError) Field

Field function returns field value.

func (HeartbeatRequestValidationError) Key

Key function returns key value.

func (HeartbeatRequestValidationError) Reason

Reason function returns reason value.

type HeartbeatResponse

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

func (*HeartbeatResponse) Descriptor deprecated

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

Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.

func (*HeartbeatResponse) ProtoMessage

func (*HeartbeatResponse) ProtoMessage()

func (*HeartbeatResponse) ProtoReflect

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

func (*HeartbeatResponse) Reset

func (x *HeartbeatResponse) Reset()

func (*HeartbeatResponse) String

func (x *HeartbeatResponse) String() string

func (*HeartbeatResponse) Validate

func (m *HeartbeatResponse) Validate() error

Validate checks the field values on HeartbeatResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HeartbeatResponseValidationError

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

HeartbeatResponseValidationError is the validation error returned by HeartbeatResponse.Validate if the designated constraints aren't met.

func (HeartbeatResponseValidationError) Cause

Cause function returns cause value.

func (HeartbeatResponseValidationError) Error

Error satisfies the builtin error interface

func (HeartbeatResponseValidationError) ErrorName

ErrorName returns error name.

func (HeartbeatResponseValidationError) Field

Field function returns field value.

func (HeartbeatResponseValidationError) Key

Key function returns key value.

func (HeartbeatResponseValidationError) Reason

Reason function returns reason value.

type HeartbeatStatus

type HeartbeatStatus struct {
	Status HeartbeatStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=trackmyfish.v1alpha1.HeartbeatStatus_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*HeartbeatStatus) Descriptor deprecated

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

Deprecated: Use HeartbeatStatus.ProtoReflect.Descriptor instead.

func (*HeartbeatStatus) GetStatus

func (x *HeartbeatStatus) GetStatus() HeartbeatStatus_Status

func (*HeartbeatStatus) ProtoMessage

func (*HeartbeatStatus) ProtoMessage()

func (*HeartbeatStatus) ProtoReflect

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

func (*HeartbeatStatus) Reset

func (x *HeartbeatStatus) Reset()

func (*HeartbeatStatus) String

func (x *HeartbeatStatus) String() string

func (*HeartbeatStatus) Validate

func (m *HeartbeatStatus) Validate() error

Validate checks the field values on HeartbeatStatus with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HeartbeatStatusValidationError

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

HeartbeatStatusValidationError is the validation error returned by HeartbeatStatus.Validate if the designated constraints aren't met.

func (HeartbeatStatusValidationError) Cause

Cause function returns cause value.

func (HeartbeatStatusValidationError) Error

Error satisfies the builtin error interface

func (HeartbeatStatusValidationError) ErrorName

func (e HeartbeatStatusValidationError) ErrorName() string

ErrorName returns error name.

func (HeartbeatStatusValidationError) Field

Field function returns field value.

func (HeartbeatStatusValidationError) Key

Key function returns key value.

func (HeartbeatStatusValidationError) Reason

Reason function returns reason value.

type HeartbeatStatus_Status

type HeartbeatStatus_Status int32
const (
	HeartbeatStatus_UNSPECIFIED HeartbeatStatus_Status = 0
	HeartbeatStatus_OPERATIONAL HeartbeatStatus_Status = 1
	HeartbeatStatus_DEGRADED    HeartbeatStatus_Status = 2
	HeartbeatStatus_DOWN        HeartbeatStatus_Status = 3
)

func (HeartbeatStatus_Status) Descriptor

func (HeartbeatStatus_Status) Enum

func (HeartbeatStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use HeartbeatStatus_Status.Descriptor instead.

func (HeartbeatStatus_Status) Number

func (HeartbeatStatus_Status) String

func (x HeartbeatStatus_Status) String() string

func (HeartbeatStatus_Status) Type

type ListFishRequest

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

func (*ListFishRequest) Descriptor deprecated

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

Deprecated: Use ListFishRequest.ProtoReflect.Descriptor instead.

func (*ListFishRequest) ProtoMessage

func (*ListFishRequest) ProtoMessage()

func (*ListFishRequest) ProtoReflect

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

func (*ListFishRequest) Reset

func (x *ListFishRequest) Reset()

func (*ListFishRequest) String

func (x *ListFishRequest) String() string

func (*ListFishRequest) Validate

func (m *ListFishRequest) Validate() error

Validate checks the field values on ListFishRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListFishRequestValidationError

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

ListFishRequestValidationError is the validation error returned by ListFishRequest.Validate if the designated constraints aren't met.

func (ListFishRequestValidationError) Cause

Cause function returns cause value.

func (ListFishRequestValidationError) Error

Error satisfies the builtin error interface

func (ListFishRequestValidationError) ErrorName

func (e ListFishRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListFishRequestValidationError) Field

Field function returns field value.

func (ListFishRequestValidationError) Key

Key function returns key value.

func (ListFishRequestValidationError) Reason

Reason function returns reason value.

type ListFishResponse

type ListFishResponse struct {

	// The list of fish
	Fish []*Fish `protobuf:"bytes,1,rep,name=fish,proto3" json:"fish,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFishResponse) Descriptor deprecated

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

Deprecated: Use ListFishResponse.ProtoReflect.Descriptor instead.

func (*ListFishResponse) GetFish

func (x *ListFishResponse) GetFish() []*Fish

func (*ListFishResponse) ProtoMessage

func (*ListFishResponse) ProtoMessage()

func (*ListFishResponse) ProtoReflect

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

func (*ListFishResponse) Reset

func (x *ListFishResponse) Reset()

func (*ListFishResponse) String

func (x *ListFishResponse) String() string

func (*ListFishResponse) Validate

func (m *ListFishResponse) Validate() error

Validate checks the field values on ListFishResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListFishResponseValidationError

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

ListFishResponseValidationError is the validation error returned by ListFishResponse.Validate if the designated constraints aren't met.

func (ListFishResponseValidationError) Cause

Cause function returns cause value.

func (ListFishResponseValidationError) Error

Error satisfies the builtin error interface

func (ListFishResponseValidationError) ErrorName

ErrorName returns error name.

func (ListFishResponseValidationError) Field

Field function returns field value.

func (ListFishResponseValidationError) Key

Key function returns key value.

func (ListFishResponseValidationError) Reason

Reason function returns reason value.

type ListTankStatisticsRequest added in v0.0.9

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

func (*ListTankStatisticsRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use ListTankStatisticsRequest.ProtoReflect.Descriptor instead.

func (*ListTankStatisticsRequest) ProtoMessage added in v0.0.9

func (*ListTankStatisticsRequest) ProtoMessage()

func (*ListTankStatisticsRequest) ProtoReflect added in v0.0.9

func (*ListTankStatisticsRequest) Reset added in v0.0.9

func (x *ListTankStatisticsRequest) Reset()

func (*ListTankStatisticsRequest) String added in v0.0.9

func (x *ListTankStatisticsRequest) String() string

func (*ListTankStatisticsRequest) Validate added in v0.0.9

func (m *ListTankStatisticsRequest) Validate() error

Validate checks the field values on ListTankStatisticsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListTankStatisticsRequestValidationError added in v0.0.9

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

ListTankStatisticsRequestValidationError is the validation error returned by ListTankStatisticsRequest.Validate if the designated constraints aren't met.

func (ListTankStatisticsRequestValidationError) Cause added in v0.0.9

Cause function returns cause value.

func (ListTankStatisticsRequestValidationError) Error added in v0.0.9

Error satisfies the builtin error interface

func (ListTankStatisticsRequestValidationError) ErrorName added in v0.0.9

ErrorName returns error name.

func (ListTankStatisticsRequestValidationError) Field added in v0.0.9

Field function returns field value.

func (ListTankStatisticsRequestValidationError) Key added in v0.0.9

Key function returns key value.

func (ListTankStatisticsRequestValidationError) Reason added in v0.0.9

Reason function returns reason value.

type ListTankStatisticsResponse added in v0.0.9

type ListTankStatisticsResponse struct {

	// The list of tank statistics
	TankStatistics []*TankStatistic `protobuf:"bytes,1,rep,name=tank_statistics,json=tankStatistics,proto3" json:"tank_statistics,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTankStatisticsResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use ListTankStatisticsResponse.ProtoReflect.Descriptor instead.

func (*ListTankStatisticsResponse) GetTankStatistics added in v0.0.9

func (x *ListTankStatisticsResponse) GetTankStatistics() []*TankStatistic

func (*ListTankStatisticsResponse) ProtoMessage added in v0.0.9

func (*ListTankStatisticsResponse) ProtoMessage()

func (*ListTankStatisticsResponse) ProtoReflect added in v0.0.9

func (*ListTankStatisticsResponse) Reset added in v0.0.9

func (x *ListTankStatisticsResponse) Reset()

func (*ListTankStatisticsResponse) String added in v0.0.9

func (x *ListTankStatisticsResponse) String() string

func (*ListTankStatisticsResponse) Validate added in v0.0.9

func (m *ListTankStatisticsResponse) Validate() error

Validate checks the field values on ListTankStatisticsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListTankStatisticsResponseValidationError added in v0.0.9

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

ListTankStatisticsResponseValidationError is the validation error returned by ListTankStatisticsResponse.Validate if the designated constraints aren't met.

func (ListTankStatisticsResponseValidationError) Cause added in v0.0.9

Cause function returns cause value.

func (ListTankStatisticsResponseValidationError) Error added in v0.0.9

Error satisfies the builtin error interface

func (ListTankStatisticsResponseValidationError) ErrorName added in v0.0.9

ErrorName returns error name.

func (ListTankStatisticsResponseValidationError) Field added in v0.0.9

Field function returns field value.

func (ListTankStatisticsResponseValidationError) Key added in v0.0.9

Key function returns key value.

func (ListTankStatisticsResponseValidationError) Reason added in v0.0.9

Reason function returns reason value.

type ListTanksRequest added in v0.0.10

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

func (*ListTanksRequest) Descriptor deprecated added in v0.0.10

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

Deprecated: Use ListTanksRequest.ProtoReflect.Descriptor instead.

func (*ListTanksRequest) ProtoMessage added in v0.0.10

func (*ListTanksRequest) ProtoMessage()

func (*ListTanksRequest) ProtoReflect added in v0.0.10

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

func (*ListTanksRequest) Reset added in v0.0.10

func (x *ListTanksRequest) Reset()

func (*ListTanksRequest) String added in v0.0.10

func (x *ListTanksRequest) String() string

func (*ListTanksRequest) Validate added in v0.0.10

func (m *ListTanksRequest) Validate() error

Validate checks the field values on ListTanksRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListTanksRequestValidationError added in v0.0.10

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

ListTanksRequestValidationError is the validation error returned by ListTanksRequest.Validate if the designated constraints aren't met.

func (ListTanksRequestValidationError) Cause added in v0.0.10

Cause function returns cause value.

func (ListTanksRequestValidationError) Error added in v0.0.10

Error satisfies the builtin error interface

func (ListTanksRequestValidationError) ErrorName added in v0.0.10

ErrorName returns error name.

func (ListTanksRequestValidationError) Field added in v0.0.10

Field function returns field value.

func (ListTanksRequestValidationError) Key added in v0.0.10

Key function returns key value.

func (ListTanksRequestValidationError) Reason added in v0.0.10

Reason function returns reason value.

type ListTanksResponse added in v0.0.10

type ListTanksResponse struct {

	// The list of tanks
	Tanks []*Tank `protobuf:"bytes,1,rep,name=tanks,proto3" json:"tanks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTanksResponse) Descriptor deprecated added in v0.0.10

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

Deprecated: Use ListTanksResponse.ProtoReflect.Descriptor instead.

func (*ListTanksResponse) GetTanks added in v0.0.10

func (x *ListTanksResponse) GetTanks() []*Tank

func (*ListTanksResponse) ProtoMessage added in v0.0.10

func (*ListTanksResponse) ProtoMessage()

func (*ListTanksResponse) ProtoReflect added in v0.0.10

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

func (*ListTanksResponse) Reset added in v0.0.10

func (x *ListTanksResponse) Reset()

func (*ListTanksResponse) String added in v0.0.10

func (x *ListTanksResponse) String() string

func (*ListTanksResponse) Validate added in v0.0.10

func (m *ListTanksResponse) Validate() error

Validate checks the field values on ListTanksResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListTanksResponseValidationError added in v0.0.10

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

ListTanksResponseValidationError is the validation error returned by ListTanksResponse.Validate if the designated constraints aren't met.

func (ListTanksResponseValidationError) Cause added in v0.0.10

Cause function returns cause value.

func (ListTanksResponseValidationError) Error added in v0.0.10

Error satisfies the builtin error interface

func (ListTanksResponseValidationError) ErrorName added in v0.0.10

ErrorName returns error name.

func (ListTanksResponseValidationError) Field added in v0.0.10

Field function returns field value.

func (ListTanksResponseValidationError) Key added in v0.0.10

Key function returns key value.

func (ListTanksResponseValidationError) Reason added in v0.0.10

Reason function returns reason value.

type Tank added in v0.0.10

type Tank struct {

	// The unique identifier of the tank
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The make of the tank
	Make string `protobuf:"bytes,2,opt,name=make,proto3" json:"make,omitempty"`
	// The model of the tank
	Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	// The name of the tank
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The location of the tank
	Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// The capacity measurement of the tank
	CapacityMeasurement Tank_CapacityMeasurement `` /* 170-byte string literal not displayed */
	// The capacity of the tank
	//
	// Types that are assignable to OptionalCapacity:
	//	*Tank_Capacity
	OptionalCapacity isTank_OptionalCapacity `protobuf_oneof:"optional_capacity"`
	// The capacity of the tank
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Tank) Descriptor deprecated added in v0.0.10

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

Deprecated: Use Tank.ProtoReflect.Descriptor instead.

func (*Tank) GetCapacity added in v0.0.10

func (x *Tank) GetCapacity() float32

func (*Tank) GetCapacityMeasurement added in v0.0.10

func (x *Tank) GetCapacityMeasurement() Tank_CapacityMeasurement

func (*Tank) GetDescription added in v0.0.10

func (x *Tank) GetDescription() string

func (*Tank) GetId added in v0.0.10

func (x *Tank) GetId() int32

func (*Tank) GetLocation added in v0.0.10

func (x *Tank) GetLocation() string

func (*Tank) GetMake added in v0.0.10

func (x *Tank) GetMake() string

func (*Tank) GetModel added in v0.0.10

func (x *Tank) GetModel() string

func (*Tank) GetName added in v0.0.10

func (x *Tank) GetName() string

func (*Tank) GetOptionalCapacity added in v0.0.10

func (m *Tank) GetOptionalCapacity() isTank_OptionalCapacity

func (*Tank) ProtoMessage added in v0.0.10

func (*Tank) ProtoMessage()

func (*Tank) ProtoReflect added in v0.0.10

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

func (*Tank) Reset added in v0.0.10

func (x *Tank) Reset()

func (*Tank) String added in v0.0.10

func (x *Tank) String() string

func (*Tank) Validate added in v0.0.10

func (m *Tank) Validate() error

Validate checks the field values on Tank with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TankStatistic added in v0.0.9

type TankStatistic struct {

	// The unique identifier of the tank statistic.
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The date of tank test
	TestDate string `protobuf:"bytes,2,opt,name=test_date,json=testDate,proto3" json:"test_date,omitempty"`
	// The pH level of the tank
	//
	// Types that are assignable to OptionalPh:
	//	*TankStatistic_Ph
	OptionalPh isTankStatistic_OptionalPh `protobuf_oneof:"optional_ph"`
	// The GH level of the tank
	//
	// Types that are assignable to OptionalGh:
	//	*TankStatistic_Gh
	OptionalGh isTankStatistic_OptionalGh `protobuf_oneof:"optional_gh"`
	// The KH level of the tank
	//
	// Types that are assignable to OptionalKh:
	//	*TankStatistic_Kh
	OptionalKh isTankStatistic_OptionalKh `protobuf_oneof:"optional_kh"`
	// The Ammonia level of the tank
	//
	// Types that are assignable to OptionalAmmonia:
	//	*TankStatistic_Ammonia
	OptionalAmmonia isTankStatistic_OptionalAmmonia `protobuf_oneof:"optional_ammonia"`
	// The Nitrite level of the tank
	//
	// Types that are assignable to OptionalNitrite:
	//	*TankStatistic_Nitrite
	OptionalNitrite isTankStatistic_OptionalNitrite `protobuf_oneof:"optional_nitrite"`
	// The Nitrate level of the tank
	//
	// Types that are assignable to OptionalNitrate:
	//	*TankStatistic_Nitrate
	OptionalNitrate isTankStatistic_OptionalNitrate `protobuf_oneof:"optional_nitrate"`
	// The Phosphate level of the tank
	//
	// Types that are assignable to OptionalPhosphate:
	//	*TankStatistic_Phosphate
	OptionalPhosphate isTankStatistic_OptionalPhosphate `protobuf_oneof:"optional_phosphate"`
	// contains filtered or unexported fields
}

func (*TankStatistic) Descriptor deprecated added in v0.0.9

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

Deprecated: Use TankStatistic.ProtoReflect.Descriptor instead.

func (*TankStatistic) GetAmmonia added in v0.0.9

func (x *TankStatistic) GetAmmonia() float32

func (*TankStatistic) GetGh added in v0.0.9

func (x *TankStatistic) GetGh() float32

func (*TankStatistic) GetId added in v0.0.9

func (x *TankStatistic) GetId() int32

func (*TankStatistic) GetKh added in v0.0.9

func (x *TankStatistic) GetKh() float32

func (*TankStatistic) GetNitrate added in v0.0.9

func (x *TankStatistic) GetNitrate() float32

func (*TankStatistic) GetNitrite added in v0.0.9

func (x *TankStatistic) GetNitrite() float32

func (*TankStatistic) GetOptionalAmmonia added in v0.0.9

func (m *TankStatistic) GetOptionalAmmonia() isTankStatistic_OptionalAmmonia

func (*TankStatistic) GetOptionalGh added in v0.0.9

func (m *TankStatistic) GetOptionalGh() isTankStatistic_OptionalGh

func (*TankStatistic) GetOptionalKh added in v0.0.9

func (m *TankStatistic) GetOptionalKh() isTankStatistic_OptionalKh

func (*TankStatistic) GetOptionalNitrate added in v0.0.9

func (m *TankStatistic) GetOptionalNitrate() isTankStatistic_OptionalNitrate

func (*TankStatistic) GetOptionalNitrite added in v0.0.9

func (m *TankStatistic) GetOptionalNitrite() isTankStatistic_OptionalNitrite

func (*TankStatistic) GetOptionalPh added in v0.0.9

func (m *TankStatistic) GetOptionalPh() isTankStatistic_OptionalPh

func (*TankStatistic) GetOptionalPhosphate added in v0.0.9

func (m *TankStatistic) GetOptionalPhosphate() isTankStatistic_OptionalPhosphate

func (*TankStatistic) GetPh added in v0.0.9

func (x *TankStatistic) GetPh() float32

func (*TankStatistic) GetPhosphate added in v0.0.9

func (x *TankStatistic) GetPhosphate() float32

func (*TankStatistic) GetTestDate added in v0.0.9

func (x *TankStatistic) GetTestDate() string

func (*TankStatistic) ProtoMessage added in v0.0.9

func (*TankStatistic) ProtoMessage()

func (*TankStatistic) ProtoReflect added in v0.0.9

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

func (*TankStatistic) Reset added in v0.0.9

func (x *TankStatistic) Reset()

func (*TankStatistic) String added in v0.0.9

func (x *TankStatistic) String() string

func (*TankStatistic) Validate added in v0.0.9

func (m *TankStatistic) Validate() error

Validate checks the field values on TankStatistic with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TankStatisticValidationError added in v0.0.9

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

TankStatisticValidationError is the validation error returned by TankStatistic.Validate if the designated constraints aren't met.

func (TankStatisticValidationError) Cause added in v0.0.9

Cause function returns cause value.

func (TankStatisticValidationError) Error added in v0.0.9

Error satisfies the builtin error interface

func (TankStatisticValidationError) ErrorName added in v0.0.9

func (e TankStatisticValidationError) ErrorName() string

ErrorName returns error name.

func (TankStatisticValidationError) Field added in v0.0.9

Field function returns field value.

func (TankStatisticValidationError) Key added in v0.0.9

Key function returns key value.

func (TankStatisticValidationError) Reason added in v0.0.9

Reason function returns reason value.

type TankStatistic_Ammonia added in v0.0.9

type TankStatistic_Ammonia struct {
	Ammonia float32 `protobuf:"fixed32,6,opt,name=ammonia,proto3,oneof"`
}

type TankStatistic_Gh added in v0.0.9

type TankStatistic_Gh struct {
	Gh float32 `protobuf:"fixed32,4,opt,name=gh,proto3,oneof"`
}

type TankStatistic_Kh added in v0.0.9

type TankStatistic_Kh struct {
	Kh float32 `protobuf:"fixed32,5,opt,name=kh,proto3,oneof"`
}

type TankStatistic_Nitrate added in v0.0.9

type TankStatistic_Nitrate struct {
	Nitrate float32 `protobuf:"fixed32,8,opt,name=nitrate,proto3,oneof"`
}

type TankStatistic_Nitrite added in v0.0.9

type TankStatistic_Nitrite struct {
	Nitrite float32 `protobuf:"fixed32,7,opt,name=nitrite,proto3,oneof"`
}

type TankStatistic_Ph added in v0.0.9

type TankStatistic_Ph struct {
	Ph float32 `protobuf:"fixed32,3,opt,name=ph,proto3,oneof"`
}

type TankStatistic_Phosphate added in v0.0.9

type TankStatistic_Phosphate struct {
	Phosphate float32 `protobuf:"fixed32,9,opt,name=phosphate,proto3,oneof"`
}

type TankValidationError added in v0.0.10

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

TankValidationError is the validation error returned by Tank.Validate if the designated constraints aren't met.

func (TankValidationError) Cause added in v0.0.10

func (e TankValidationError) Cause() error

Cause function returns cause value.

func (TankValidationError) Error added in v0.0.10

func (e TankValidationError) Error() string

Error satisfies the builtin error interface

func (TankValidationError) ErrorName added in v0.0.10

func (e TankValidationError) ErrorName() string

ErrorName returns error name.

func (TankValidationError) Field added in v0.0.10

func (e TankValidationError) Field() string

Field function returns field value.

func (TankValidationError) Key added in v0.0.10

func (e TankValidationError) Key() bool

Key function returns key value.

func (TankValidationError) Reason added in v0.0.10

func (e TankValidationError) Reason() string

Reason function returns reason value.

type Tank_Capacity added in v0.0.10

type Tank_Capacity struct {
	Capacity float32 `protobuf:"fixed32,7,opt,name=capacity,proto3,oneof"`
}

type Tank_CapacityMeasurement added in v0.0.10

type Tank_CapacityMeasurement int32
const (
	Tank_UNSPECIFIED Tank_CapacityMeasurement = 0
	Tank_LITRES      Tank_CapacityMeasurement = 1
	Tank_GALLONS     Tank_CapacityMeasurement = 2
)

func (Tank_CapacityMeasurement) Descriptor added in v0.0.10

func (Tank_CapacityMeasurement) Enum added in v0.0.10

func (Tank_CapacityMeasurement) EnumDescriptor deprecated added in v0.0.10

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

Deprecated: Use Tank_CapacityMeasurement.Descriptor instead.

func (Tank_CapacityMeasurement) Number added in v0.0.10

func (Tank_CapacityMeasurement) String added in v0.0.10

func (x Tank_CapacityMeasurement) String() string

func (Tank_CapacityMeasurement) Type added in v0.0.10

type TrackMyFishServiceClient

type TrackMyFishServiceClient interface {
	// Heartbeat
	//
	// Provides information about the service health
	Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error)
	// AddFish
	//
	// Adds a new Fish
	AddFish(ctx context.Context, in *AddFishRequest, opts ...grpc.CallOption) (*AddFishResponse, error)
	// ListFish
	//
	// Lists Fish
	ListFish(ctx context.Context, in *ListFishRequest, opts ...grpc.CallOption) (*ListFishResponse, error)
	// DeleteFish
	//
	// Deletes a Fish
	DeleteFish(ctx context.Context, in *DeleteFishRequest, opts ...grpc.CallOption) (*DeleteFishResponse, error)
	// AddTankStatistic
	//
	// Adds a new tank statistic
	AddTankStatistic(ctx context.Context, in *AddTankStatisticRequest, opts ...grpc.CallOption) (*AddTankStatisticResponse, error)
	// ListTankStatistics
	//
	// Lists tank statistics
	ListTankStatistics(ctx context.Context, in *ListTankStatisticsRequest, opts ...grpc.CallOption) (*ListTankStatisticsResponse, error)
	// DeleteTankStatistic
	//
	// Deletes a tank statistic
	DeleteTankStatistic(ctx context.Context, in *DeleteTankStatisticRequest, opts ...grpc.CallOption) (*DeleteTankStatisticResponse, error)
	// AddTank
	//
	// Adds a new tank
	AddTank(ctx context.Context, in *AddTankRequest, opts ...grpc.CallOption) (*AddTankResponse, error)
	// ListTanks
	//
	// Lists tanks
	ListTanks(ctx context.Context, in *ListTanksRequest, opts ...grpc.CallOption) (*ListTanksResponse, error)
	// DeleteTank
	//
	// Deletes a tank
	DeleteTank(ctx context.Context, in *DeleteTankRequest, opts ...grpc.CallOption) (*DeleteTankResponse, error)
}

TrackMyFishServiceClient is the client API for TrackMyFishService 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 TrackMyFishServiceServer

type TrackMyFishServiceServer interface {
	// Heartbeat
	//
	// Provides information about the service health
	Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
	// AddFish
	//
	// Adds a new Fish
	AddFish(context.Context, *AddFishRequest) (*AddFishResponse, error)
	// ListFish
	//
	// Lists Fish
	ListFish(context.Context, *ListFishRequest) (*ListFishResponse, error)
	// DeleteFish
	//
	// Deletes a Fish
	DeleteFish(context.Context, *DeleteFishRequest) (*DeleteFishResponse, error)
	// AddTankStatistic
	//
	// Adds a new tank statistic
	AddTankStatistic(context.Context, *AddTankStatisticRequest) (*AddTankStatisticResponse, error)
	// ListTankStatistics
	//
	// Lists tank statistics
	ListTankStatistics(context.Context, *ListTankStatisticsRequest) (*ListTankStatisticsResponse, error)
	// DeleteTankStatistic
	//
	// Deletes a tank statistic
	DeleteTankStatistic(context.Context, *DeleteTankStatisticRequest) (*DeleteTankStatisticResponse, error)
	// AddTank
	//
	// Adds a new tank
	AddTank(context.Context, *AddTankRequest) (*AddTankResponse, error)
	// ListTanks
	//
	// Lists tanks
	ListTanks(context.Context, *ListTanksRequest) (*ListTanksResponse, error)
	// DeleteTank
	//
	// Deletes a tank
	DeleteTank(context.Context, *DeleteTankRequest) (*DeleteTankResponse, error)
}

TrackMyFishServiceServer is the server API for TrackMyFishService service. All implementations should embed UnimplementedTrackMyFishServiceServer for forward compatibility

type UnimplementedTrackMyFishServiceServer

type UnimplementedTrackMyFishServiceServer struct {
}

UnimplementedTrackMyFishServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTrackMyFishServiceServer) AddFish

func (UnimplementedTrackMyFishServiceServer) AddTank added in v0.0.10

func (UnimplementedTrackMyFishServiceServer) AddTankStatistic added in v0.0.9

func (UnimplementedTrackMyFishServiceServer) DeleteFish

func (UnimplementedTrackMyFishServiceServer) DeleteTank added in v0.0.10

func (UnimplementedTrackMyFishServiceServer) DeleteTankStatistic added in v0.0.9

func (UnimplementedTrackMyFishServiceServer) Heartbeat

func (UnimplementedTrackMyFishServiceServer) ListFish

func (UnimplementedTrackMyFishServiceServer) ListTankStatistics added in v0.0.9

func (UnimplementedTrackMyFishServiceServer) ListTanks added in v0.0.10

type UnsafeTrackMyFishServiceServer

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

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

Jump to

Keyboard shortcuts

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