controlv1

package
v0.0.0-...-7fcfa66 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ControlService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tstr.control.v1.ControlService",
	HandlerType: (*ControlServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterTest",
			Handler:    _ControlService_RegisterTest_Handler,
		},
		{
			MethodName: "UpdateTest",
			Handler:    _ControlService_UpdateTest_Handler,
		},
		{
			MethodName: "DeleteTest",
			Handler:    _ControlService_DeleteTest_Handler,
		},
		{
			MethodName: "ScheduleRun",
			Handler:    _ControlService_ScheduleRun_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "control/v1/control.proto",
}

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

View Source
var File_control_v1_control_proto protoreflect.FileDescriptor

Functions

func RegisterControlServiceServer

func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer)

Types

type ControlServiceClient

type ControlServiceClient interface {
	RegisterTest(ctx context.Context, in *RegisterTestRequest, opts ...grpc.CallOption) (*RegisterTestResponse, error)
	UpdateTest(ctx context.Context, in *UpdateTestRequest, opts ...grpc.CallOption) (*UpdateTestResponse, error)
	DeleteTest(ctx context.Context, in *DeleteTestRequest, opts ...grpc.CallOption) (*DeleteTestResponse, error)
	ScheduleRun(ctx context.Context, in *ScheduleRunRequest, opts ...grpc.CallOption) (*ScheduleRunResponse, error)
}

ControlServiceClient is the client API for ControlService 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 ControlServiceServer

type ControlServiceServer interface {
	RegisterTest(context.Context, *RegisterTestRequest) (*RegisterTestResponse, error)
	UpdateTest(context.Context, *UpdateTestRequest) (*UpdateTestResponse, error)
	DeleteTest(context.Context, *DeleteTestRequest) (*DeleteTestResponse, error)
	ScheduleRun(context.Context, *ScheduleRunRequest) (*ScheduleRunResponse, error)
	// contains filtered or unexported methods
}

ControlServiceServer is the server API for ControlService service. All implementations must embed UnimplementedControlServiceServer for forward compatibility

type DeleteTestRequest

type DeleteTestRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required
	// contains filtered or unexported fields
}

func (*DeleteTestRequest) Descriptor deprecated

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

Deprecated: Use DeleteTestRequest.ProtoReflect.Descriptor instead.

func (*DeleteTestRequest) GetId

func (x *DeleteTestRequest) GetId() string

func (*DeleteTestRequest) ProtoMessage

func (*DeleteTestRequest) ProtoMessage()

func (*DeleteTestRequest) ProtoReflect

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

func (*DeleteTestRequest) Reset

func (x *DeleteTestRequest) Reset()

func (*DeleteTestRequest) String

func (x *DeleteTestRequest) String() string

func (*DeleteTestRequest) Validate

func (m *DeleteTestRequest) Validate() error

Validate checks the field values on DeleteTestRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteTestRequest) ValidateAll

func (m *DeleteTestRequest) ValidateAll() error

ValidateAll checks the field values on DeleteTestRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTestRequestMultiError, or nil if none found.

type DeleteTestRequestMultiError

type DeleteTestRequestMultiError []error

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

func (DeleteTestRequestMultiError) AllErrors

func (m DeleteTestRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteTestRequestMultiError) Error

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

type DeleteTestRequestValidationError

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

DeleteTestRequestValidationError is the validation error returned by DeleteTestRequest.Validate if the designated constraints aren't met.

func (DeleteTestRequestValidationError) Cause

Cause function returns cause value.

func (DeleteTestRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTestRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTestRequestValidationError) Field

Field function returns field value.

func (DeleteTestRequestValidationError) Key

Key function returns key value.

func (DeleteTestRequestValidationError) Reason

Reason function returns reason value.

type DeleteTestResponse

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

func (*DeleteTestResponse) Descriptor deprecated

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

Deprecated: Use DeleteTestResponse.ProtoReflect.Descriptor instead.

func (*DeleteTestResponse) ProtoMessage

func (*DeleteTestResponse) ProtoMessage()

func (*DeleteTestResponse) ProtoReflect

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

func (*DeleteTestResponse) Reset

func (x *DeleteTestResponse) Reset()

func (*DeleteTestResponse) String

func (x *DeleteTestResponse) String() string

func (*DeleteTestResponse) Validate

func (m *DeleteTestResponse) Validate() error

Validate checks the field values on DeleteTestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteTestResponse) ValidateAll

func (m *DeleteTestResponse) ValidateAll() error

ValidateAll checks the field values on DeleteTestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTestResponseMultiError, or nil if none found.

type DeleteTestResponseMultiError

type DeleteTestResponseMultiError []error

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

func (DeleteTestResponseMultiError) AllErrors

func (m DeleteTestResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteTestResponseMultiError) Error

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

type DeleteTestResponseValidationError

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

DeleteTestResponseValidationError is the validation error returned by DeleteTestResponse.Validate if the designated constraints aren't met.

func (DeleteTestResponseValidationError) Cause

Cause function returns cause value.

func (DeleteTestResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteTestResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteTestResponseValidationError) Field

Field function returns field value.

func (DeleteTestResponseValidationError) Key

Key function returns key value.

func (DeleteTestResponseValidationError) Reason

Reason function returns reason value.

type RegisterTestRequest

type RegisterTestRequest struct {
	Name         string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Labels       map[string]string  `` /* 153-byte string literal not displayed */
	RunConfig    *v1.Test_RunConfig `protobuf:"bytes,3,opt,name=run_config,proto3" json:"run_config,omitempty"`
	CronSchedule string             `protobuf:"bytes,4,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
	Matrix       *v1.Test_Matrix    `protobuf:"bytes,5,opt,name=matrix,proto3" json:"matrix,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterTestRequest) Descriptor deprecated

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

Deprecated: Use RegisterTestRequest.ProtoReflect.Descriptor instead.

func (*RegisterTestRequest) GetCronSchedule

func (x *RegisterTestRequest) GetCronSchedule() string

func (*RegisterTestRequest) GetLabels

func (x *RegisterTestRequest) GetLabels() map[string]string

func (*RegisterTestRequest) GetMatrix

func (x *RegisterTestRequest) GetMatrix() *v1.Test_Matrix

func (*RegisterTestRequest) GetName

func (x *RegisterTestRequest) GetName() string

func (*RegisterTestRequest) GetRunConfig

func (x *RegisterTestRequest) GetRunConfig() *v1.Test_RunConfig

func (*RegisterTestRequest) ProtoMessage

func (*RegisterTestRequest) ProtoMessage()

func (*RegisterTestRequest) ProtoReflect

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

func (*RegisterTestRequest) Reset

func (x *RegisterTestRequest) Reset()

func (*RegisterTestRequest) String

func (x *RegisterTestRequest) String() string

func (*RegisterTestRequest) Validate

func (m *RegisterTestRequest) Validate() error

Validate checks the field values on RegisterTestRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterTestRequest) ValidateAll

func (m *RegisterTestRequest) ValidateAll() error

ValidateAll checks the field values on RegisterTestRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterTestRequestMultiError, or nil if none found.

type RegisterTestRequestMultiError

type RegisterTestRequestMultiError []error

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

func (RegisterTestRequestMultiError) AllErrors

func (m RegisterTestRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterTestRequestMultiError) Error

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

type RegisterTestRequestValidationError

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

RegisterTestRequestValidationError is the validation error returned by RegisterTestRequest.Validate if the designated constraints aren't met.

func (RegisterTestRequestValidationError) Cause

Cause function returns cause value.

func (RegisterTestRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterTestRequestValidationError) ErrorName

ErrorName returns error name.

func (RegisterTestRequestValidationError) Field

Field function returns field value.

func (RegisterTestRequestValidationError) Key

Key function returns key value.

func (RegisterTestRequestValidationError) Reason

Reason function returns reason value.

type RegisterTestResponse

type RegisterTestResponse struct {
	Test *v1.Test `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"` // required
	// contains filtered or unexported fields
}

func (*RegisterTestResponse) Descriptor deprecated

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

Deprecated: Use RegisterTestResponse.ProtoReflect.Descriptor instead.

func (*RegisterTestResponse) GetTest

func (x *RegisterTestResponse) GetTest() *v1.Test

func (*RegisterTestResponse) ProtoMessage

func (*RegisterTestResponse) ProtoMessage()

func (*RegisterTestResponse) ProtoReflect

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

func (*RegisterTestResponse) Reset

func (x *RegisterTestResponse) Reset()

func (*RegisterTestResponse) String

func (x *RegisterTestResponse) String() string

func (*RegisterTestResponse) Validate

func (m *RegisterTestResponse) Validate() error

Validate checks the field values on RegisterTestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterTestResponse) ValidateAll

func (m *RegisterTestResponse) ValidateAll() error

ValidateAll checks the field values on RegisterTestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterTestResponseMultiError, or nil if none found.

type RegisterTestResponseMultiError

type RegisterTestResponseMultiError []error

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

func (RegisterTestResponseMultiError) AllErrors

func (m RegisterTestResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterTestResponseMultiError) Error

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

type RegisterTestResponseValidationError

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

RegisterTestResponseValidationError is the validation error returned by RegisterTestResponse.Validate if the designated constraints aren't met.

func (RegisterTestResponseValidationError) Cause

Cause function returns cause value.

func (RegisterTestResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterTestResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterTestResponseValidationError) Field

Field function returns field value.

func (RegisterTestResponseValidationError) Key

Key function returns key value.

func (RegisterTestResponseValidationError) Reason

Reason function returns reason value.

type ScheduleRunRequest

type ScheduleRunRequest struct {
	TestId     string            `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"` // required
	Labels     map[string]string ``                                                                                /* 153-byte string literal not displayed */
	TestMatrix *v1.Test_Matrix   `protobuf:"bytes,3,opt,name=test_matrix,json=testMatrix,proto3" json:"test_matrix,omitempty"`
	// contains filtered or unexported fields
}

func (*ScheduleRunRequest) Descriptor deprecated

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

Deprecated: Use ScheduleRunRequest.ProtoReflect.Descriptor instead.

func (*ScheduleRunRequest) GetLabels

func (x *ScheduleRunRequest) GetLabels() map[string]string

func (*ScheduleRunRequest) GetTestId

func (x *ScheduleRunRequest) GetTestId() string

func (*ScheduleRunRequest) GetTestMatrix

func (x *ScheduleRunRequest) GetTestMatrix() *v1.Test_Matrix

func (*ScheduleRunRequest) ProtoMessage

func (*ScheduleRunRequest) ProtoMessage()

func (*ScheduleRunRequest) ProtoReflect

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

func (*ScheduleRunRequest) Reset

func (x *ScheduleRunRequest) Reset()

func (*ScheduleRunRequest) String

func (x *ScheduleRunRequest) String() string

func (*ScheduleRunRequest) Validate

func (m *ScheduleRunRequest) Validate() error

Validate checks the field values on ScheduleRunRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScheduleRunRequest) ValidateAll

func (m *ScheduleRunRequest) ValidateAll() error

ValidateAll checks the field values on ScheduleRunRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScheduleRunRequestMultiError, or nil if none found.

type ScheduleRunRequestMultiError

type ScheduleRunRequestMultiError []error

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

func (ScheduleRunRequestMultiError) AllErrors

func (m ScheduleRunRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScheduleRunRequestMultiError) Error

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

type ScheduleRunRequestValidationError

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

ScheduleRunRequestValidationError is the validation error returned by ScheduleRunRequest.Validate if the designated constraints aren't met.

func (ScheduleRunRequestValidationError) Cause

Cause function returns cause value.

func (ScheduleRunRequestValidationError) Error

Error satisfies the builtin error interface

func (ScheduleRunRequestValidationError) ErrorName

ErrorName returns error name.

func (ScheduleRunRequestValidationError) Field

Field function returns field value.

func (ScheduleRunRequestValidationError) Key

Key function returns key value.

func (ScheduleRunRequestValidationError) Reason

Reason function returns reason value.

type ScheduleRunResponse

type ScheduleRunResponse struct {
	Runs []*v1.Run `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"` // required
	// contains filtered or unexported fields
}

func (*ScheduleRunResponse) Descriptor deprecated

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

Deprecated: Use ScheduleRunResponse.ProtoReflect.Descriptor instead.

func (*ScheduleRunResponse) GetRuns

func (x *ScheduleRunResponse) GetRuns() []*v1.Run

func (*ScheduleRunResponse) ProtoMessage

func (*ScheduleRunResponse) ProtoMessage()

func (*ScheduleRunResponse) ProtoReflect

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

func (*ScheduleRunResponse) Reset

func (x *ScheduleRunResponse) Reset()

func (*ScheduleRunResponse) String

func (x *ScheduleRunResponse) String() string

func (*ScheduleRunResponse) Validate

func (m *ScheduleRunResponse) Validate() error

Validate checks the field values on ScheduleRunResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScheduleRunResponse) ValidateAll

func (m *ScheduleRunResponse) ValidateAll() error

ValidateAll checks the field values on ScheduleRunResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScheduleRunResponseMultiError, or nil if none found.

type ScheduleRunResponseMultiError

type ScheduleRunResponseMultiError []error

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

func (ScheduleRunResponseMultiError) AllErrors

func (m ScheduleRunResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScheduleRunResponseMultiError) Error

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

type ScheduleRunResponseValidationError

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

ScheduleRunResponseValidationError is the validation error returned by ScheduleRunResponse.Validate if the designated constraints aren't met.

func (ScheduleRunResponseValidationError) Cause

Cause function returns cause value.

func (ScheduleRunResponseValidationError) Error

Error satisfies the builtin error interface

func (ScheduleRunResponseValidationError) ErrorName

ErrorName returns error name.

func (ScheduleRunResponseValidationError) Field

Field function returns field value.

func (ScheduleRunResponseValidationError) Key

Key function returns key value.

func (ScheduleRunResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedControlServiceServer

type UnimplementedControlServiceServer struct {
}

UnimplementedControlServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedControlServiceServer) DeleteTest

func (UnimplementedControlServiceServer) RegisterTest

func (UnimplementedControlServiceServer) ScheduleRun

func (UnimplementedControlServiceServer) UpdateTest

type UnsafeControlServiceServer

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

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

type UpdateTestRequest

type UpdateTestRequest struct {
	FieldMask    *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	Id           string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // required
	Name         string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	RunConfig    *v1.Test_RunConfig     `protobuf:"bytes,4,opt,name=run_config,json=runConfig,proto3" json:"run_config,omitempty"`
	Labels       map[string]string      `` /* 153-byte string literal not displayed */
	CronSchedule string                 `protobuf:"bytes,6,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
	Matrix       *v1.Test_Matrix        `protobuf:"bytes,7,opt,name=matrix,proto3" json:"matrix,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTestRequest) Descriptor deprecated

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

Deprecated: Use UpdateTestRequest.ProtoReflect.Descriptor instead.

func (*UpdateTestRequest) GetCronSchedule

func (x *UpdateTestRequest) GetCronSchedule() string

func (*UpdateTestRequest) GetFieldMask

func (x *UpdateTestRequest) GetFieldMask() *fieldmaskpb.FieldMask

func (*UpdateTestRequest) GetId

func (x *UpdateTestRequest) GetId() string

func (*UpdateTestRequest) GetLabels

func (x *UpdateTestRequest) GetLabels() map[string]string

func (*UpdateTestRequest) GetMatrix

func (x *UpdateTestRequest) GetMatrix() *v1.Test_Matrix

func (*UpdateTestRequest) GetName

func (x *UpdateTestRequest) GetName() string

func (*UpdateTestRequest) GetRunConfig

func (x *UpdateTestRequest) GetRunConfig() *v1.Test_RunConfig

func (*UpdateTestRequest) ProtoMessage

func (*UpdateTestRequest) ProtoMessage()

func (*UpdateTestRequest) ProtoReflect

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

func (*UpdateTestRequest) Reset

func (x *UpdateTestRequest) Reset()

func (*UpdateTestRequest) String

func (x *UpdateTestRequest) String() string

func (*UpdateTestRequest) Validate

func (m *UpdateTestRequest) Validate() error

Validate checks the field values on UpdateTestRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateTestRequest) ValidateAll

func (m *UpdateTestRequest) ValidateAll() error

ValidateAll checks the field values on UpdateTestRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTestRequestMultiError, or nil if none found.

type UpdateTestRequestMultiError

type UpdateTestRequestMultiError []error

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

func (UpdateTestRequestMultiError) AllErrors

func (m UpdateTestRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateTestRequestMultiError) Error

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

type UpdateTestRequestValidationError

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

UpdateTestRequestValidationError is the validation error returned by UpdateTestRequest.Validate if the designated constraints aren't met.

func (UpdateTestRequestValidationError) Cause

Cause function returns cause value.

func (UpdateTestRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTestRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTestRequestValidationError) Field

Field function returns field value.

func (UpdateTestRequestValidationError) Key

Key function returns key value.

func (UpdateTestRequestValidationError) Reason

Reason function returns reason value.

type UpdateTestResponse

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

func (*UpdateTestResponse) Descriptor deprecated

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

Deprecated: Use UpdateTestResponse.ProtoReflect.Descriptor instead.

func (*UpdateTestResponse) ProtoMessage

func (*UpdateTestResponse) ProtoMessage()

func (*UpdateTestResponse) ProtoReflect

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

func (*UpdateTestResponse) Reset

func (x *UpdateTestResponse) Reset()

func (*UpdateTestResponse) String

func (x *UpdateTestResponse) String() string

func (*UpdateTestResponse) Validate

func (m *UpdateTestResponse) Validate() error

Validate checks the field values on UpdateTestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateTestResponse) ValidateAll

func (m *UpdateTestResponse) ValidateAll() error

ValidateAll checks the field values on UpdateTestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTestResponseMultiError, or nil if none found.

type UpdateTestResponseMultiError

type UpdateTestResponseMultiError []error

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

func (UpdateTestResponseMultiError) AllErrors

func (m UpdateTestResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateTestResponseMultiError) Error

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

type UpdateTestResponseValidationError

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

UpdateTestResponseValidationError is the validation error returned by UpdateTestResponse.Validate if the designated constraints aren't met.

func (UpdateTestResponseValidationError) Cause

Cause function returns cause value.

func (UpdateTestResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateTestResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateTestResponseValidationError) Field

Field function returns field value.

func (UpdateTestResponseValidationError) Key

Key function returns key value.

func (UpdateTestResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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