calculated_channelsv1

package
v0.0.0-...-77c09b6 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package calculated_channelsv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ExpressionIdentifierType_name = map[int32]string{
		0: "EXPRESSION_IDENTIFIER_TYPE_UNSPECIFIED",
		1: "EXPRESSION_IDENTIFIER_TYPE_FUNCTION",
		2: "EXPRESSION_IDENTIFIER_TYPE_CHANNEL",
	}
	ExpressionIdentifierType_value = map[string]int32{
		"EXPRESSION_IDENTIFIER_TYPE_UNSPECIFIED": 0,
		"EXPRESSION_IDENTIFIER_TYPE_FUNCTION":    1,
		"EXPRESSION_IDENTIFIER_TYPE_CHANNEL":     2,
	}
)

Enum value maps for ExpressionIdentifierType.

View Source
var (
	ExpressionMode_name = map[int32]string{
		0: "EXPRESSION_MODE_UNSPECIFIED",
		1: "EXPRESSION_MODE_RULES",
		2: "EXPRESSION_MODE_CALCULATED_CHANNELS",
	}
	ExpressionMode_value = map[string]int32{
		"EXPRESSION_MODE_UNSPECIFIED":         0,
		"EXPRESSION_MODE_RULES":               1,
		"EXPRESSION_MODE_CALCULATED_CHANNELS": 2,
	}
)

Enum value maps for ExpressionMode.

View Source
var CalculatedChannelsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sift.calculated_channels.v1.CalculatedChannelsService",
	HandlerType: (*CalculatedChannelsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListExpressionIdentifiers",
			Handler:    _CalculatedChannelsService_ListExpressionIdentifiers_Handler,
		},
		{
			MethodName: "ValidateExpression",
			Handler:    _CalculatedChannelsService_ValidateExpression_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sift/calculated_channels/v1/calculated_channels.proto",
}

CalculatedChannelsService_ServiceDesc is the grpc.ServiceDesc for CalculatedChannelsService 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_sift_calculated_channels_v1_calculated_channels_proto protoreflect.FileDescriptor

Functions

func RegisterCalculatedChannelsServiceHandler

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

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

func RegisterCalculatedChannelsServiceHandlerClient

func RegisterCalculatedChannelsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CalculatedChannelsServiceClient) error

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

func RegisterCalculatedChannelsServiceHandlerFromEndpoint

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

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

func RegisterCalculatedChannelsServiceHandlerServer

func RegisterCalculatedChannelsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CalculatedChannelsServiceServer) error

RegisterCalculatedChannelsServiceHandlerServer registers the http handlers for service CalculatedChannelsService to "mux". UnaryRPC :call CalculatedChannelsServiceServer 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 RegisterCalculatedChannelsServiceHandlerFromEndpoint instead.

func RegisterCalculatedChannelsServiceServer

func RegisterCalculatedChannelsServiceServer(s grpc.ServiceRegistrar, srv CalculatedChannelsServiceServer)

Types

type CalculatedChannelsServiceClient

type CalculatedChannelsServiceClient interface {
	// Retrieves a list of valid identifiers that can be used as part of a calculated channel expression.
	ListExpressionIdentifiers(ctx context.Context, in *ListExpressionIdentifiersRequest, opts ...grpc.CallOption) (*ListExpressionIdentifiersResponse, error)
	// Used to validate whether or not an expression used for a calculated channel is valid.
	ValidateExpression(ctx context.Context, in *ValidateExpressionRequest, opts ...grpc.CallOption) (*ValidateExpressionResponse, error)
}

CalculatedChannelsServiceClient is the client API for CalculatedChannelsService 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 CalculatedChannelsServiceServer

type CalculatedChannelsServiceServer interface {
	// Retrieves a list of valid identifiers that can be used as part of a calculated channel expression.
	ListExpressionIdentifiers(context.Context, *ListExpressionIdentifiersRequest) (*ListExpressionIdentifiersResponse, error)
	// Used to validate whether or not an expression used for a calculated channel is valid.
	ValidateExpression(context.Context, *ValidateExpressionRequest) (*ValidateExpressionResponse, error)
	// contains filtered or unexported methods
}

CalculatedChannelsServiceServer is the server API for CalculatedChannelsService service. All implementations must embed UnimplementedCalculatedChannelsServiceServer for forward compatibility

type ErrorValidatingExpressionResult

type ErrorValidatingExpressionResult struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorValidatingExpressionResult) CloneMessageVT

func (m *ErrorValidatingExpressionResult) CloneMessageVT() proto.Message

func (*ErrorValidatingExpressionResult) CloneVT

func (*ErrorValidatingExpressionResult) Descriptor deprecated

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

Deprecated: Use ErrorValidatingExpressionResult.ProtoReflect.Descriptor instead.

func (*ErrorValidatingExpressionResult) EqualMessageVT

func (this *ErrorValidatingExpressionResult) EqualMessageVT(thatMsg proto.Message) bool

func (*ErrorValidatingExpressionResult) EqualVT

func (*ErrorValidatingExpressionResult) GetErrorMessage

func (x *ErrorValidatingExpressionResult) GetErrorMessage() string

func (*ErrorValidatingExpressionResult) MarshalToSizedBufferVT

func (m *ErrorValidatingExpressionResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ErrorValidatingExpressionResult) MarshalToSizedBufferVTStrict

func (m *ErrorValidatingExpressionResult) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ErrorValidatingExpressionResult) MarshalToVT

func (m *ErrorValidatingExpressionResult) MarshalToVT(dAtA []byte) (int, error)

func (*ErrorValidatingExpressionResult) MarshalToVTStrict

func (m *ErrorValidatingExpressionResult) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ErrorValidatingExpressionResult) MarshalVT

func (m *ErrorValidatingExpressionResult) MarshalVT() (dAtA []byte, err error)

func (*ErrorValidatingExpressionResult) MarshalVTStrict

func (m *ErrorValidatingExpressionResult) MarshalVTStrict() (dAtA []byte, err error)

func (*ErrorValidatingExpressionResult) ProtoMessage

func (*ErrorValidatingExpressionResult) ProtoMessage()

func (*ErrorValidatingExpressionResult) ProtoReflect

func (*ErrorValidatingExpressionResult) Reset

func (*ErrorValidatingExpressionResult) SizeVT

func (m *ErrorValidatingExpressionResult) SizeVT() (n int)

func (*ErrorValidatingExpressionResult) String

func (*ErrorValidatingExpressionResult) UnmarshalVT

func (m *ErrorValidatingExpressionResult) UnmarshalVT(dAtA []byte) error

func (*ErrorValidatingExpressionResult) UnmarshalVTUnsafe

func (m *ErrorValidatingExpressionResult) UnmarshalVTUnsafe(dAtA []byte) error

type ExpressionIdentifier

type ExpressionIdentifier struct {
	Name        string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Type        ExpressionIdentifierType `protobuf:"varint,3,opt,name=type,proto3,enum=sift.calculated_channels.v1.ExpressionIdentifierType" json:"type,omitempty"`
	DisplayName string                   `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpressionIdentifier) CloneMessageVT

func (m *ExpressionIdentifier) CloneMessageVT() proto.Message

func (*ExpressionIdentifier) CloneVT

func (*ExpressionIdentifier) Descriptor deprecated

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

Deprecated: Use ExpressionIdentifier.ProtoReflect.Descriptor instead.

func (*ExpressionIdentifier) EqualMessageVT

func (this *ExpressionIdentifier) EqualMessageVT(thatMsg proto.Message) bool

func (*ExpressionIdentifier) EqualVT

func (this *ExpressionIdentifier) EqualVT(that *ExpressionIdentifier) bool

func (*ExpressionIdentifier) GetDescription

func (x *ExpressionIdentifier) GetDescription() string

func (*ExpressionIdentifier) GetDisplayName

func (x *ExpressionIdentifier) GetDisplayName() string

func (*ExpressionIdentifier) GetName

func (x *ExpressionIdentifier) GetName() string

func (*ExpressionIdentifier) GetType

func (*ExpressionIdentifier) MarshalToSizedBufferVT

func (m *ExpressionIdentifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ExpressionIdentifier) MarshalToSizedBufferVTStrict

func (m *ExpressionIdentifier) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ExpressionIdentifier) MarshalToVT

func (m *ExpressionIdentifier) MarshalToVT(dAtA []byte) (int, error)

func (*ExpressionIdentifier) MarshalToVTStrict

func (m *ExpressionIdentifier) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ExpressionIdentifier) MarshalVT

func (m *ExpressionIdentifier) MarshalVT() (dAtA []byte, err error)

func (*ExpressionIdentifier) MarshalVTStrict

func (m *ExpressionIdentifier) MarshalVTStrict() (dAtA []byte, err error)

func (*ExpressionIdentifier) ProtoMessage

func (*ExpressionIdentifier) ProtoMessage()

func (*ExpressionIdentifier) ProtoReflect

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

func (*ExpressionIdentifier) Reset

func (x *ExpressionIdentifier) Reset()

func (*ExpressionIdentifier) SizeVT

func (m *ExpressionIdentifier) SizeVT() (n int)

func (*ExpressionIdentifier) String

func (x *ExpressionIdentifier) String() string

func (*ExpressionIdentifier) UnmarshalVT

func (m *ExpressionIdentifier) UnmarshalVT(dAtA []byte) error

func (*ExpressionIdentifier) UnmarshalVTUnsafe

func (m *ExpressionIdentifier) UnmarshalVTUnsafe(dAtA []byte) error

type ExpressionIdentifierType

type ExpressionIdentifierType int32
const (
	// Deprecated: Do not use.
	ExpressionIdentifierType_EXPRESSION_IDENTIFIER_TYPE_UNSPECIFIED ExpressionIdentifierType = 0
	ExpressionIdentifierType_EXPRESSION_IDENTIFIER_TYPE_FUNCTION    ExpressionIdentifierType = 1
	ExpressionIdentifierType_EXPRESSION_IDENTIFIER_TYPE_CHANNEL     ExpressionIdentifierType = 2
)

func (ExpressionIdentifierType) Descriptor

func (ExpressionIdentifierType) Enum

func (ExpressionIdentifierType) EnumDescriptor deprecated

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

Deprecated: Use ExpressionIdentifierType.Descriptor instead.

func (ExpressionIdentifierType) Number

func (ExpressionIdentifierType) String

func (x ExpressionIdentifierType) String() string

func (ExpressionIdentifierType) Type

type ExpressionMode

type ExpressionMode int32
const (
	// Deprecated: Do not use.
	ExpressionMode_EXPRESSION_MODE_UNSPECIFIED         ExpressionMode = 0
	ExpressionMode_EXPRESSION_MODE_RULES               ExpressionMode = 1
	ExpressionMode_EXPRESSION_MODE_CALCULATED_CHANNELS ExpressionMode = 2
)

func (ExpressionMode) Descriptor

func (ExpressionMode) Enum

func (x ExpressionMode) Enum() *ExpressionMode

func (ExpressionMode) EnumDescriptor deprecated

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

Deprecated: Use ExpressionMode.Descriptor instead.

func (ExpressionMode) Number

func (ExpressionMode) String

func (x ExpressionMode) String() string

func (ExpressionMode) Type

type ExpressionRequest

type ExpressionRequest struct {

	// A map from the channel reference in the expression string (e.g. $1) to the channel id (uuid).
	ChannelReferences map[string]string `` /* 200-byte string literal not displayed */
	Expression        string            `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpressionRequest) CloneMessageVT

func (m *ExpressionRequest) CloneMessageVT() proto.Message

func (*ExpressionRequest) CloneVT

func (m *ExpressionRequest) CloneVT() *ExpressionRequest

func (*ExpressionRequest) Descriptor deprecated

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

Deprecated: Use ExpressionRequest.ProtoReflect.Descriptor instead.

func (*ExpressionRequest) EqualMessageVT

func (this *ExpressionRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*ExpressionRequest) EqualVT

func (this *ExpressionRequest) EqualVT(that *ExpressionRequest) bool

func (*ExpressionRequest) GetChannelReferences

func (x *ExpressionRequest) GetChannelReferences() map[string]string

func (*ExpressionRequest) GetExpression

func (x *ExpressionRequest) GetExpression() string

func (*ExpressionRequest) MarshalToSizedBufferVT

func (m *ExpressionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ExpressionRequest) MarshalToSizedBufferVTStrict

func (m *ExpressionRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ExpressionRequest) MarshalToVT

func (m *ExpressionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ExpressionRequest) MarshalToVTStrict

func (m *ExpressionRequest) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ExpressionRequest) MarshalVT

func (m *ExpressionRequest) MarshalVT() (dAtA []byte, err error)

func (*ExpressionRequest) MarshalVTStrict

func (m *ExpressionRequest) MarshalVTStrict() (dAtA []byte, err error)

func (*ExpressionRequest) ProtoMessage

func (*ExpressionRequest) ProtoMessage()

func (*ExpressionRequest) ProtoReflect

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

func (*ExpressionRequest) Reset

func (x *ExpressionRequest) Reset()

func (*ExpressionRequest) SizeVT

func (m *ExpressionRequest) SizeVT() (n int)

func (*ExpressionRequest) String

func (x *ExpressionRequest) String() string

func (*ExpressionRequest) UnmarshalVT

func (m *ExpressionRequest) UnmarshalVT(dAtA []byte) error

func (*ExpressionRequest) UnmarshalVTUnsafe

func (m *ExpressionRequest) UnmarshalVTUnsafe(dAtA []byte) error

type ListExpressionIdentifiersRequest

type ListExpressionIdentifiersRequest struct {

	// Defaults to 1000. Max of 10,000.
	PageSize  uint32         `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string         `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Mode      ExpressionMode `protobuf:"varint,3,opt,name=mode,proto3,enum=sift.calculated_channels.v1.ExpressionMode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExpressionIdentifiersRequest) CloneMessageVT

func (m *ListExpressionIdentifiersRequest) CloneMessageVT() proto.Message

func (*ListExpressionIdentifiersRequest) CloneVT

func (*ListExpressionIdentifiersRequest) Descriptor deprecated

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

Deprecated: Use ListExpressionIdentifiersRequest.ProtoReflect.Descriptor instead.

func (*ListExpressionIdentifiersRequest) EqualMessageVT

func (this *ListExpressionIdentifiersRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*ListExpressionIdentifiersRequest) EqualVT

func (*ListExpressionIdentifiersRequest) GetMode

func (*ListExpressionIdentifiersRequest) GetPageSize

func (x *ListExpressionIdentifiersRequest) GetPageSize() uint32

func (*ListExpressionIdentifiersRequest) GetPageToken

func (x *ListExpressionIdentifiersRequest) GetPageToken() string

func (*ListExpressionIdentifiersRequest) MarshalToSizedBufferVT

func (m *ListExpressionIdentifiersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ListExpressionIdentifiersRequest) MarshalToSizedBufferVTStrict

func (m *ListExpressionIdentifiersRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ListExpressionIdentifiersRequest) MarshalToVT

func (m *ListExpressionIdentifiersRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ListExpressionIdentifiersRequest) MarshalToVTStrict

func (m *ListExpressionIdentifiersRequest) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ListExpressionIdentifiersRequest) MarshalVT

func (m *ListExpressionIdentifiersRequest) MarshalVT() (dAtA []byte, err error)

func (*ListExpressionIdentifiersRequest) MarshalVTStrict

func (m *ListExpressionIdentifiersRequest) MarshalVTStrict() (dAtA []byte, err error)

func (*ListExpressionIdentifiersRequest) ProtoMessage

func (*ListExpressionIdentifiersRequest) ProtoMessage()

func (*ListExpressionIdentifiersRequest) ProtoReflect

func (*ListExpressionIdentifiersRequest) Reset

func (*ListExpressionIdentifiersRequest) SizeVT

func (m *ListExpressionIdentifiersRequest) SizeVT() (n int)

func (*ListExpressionIdentifiersRequest) String

func (*ListExpressionIdentifiersRequest) UnmarshalVT

func (m *ListExpressionIdentifiersRequest) UnmarshalVT(dAtA []byte) error

func (*ListExpressionIdentifiersRequest) UnmarshalVTUnsafe

func (m *ListExpressionIdentifiersRequest) UnmarshalVTUnsafe(dAtA []byte) error

type ListExpressionIdentifiersResponse

type ListExpressionIdentifiersResponse struct {
	Identifiers []*ExpressionIdentifier `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExpressionIdentifiersResponse) CloneMessageVT

func (m *ListExpressionIdentifiersResponse) CloneMessageVT() proto.Message

func (*ListExpressionIdentifiersResponse) CloneVT

func (*ListExpressionIdentifiersResponse) Descriptor deprecated

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

Deprecated: Use ListExpressionIdentifiersResponse.ProtoReflect.Descriptor instead.

func (*ListExpressionIdentifiersResponse) EqualMessageVT

func (this *ListExpressionIdentifiersResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*ListExpressionIdentifiersResponse) EqualVT

func (*ListExpressionIdentifiersResponse) GetIdentifiers

func (*ListExpressionIdentifiersResponse) MarshalToSizedBufferVT

func (m *ListExpressionIdentifiersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ListExpressionIdentifiersResponse) MarshalToSizedBufferVTStrict

func (m *ListExpressionIdentifiersResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ListExpressionIdentifiersResponse) MarshalToVT

func (m *ListExpressionIdentifiersResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ListExpressionIdentifiersResponse) MarshalToVTStrict

func (m *ListExpressionIdentifiersResponse) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ListExpressionIdentifiersResponse) MarshalVT

func (m *ListExpressionIdentifiersResponse) MarshalVT() (dAtA []byte, err error)

func (*ListExpressionIdentifiersResponse) MarshalVTStrict

func (m *ListExpressionIdentifiersResponse) MarshalVTStrict() (dAtA []byte, err error)

func (*ListExpressionIdentifiersResponse) ProtoMessage

func (*ListExpressionIdentifiersResponse) ProtoMessage()

func (*ListExpressionIdentifiersResponse) ProtoReflect

func (*ListExpressionIdentifiersResponse) Reset

func (*ListExpressionIdentifiersResponse) SizeVT

func (m *ListExpressionIdentifiersResponse) SizeVT() (n int)

func (*ListExpressionIdentifiersResponse) String

func (*ListExpressionIdentifiersResponse) UnmarshalVT

func (m *ListExpressionIdentifiersResponse) UnmarshalVT(dAtA []byte) error

func (*ListExpressionIdentifiersResponse) UnmarshalVTUnsafe

func (m *ListExpressionIdentifiersResponse) UnmarshalVTUnsafe(dAtA []byte) error

type SuccessValidatingExpressionResult

type SuccessValidatingExpressionResult struct {
	DataType v1.ChannelDataType `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SuccessValidatingExpressionResult) CloneMessageVT

func (m *SuccessValidatingExpressionResult) CloneMessageVT() proto.Message

func (*SuccessValidatingExpressionResult) CloneVT

func (*SuccessValidatingExpressionResult) Descriptor deprecated

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

Deprecated: Use SuccessValidatingExpressionResult.ProtoReflect.Descriptor instead.

func (*SuccessValidatingExpressionResult) EqualMessageVT

func (this *SuccessValidatingExpressionResult) EqualMessageVT(thatMsg proto.Message) bool

func (*SuccessValidatingExpressionResult) EqualVT

func (*SuccessValidatingExpressionResult) GetDataType

func (*SuccessValidatingExpressionResult) MarshalToSizedBufferVT

func (m *SuccessValidatingExpressionResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SuccessValidatingExpressionResult) MarshalToSizedBufferVTStrict

func (m *SuccessValidatingExpressionResult) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*SuccessValidatingExpressionResult) MarshalToVT

func (m *SuccessValidatingExpressionResult) MarshalToVT(dAtA []byte) (int, error)

func (*SuccessValidatingExpressionResult) MarshalToVTStrict

func (m *SuccessValidatingExpressionResult) MarshalToVTStrict(dAtA []byte) (int, error)

func (*SuccessValidatingExpressionResult) MarshalVT

func (m *SuccessValidatingExpressionResult) MarshalVT() (dAtA []byte, err error)

func (*SuccessValidatingExpressionResult) MarshalVTStrict

func (m *SuccessValidatingExpressionResult) MarshalVTStrict() (dAtA []byte, err error)

func (*SuccessValidatingExpressionResult) ProtoMessage

func (*SuccessValidatingExpressionResult) ProtoMessage()

func (*SuccessValidatingExpressionResult) ProtoReflect

func (*SuccessValidatingExpressionResult) Reset

func (*SuccessValidatingExpressionResult) SizeVT

func (m *SuccessValidatingExpressionResult) SizeVT() (n int)

func (*SuccessValidatingExpressionResult) String

func (*SuccessValidatingExpressionResult) UnmarshalVT

func (m *SuccessValidatingExpressionResult) UnmarshalVT(dAtA []byte) error

func (*SuccessValidatingExpressionResult) UnmarshalVTUnsafe

func (m *SuccessValidatingExpressionResult) UnmarshalVTUnsafe(dAtA []byte) error

type UnimplementedCalculatedChannelsServiceServer

type UnimplementedCalculatedChannelsServiceServer struct {
}

UnimplementedCalculatedChannelsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCalculatedChannelsServiceServer) ValidateExpression

type UnsafeCalculatedChannelsServiceServer

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

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

type ValidateExpressionRequest

type ValidateExpressionRequest struct {
	Expression *ExpressionRequest `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
	Mode       ExpressionMode     `protobuf:"varint,2,opt,name=mode,proto3,enum=sift.calculated_channels.v1.ExpressionMode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateExpressionRequest) CloneMessageVT

func (m *ValidateExpressionRequest) CloneMessageVT() proto.Message

func (*ValidateExpressionRequest) CloneVT

func (*ValidateExpressionRequest) Descriptor deprecated

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

Deprecated: Use ValidateExpressionRequest.ProtoReflect.Descriptor instead.

func (*ValidateExpressionRequest) EqualMessageVT

func (this *ValidateExpressionRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*ValidateExpressionRequest) EqualVT

func (*ValidateExpressionRequest) GetExpression

func (x *ValidateExpressionRequest) GetExpression() *ExpressionRequest

func (*ValidateExpressionRequest) GetMode

func (*ValidateExpressionRequest) MarshalToSizedBufferVT

func (m *ValidateExpressionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ValidateExpressionRequest) MarshalToSizedBufferVTStrict

func (m *ValidateExpressionRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ValidateExpressionRequest) MarshalToVT

func (m *ValidateExpressionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ValidateExpressionRequest) MarshalToVTStrict

func (m *ValidateExpressionRequest) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ValidateExpressionRequest) MarshalVT

func (m *ValidateExpressionRequest) MarshalVT() (dAtA []byte, err error)

func (*ValidateExpressionRequest) MarshalVTStrict

func (m *ValidateExpressionRequest) MarshalVTStrict() (dAtA []byte, err error)

func (*ValidateExpressionRequest) ProtoMessage

func (*ValidateExpressionRequest) ProtoMessage()

func (*ValidateExpressionRequest) ProtoReflect

func (*ValidateExpressionRequest) Reset

func (x *ValidateExpressionRequest) Reset()

func (*ValidateExpressionRequest) SizeVT

func (m *ValidateExpressionRequest) SizeVT() (n int)

func (*ValidateExpressionRequest) String

func (x *ValidateExpressionRequest) String() string

func (*ValidateExpressionRequest) UnmarshalVT

func (m *ValidateExpressionRequest) UnmarshalVT(dAtA []byte) error

func (*ValidateExpressionRequest) UnmarshalVTUnsafe

func (m *ValidateExpressionRequest) UnmarshalVTUnsafe(dAtA []byte) error

type ValidateExpressionResponse

type ValidateExpressionResponse struct {

	// Types that are assignable to Result:
	//
	//	*ValidateExpressionResponse_Error
	//	*ValidateExpressionResponse_Success
	Result isValidateExpressionResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*ValidateExpressionResponse) CloneMessageVT

func (m *ValidateExpressionResponse) CloneMessageVT() proto.Message

func (*ValidateExpressionResponse) CloneVT

func (*ValidateExpressionResponse) Descriptor deprecated

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

Deprecated: Use ValidateExpressionResponse.ProtoReflect.Descriptor instead.

func (*ValidateExpressionResponse) EqualMessageVT

func (this *ValidateExpressionResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*ValidateExpressionResponse) EqualVT

func (*ValidateExpressionResponse) GetError

func (*ValidateExpressionResponse) GetResult

func (m *ValidateExpressionResponse) GetResult() isValidateExpressionResponse_Result

func (*ValidateExpressionResponse) GetSuccess

func (*ValidateExpressionResponse) MarshalToSizedBufferVT

func (m *ValidateExpressionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ValidateExpressionResponse) MarshalToSizedBufferVTStrict

func (m *ValidateExpressionResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ValidateExpressionResponse) MarshalToVT

func (m *ValidateExpressionResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ValidateExpressionResponse) MarshalToVTStrict

func (m *ValidateExpressionResponse) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ValidateExpressionResponse) MarshalVT

func (m *ValidateExpressionResponse) MarshalVT() (dAtA []byte, err error)

func (*ValidateExpressionResponse) MarshalVTStrict

func (m *ValidateExpressionResponse) MarshalVTStrict() (dAtA []byte, err error)

func (*ValidateExpressionResponse) ProtoMessage

func (*ValidateExpressionResponse) ProtoMessage()

func (*ValidateExpressionResponse) ProtoReflect

func (*ValidateExpressionResponse) Reset

func (x *ValidateExpressionResponse) Reset()

func (*ValidateExpressionResponse) SizeVT

func (m *ValidateExpressionResponse) SizeVT() (n int)

func (*ValidateExpressionResponse) String

func (x *ValidateExpressionResponse) String() string

func (*ValidateExpressionResponse) UnmarshalVT

func (m *ValidateExpressionResponse) UnmarshalVT(dAtA []byte) error

func (*ValidateExpressionResponse) UnmarshalVTUnsafe

func (m *ValidateExpressionResponse) UnmarshalVTUnsafe(dAtA []byte) error

type ValidateExpressionResponse_Error

type ValidateExpressionResponse_Error struct {
	Error *ErrorValidatingExpressionResult `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

func (*ValidateExpressionResponse_Error) CloneVT

func (m *ValidateExpressionResponse_Error) CloneVT() isValidateExpressionResponse_Result

func (*ValidateExpressionResponse_Error) EqualVT

func (this *ValidateExpressionResponse_Error) EqualVT(thatIface isValidateExpressionResponse_Result) bool

func (*ValidateExpressionResponse_Error) MarshalToSizedBufferVT

func (m *ValidateExpressionResponse_Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ValidateExpressionResponse_Error) MarshalToSizedBufferVTStrict

func (m *ValidateExpressionResponse_Error) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ValidateExpressionResponse_Error) MarshalToVT

func (m *ValidateExpressionResponse_Error) MarshalToVT(dAtA []byte) (int, error)

func (*ValidateExpressionResponse_Error) MarshalToVTStrict

func (m *ValidateExpressionResponse_Error) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ValidateExpressionResponse_Error) SizeVT

func (m *ValidateExpressionResponse_Error) SizeVT() (n int)

type ValidateExpressionResponse_Success

type ValidateExpressionResponse_Success struct {
	Success *SuccessValidatingExpressionResult `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}

func (*ValidateExpressionResponse_Success) CloneVT

func (m *ValidateExpressionResponse_Success) CloneVT() isValidateExpressionResponse_Result

func (*ValidateExpressionResponse_Success) EqualVT

func (this *ValidateExpressionResponse_Success) EqualVT(thatIface isValidateExpressionResponse_Result) bool

func (*ValidateExpressionResponse_Success) MarshalToSizedBufferVT

func (m *ValidateExpressionResponse_Success) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ValidateExpressionResponse_Success) MarshalToSizedBufferVTStrict

func (m *ValidateExpressionResponse_Success) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ValidateExpressionResponse_Success) MarshalToVT

func (m *ValidateExpressionResponse_Success) MarshalToVT(dAtA []byte) (int, error)

func (*ValidateExpressionResponse_Success) MarshalToVTStrict

func (m *ValidateExpressionResponse_Success) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ValidateExpressionResponse_Success) SizeVT

func (m *ValidateExpressionResponse_Success) SizeVT() (n int)

Jump to

Keyboard shortcuts

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