annotationsv1

package
v0.0.0-...-5df0856 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package annotationsv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	AnnotationState_name = map[int32]string{
		0: "ANNOTATION_STATE_UNSPECIFIED",
		1: "ANNOTATION_STATE_OPEN",
		2: "ANNOTATION_STATE_FLAGGED",
		3: "ANNOTATION_STATE_RESOLVED",
	}
	AnnotationState_value = map[string]int32{
		"ANNOTATION_STATE_UNSPECIFIED": 0,
		"ANNOTATION_STATE_OPEN":        1,
		"ANNOTATION_STATE_FLAGGED":     2,
		"ANNOTATION_STATE_RESOLVED":    3,
	}
)

Enum value maps for AnnotationState.

View Source
var (
	AnnotationType_name = map[int32]string{
		0: "ANNOTATION_TYPE_UNSPECIFIED",
		1: "ANNOTATION_TYPE_DATA_REVIEW",
		2: "ANNOTATION_TYPE_PHASE",
	}
	AnnotationType_value = map[string]int32{
		"ANNOTATION_TYPE_UNSPECIFIED": 0,
		"ANNOTATION_TYPE_DATA_REVIEW": 1,
		"ANNOTATION_TYPE_PHASE":       2,
	}
)

Enum value maps for AnnotationType.

View Source
var AnnotationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sift.annotations.v1.AnnotationService",
	HandlerType: (*AnnotationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAnnotation",
			Handler:    _AnnotationService_CreateAnnotation_Handler,
		},
		{
			MethodName: "DeleteAnnotation",
			Handler:    _AnnotationService_DeleteAnnotation_Handler,
		},
		{
			MethodName: "BatchDeleteAnnotations",
			Handler:    _AnnotationService_BatchDeleteAnnotations_Handler,
		},
		{
			MethodName: "ListAnnotations",
			Handler:    _AnnotationService_ListAnnotations_Handler,
		},
		{
			MethodName: "GetAnnotation",
			Handler:    _AnnotationService_GetAnnotation_Handler,
		},
		{
			MethodName: "UpdateAnnotation",
			Handler:    _AnnotationService_UpdateAnnotation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sift/annotations/v1/annotations.proto",
}

AnnotationService_ServiceDesc is the grpc.ServiceDesc for AnnotationService 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_annotations_v1_annotations_proto protoreflect.FileDescriptor

Functions

func RegisterAnnotationServiceHandler

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

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

func RegisterAnnotationServiceHandlerClient

func RegisterAnnotationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AnnotationServiceClient) error

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

func RegisterAnnotationServiceHandlerFromEndpoint

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

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

func RegisterAnnotationServiceHandlerServer

func RegisterAnnotationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AnnotationServiceServer) error

RegisterAnnotationServiceHandlerServer registers the http handlers for service AnnotationService to "mux". UnaryRPC :call AnnotationServiceServer 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 RegisterAnnotationServiceHandlerFromEndpoint instead.

func RegisterAnnotationServiceServer

func RegisterAnnotationServiceServer(s grpc.ServiceRegistrar, srv AnnotationServiceServer)

Types

type Annotation

type Annotation struct {
	AnnotationId         string                 `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"`
	Name                 string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description          string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	StartTime            *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	CreatedByUserId      string                 `protobuf:"bytes,6,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
	ModifiedByUserId     string                 `protobuf:"bytes,7,opt,name=modified_by_user_id,json=modifiedByUserId,proto3" json:"modified_by_user_id,omitempty"`
	CreatedDate          *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"`
	ModifiedDate         *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=modified_date,json=modifiedDate,proto3" json:"modified_date,omitempty"`
	RunId                *string                `protobuf:"bytes,10,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	State                *AnnotationState       `protobuf:"varint,11,opt,name=state,proto3,enum=sift.annotations.v1.AnnotationState,oneof" json:"state,omitempty"`
	OrganizationId       string                 `protobuf:"bytes,12,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	AssignedToUserId     string                 `protobuf:"bytes,13,opt,name=assigned_to_user_id,json=assignedToUserId,proto3" json:"assigned_to_user_id,omitempty"`
	AnnotationType       AnnotationType         `` /* 145-byte string literal not displayed */
	Tags                 []string               `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"`
	LegendConfig         *string                `protobuf:"bytes,16,opt,name=legend_config,json=legendConfig,proto3,oneof" json:"legend_config,omitempty"`
	CreatedByConditionId *string                `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Annotation) CloneMessageVT

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

func (*Annotation) CloneVT

func (m *Annotation) CloneVT() *Annotation

func (*Annotation) Descriptor deprecated

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

Deprecated: Use Annotation.ProtoReflect.Descriptor instead.

func (*Annotation) EqualMessageVT

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

func (*Annotation) EqualVT

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

func (*Annotation) GetAnnotationId

func (x *Annotation) GetAnnotationId() string

func (*Annotation) GetAnnotationType

func (x *Annotation) GetAnnotationType() AnnotationType

func (*Annotation) GetAssignedToUserId

func (x *Annotation) GetAssignedToUserId() string

func (*Annotation) GetCreatedByConditionId

func (x *Annotation) GetCreatedByConditionId() string

func (*Annotation) GetCreatedByUserId

func (x *Annotation) GetCreatedByUserId() string

func (*Annotation) GetCreatedDate

func (x *Annotation) GetCreatedDate() *timestamppb.Timestamp

func (*Annotation) GetDescription

func (x *Annotation) GetDescription() string

func (*Annotation) GetEndTime

func (x *Annotation) GetEndTime() *timestamppb.Timestamp

func (*Annotation) GetLegendConfig

func (x *Annotation) GetLegendConfig() string

func (*Annotation) GetModifiedByUserId

func (x *Annotation) GetModifiedByUserId() string

func (*Annotation) GetModifiedDate

func (x *Annotation) GetModifiedDate() *timestamppb.Timestamp

func (*Annotation) GetName

func (x *Annotation) GetName() string

func (*Annotation) GetOrganizationId

func (x *Annotation) GetOrganizationId() string

func (*Annotation) GetRunId

func (x *Annotation) GetRunId() string

func (*Annotation) GetStartTime

func (x *Annotation) GetStartTime() *timestamppb.Timestamp

func (*Annotation) GetState

func (x *Annotation) GetState() AnnotationState

func (*Annotation) GetTags

func (x *Annotation) GetTags() []string

func (*Annotation) MarshalToSizedBufferVT

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

func (*Annotation) MarshalToSizedBufferVTStrict

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

func (*Annotation) MarshalToVT

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

func (*Annotation) MarshalToVTStrict

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

func (*Annotation) MarshalVT

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

func (*Annotation) MarshalVTStrict

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

func (*Annotation) ProtoMessage

func (*Annotation) ProtoMessage()

func (*Annotation) ProtoReflect

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

func (*Annotation) Reset

func (x *Annotation) Reset()

func (*Annotation) SizeVT

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

func (*Annotation) String

func (x *Annotation) String() string

func (*Annotation) UnmarshalVT

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

func (*Annotation) UnmarshalVTUnsafe

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

type AnnotationLinkedChannel

type AnnotationLinkedChannel struct {

	// Types that are assignable to Type:
	//
	//	*AnnotationLinkedChannel_Channel
	//	*AnnotationLinkedChannel_BitFieldElement
	Type isAnnotationLinkedChannel_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*AnnotationLinkedChannel) CloneMessageVT

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

func (*AnnotationLinkedChannel) CloneVT

func (*AnnotationLinkedChannel) Descriptor deprecated

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

Deprecated: Use AnnotationLinkedChannel.ProtoReflect.Descriptor instead.

func (*AnnotationLinkedChannel) EqualMessageVT

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

func (*AnnotationLinkedChannel) EqualVT

func (*AnnotationLinkedChannel) GetBitFieldElement

func (*AnnotationLinkedChannel) GetChannel

func (*AnnotationLinkedChannel) GetType

func (m *AnnotationLinkedChannel) GetType() isAnnotationLinkedChannel_Type

func (*AnnotationLinkedChannel) MarshalToSizedBufferVT

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

func (*AnnotationLinkedChannel) MarshalToSizedBufferVTStrict

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

func (*AnnotationLinkedChannel) MarshalToVT

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

func (*AnnotationLinkedChannel) MarshalToVTStrict

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

func (*AnnotationLinkedChannel) MarshalVT

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

func (*AnnotationLinkedChannel) MarshalVTStrict

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

func (*AnnotationLinkedChannel) ProtoMessage

func (*AnnotationLinkedChannel) ProtoMessage()

func (*AnnotationLinkedChannel) ProtoReflect

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

func (*AnnotationLinkedChannel) Reset

func (x *AnnotationLinkedChannel) Reset()

func (*AnnotationLinkedChannel) SizeVT

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

func (*AnnotationLinkedChannel) String

func (x *AnnotationLinkedChannel) String() string

func (*AnnotationLinkedChannel) UnmarshalVT

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

func (*AnnotationLinkedChannel) UnmarshalVTUnsafe

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

type AnnotationLinkedChannel_BitFieldElement

type AnnotationLinkedChannel_BitFieldElement struct {
	BitFieldElement *AnnotationLinkedChannelsBitFieldElement `protobuf:"bytes,2,opt,name=bit_field_element,json=bitFieldElement,proto3,oneof"`
}

func (*AnnotationLinkedChannel_BitFieldElement) CloneVT

func (m *AnnotationLinkedChannel_BitFieldElement) CloneVT() isAnnotationLinkedChannel_Type

func (*AnnotationLinkedChannel_BitFieldElement) EqualVT

func (this *AnnotationLinkedChannel_BitFieldElement) EqualVT(thatIface isAnnotationLinkedChannel_Type) bool

func (*AnnotationLinkedChannel_BitFieldElement) MarshalToSizedBufferVT

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

func (*AnnotationLinkedChannel_BitFieldElement) MarshalToSizedBufferVTStrict

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

func (*AnnotationLinkedChannel_BitFieldElement) MarshalToVT

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

func (*AnnotationLinkedChannel_BitFieldElement) MarshalToVTStrict

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

func (*AnnotationLinkedChannel_BitFieldElement) SizeVT

type AnnotationLinkedChannel_Channel

type AnnotationLinkedChannel_Channel struct {
	Channel *AnnotationLinkedChannelsChannel `protobuf:"bytes,1,opt,name=channel,proto3,oneof"`
}

func (*AnnotationLinkedChannel_Channel) CloneVT

func (m *AnnotationLinkedChannel_Channel) CloneVT() isAnnotationLinkedChannel_Type

func (*AnnotationLinkedChannel_Channel) EqualVT

func (this *AnnotationLinkedChannel_Channel) EqualVT(thatIface isAnnotationLinkedChannel_Type) bool

func (*AnnotationLinkedChannel_Channel) MarshalToSizedBufferVT

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

func (*AnnotationLinkedChannel_Channel) MarshalToSizedBufferVTStrict

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

func (*AnnotationLinkedChannel_Channel) MarshalToVT

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

func (*AnnotationLinkedChannel_Channel) MarshalToVTStrict

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

func (*AnnotationLinkedChannel_Channel) SizeVT

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

type AnnotationLinkedChannelsBitFieldElement

type AnnotationLinkedChannelsBitFieldElement struct {
	ChannelId    string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	BitFieldName string `protobuf:"bytes,2,opt,name=bit_field_name,json=bitFieldName,proto3" json:"bit_field_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AnnotationLinkedChannelsBitFieldElement) CloneMessageVT

func (*AnnotationLinkedChannelsBitFieldElement) CloneVT

func (*AnnotationLinkedChannelsBitFieldElement) Descriptor deprecated

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

Deprecated: Use AnnotationLinkedChannelsBitFieldElement.ProtoReflect.Descriptor instead.

func (*AnnotationLinkedChannelsBitFieldElement) EqualMessageVT

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

func (*AnnotationLinkedChannelsBitFieldElement) EqualVT

func (*AnnotationLinkedChannelsBitFieldElement) GetBitFieldName

func (x *AnnotationLinkedChannelsBitFieldElement) GetBitFieldName() string

func (*AnnotationLinkedChannelsBitFieldElement) GetChannelId

func (*AnnotationLinkedChannelsBitFieldElement) MarshalToSizedBufferVT

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

func (*AnnotationLinkedChannelsBitFieldElement) MarshalToSizedBufferVTStrict

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

func (*AnnotationLinkedChannelsBitFieldElement) MarshalToVT

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

func (*AnnotationLinkedChannelsBitFieldElement) MarshalToVTStrict

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

func (*AnnotationLinkedChannelsBitFieldElement) MarshalVT

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

func (*AnnotationLinkedChannelsBitFieldElement) MarshalVTStrict

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

func (*AnnotationLinkedChannelsBitFieldElement) ProtoMessage

func (*AnnotationLinkedChannelsBitFieldElement) ProtoReflect

func (*AnnotationLinkedChannelsBitFieldElement) Reset

func (*AnnotationLinkedChannelsBitFieldElement) SizeVT

func (*AnnotationLinkedChannelsBitFieldElement) String

func (*AnnotationLinkedChannelsBitFieldElement) UnmarshalVT

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

func (*AnnotationLinkedChannelsBitFieldElement) UnmarshalVTUnsafe

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

type AnnotationLinkedChannelsChannel

type AnnotationLinkedChannelsChannel struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AnnotationLinkedChannelsChannel) CloneMessageVT

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

func (*AnnotationLinkedChannelsChannel) CloneVT

func (*AnnotationLinkedChannelsChannel) Descriptor deprecated

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

Deprecated: Use AnnotationLinkedChannelsChannel.ProtoReflect.Descriptor instead.

func (*AnnotationLinkedChannelsChannel) EqualMessageVT

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

func (*AnnotationLinkedChannelsChannel) EqualVT

func (*AnnotationLinkedChannelsChannel) GetChannelId

func (x *AnnotationLinkedChannelsChannel) GetChannelId() string

func (*AnnotationLinkedChannelsChannel) MarshalToSizedBufferVT

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

func (*AnnotationLinkedChannelsChannel) MarshalToSizedBufferVTStrict

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

func (*AnnotationLinkedChannelsChannel) MarshalToVT

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

func (*AnnotationLinkedChannelsChannel) MarshalToVTStrict

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

func (*AnnotationLinkedChannelsChannel) MarshalVT

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

func (*AnnotationLinkedChannelsChannel) MarshalVTStrict

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

func (*AnnotationLinkedChannelsChannel) ProtoMessage

func (*AnnotationLinkedChannelsChannel) ProtoMessage()

func (*AnnotationLinkedChannelsChannel) ProtoReflect

func (*AnnotationLinkedChannelsChannel) Reset

func (*AnnotationLinkedChannelsChannel) SizeVT

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

func (*AnnotationLinkedChannelsChannel) String

func (*AnnotationLinkedChannelsChannel) UnmarshalVT

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

func (*AnnotationLinkedChannelsChannel) UnmarshalVTUnsafe

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

type AnnotationServiceClient

type AnnotationServiceClient interface {
	CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*CreateAnnotationResponse, error)
	DeleteAnnotation(ctx context.Context, in *DeleteAnnotationRequest, opts ...grpc.CallOption) (*DeleteAnnotationResponse, error)
	BatchDeleteAnnotations(ctx context.Context, in *BatchDeleteAnnotationsRequest, opts ...grpc.CallOption) (*BatchDeleteAnnotationsResponse, error)
	ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error)
	GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*GetAnnotationResponse, error)
	UpdateAnnotation(ctx context.Context, in *UpdateAnnotationRequest, opts ...grpc.CallOption) (*UpdateAnnotationResponse, error)
}

AnnotationServiceClient is the client API for AnnotationService 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 AnnotationServiceServer

AnnotationServiceServer is the server API for AnnotationService service. All implementations must embed UnimplementedAnnotationServiceServer for forward compatibility

type AnnotationState

type AnnotationState int32
const (
	AnnotationState_ANNOTATION_STATE_UNSPECIFIED AnnotationState = 0
	AnnotationState_ANNOTATION_STATE_OPEN        AnnotationState = 1
	AnnotationState_ANNOTATION_STATE_FLAGGED     AnnotationState = 2
	AnnotationState_ANNOTATION_STATE_RESOLVED    AnnotationState = 3
)

func (AnnotationState) Descriptor

func (AnnotationState) Enum

func (x AnnotationState) Enum() *AnnotationState

func (AnnotationState) EnumDescriptor deprecated

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

Deprecated: Use AnnotationState.Descriptor instead.

func (AnnotationState) Number

func (AnnotationState) String

func (x AnnotationState) String() string

func (AnnotationState) Type

type AnnotationType

type AnnotationType int32
const (
	AnnotationType_ANNOTATION_TYPE_UNSPECIFIED AnnotationType = 0
	AnnotationType_ANNOTATION_TYPE_DATA_REVIEW AnnotationType = 1
	AnnotationType_ANNOTATION_TYPE_PHASE       AnnotationType = 2
)

func (AnnotationType) Descriptor

func (AnnotationType) Enum

func (x AnnotationType) Enum() *AnnotationType

func (AnnotationType) EnumDescriptor deprecated

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

Deprecated: Use AnnotationType.Descriptor instead.

func (AnnotationType) Number

func (AnnotationType) String

func (x AnnotationType) String() string

func (AnnotationType) Type

type BatchDeleteAnnotationsRequest

type BatchDeleteAnnotationsRequest struct {
	AnnotationIds []string `protobuf:"bytes,1,rep,name=annotation_ids,json=annotationIds,proto3" json:"annotation_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchDeleteAnnotationsRequest) CloneMessageVT

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

func (*BatchDeleteAnnotationsRequest) CloneVT

func (*BatchDeleteAnnotationsRequest) Descriptor deprecated

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

Deprecated: Use BatchDeleteAnnotationsRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteAnnotationsRequest) EqualMessageVT

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

func (*BatchDeleteAnnotationsRequest) EqualVT

func (*BatchDeleteAnnotationsRequest) GetAnnotationIds

func (x *BatchDeleteAnnotationsRequest) GetAnnotationIds() []string

func (*BatchDeleteAnnotationsRequest) MarshalToSizedBufferVT

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

func (*BatchDeleteAnnotationsRequest) MarshalToSizedBufferVTStrict

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

func (*BatchDeleteAnnotationsRequest) MarshalToVT

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

func (*BatchDeleteAnnotationsRequest) MarshalToVTStrict

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

func (*BatchDeleteAnnotationsRequest) MarshalVT

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

func (*BatchDeleteAnnotationsRequest) MarshalVTStrict

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

func (*BatchDeleteAnnotationsRequest) ProtoMessage

func (*BatchDeleteAnnotationsRequest) ProtoMessage()

func (*BatchDeleteAnnotationsRequest) ProtoReflect

func (*BatchDeleteAnnotationsRequest) Reset

func (x *BatchDeleteAnnotationsRequest) Reset()

func (*BatchDeleteAnnotationsRequest) SizeVT

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

func (*BatchDeleteAnnotationsRequest) String

func (*BatchDeleteAnnotationsRequest) UnmarshalVT

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

func (*BatchDeleteAnnotationsRequest) UnmarshalVTUnsafe

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

type BatchDeleteAnnotationsResponse

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

func (*BatchDeleteAnnotationsResponse) CloneMessageVT

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

func (*BatchDeleteAnnotationsResponse) CloneVT

func (*BatchDeleteAnnotationsResponse) Descriptor deprecated

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

Deprecated: Use BatchDeleteAnnotationsResponse.ProtoReflect.Descriptor instead.

func (*BatchDeleteAnnotationsResponse) EqualMessageVT

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

func (*BatchDeleteAnnotationsResponse) EqualVT

func (*BatchDeleteAnnotationsResponse) MarshalToSizedBufferVT

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

func (*BatchDeleteAnnotationsResponse) MarshalToSizedBufferVTStrict

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

func (*BatchDeleteAnnotationsResponse) MarshalToVT

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

func (*BatchDeleteAnnotationsResponse) MarshalToVTStrict

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

func (*BatchDeleteAnnotationsResponse) MarshalVT

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

func (*BatchDeleteAnnotationsResponse) MarshalVTStrict

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

func (*BatchDeleteAnnotationsResponse) ProtoMessage

func (*BatchDeleteAnnotationsResponse) ProtoMessage()

func (*BatchDeleteAnnotationsResponse) ProtoReflect

func (*BatchDeleteAnnotationsResponse) Reset

func (x *BatchDeleteAnnotationsResponse) Reset()

func (*BatchDeleteAnnotationsResponse) SizeVT

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

func (*BatchDeleteAnnotationsResponse) String

func (*BatchDeleteAnnotationsResponse) UnmarshalVT

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

func (*BatchDeleteAnnotationsResponse) UnmarshalVTUnsafe

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

type CreateAnnotationRequest

type CreateAnnotationRequest struct {

	// The name assigned to the new annotation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A short description about the new annotation.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// When the annotation starts.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// When the annotation ends.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The names of the assets to associate with this annotation.
	Assets []string `protobuf:"bytes,5,rep,name=assets,proto3" json:"assets,omitempty"`
	// The channels to associate with this annotation.
	LinkedChannels []*AnnotationLinkedChannel `protobuf:"bytes,6,rep,name=linked_channels,json=linkedChannels,proto3" json:"linked_channels,omitempty"`
	// The names of the tags to associate with this annotation.
	Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
	// The ID of the run that this annotation is associated with.
	RunId *string `protobuf:"bytes,8,opt,name=run_id,json=runId,proto3,oneof" json:"run_id,omitempty"`
	// The ID of the user that this annotation is assigned to.
	AssignToUserId *string `protobuf:"bytes,9,opt,name=assign_to_user_id,json=assignToUserId,proto3,oneof" json:"assign_to_user_id,omitempty"`
	// The organization associated with this annotation. An organization ID is only required
	// if the user belongs to multiple organizations.
	OrganizationId string `protobuf:"bytes,10,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// The state of the annotation. If an annotation has an `annotation_type` of `ANNOTATION_TYPE_PHASE`, then state must be
	// unset, otherwise an error will be returned.
	State *AnnotationState `protobuf:"varint,11,opt,name=state,proto3,enum=sift.annotations.v1.AnnotationState,oneof" json:"state,omitempty"`
	// The type of the annotation.
	AnnotationType AnnotationType `` /* 145-byte string literal not displayed */
	// The ID of the rule condition that created this annotation.
	CreatedByConditionId *string `` /* 132-byte string literal not displayed */
	// A JSON string containing the axes configuration of the annotation's linked channels.
	LegendConfig *string `protobuf:"bytes,13,opt,name=legend_config,json=legendConfig,proto3,oneof" json:"legend_config,omitempty"`
	// contains filtered or unexported fields
}

The request for a call to `AnnotationService_CreateAnnotation` to create a new annotation. At least 1 asset, tag, or channel must be specified.

func (*CreateAnnotationRequest) CloneMessageVT

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

func (*CreateAnnotationRequest) CloneVT

func (*CreateAnnotationRequest) Descriptor deprecated

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

Deprecated: Use CreateAnnotationRequest.ProtoReflect.Descriptor instead.

func (*CreateAnnotationRequest) EqualMessageVT

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

func (*CreateAnnotationRequest) EqualVT

func (*CreateAnnotationRequest) GetAnnotationType

func (x *CreateAnnotationRequest) GetAnnotationType() AnnotationType

func (*CreateAnnotationRequest) GetAssets

func (x *CreateAnnotationRequest) GetAssets() []string

func (*CreateAnnotationRequest) GetAssignToUserId

func (x *CreateAnnotationRequest) GetAssignToUserId() string

func (*CreateAnnotationRequest) GetCreatedByConditionId

func (x *CreateAnnotationRequest) GetCreatedByConditionId() string

func (*CreateAnnotationRequest) GetDescription

func (x *CreateAnnotationRequest) GetDescription() string

func (*CreateAnnotationRequest) GetEndTime

func (*CreateAnnotationRequest) GetLegendConfig

func (x *CreateAnnotationRequest) GetLegendConfig() string

func (*CreateAnnotationRequest) GetLinkedChannels

func (x *CreateAnnotationRequest) GetLinkedChannels() []*AnnotationLinkedChannel

func (*CreateAnnotationRequest) GetName

func (x *CreateAnnotationRequest) GetName() string

func (*CreateAnnotationRequest) GetOrganizationId

func (x *CreateAnnotationRequest) GetOrganizationId() string

func (*CreateAnnotationRequest) GetRunId

func (x *CreateAnnotationRequest) GetRunId() string

func (*CreateAnnotationRequest) GetStartTime

func (x *CreateAnnotationRequest) GetStartTime() *timestamppb.Timestamp

func (*CreateAnnotationRequest) GetState

func (*CreateAnnotationRequest) GetTags

func (x *CreateAnnotationRequest) GetTags() []string

func (*CreateAnnotationRequest) MarshalToSizedBufferVT

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

func (*CreateAnnotationRequest) MarshalToSizedBufferVTStrict

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

func (*CreateAnnotationRequest) MarshalToVT

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

func (*CreateAnnotationRequest) MarshalToVTStrict

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

func (*CreateAnnotationRequest) MarshalVT

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

func (*CreateAnnotationRequest) MarshalVTStrict

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

func (*CreateAnnotationRequest) ProtoMessage

func (*CreateAnnotationRequest) ProtoMessage()

func (*CreateAnnotationRequest) ProtoReflect

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

func (*CreateAnnotationRequest) Reset

func (x *CreateAnnotationRequest) Reset()

func (*CreateAnnotationRequest) SizeVT

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

func (*CreateAnnotationRequest) String

func (x *CreateAnnotationRequest) String() string

func (*CreateAnnotationRequest) UnmarshalVT

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

func (*CreateAnnotationRequest) UnmarshalVTUnsafe

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

type CreateAnnotationResponse

type CreateAnnotationResponse struct {
	Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
	// contains filtered or unexported fields
}

The result of a call to `AnnotationService_CreateAnnotation`.

func (*CreateAnnotationResponse) CloneMessageVT

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

func (*CreateAnnotationResponse) CloneVT

func (*CreateAnnotationResponse) Descriptor deprecated

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

Deprecated: Use CreateAnnotationResponse.ProtoReflect.Descriptor instead.

func (*CreateAnnotationResponse) EqualMessageVT

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

func (*CreateAnnotationResponse) EqualVT

func (*CreateAnnotationResponse) GetAnnotation

func (x *CreateAnnotationResponse) GetAnnotation() *Annotation

func (*CreateAnnotationResponse) MarshalToSizedBufferVT

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

func (*CreateAnnotationResponse) MarshalToSizedBufferVTStrict

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

func (*CreateAnnotationResponse) MarshalToVT

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

func (*CreateAnnotationResponse) MarshalToVTStrict

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

func (*CreateAnnotationResponse) MarshalVT

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

func (*CreateAnnotationResponse) MarshalVTStrict

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

func (*CreateAnnotationResponse) ProtoMessage

func (*CreateAnnotationResponse) ProtoMessage()

func (*CreateAnnotationResponse) ProtoReflect

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

func (*CreateAnnotationResponse) Reset

func (x *CreateAnnotationResponse) Reset()

func (*CreateAnnotationResponse) SizeVT

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

func (*CreateAnnotationResponse) String

func (x *CreateAnnotationResponse) String() string

func (*CreateAnnotationResponse) UnmarshalVT

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

func (*CreateAnnotationResponse) UnmarshalVTUnsafe

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

type DeleteAnnotationRequest

type DeleteAnnotationRequest struct {
	AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"`
	// contains filtered or unexported fields
}

The request for a call to `AnnotationService_DeleteAnnotation`.

func (*DeleteAnnotationRequest) CloneMessageVT

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

func (*DeleteAnnotationRequest) CloneVT

func (*DeleteAnnotationRequest) Descriptor deprecated

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

Deprecated: Use DeleteAnnotationRequest.ProtoReflect.Descriptor instead.

func (*DeleteAnnotationRequest) EqualMessageVT

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

func (*DeleteAnnotationRequest) EqualVT

func (*DeleteAnnotationRequest) GetAnnotationId

func (x *DeleteAnnotationRequest) GetAnnotationId() string

func (*DeleteAnnotationRequest) MarshalToSizedBufferVT

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

func (*DeleteAnnotationRequest) MarshalToSizedBufferVTStrict

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

func (*DeleteAnnotationRequest) MarshalToVT

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

func (*DeleteAnnotationRequest) MarshalToVTStrict

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

func (*DeleteAnnotationRequest) MarshalVT

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

func (*DeleteAnnotationRequest) MarshalVTStrict

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

func (*DeleteAnnotationRequest) ProtoMessage

func (*DeleteAnnotationRequest) ProtoMessage()

func (*DeleteAnnotationRequest) ProtoReflect

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

func (*DeleteAnnotationRequest) Reset

func (x *DeleteAnnotationRequest) Reset()

func (*DeleteAnnotationRequest) SizeVT

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

func (*DeleteAnnotationRequest) String

func (x *DeleteAnnotationRequest) String() string

func (*DeleteAnnotationRequest) UnmarshalVT

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

func (*DeleteAnnotationRequest) UnmarshalVTUnsafe

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

type DeleteAnnotationResponse

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

The response of a call to `AnnotationService_DeleteAnnotation`.

func (*DeleteAnnotationResponse) CloneMessageVT

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

func (*DeleteAnnotationResponse) CloneVT

func (*DeleteAnnotationResponse) Descriptor deprecated

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

Deprecated: Use DeleteAnnotationResponse.ProtoReflect.Descriptor instead.

func (*DeleteAnnotationResponse) EqualMessageVT

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

func (*DeleteAnnotationResponse) EqualVT

func (*DeleteAnnotationResponse) MarshalToSizedBufferVT

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

func (*DeleteAnnotationResponse) MarshalToSizedBufferVTStrict

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

func (*DeleteAnnotationResponse) MarshalToVT

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

func (*DeleteAnnotationResponse) MarshalToVTStrict

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

func (*DeleteAnnotationResponse) MarshalVT

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

func (*DeleteAnnotationResponse) MarshalVTStrict

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

func (*DeleteAnnotationResponse) ProtoMessage

func (*DeleteAnnotationResponse) ProtoMessage()

func (*DeleteAnnotationResponse) ProtoReflect

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

func (*DeleteAnnotationResponse) Reset

func (x *DeleteAnnotationResponse) Reset()

func (*DeleteAnnotationResponse) SizeVT

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

func (*DeleteAnnotationResponse) String

func (x *DeleteAnnotationResponse) String() string

func (*DeleteAnnotationResponse) UnmarshalVT

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

func (*DeleteAnnotationResponse) UnmarshalVTUnsafe

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

type GetAnnotationRequest

type GetAnnotationRequest struct {
	AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"`
	// contains filtered or unexported fields
}

The request for a call to `AnnotationService_GetAnnotation`.

func (*GetAnnotationRequest) CloneMessageVT

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

func (*GetAnnotationRequest) CloneVT

func (*GetAnnotationRequest) Descriptor deprecated

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

Deprecated: Use GetAnnotationRequest.ProtoReflect.Descriptor instead.

func (*GetAnnotationRequest) EqualMessageVT

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

func (*GetAnnotationRequest) EqualVT

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

func (*GetAnnotationRequest) GetAnnotationId

func (x *GetAnnotationRequest) GetAnnotationId() string

func (*GetAnnotationRequest) MarshalToSizedBufferVT

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

func (*GetAnnotationRequest) MarshalToSizedBufferVTStrict

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

func (*GetAnnotationRequest) MarshalToVT

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

func (*GetAnnotationRequest) MarshalToVTStrict

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

func (*GetAnnotationRequest) MarshalVT

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

func (*GetAnnotationRequest) MarshalVTStrict

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

func (*GetAnnotationRequest) ProtoMessage

func (*GetAnnotationRequest) ProtoMessage()

func (*GetAnnotationRequest) ProtoReflect

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

func (*GetAnnotationRequest) Reset

func (x *GetAnnotationRequest) Reset()

func (*GetAnnotationRequest) SizeVT

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

func (*GetAnnotationRequest) String

func (x *GetAnnotationRequest) String() string

func (*GetAnnotationRequest) UnmarshalVT

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

func (*GetAnnotationRequest) UnmarshalVTUnsafe

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

type GetAnnotationResponse

type GetAnnotationResponse struct {
	Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
	// contains filtered or unexported fields
}

The response of a call to `AnnotationService_GetAnnotation`.

func (*GetAnnotationResponse) CloneMessageVT

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

func (*GetAnnotationResponse) CloneVT

func (*GetAnnotationResponse) Descriptor deprecated

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

Deprecated: Use GetAnnotationResponse.ProtoReflect.Descriptor instead.

func (*GetAnnotationResponse) EqualMessageVT

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

func (*GetAnnotationResponse) EqualVT

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

func (*GetAnnotationResponse) GetAnnotation

func (x *GetAnnotationResponse) GetAnnotation() *Annotation

func (*GetAnnotationResponse) MarshalToSizedBufferVT

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

func (*GetAnnotationResponse) MarshalToSizedBufferVTStrict

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

func (*GetAnnotationResponse) MarshalToVT

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

func (*GetAnnotationResponse) MarshalToVTStrict

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

func (*GetAnnotationResponse) MarshalVT

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

func (*GetAnnotationResponse) MarshalVTStrict

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

func (*GetAnnotationResponse) ProtoMessage

func (*GetAnnotationResponse) ProtoMessage()

func (*GetAnnotationResponse) ProtoReflect

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

func (*GetAnnotationResponse) Reset

func (x *GetAnnotationResponse) Reset()

func (*GetAnnotationResponse) SizeVT

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

func (*GetAnnotationResponse) String

func (x *GetAnnotationResponse) String() string

func (*GetAnnotationResponse) UnmarshalVT

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

func (*GetAnnotationResponse) UnmarshalVTUnsafe

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

type ListAnnotationsRequest

type ListAnnotationsRequest struct {

	// The maximum number of annotations to return. The service may return fewer than this value.
	// If unspecified, at most 50 annotations will be returned. The maximum value is 1000; values above
	// 1000 will be coerced to 1000. Optional.
	PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListAnnotations` call.
	// Provide this to retrieve the subsequent page.
	// When paginating, all other parameters provided to `ListAnnotations` must match
	// the call that provided the page token. Optional.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.
	// Available fields to filter by are `annotation_id`, `start_time`, `end_time`,
	// `created_date`, `modified_date`, `run_id`, `name`, `description`, `state`, `created_by_user_id`, `created_by_condition_id`,
	// and `annotation_type`.
	// For further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).
	// For more information about the fields used for filtering, please refer to [this definition](/ingestion/api#sift_annotations_v1_annotations-proto). Optional.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

The request for a call to `AnnotationService_ListAnnotations` to retrieve annotations.

func (*ListAnnotationsRequest) CloneMessageVT

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

func (*ListAnnotationsRequest) CloneVT

func (*ListAnnotationsRequest) Descriptor deprecated

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

Deprecated: Use ListAnnotationsRequest.ProtoReflect.Descriptor instead.

func (*ListAnnotationsRequest) EqualMessageVT

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

func (*ListAnnotationsRequest) EqualVT

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

func (*ListAnnotationsRequest) GetFilter

func (x *ListAnnotationsRequest) GetFilter() string

func (*ListAnnotationsRequest) GetPageSize

func (x *ListAnnotationsRequest) GetPageSize() uint32

func (*ListAnnotationsRequest) GetPageToken

func (x *ListAnnotationsRequest) GetPageToken() string

func (*ListAnnotationsRequest) MarshalToSizedBufferVT

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

func (*ListAnnotationsRequest) MarshalToSizedBufferVTStrict

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

func (*ListAnnotationsRequest) MarshalToVT

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

func (*ListAnnotationsRequest) MarshalToVTStrict

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

func (*ListAnnotationsRequest) MarshalVT

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

func (*ListAnnotationsRequest) MarshalVTStrict

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

func (*ListAnnotationsRequest) ProtoMessage

func (*ListAnnotationsRequest) ProtoMessage()

func (*ListAnnotationsRequest) ProtoReflect

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

func (*ListAnnotationsRequest) Reset

func (x *ListAnnotationsRequest) Reset()

func (*ListAnnotationsRequest) SizeVT

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

func (*ListAnnotationsRequest) String

func (x *ListAnnotationsRequest) String() string

func (*ListAnnotationsRequest) UnmarshalVT

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

func (*ListAnnotationsRequest) UnmarshalVTUnsafe

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

type ListAnnotationsResponse

type ListAnnotationsResponse struct {
	Annotations   []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"`
	NextPageToken string        `protobuf:"bytes,5,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The result of a call to `AnnotationService_ListAnnotations`.

func (*ListAnnotationsResponse) CloneMessageVT

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

func (*ListAnnotationsResponse) CloneVT

func (*ListAnnotationsResponse) Descriptor deprecated

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

Deprecated: Use ListAnnotationsResponse.ProtoReflect.Descriptor instead.

func (*ListAnnotationsResponse) EqualMessageVT

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

func (*ListAnnotationsResponse) EqualVT

func (*ListAnnotationsResponse) GetAnnotations

func (x *ListAnnotationsResponse) GetAnnotations() []*Annotation

func (*ListAnnotationsResponse) GetNextPageToken

func (x *ListAnnotationsResponse) GetNextPageToken() string

func (*ListAnnotationsResponse) MarshalToSizedBufferVT

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

func (*ListAnnotationsResponse) MarshalToSizedBufferVTStrict

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

func (*ListAnnotationsResponse) MarshalToVT

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

func (*ListAnnotationsResponse) MarshalToVTStrict

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

func (*ListAnnotationsResponse) MarshalVT

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

func (*ListAnnotationsResponse) MarshalVTStrict

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

func (*ListAnnotationsResponse) ProtoMessage

func (*ListAnnotationsResponse) ProtoMessage()

func (*ListAnnotationsResponse) ProtoReflect

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

func (*ListAnnotationsResponse) Reset

func (x *ListAnnotationsResponse) Reset()

func (*ListAnnotationsResponse) SizeVT

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

func (*ListAnnotationsResponse) String

func (x *ListAnnotationsResponse) String() string

func (*ListAnnotationsResponse) UnmarshalVT

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

func (*ListAnnotationsResponse) UnmarshalVTUnsafe

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

type UnimplementedAnnotationServiceServer

type UnimplementedAnnotationServiceServer struct {
}

UnimplementedAnnotationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAnnotationServiceServer) CreateAnnotation

func (UnimplementedAnnotationServiceServer) DeleteAnnotation

func (UnimplementedAnnotationServiceServer) GetAnnotation

func (UnimplementedAnnotationServiceServer) ListAnnotations

func (UnimplementedAnnotationServiceServer) UpdateAnnotation

type UnsafeAnnotationServiceServer

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

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

type UpdateAnnotationRequest

type UpdateAnnotationRequest struct {

	// The annotation to update.
	Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
	// The list of fields to be updated. The fields available to be updated are `name`, `description`, `start_time`,
	// `end_time`, `assigned_to_user_id`, `state`, and `tags`.
	//
	// Important Note: if `tags` is specified in the update mask and `annotation.tags` is an empty list then all associated tags on the annotation
	// will be removed.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The request for a call to `AnnotationService_UpdateAnnotation` to update an annotation.

func (*UpdateAnnotationRequest) CloneMessageVT

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

func (*UpdateAnnotationRequest) CloneVT

func (*UpdateAnnotationRequest) Descriptor deprecated

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

Deprecated: Use UpdateAnnotationRequest.ProtoReflect.Descriptor instead.

func (*UpdateAnnotationRequest) EqualMessageVT

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

func (*UpdateAnnotationRequest) EqualVT

func (*UpdateAnnotationRequest) GetAnnotation

func (x *UpdateAnnotationRequest) GetAnnotation() *Annotation

func (*UpdateAnnotationRequest) GetUpdateMask

func (x *UpdateAnnotationRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAnnotationRequest) MarshalToSizedBufferVT

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

func (*UpdateAnnotationRequest) MarshalToSizedBufferVTStrict

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

func (*UpdateAnnotationRequest) MarshalToVT

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

func (*UpdateAnnotationRequest) MarshalToVTStrict

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

func (*UpdateAnnotationRequest) MarshalVT

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

func (*UpdateAnnotationRequest) MarshalVTStrict

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

func (*UpdateAnnotationRequest) ProtoMessage

func (*UpdateAnnotationRequest) ProtoMessage()

func (*UpdateAnnotationRequest) ProtoReflect

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

func (*UpdateAnnotationRequest) Reset

func (x *UpdateAnnotationRequest) Reset()

func (*UpdateAnnotationRequest) SizeVT

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

func (*UpdateAnnotationRequest) String

func (x *UpdateAnnotationRequest) String() string

func (*UpdateAnnotationRequest) UnmarshalVT

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

func (*UpdateAnnotationRequest) UnmarshalVTUnsafe

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

type UpdateAnnotationResponse

type UpdateAnnotationResponse struct {
	Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"`
	// contains filtered or unexported fields
}

The response of a call to `AnnotationService_UpdateAnnotation`.

func (*UpdateAnnotationResponse) CloneMessageVT

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

func (*UpdateAnnotationResponse) CloneVT

func (*UpdateAnnotationResponse) Descriptor deprecated

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

Deprecated: Use UpdateAnnotationResponse.ProtoReflect.Descriptor instead.

func (*UpdateAnnotationResponse) EqualMessageVT

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

func (*UpdateAnnotationResponse) EqualVT

func (*UpdateAnnotationResponse) GetAnnotation

func (x *UpdateAnnotationResponse) GetAnnotation() *Annotation

func (*UpdateAnnotationResponse) MarshalToSizedBufferVT

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

func (*UpdateAnnotationResponse) MarshalToSizedBufferVTStrict

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

func (*UpdateAnnotationResponse) MarshalToVT

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

func (*UpdateAnnotationResponse) MarshalToVTStrict

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

func (*UpdateAnnotationResponse) MarshalVT

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

func (*UpdateAnnotationResponse) MarshalVTStrict

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

func (*UpdateAnnotationResponse) ProtoMessage

func (*UpdateAnnotationResponse) ProtoMessage()

func (*UpdateAnnotationResponse) ProtoReflect

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

func (*UpdateAnnotationResponse) Reset

func (x *UpdateAnnotationResponse) Reset()

func (*UpdateAnnotationResponse) SizeVT

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

func (*UpdateAnnotationResponse) String

func (x *UpdateAnnotationResponse) String() string

func (*UpdateAnnotationResponse) UnmarshalVT

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

func (*UpdateAnnotationResponse) UnmarshalVTUnsafe

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

Jump to

Keyboard shortcuts

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