stencilv1beta1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package stencilv1beta1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	Schema_Format_name = map[int32]string{
		0: "FORMAT_UNSPECIFIED",
		1: "FORMAT_PROTOBUF",
		2: "FORMAT_AVRO",
		3: "FORMAT_JSON",
	}
	Schema_Format_value = map[string]int32{
		"FORMAT_UNSPECIFIED": 0,
		"FORMAT_PROTOBUF":    1,
		"FORMAT_AVRO":        2,
		"FORMAT_JSON":        3,
	}
)

Enum value maps for Schema_Format.

View Source
var (
	Schema_Compatibility_name = map[int32]string{
		0: "COMPATIBILITY_UNSPECIFIED",
		1: "COMPATIBILITY_BACKWARD",
		2: "COMPATIBILITY_BACKWARD_TRANSITIVE",
		3: "COMPATIBILITY_FORWARD",
		4: "COMPATIBILITY_FORWARD_TRANSITIVE",
		5: "COMPATIBILITY_FULL",
		6: "COMPATIBILITY_FULL_TRANSITIVE",
	}
	Schema_Compatibility_value = map[string]int32{
		"COMPATIBILITY_UNSPECIFIED":         0,
		"COMPATIBILITY_BACKWARD":            1,
		"COMPATIBILITY_BACKWARD_TRANSITIVE": 2,
		"COMPATIBILITY_FORWARD":             3,
		"COMPATIBILITY_FORWARD_TRANSITIVE":  4,
		"COMPATIBILITY_FULL":                5,
		"COMPATIBILITY_FULL_TRANSITIVE":     6,
	}
)

Enum value maps for Schema_Compatibility.

View Source
var File_proto_v1beta1_stencil_proto protoreflect.FileDescriptor
View Source
var StencilService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "goto.stencil.v1beta1.StencilService",
	HandlerType: (*StencilServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListNamespaces",
			Handler:    _StencilService_ListNamespaces_Handler,
		},
		{
			MethodName: "GetNamespace",
			Handler:    _StencilService_GetNamespace_Handler,
		},
		{
			MethodName: "CreateNamespace",
			Handler:    _StencilService_CreateNamespace_Handler,
		},
		{
			MethodName: "UpdateNamespace",
			Handler:    _StencilService_UpdateNamespace_Handler,
		},
		{
			MethodName: "DeleteNamespace",
			Handler:    _StencilService_DeleteNamespace_Handler,
		},
		{
			MethodName: "ListSchemas",
			Handler:    _StencilService_ListSchemas_Handler,
		},
		{
			MethodName: "CreateSchema",
			Handler:    _StencilService_CreateSchema_Handler,
		},
		{
			MethodName: "CheckCompatibility",
			Handler:    _StencilService_CheckCompatibility_Handler,
		},
		{
			MethodName: "GetSchemaMetadata",
			Handler:    _StencilService_GetSchemaMetadata_Handler,
		},
		{
			MethodName: "UpdateSchemaMetadata",
			Handler:    _StencilService_UpdateSchemaMetadata_Handler,
		},
		{
			MethodName: "GetLatestSchema",
			Handler:    _StencilService_GetLatestSchema_Handler,
		},
		{
			MethodName: "DeleteSchema",
			Handler:    _StencilService_DeleteSchema_Handler,
		},
		{
			MethodName: "GetSchema",
			Handler:    _StencilService_GetSchema_Handler,
		},
		{
			MethodName: "ListVersions",
			Handler:    _StencilService_ListVersions_Handler,
		},
		{
			MethodName: "DeleteVersion",
			Handler:    _StencilService_DeleteVersion_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _StencilService_Search_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/v1beta1/stencil.proto",
}

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

Functions

func RegisterStencilServiceHandler

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

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

func RegisterStencilServiceHandlerClient

func RegisterStencilServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StencilServiceClient) error

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

func RegisterStencilServiceHandlerFromEndpoint

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

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

func RegisterStencilServiceHandlerServer

func RegisterStencilServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server StencilServiceServer) error

RegisterStencilServiceHandlerServer registers the http handlers for service StencilService to "mux". UnaryRPC :call StencilServiceServer 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 RegisterStencilServiceHandlerFromEndpoint instead.

func RegisterStencilServiceServer

func RegisterStencilServiceServer(s grpc.ServiceRegistrar, srv StencilServiceServer)

Types

type CheckCompatibilityRequest

type CheckCompatibilityRequest struct {
	NamespaceId   string               `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId      string               `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	Data          []byte               `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Compatibility Schema_Compatibility `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CheckCompatibilityRequest) Descriptor deprecated

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

Deprecated: Use CheckCompatibilityRequest.ProtoReflect.Descriptor instead.

func (*CheckCompatibilityRequest) GetCompatibility

func (x *CheckCompatibilityRequest) GetCompatibility() Schema_Compatibility

func (*CheckCompatibilityRequest) GetData

func (x *CheckCompatibilityRequest) GetData() []byte

func (*CheckCompatibilityRequest) GetNamespaceId

func (x *CheckCompatibilityRequest) GetNamespaceId() string

func (*CheckCompatibilityRequest) GetSchemaId

func (x *CheckCompatibilityRequest) GetSchemaId() string

func (*CheckCompatibilityRequest) ProtoMessage

func (*CheckCompatibilityRequest) ProtoMessage()

func (*CheckCompatibilityRequest) ProtoReflect

func (*CheckCompatibilityRequest) Reset

func (x *CheckCompatibilityRequest) Reset()

func (*CheckCompatibilityRequest) String

func (x *CheckCompatibilityRequest) String() string

func (*CheckCompatibilityRequest) Validate

func (m *CheckCompatibilityRequest) Validate() error

Validate checks the field values on CheckCompatibilityRequest 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 (*CheckCompatibilityRequest) ValidateAll

func (m *CheckCompatibilityRequest) ValidateAll() error

ValidateAll checks the field values on CheckCompatibilityRequest 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 CheckCompatibilityRequestMultiError, or nil if none found.

type CheckCompatibilityRequestMultiError

type CheckCompatibilityRequestMultiError []error

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

func (CheckCompatibilityRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CheckCompatibilityRequestMultiError) Error

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

type CheckCompatibilityRequestValidationError

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

CheckCompatibilityRequestValidationError is the validation error returned by CheckCompatibilityRequest.Validate if the designated constraints aren't met.

func (CheckCompatibilityRequestValidationError) Cause

Cause function returns cause value.

func (CheckCompatibilityRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckCompatibilityRequestValidationError) ErrorName

ErrorName returns error name.

func (CheckCompatibilityRequestValidationError) Field

Field function returns field value.

func (CheckCompatibilityRequestValidationError) Key

Key function returns key value.

func (CheckCompatibilityRequestValidationError) Reason

Reason function returns reason value.

type CheckCompatibilityResponse

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

func (*CheckCompatibilityResponse) Descriptor deprecated

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

Deprecated: Use CheckCompatibilityResponse.ProtoReflect.Descriptor instead.

func (*CheckCompatibilityResponse) ProtoMessage

func (*CheckCompatibilityResponse) ProtoMessage()

func (*CheckCompatibilityResponse) ProtoReflect

func (*CheckCompatibilityResponse) Reset

func (x *CheckCompatibilityResponse) Reset()

func (*CheckCompatibilityResponse) String

func (x *CheckCompatibilityResponse) String() string

func (*CheckCompatibilityResponse) Validate

func (m *CheckCompatibilityResponse) Validate() error

Validate checks the field values on CheckCompatibilityResponse 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 (*CheckCompatibilityResponse) ValidateAll

func (m *CheckCompatibilityResponse) ValidateAll() error

ValidateAll checks the field values on CheckCompatibilityResponse 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 CheckCompatibilityResponseMultiError, or nil if none found.

type CheckCompatibilityResponseMultiError

type CheckCompatibilityResponseMultiError []error

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

func (CheckCompatibilityResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CheckCompatibilityResponseMultiError) Error

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

type CheckCompatibilityResponseValidationError

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

CheckCompatibilityResponseValidationError is the validation error returned by CheckCompatibilityResponse.Validate if the designated constraints aren't met.

func (CheckCompatibilityResponseValidationError) Cause

Cause function returns cause value.

func (CheckCompatibilityResponseValidationError) Error

Error satisfies the builtin error interface

func (CheckCompatibilityResponseValidationError) ErrorName

ErrorName returns error name.

func (CheckCompatibilityResponseValidationError) Field

Field function returns field value.

func (CheckCompatibilityResponseValidationError) Key

Key function returns key value.

func (CheckCompatibilityResponseValidationError) Reason

Reason function returns reason value.

type CreateNamespaceRequest

type CreateNamespaceRequest struct {
	Id            string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Format        Schema_Format        `protobuf:"varint,2,opt,name=format,proto3,enum=goto.stencil.v1beta1.Schema_Format" json:"format,omitempty"`
	Compatibility Schema_Compatibility `` /* 127-byte string literal not displayed */
	Description   string               `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNamespaceRequest) Descriptor deprecated

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

Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*CreateNamespaceRequest) GetCompatibility

func (x *CreateNamespaceRequest) GetCompatibility() Schema_Compatibility

func (*CreateNamespaceRequest) GetDescription

func (x *CreateNamespaceRequest) GetDescription() string

func (*CreateNamespaceRequest) GetFormat

func (x *CreateNamespaceRequest) GetFormat() Schema_Format

func (*CreateNamespaceRequest) GetId

func (x *CreateNamespaceRequest) GetId() string

func (*CreateNamespaceRequest) ProtoMessage

func (*CreateNamespaceRequest) ProtoMessage()

func (*CreateNamespaceRequest) ProtoReflect

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

func (*CreateNamespaceRequest) Reset

func (x *CreateNamespaceRequest) Reset()

func (*CreateNamespaceRequest) String

func (x *CreateNamespaceRequest) String() string

func (*CreateNamespaceRequest) Validate

func (m *CreateNamespaceRequest) Validate() error

Validate checks the field values on CreateNamespaceRequest 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 (*CreateNamespaceRequest) ValidateAll

func (m *CreateNamespaceRequest) ValidateAll() error

ValidateAll checks the field values on CreateNamespaceRequest 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 CreateNamespaceRequestMultiError, or nil if none found.

type CreateNamespaceRequestMultiError

type CreateNamespaceRequestMultiError []error

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

func (CreateNamespaceRequestMultiError) AllErrors

func (m CreateNamespaceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateNamespaceRequestMultiError) Error

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

type CreateNamespaceRequestValidationError

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

CreateNamespaceRequestValidationError is the validation error returned by CreateNamespaceRequest.Validate if the designated constraints aren't met.

func (CreateNamespaceRequestValidationError) Cause

Cause function returns cause value.

func (CreateNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateNamespaceRequestValidationError) Field

Field function returns field value.

func (CreateNamespaceRequestValidationError) Key

Key function returns key value.

func (CreateNamespaceRequestValidationError) Reason

Reason function returns reason value.

type CreateNamespaceResponse

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

func (*CreateNamespaceResponse) Descriptor deprecated

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

Deprecated: Use CreateNamespaceResponse.ProtoReflect.Descriptor instead.

func (*CreateNamespaceResponse) GetNamespace

func (x *CreateNamespaceResponse) GetNamespace() *Namespace

func (*CreateNamespaceResponse) ProtoMessage

func (*CreateNamespaceResponse) ProtoMessage()

func (*CreateNamespaceResponse) ProtoReflect

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

func (*CreateNamespaceResponse) Reset

func (x *CreateNamespaceResponse) Reset()

func (*CreateNamespaceResponse) String

func (x *CreateNamespaceResponse) String() string

func (*CreateNamespaceResponse) Validate

func (m *CreateNamespaceResponse) Validate() error

Validate checks the field values on CreateNamespaceResponse 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 (*CreateNamespaceResponse) ValidateAll

func (m *CreateNamespaceResponse) ValidateAll() error

ValidateAll checks the field values on CreateNamespaceResponse 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 CreateNamespaceResponseMultiError, or nil if none found.

type CreateNamespaceResponseMultiError

type CreateNamespaceResponseMultiError []error

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

func (CreateNamespaceResponseMultiError) AllErrors

func (m CreateNamespaceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateNamespaceResponseMultiError) Error

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

type CreateNamespaceResponseValidationError

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

CreateNamespaceResponseValidationError is the validation error returned by CreateNamespaceResponse.Validate if the designated constraints aren't met.

func (CreateNamespaceResponseValidationError) Cause

Cause function returns cause value.

func (CreateNamespaceResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateNamespaceResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateNamespaceResponseValidationError) Field

Field function returns field value.

func (CreateNamespaceResponseValidationError) Key

Key function returns key value.

func (CreateNamespaceResponseValidationError) Reason

Reason function returns reason value.

type CreateSchemaRequest

type CreateSchemaRequest struct {
	NamespaceId   string               `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId      string               `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	Data          []byte               `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Format        Schema_Format        `protobuf:"varint,4,opt,name=format,proto3,enum=goto.stencil.v1beta1.Schema_Format" json:"format,omitempty"`
	Compatibility Schema_Compatibility `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateSchemaRequest) Descriptor deprecated

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

Deprecated: Use CreateSchemaRequest.ProtoReflect.Descriptor instead.

func (*CreateSchemaRequest) GetCompatibility

func (x *CreateSchemaRequest) GetCompatibility() Schema_Compatibility

func (*CreateSchemaRequest) GetData

func (x *CreateSchemaRequest) GetData() []byte

func (*CreateSchemaRequest) GetFormat

func (x *CreateSchemaRequest) GetFormat() Schema_Format

func (*CreateSchemaRequest) GetNamespaceId

func (x *CreateSchemaRequest) GetNamespaceId() string

func (*CreateSchemaRequest) GetSchemaId

func (x *CreateSchemaRequest) GetSchemaId() string

func (*CreateSchemaRequest) ProtoMessage

func (*CreateSchemaRequest) ProtoMessage()

func (*CreateSchemaRequest) ProtoReflect

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

func (*CreateSchemaRequest) Reset

func (x *CreateSchemaRequest) Reset()

func (*CreateSchemaRequest) String

func (x *CreateSchemaRequest) String() string

func (*CreateSchemaRequest) Validate

func (m *CreateSchemaRequest) Validate() error

Validate checks the field values on CreateSchemaRequest 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 (*CreateSchemaRequest) ValidateAll

func (m *CreateSchemaRequest) ValidateAll() error

ValidateAll checks the field values on CreateSchemaRequest 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 CreateSchemaRequestMultiError, or nil if none found.

type CreateSchemaRequestMultiError

type CreateSchemaRequestMultiError []error

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

func (CreateSchemaRequestMultiError) AllErrors

func (m CreateSchemaRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSchemaRequestMultiError) Error

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

type CreateSchemaRequestValidationError

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

CreateSchemaRequestValidationError is the validation error returned by CreateSchemaRequest.Validate if the designated constraints aren't met.

func (CreateSchemaRequestValidationError) Cause

Cause function returns cause value.

func (CreateSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSchemaRequestValidationError) Field

Field function returns field value.

func (CreateSchemaRequestValidationError) Key

Key function returns key value.

func (CreateSchemaRequestValidationError) Reason

Reason function returns reason value.

type CreateSchemaResponse

type CreateSchemaResponse struct {
	Version  int32  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Id       string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSchemaResponse) Descriptor deprecated

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

Deprecated: Use CreateSchemaResponse.ProtoReflect.Descriptor instead.

func (*CreateSchemaResponse) GetId

func (x *CreateSchemaResponse) GetId() string

func (*CreateSchemaResponse) GetLocation

func (x *CreateSchemaResponse) GetLocation() string

func (*CreateSchemaResponse) GetVersion

func (x *CreateSchemaResponse) GetVersion() int32

func (*CreateSchemaResponse) ProtoMessage

func (*CreateSchemaResponse) ProtoMessage()

func (*CreateSchemaResponse) ProtoReflect

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

func (*CreateSchemaResponse) Reset

func (x *CreateSchemaResponse) Reset()

func (*CreateSchemaResponse) String

func (x *CreateSchemaResponse) String() string

func (*CreateSchemaResponse) Validate

func (m *CreateSchemaResponse) Validate() error

Validate checks the field values on CreateSchemaResponse 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 (*CreateSchemaResponse) ValidateAll

func (m *CreateSchemaResponse) ValidateAll() error

ValidateAll checks the field values on CreateSchemaResponse 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 CreateSchemaResponseMultiError, or nil if none found.

type CreateSchemaResponseMultiError

type CreateSchemaResponseMultiError []error

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

func (CreateSchemaResponseMultiError) AllErrors

func (m CreateSchemaResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSchemaResponseMultiError) Error

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

type CreateSchemaResponseValidationError

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

CreateSchemaResponseValidationError is the validation error returned by CreateSchemaResponse.Validate if the designated constraints aren't met.

func (CreateSchemaResponseValidationError) Cause

Cause function returns cause value.

func (CreateSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateSchemaResponseValidationError) Field

Field function returns field value.

func (CreateSchemaResponseValidationError) Key

Key function returns key value.

func (CreateSchemaResponseValidationError) Reason

Reason function returns reason value.

type DeleteNamespaceRequest

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

func (*DeleteNamespaceRequest) Descriptor deprecated

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

Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceRequest) GetId

func (x *DeleteNamespaceRequest) GetId() string

func (*DeleteNamespaceRequest) ProtoMessage

func (*DeleteNamespaceRequest) ProtoMessage()

func (*DeleteNamespaceRequest) ProtoReflect

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

func (*DeleteNamespaceRequest) Reset

func (x *DeleteNamespaceRequest) Reset()

func (*DeleteNamespaceRequest) String

func (x *DeleteNamespaceRequest) String() string

func (*DeleteNamespaceRequest) Validate

func (m *DeleteNamespaceRequest) Validate() error

Validate checks the field values on DeleteNamespaceRequest 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 (*DeleteNamespaceRequest) ValidateAll

func (m *DeleteNamespaceRequest) ValidateAll() error

ValidateAll checks the field values on DeleteNamespaceRequest 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 DeleteNamespaceRequestMultiError, or nil if none found.

type DeleteNamespaceRequestMultiError

type DeleteNamespaceRequestMultiError []error

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

func (DeleteNamespaceRequestMultiError) AllErrors

func (m DeleteNamespaceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteNamespaceRequestMultiError) Error

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

type DeleteNamespaceRequestValidationError

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

DeleteNamespaceRequestValidationError is the validation error returned by DeleteNamespaceRequest.Validate if the designated constraints aren't met.

func (DeleteNamespaceRequestValidationError) Cause

Cause function returns cause value.

func (DeleteNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteNamespaceRequestValidationError) Field

Field function returns field value.

func (DeleteNamespaceRequestValidationError) Key

Key function returns key value.

func (DeleteNamespaceRequestValidationError) Reason

Reason function returns reason value.

type DeleteNamespaceResponse

type DeleteNamespaceResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNamespaceResponse) Descriptor deprecated

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

Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceResponse) GetMessage

func (x *DeleteNamespaceResponse) GetMessage() string

func (*DeleteNamespaceResponse) ProtoMessage

func (*DeleteNamespaceResponse) ProtoMessage()

func (*DeleteNamespaceResponse) ProtoReflect

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

func (*DeleteNamespaceResponse) Reset

func (x *DeleteNamespaceResponse) Reset()

func (*DeleteNamespaceResponse) String

func (x *DeleteNamespaceResponse) String() string

func (*DeleteNamespaceResponse) Validate

func (m *DeleteNamespaceResponse) Validate() error

Validate checks the field values on DeleteNamespaceResponse 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 (*DeleteNamespaceResponse) ValidateAll

func (m *DeleteNamespaceResponse) ValidateAll() error

ValidateAll checks the field values on DeleteNamespaceResponse 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 DeleteNamespaceResponseMultiError, or nil if none found.

type DeleteNamespaceResponseMultiError

type DeleteNamespaceResponseMultiError []error

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

func (DeleteNamespaceResponseMultiError) AllErrors

func (m DeleteNamespaceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteNamespaceResponseMultiError) Error

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

type DeleteNamespaceResponseValidationError

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

DeleteNamespaceResponseValidationError is the validation error returned by DeleteNamespaceResponse.Validate if the designated constraints aren't met.

func (DeleteNamespaceResponseValidationError) Cause

Cause function returns cause value.

func (DeleteNamespaceResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteNamespaceResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteNamespaceResponseValidationError) Field

Field function returns field value.

func (DeleteNamespaceResponseValidationError) Key

Key function returns key value.

func (DeleteNamespaceResponseValidationError) Reason

Reason function returns reason value.

type DeleteSchemaRequest

type DeleteSchemaRequest struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId    string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSchemaRequest) Descriptor deprecated

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

Deprecated: Use DeleteSchemaRequest.ProtoReflect.Descriptor instead.

func (*DeleteSchemaRequest) GetNamespaceId

func (x *DeleteSchemaRequest) GetNamespaceId() string

func (*DeleteSchemaRequest) GetSchemaId

func (x *DeleteSchemaRequest) GetSchemaId() string

func (*DeleteSchemaRequest) ProtoMessage

func (*DeleteSchemaRequest) ProtoMessage()

func (*DeleteSchemaRequest) ProtoReflect

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

func (*DeleteSchemaRequest) Reset

func (x *DeleteSchemaRequest) Reset()

func (*DeleteSchemaRequest) String

func (x *DeleteSchemaRequest) String() string

func (*DeleteSchemaRequest) Validate

func (m *DeleteSchemaRequest) Validate() error

Validate checks the field values on DeleteSchemaRequest 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 (*DeleteSchemaRequest) ValidateAll

func (m *DeleteSchemaRequest) ValidateAll() error

ValidateAll checks the field values on DeleteSchemaRequest 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 DeleteSchemaRequestMultiError, or nil if none found.

type DeleteSchemaRequestMultiError

type DeleteSchemaRequestMultiError []error

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

func (DeleteSchemaRequestMultiError) AllErrors

func (m DeleteSchemaRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSchemaRequestMultiError) Error

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

type DeleteSchemaRequestValidationError

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

DeleteSchemaRequestValidationError is the validation error returned by DeleteSchemaRequest.Validate if the designated constraints aren't met.

func (DeleteSchemaRequestValidationError) Cause

Cause function returns cause value.

func (DeleteSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSchemaRequestValidationError) Field

Field function returns field value.

func (DeleteSchemaRequestValidationError) Key

Key function returns key value.

func (DeleteSchemaRequestValidationError) Reason

Reason function returns reason value.

type DeleteSchemaResponse

type DeleteSchemaResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSchemaResponse) Descriptor deprecated

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

Deprecated: Use DeleteSchemaResponse.ProtoReflect.Descriptor instead.

func (*DeleteSchemaResponse) GetMessage

func (x *DeleteSchemaResponse) GetMessage() string

func (*DeleteSchemaResponse) ProtoMessage

func (*DeleteSchemaResponse) ProtoMessage()

func (*DeleteSchemaResponse) ProtoReflect

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

func (*DeleteSchemaResponse) Reset

func (x *DeleteSchemaResponse) Reset()

func (*DeleteSchemaResponse) String

func (x *DeleteSchemaResponse) String() string

func (*DeleteSchemaResponse) Validate

func (m *DeleteSchemaResponse) Validate() error

Validate checks the field values on DeleteSchemaResponse 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 (*DeleteSchemaResponse) ValidateAll

func (m *DeleteSchemaResponse) ValidateAll() error

ValidateAll checks the field values on DeleteSchemaResponse 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 DeleteSchemaResponseMultiError, or nil if none found.

type DeleteSchemaResponseMultiError

type DeleteSchemaResponseMultiError []error

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

func (DeleteSchemaResponseMultiError) AllErrors

func (m DeleteSchemaResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSchemaResponseMultiError) Error

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

type DeleteSchemaResponseValidationError

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

DeleteSchemaResponseValidationError is the validation error returned by DeleteSchemaResponse.Validate if the designated constraints aren't met.

func (DeleteSchemaResponseValidationError) Cause

Cause function returns cause value.

func (DeleteSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteSchemaResponseValidationError) Field

Field function returns field value.

func (DeleteSchemaResponseValidationError) Key

Key function returns key value.

func (DeleteSchemaResponseValidationError) Reason

Reason function returns reason value.

type DeleteVersionRequest

type DeleteVersionRequest struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId    string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	VersionId   int32  `protobuf:"varint,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVersionRequest) Descriptor deprecated

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

Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.

func (*DeleteVersionRequest) GetNamespaceId

func (x *DeleteVersionRequest) GetNamespaceId() string

func (*DeleteVersionRequest) GetSchemaId

func (x *DeleteVersionRequest) GetSchemaId() string

func (*DeleteVersionRequest) GetVersionId

func (x *DeleteVersionRequest) GetVersionId() int32

func (*DeleteVersionRequest) ProtoMessage

func (*DeleteVersionRequest) ProtoMessage()

func (*DeleteVersionRequest) ProtoReflect

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

func (*DeleteVersionRequest) Reset

func (x *DeleteVersionRequest) Reset()

func (*DeleteVersionRequest) String

func (x *DeleteVersionRequest) String() string

func (*DeleteVersionRequest) Validate

func (m *DeleteVersionRequest) Validate() error

Validate checks the field values on DeleteVersionRequest 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 (*DeleteVersionRequest) ValidateAll

func (m *DeleteVersionRequest) ValidateAll() error

ValidateAll checks the field values on DeleteVersionRequest 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 DeleteVersionRequestMultiError, or nil if none found.

type DeleteVersionRequestMultiError

type DeleteVersionRequestMultiError []error

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

func (DeleteVersionRequestMultiError) AllErrors

func (m DeleteVersionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteVersionRequestMultiError) Error

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

type DeleteVersionRequestValidationError

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

DeleteVersionRequestValidationError is the validation error returned by DeleteVersionRequest.Validate if the designated constraints aren't met.

func (DeleteVersionRequestValidationError) Cause

Cause function returns cause value.

func (DeleteVersionRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteVersionRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteVersionRequestValidationError) Field

Field function returns field value.

func (DeleteVersionRequestValidationError) Key

Key function returns key value.

func (DeleteVersionRequestValidationError) Reason

Reason function returns reason value.

type DeleteVersionResponse

type DeleteVersionResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVersionResponse) Descriptor deprecated

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

Deprecated: Use DeleteVersionResponse.ProtoReflect.Descriptor instead.

func (*DeleteVersionResponse) GetMessage

func (x *DeleteVersionResponse) GetMessage() string

func (*DeleteVersionResponse) ProtoMessage

func (*DeleteVersionResponse) ProtoMessage()

func (*DeleteVersionResponse) ProtoReflect

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

func (*DeleteVersionResponse) Reset

func (x *DeleteVersionResponse) Reset()

func (*DeleteVersionResponse) String

func (x *DeleteVersionResponse) String() string

func (*DeleteVersionResponse) Validate

func (m *DeleteVersionResponse) Validate() error

Validate checks the field values on DeleteVersionResponse 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 (*DeleteVersionResponse) ValidateAll

func (m *DeleteVersionResponse) ValidateAll() error

ValidateAll checks the field values on DeleteVersionResponse 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 DeleteVersionResponseMultiError, or nil if none found.

type DeleteVersionResponseMultiError

type DeleteVersionResponseMultiError []error

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

func (DeleteVersionResponseMultiError) AllErrors

func (m DeleteVersionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteVersionResponseMultiError) Error

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

type DeleteVersionResponseValidationError

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

DeleteVersionResponseValidationError is the validation error returned by DeleteVersionResponse.Validate if the designated constraints aren't met.

func (DeleteVersionResponseValidationError) Cause

Cause function returns cause value.

func (DeleteVersionResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteVersionResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteVersionResponseValidationError) Field

Field function returns field value.

func (DeleteVersionResponseValidationError) Key

Key function returns key value.

func (DeleteVersionResponseValidationError) Reason

Reason function returns reason value.

type GetLatestSchemaRequest

type GetLatestSchemaRequest struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId    string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLatestSchemaRequest) Descriptor deprecated

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

Deprecated: Use GetLatestSchemaRequest.ProtoReflect.Descriptor instead.

func (*GetLatestSchemaRequest) GetNamespaceId

func (x *GetLatestSchemaRequest) GetNamespaceId() string

func (*GetLatestSchemaRequest) GetSchemaId

func (x *GetLatestSchemaRequest) GetSchemaId() string

func (*GetLatestSchemaRequest) ProtoMessage

func (*GetLatestSchemaRequest) ProtoMessage()

func (*GetLatestSchemaRequest) ProtoReflect

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

func (*GetLatestSchemaRequest) Reset

func (x *GetLatestSchemaRequest) Reset()

func (*GetLatestSchemaRequest) String

func (x *GetLatestSchemaRequest) String() string

func (*GetLatestSchemaRequest) Validate

func (m *GetLatestSchemaRequest) Validate() error

Validate checks the field values on GetLatestSchemaRequest 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 (*GetLatestSchemaRequest) ValidateAll

func (m *GetLatestSchemaRequest) ValidateAll() error

ValidateAll checks the field values on GetLatestSchemaRequest 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 GetLatestSchemaRequestMultiError, or nil if none found.

type GetLatestSchemaRequestMultiError

type GetLatestSchemaRequestMultiError []error

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

func (GetLatestSchemaRequestMultiError) AllErrors

func (m GetLatestSchemaRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLatestSchemaRequestMultiError) Error

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

type GetLatestSchemaRequestValidationError

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

GetLatestSchemaRequestValidationError is the validation error returned by GetLatestSchemaRequest.Validate if the designated constraints aren't met.

func (GetLatestSchemaRequestValidationError) Cause

Cause function returns cause value.

func (GetLatestSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (GetLatestSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (GetLatestSchemaRequestValidationError) Field

Field function returns field value.

func (GetLatestSchemaRequestValidationError) Key

Key function returns key value.

func (GetLatestSchemaRequestValidationError) Reason

Reason function returns reason value.

type GetLatestSchemaResponse

type GetLatestSchemaResponse struct {
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLatestSchemaResponse) Descriptor deprecated

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

Deprecated: Use GetLatestSchemaResponse.ProtoReflect.Descriptor instead.

func (*GetLatestSchemaResponse) GetData

func (x *GetLatestSchemaResponse) GetData() []byte

func (*GetLatestSchemaResponse) ProtoMessage

func (*GetLatestSchemaResponse) ProtoMessage()

func (*GetLatestSchemaResponse) ProtoReflect

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

func (*GetLatestSchemaResponse) Reset

func (x *GetLatestSchemaResponse) Reset()

func (*GetLatestSchemaResponse) String

func (x *GetLatestSchemaResponse) String() string

func (*GetLatestSchemaResponse) Validate

func (m *GetLatestSchemaResponse) Validate() error

Validate checks the field values on GetLatestSchemaResponse 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 (*GetLatestSchemaResponse) ValidateAll

func (m *GetLatestSchemaResponse) ValidateAll() error

ValidateAll checks the field values on GetLatestSchemaResponse 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 GetLatestSchemaResponseMultiError, or nil if none found.

type GetLatestSchemaResponseMultiError

type GetLatestSchemaResponseMultiError []error

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

func (GetLatestSchemaResponseMultiError) AllErrors

func (m GetLatestSchemaResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetLatestSchemaResponseMultiError) Error

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

type GetLatestSchemaResponseValidationError

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

GetLatestSchemaResponseValidationError is the validation error returned by GetLatestSchemaResponse.Validate if the designated constraints aren't met.

func (GetLatestSchemaResponseValidationError) Cause

Cause function returns cause value.

func (GetLatestSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (GetLatestSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (GetLatestSchemaResponseValidationError) Field

Field function returns field value.

func (GetLatestSchemaResponseValidationError) Key

Key function returns key value.

func (GetLatestSchemaResponseValidationError) Reason

Reason function returns reason value.

type GetNamespaceRequest

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

func (*GetNamespaceRequest) Descriptor deprecated

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

Deprecated: Use GetNamespaceRequest.ProtoReflect.Descriptor instead.

func (*GetNamespaceRequest) GetId

func (x *GetNamespaceRequest) GetId() string

func (*GetNamespaceRequest) ProtoMessage

func (*GetNamespaceRequest) ProtoMessage()

func (*GetNamespaceRequest) ProtoReflect

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

func (*GetNamespaceRequest) Reset

func (x *GetNamespaceRequest) Reset()

func (*GetNamespaceRequest) String

func (x *GetNamespaceRequest) String() string

func (*GetNamespaceRequest) Validate

func (m *GetNamespaceRequest) Validate() error

Validate checks the field values on GetNamespaceRequest 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 (*GetNamespaceRequest) ValidateAll

func (m *GetNamespaceRequest) ValidateAll() error

ValidateAll checks the field values on GetNamespaceRequest 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 GetNamespaceRequestMultiError, or nil if none found.

type GetNamespaceRequestMultiError

type GetNamespaceRequestMultiError []error

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

func (GetNamespaceRequestMultiError) AllErrors

func (m GetNamespaceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNamespaceRequestMultiError) Error

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

type GetNamespaceRequestValidationError

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

GetNamespaceRequestValidationError is the validation error returned by GetNamespaceRequest.Validate if the designated constraints aren't met.

func (GetNamespaceRequestValidationError) Cause

Cause function returns cause value.

func (GetNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (GetNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (GetNamespaceRequestValidationError) Field

Field function returns field value.

func (GetNamespaceRequestValidationError) Key

Key function returns key value.

func (GetNamespaceRequestValidationError) Reason

Reason function returns reason value.

type GetNamespaceResponse

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

func (*GetNamespaceResponse) Descriptor deprecated

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

Deprecated: Use GetNamespaceResponse.ProtoReflect.Descriptor instead.

func (*GetNamespaceResponse) GetNamespace

func (x *GetNamespaceResponse) GetNamespace() *Namespace

func (*GetNamespaceResponse) ProtoMessage

func (*GetNamespaceResponse) ProtoMessage()

func (*GetNamespaceResponse) ProtoReflect

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

func (*GetNamespaceResponse) Reset

func (x *GetNamespaceResponse) Reset()

func (*GetNamespaceResponse) String

func (x *GetNamespaceResponse) String() string

func (*GetNamespaceResponse) Validate

func (m *GetNamespaceResponse) Validate() error

Validate checks the field values on GetNamespaceResponse 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 (*GetNamespaceResponse) ValidateAll

func (m *GetNamespaceResponse) ValidateAll() error

ValidateAll checks the field values on GetNamespaceResponse 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 GetNamespaceResponseMultiError, or nil if none found.

type GetNamespaceResponseMultiError

type GetNamespaceResponseMultiError []error

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

func (GetNamespaceResponseMultiError) AllErrors

func (m GetNamespaceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNamespaceResponseMultiError) Error

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

type GetNamespaceResponseValidationError

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

GetNamespaceResponseValidationError is the validation error returned by GetNamespaceResponse.Validate if the designated constraints aren't met.

func (GetNamespaceResponseValidationError) Cause

Cause function returns cause value.

func (GetNamespaceResponseValidationError) Error

Error satisfies the builtin error interface

func (GetNamespaceResponseValidationError) ErrorName

ErrorName returns error name.

func (GetNamespaceResponseValidationError) Field

Field function returns field value.

func (GetNamespaceResponseValidationError) Key

Key function returns key value.

func (GetNamespaceResponseValidationError) Reason

Reason function returns reason value.

type GetSchemaMetadataRequest

type GetSchemaMetadataRequest struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId    string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetSchemaMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetSchemaMetadataRequest) GetNamespaceId

func (x *GetSchemaMetadataRequest) GetNamespaceId() string

func (*GetSchemaMetadataRequest) GetSchemaId

func (x *GetSchemaMetadataRequest) GetSchemaId() string

func (*GetSchemaMetadataRequest) ProtoMessage

func (*GetSchemaMetadataRequest) ProtoMessage()

func (*GetSchemaMetadataRequest) ProtoReflect

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

func (*GetSchemaMetadataRequest) Reset

func (x *GetSchemaMetadataRequest) Reset()

func (*GetSchemaMetadataRequest) String

func (x *GetSchemaMetadataRequest) String() string

func (*GetSchemaMetadataRequest) Validate

func (m *GetSchemaMetadataRequest) Validate() error

Validate checks the field values on GetSchemaMetadataRequest 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 (*GetSchemaMetadataRequest) ValidateAll

func (m *GetSchemaMetadataRequest) ValidateAll() error

ValidateAll checks the field values on GetSchemaMetadataRequest 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 GetSchemaMetadataRequestMultiError, or nil if none found.

type GetSchemaMetadataRequestMultiError

type GetSchemaMetadataRequestMultiError []error

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

func (GetSchemaMetadataRequestMultiError) AllErrors

func (m GetSchemaMetadataRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSchemaMetadataRequestMultiError) Error

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

type GetSchemaMetadataRequestValidationError

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

GetSchemaMetadataRequestValidationError is the validation error returned by GetSchemaMetadataRequest.Validate if the designated constraints aren't met.

func (GetSchemaMetadataRequestValidationError) Cause

Cause function returns cause value.

func (GetSchemaMetadataRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSchemaMetadataRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSchemaMetadataRequestValidationError) Field

Field function returns field value.

func (GetSchemaMetadataRequestValidationError) Key

Key function returns key value.

func (GetSchemaMetadataRequestValidationError) Reason

Reason function returns reason value.

type GetSchemaMetadataResponse

type GetSchemaMetadataResponse struct {
	Format        Schema_Format          `protobuf:"varint,1,opt,name=format,proto3,enum=goto.stencil.v1beta1.Schema_Format" json:"format,omitempty"`
	Compatibility Schema_Compatibility   `` /* 127-byte string literal not displayed */
	Authority     string                 `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaMetadataResponse) Descriptor deprecated

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

Deprecated: Use GetSchemaMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetSchemaMetadataResponse) GetAuthority

func (x *GetSchemaMetadataResponse) GetAuthority() string

func (*GetSchemaMetadataResponse) GetCompatibility

func (x *GetSchemaMetadataResponse) GetCompatibility() Schema_Compatibility

func (*GetSchemaMetadataResponse) GetCreatedAt

func (x *GetSchemaMetadataResponse) GetCreatedAt() *timestamppb.Timestamp

func (*GetSchemaMetadataResponse) GetFormat

func (*GetSchemaMetadataResponse) GetName

func (x *GetSchemaMetadataResponse) GetName() string

func (*GetSchemaMetadataResponse) GetUpdatedAt

func (x *GetSchemaMetadataResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*GetSchemaMetadataResponse) ProtoMessage

func (*GetSchemaMetadataResponse) ProtoMessage()

func (*GetSchemaMetadataResponse) ProtoReflect

func (*GetSchemaMetadataResponse) Reset

func (x *GetSchemaMetadataResponse) Reset()

func (*GetSchemaMetadataResponse) String

func (x *GetSchemaMetadataResponse) String() string

func (*GetSchemaMetadataResponse) Validate

func (m *GetSchemaMetadataResponse) Validate() error

Validate checks the field values on GetSchemaMetadataResponse 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 (*GetSchemaMetadataResponse) ValidateAll

func (m *GetSchemaMetadataResponse) ValidateAll() error

ValidateAll checks the field values on GetSchemaMetadataResponse 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 GetSchemaMetadataResponseMultiError, or nil if none found.

type GetSchemaMetadataResponseMultiError

type GetSchemaMetadataResponseMultiError []error

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

func (GetSchemaMetadataResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSchemaMetadataResponseMultiError) Error

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

type GetSchemaMetadataResponseValidationError

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

GetSchemaMetadataResponseValidationError is the validation error returned by GetSchemaMetadataResponse.Validate if the designated constraints aren't met.

func (GetSchemaMetadataResponseValidationError) Cause

Cause function returns cause value.

func (GetSchemaMetadataResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSchemaMetadataResponseValidationError) ErrorName

ErrorName returns error name.

func (GetSchemaMetadataResponseValidationError) Field

Field function returns field value.

func (GetSchemaMetadataResponseValidationError) Key

Key function returns key value.

func (GetSchemaMetadataResponseValidationError) Reason

Reason function returns reason value.

type GetSchemaRequest

type GetSchemaRequest struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId    string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	VersionId   int32  `protobuf:"varint,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaRequest) Descriptor deprecated

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

Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.

func (*GetSchemaRequest) GetNamespaceId

func (x *GetSchemaRequest) GetNamespaceId() string

func (*GetSchemaRequest) GetSchemaId

func (x *GetSchemaRequest) GetSchemaId() string

func (*GetSchemaRequest) GetVersionId

func (x *GetSchemaRequest) GetVersionId() int32

func (*GetSchemaRequest) ProtoMessage

func (*GetSchemaRequest) ProtoMessage()

func (*GetSchemaRequest) ProtoReflect

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

func (*GetSchemaRequest) Reset

func (x *GetSchemaRequest) Reset()

func (*GetSchemaRequest) String

func (x *GetSchemaRequest) String() string

func (*GetSchemaRequest) Validate

func (m *GetSchemaRequest) Validate() error

Validate checks the field values on GetSchemaRequest 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 (*GetSchemaRequest) ValidateAll

func (m *GetSchemaRequest) ValidateAll() error

ValidateAll checks the field values on GetSchemaRequest 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 GetSchemaRequestMultiError, or nil if none found.

type GetSchemaRequestMultiError

type GetSchemaRequestMultiError []error

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

func (GetSchemaRequestMultiError) AllErrors

func (m GetSchemaRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSchemaRequestMultiError) Error

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

type GetSchemaRequestValidationError

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

GetSchemaRequestValidationError is the validation error returned by GetSchemaRequest.Validate if the designated constraints aren't met.

func (GetSchemaRequestValidationError) Cause

Cause function returns cause value.

func (GetSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSchemaRequestValidationError) Field

Field function returns field value.

func (GetSchemaRequestValidationError) Key

Key function returns key value.

func (GetSchemaRequestValidationError) Reason

Reason function returns reason value.

type GetSchemaResponse

type GetSchemaResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaResponse) Descriptor deprecated

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

Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.

func (*GetSchemaResponse) GetData

func (x *GetSchemaResponse) GetData() []byte

func (*GetSchemaResponse) ProtoMessage

func (*GetSchemaResponse) ProtoMessage()

func (*GetSchemaResponse) ProtoReflect

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

func (*GetSchemaResponse) Reset

func (x *GetSchemaResponse) Reset()

func (*GetSchemaResponse) String

func (x *GetSchemaResponse) String() string

func (*GetSchemaResponse) Validate

func (m *GetSchemaResponse) Validate() error

Validate checks the field values on GetSchemaResponse 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 (*GetSchemaResponse) ValidateAll

func (m *GetSchemaResponse) ValidateAll() error

ValidateAll checks the field values on GetSchemaResponse 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 GetSchemaResponseMultiError, or nil if none found.

type GetSchemaResponseMultiError

type GetSchemaResponseMultiError []error

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

func (GetSchemaResponseMultiError) AllErrors

func (m GetSchemaResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSchemaResponseMultiError) Error

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

type GetSchemaResponseValidationError

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

GetSchemaResponseValidationError is the validation error returned by GetSchemaResponse.Validate if the designated constraints aren't met.

func (GetSchemaResponseValidationError) Cause

Cause function returns cause value.

func (GetSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (GetSchemaResponseValidationError) Field

Field function returns field value.

func (GetSchemaResponseValidationError) Key

Key function returns key value.

func (GetSchemaResponseValidationError) Reason

Reason function returns reason value.

type ListNamespacesRequest

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

func (*ListNamespacesRequest) Descriptor deprecated

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

Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.

func (*ListNamespacesRequest) ProtoMessage

func (*ListNamespacesRequest) ProtoMessage()

func (*ListNamespacesRequest) ProtoReflect

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

func (*ListNamespacesRequest) Reset

func (x *ListNamespacesRequest) Reset()

func (*ListNamespacesRequest) String

func (x *ListNamespacesRequest) String() string

func (*ListNamespacesRequest) Validate

func (m *ListNamespacesRequest) Validate() error

Validate checks the field values on ListNamespacesRequest 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 (*ListNamespacesRequest) ValidateAll

func (m *ListNamespacesRequest) ValidateAll() error

ValidateAll checks the field values on ListNamespacesRequest 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 ListNamespacesRequestMultiError, or nil if none found.

type ListNamespacesRequestMultiError

type ListNamespacesRequestMultiError []error

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

func (ListNamespacesRequestMultiError) AllErrors

func (m ListNamespacesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNamespacesRequestMultiError) Error

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

type ListNamespacesRequestValidationError

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

ListNamespacesRequestValidationError is the validation error returned by ListNamespacesRequest.Validate if the designated constraints aren't met.

func (ListNamespacesRequestValidationError) Cause

Cause function returns cause value.

func (ListNamespacesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListNamespacesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListNamespacesRequestValidationError) Field

Field function returns field value.

func (ListNamespacesRequestValidationError) Key

Key function returns key value.

func (ListNamespacesRequestValidationError) Reason

Reason function returns reason value.

type ListNamespacesResponse

type ListNamespacesResponse struct {
	Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespacesResponse) Descriptor deprecated

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

Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.

func (*ListNamespacesResponse) GetNamespaces

func (x *ListNamespacesResponse) GetNamespaces() []*Namespace

func (*ListNamespacesResponse) ProtoMessage

func (*ListNamespacesResponse) ProtoMessage()

func (*ListNamespacesResponse) ProtoReflect

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

func (*ListNamespacesResponse) Reset

func (x *ListNamespacesResponse) Reset()

func (*ListNamespacesResponse) String

func (x *ListNamespacesResponse) String() string

func (*ListNamespacesResponse) Validate

func (m *ListNamespacesResponse) Validate() error

Validate checks the field values on ListNamespacesResponse 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 (*ListNamespacesResponse) ValidateAll

func (m *ListNamespacesResponse) ValidateAll() error

ValidateAll checks the field values on ListNamespacesResponse 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 ListNamespacesResponseMultiError, or nil if none found.

type ListNamespacesResponseMultiError

type ListNamespacesResponseMultiError []error

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

func (ListNamespacesResponseMultiError) AllErrors

func (m ListNamespacesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNamespacesResponseMultiError) Error

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

type ListNamespacesResponseValidationError

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

ListNamespacesResponseValidationError is the validation error returned by ListNamespacesResponse.Validate if the designated constraints aren't met.

func (ListNamespacesResponseValidationError) Cause

Cause function returns cause value.

func (ListNamespacesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListNamespacesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListNamespacesResponseValidationError) Field

Field function returns field value.

func (ListNamespacesResponseValidationError) Key

Key function returns key value.

func (ListNamespacesResponseValidationError) Reason

Reason function returns reason value.

type ListSchemasRequest

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

func (*ListSchemasRequest) Descriptor deprecated

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

Deprecated: Use ListSchemasRequest.ProtoReflect.Descriptor instead.

func (*ListSchemasRequest) GetId

func (x *ListSchemasRequest) GetId() string

func (*ListSchemasRequest) ProtoMessage

func (*ListSchemasRequest) ProtoMessage()

func (*ListSchemasRequest) ProtoReflect

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

func (*ListSchemasRequest) Reset

func (x *ListSchemasRequest) Reset()

func (*ListSchemasRequest) String

func (x *ListSchemasRequest) String() string

func (*ListSchemasRequest) Validate

func (m *ListSchemasRequest) Validate() error

Validate checks the field values on ListSchemasRequest 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 (*ListSchemasRequest) ValidateAll

func (m *ListSchemasRequest) ValidateAll() error

ValidateAll checks the field values on ListSchemasRequest 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 ListSchemasRequestMultiError, or nil if none found.

type ListSchemasRequestMultiError

type ListSchemasRequestMultiError []error

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

func (ListSchemasRequestMultiError) AllErrors

func (m ListSchemasRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListSchemasRequestMultiError) Error

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

type ListSchemasRequestValidationError

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

ListSchemasRequestValidationError is the validation error returned by ListSchemasRequest.Validate if the designated constraints aren't met.

func (ListSchemasRequestValidationError) Cause

Cause function returns cause value.

func (ListSchemasRequestValidationError) Error

Error satisfies the builtin error interface

func (ListSchemasRequestValidationError) ErrorName

ErrorName returns error name.

func (ListSchemasRequestValidationError) Field

Field function returns field value.

func (ListSchemasRequestValidationError) Key

Key function returns key value.

func (ListSchemasRequestValidationError) Reason

Reason function returns reason value.

type ListSchemasResponse

type ListSchemasResponse struct {
	Schemas []*Schema `protobuf:"bytes,1,rep,name=schemas,proto3" json:"schemas,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSchemasResponse) Descriptor deprecated

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

Deprecated: Use ListSchemasResponse.ProtoReflect.Descriptor instead.

func (*ListSchemasResponse) GetSchemas

func (x *ListSchemasResponse) GetSchemas() []*Schema

func (*ListSchemasResponse) ProtoMessage

func (*ListSchemasResponse) ProtoMessage()

func (*ListSchemasResponse) ProtoReflect

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

func (*ListSchemasResponse) Reset

func (x *ListSchemasResponse) Reset()

func (*ListSchemasResponse) String

func (x *ListSchemasResponse) String() string

func (*ListSchemasResponse) Validate

func (m *ListSchemasResponse) Validate() error

Validate checks the field values on ListSchemasResponse 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 (*ListSchemasResponse) ValidateAll

func (m *ListSchemasResponse) ValidateAll() error

ValidateAll checks the field values on ListSchemasResponse 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 ListSchemasResponseMultiError, or nil if none found.

type ListSchemasResponseMultiError

type ListSchemasResponseMultiError []error

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

func (ListSchemasResponseMultiError) AllErrors

func (m ListSchemasResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListSchemasResponseMultiError) Error

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

type ListSchemasResponseValidationError

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

ListSchemasResponseValidationError is the validation error returned by ListSchemasResponse.Validate if the designated constraints aren't met.

func (ListSchemasResponseValidationError) Cause

Cause function returns cause value.

func (ListSchemasResponseValidationError) Error

Error satisfies the builtin error interface

func (ListSchemasResponseValidationError) ErrorName

ErrorName returns error name.

func (ListSchemasResponseValidationError) Field

Field function returns field value.

func (ListSchemasResponseValidationError) Key

Key function returns key value.

func (ListSchemasResponseValidationError) Reason

Reason function returns reason value.

type ListVersionsRequest

type ListVersionsRequest struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId    string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVersionsRequest) Descriptor deprecated

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

Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListVersionsRequest) GetNamespaceId

func (x *ListVersionsRequest) GetNamespaceId() string

func (*ListVersionsRequest) GetSchemaId

func (x *ListVersionsRequest) GetSchemaId() string

func (*ListVersionsRequest) ProtoMessage

func (*ListVersionsRequest) ProtoMessage()

func (*ListVersionsRequest) ProtoReflect

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

func (*ListVersionsRequest) Reset

func (x *ListVersionsRequest) Reset()

func (*ListVersionsRequest) String

func (x *ListVersionsRequest) String() string

func (*ListVersionsRequest) Validate

func (m *ListVersionsRequest) Validate() error

Validate checks the field values on ListVersionsRequest 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 (*ListVersionsRequest) ValidateAll

func (m *ListVersionsRequest) ValidateAll() error

ValidateAll checks the field values on ListVersionsRequest 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 ListVersionsRequestMultiError, or nil if none found.

type ListVersionsRequestMultiError

type ListVersionsRequestMultiError []error

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

func (ListVersionsRequestMultiError) AllErrors

func (m ListVersionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListVersionsRequestMultiError) Error

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

type ListVersionsRequestValidationError

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

ListVersionsRequestValidationError is the validation error returned by ListVersionsRequest.Validate if the designated constraints aren't met.

func (ListVersionsRequestValidationError) Cause

Cause function returns cause value.

func (ListVersionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListVersionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListVersionsRequestValidationError) Field

Field function returns field value.

func (ListVersionsRequestValidationError) Key

Key function returns key value.

func (ListVersionsRequestValidationError) Reason

Reason function returns reason value.

type ListVersionsResponse

type ListVersionsResponse struct {
	Versions []int32 `protobuf:"varint,1,rep,packed,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVersionsResponse) Descriptor deprecated

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

Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListVersionsResponse) GetVersions

func (x *ListVersionsResponse) GetVersions() []int32

func (*ListVersionsResponse) ProtoMessage

func (*ListVersionsResponse) ProtoMessage()

func (*ListVersionsResponse) ProtoReflect

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

func (*ListVersionsResponse) Reset

func (x *ListVersionsResponse) Reset()

func (*ListVersionsResponse) String

func (x *ListVersionsResponse) String() string

func (*ListVersionsResponse) Validate

func (m *ListVersionsResponse) Validate() error

Validate checks the field values on ListVersionsResponse 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 (*ListVersionsResponse) ValidateAll

func (m *ListVersionsResponse) ValidateAll() error

ValidateAll checks the field values on ListVersionsResponse 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 ListVersionsResponseMultiError, or nil if none found.

type ListVersionsResponseMultiError

type ListVersionsResponseMultiError []error

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

func (ListVersionsResponseMultiError) AllErrors

func (m ListVersionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListVersionsResponseMultiError) Error

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

type ListVersionsResponseValidationError

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

ListVersionsResponseValidationError is the validation error returned by ListVersionsResponse.Validate if the designated constraints aren't met.

func (ListVersionsResponseValidationError) Cause

Cause function returns cause value.

func (ListVersionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListVersionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListVersionsResponseValidationError) Field

Field function returns field value.

func (ListVersionsResponseValidationError) Key

Key function returns key value.

func (ListVersionsResponseValidationError) Reason

Reason function returns reason value.

type Namespace

type Namespace struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Format        Schema_Format          `protobuf:"varint,2,opt,name=format,proto3,enum=goto.stencil.v1beta1.Schema_Format" json:"format,omitempty"`
	Compatibility Schema_Compatibility   `` /* 127-byte string literal not displayed */
	Description   string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Namespace) Descriptor deprecated

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetCompatibility

func (x *Namespace) GetCompatibility() Schema_Compatibility

func (*Namespace) GetCreatedAt

func (x *Namespace) GetCreatedAt() *timestamppb.Timestamp

func (*Namespace) GetDescription

func (x *Namespace) GetDescription() string

func (*Namespace) GetFormat

func (x *Namespace) GetFormat() Schema_Format

func (*Namespace) GetId

func (x *Namespace) GetId() string

func (*Namespace) GetUpdatedAt

func (x *Namespace) GetUpdatedAt() *timestamppb.Timestamp

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

func (*Namespace) Validate

func (m *Namespace) Validate() error

Validate checks the field values on Namespace 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 (*Namespace) ValidateAll

func (m *Namespace) ValidateAll() error

ValidateAll checks the field values on Namespace 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 NamespaceMultiError, or nil if none found.

type NamespaceMultiError

type NamespaceMultiError []error

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

func (NamespaceMultiError) AllErrors

func (m NamespaceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NamespaceMultiError) Error

func (m NamespaceMultiError) Error() string

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

type NamespaceValidationError

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

NamespaceValidationError is the validation error returned by Namespace.Validate if the designated constraints aren't met.

func (NamespaceValidationError) Cause

func (e NamespaceValidationError) Cause() error

Cause function returns cause value.

func (NamespaceValidationError) Error

func (e NamespaceValidationError) Error() string

Error satisfies the builtin error interface

func (NamespaceValidationError) ErrorName

func (e NamespaceValidationError) ErrorName() string

ErrorName returns error name.

func (NamespaceValidationError) Field

func (e NamespaceValidationError) Field() string

Field function returns field value.

func (NamespaceValidationError) Key

Key function returns key value.

func (NamespaceValidationError) Reason

func (e NamespaceValidationError) Reason() string

Reason function returns reason value.

type Schema

type Schema struct {
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Format        Schema_Format          `protobuf:"varint,2,opt,name=format,proto3,enum=goto.stencil.v1beta1.Schema_Format" json:"format,omitempty"`
	Authority     string                 `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
	Compatibility Schema_Compatibility   `` /* 127-byte string literal not displayed */
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Schema) Descriptor deprecated

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetAuthority

func (x *Schema) GetAuthority() string

func (*Schema) GetCompatibility

func (x *Schema) GetCompatibility() Schema_Compatibility

func (*Schema) GetCreatedAt

func (x *Schema) GetCreatedAt() *timestamppb.Timestamp

func (*Schema) GetFormat

func (x *Schema) GetFormat() Schema_Format

func (*Schema) GetName

func (x *Schema) GetName() string

func (*Schema) GetUpdatedAt

func (x *Schema) GetUpdatedAt() *timestamppb.Timestamp

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect

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

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) String

func (x *Schema) String() string

func (*Schema) Validate

func (m *Schema) Validate() error

Validate checks the field values on Schema 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 (*Schema) ValidateAll

func (m *Schema) ValidateAll() error

ValidateAll checks the field values on Schema 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 SchemaMultiError, or nil if none found.

type SchemaMultiError

type SchemaMultiError []error

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

func (SchemaMultiError) AllErrors

func (m SchemaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SchemaMultiError) Error

func (m SchemaMultiError) Error() string

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

type SchemaValidationError

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

SchemaValidationError is the validation error returned by Schema.Validate if the designated constraints aren't met.

func (SchemaValidationError) Cause

func (e SchemaValidationError) Cause() error

Cause function returns cause value.

func (SchemaValidationError) Error

func (e SchemaValidationError) Error() string

Error satisfies the builtin error interface

func (SchemaValidationError) ErrorName

func (e SchemaValidationError) ErrorName() string

ErrorName returns error name.

func (SchemaValidationError) Field

func (e SchemaValidationError) Field() string

Field function returns field value.

func (SchemaValidationError) Key

func (e SchemaValidationError) Key() bool

Key function returns key value.

func (SchemaValidationError) Reason

func (e SchemaValidationError) Reason() string

Reason function returns reason value.

type Schema_Compatibility

type Schema_Compatibility int32
const (
	Schema_COMPATIBILITY_UNSPECIFIED         Schema_Compatibility = 0
	Schema_COMPATIBILITY_BACKWARD            Schema_Compatibility = 1
	Schema_COMPATIBILITY_BACKWARD_TRANSITIVE Schema_Compatibility = 2
	Schema_COMPATIBILITY_FORWARD             Schema_Compatibility = 3
	Schema_COMPATIBILITY_FORWARD_TRANSITIVE  Schema_Compatibility = 4
	Schema_COMPATIBILITY_FULL                Schema_Compatibility = 5
	Schema_COMPATIBILITY_FULL_TRANSITIVE     Schema_Compatibility = 6
)

func (Schema_Compatibility) Descriptor

func (Schema_Compatibility) Enum

func (Schema_Compatibility) EnumDescriptor deprecated

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

Deprecated: Use Schema_Compatibility.Descriptor instead.

func (Schema_Compatibility) Number

func (Schema_Compatibility) String

func (x Schema_Compatibility) String() string

func (Schema_Compatibility) Type

type Schema_Format

type Schema_Format int32
const (
	Schema_FORMAT_UNSPECIFIED Schema_Format = 0
	Schema_FORMAT_PROTOBUF    Schema_Format = 1
	Schema_FORMAT_AVRO        Schema_Format = 2
	Schema_FORMAT_JSON        Schema_Format = 3
)

func (Schema_Format) Descriptor

func (Schema_Format) Enum

func (x Schema_Format) Enum() *Schema_Format

func (Schema_Format) EnumDescriptor deprecated

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

Deprecated: Use Schema_Format.Descriptor instead.

func (Schema_Format) Number

func (Schema_Format) String

func (x Schema_Format) String() string

func (Schema_Format) Type

type SearchHits

type SearchHits struct {
	NamespaceId string   `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId    string   `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	VersionId   int32    `protobuf:"varint,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	Fields      []string `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
	Types       []string `protobuf:"bytes,5,rep,name=types,proto3" json:"types,omitempty"`
	Path        string   `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchHits) Descriptor deprecated

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

Deprecated: Use SearchHits.ProtoReflect.Descriptor instead.

func (*SearchHits) GetFields

func (x *SearchHits) GetFields() []string

func (*SearchHits) GetNamespaceId

func (x *SearchHits) GetNamespaceId() string

func (*SearchHits) GetPath

func (x *SearchHits) GetPath() string

func (*SearchHits) GetSchemaId

func (x *SearchHits) GetSchemaId() string

func (*SearchHits) GetTypes

func (x *SearchHits) GetTypes() []string

func (*SearchHits) GetVersionId

func (x *SearchHits) GetVersionId() int32

func (*SearchHits) ProtoMessage

func (*SearchHits) ProtoMessage()

func (*SearchHits) ProtoReflect

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

func (*SearchHits) Reset

func (x *SearchHits) Reset()

func (*SearchHits) String

func (x *SearchHits) String() string

func (*SearchHits) Validate

func (m *SearchHits) Validate() error

Validate checks the field values on SearchHits 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 (*SearchHits) ValidateAll

func (m *SearchHits) ValidateAll() error

ValidateAll checks the field values on SearchHits 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 SearchHitsMultiError, or nil if none found.

type SearchHitsMultiError

type SearchHitsMultiError []error

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

func (SearchHitsMultiError) AllErrors

func (m SearchHitsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SearchHitsMultiError) Error

func (m SearchHitsMultiError) Error() string

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

type SearchHitsValidationError

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

SearchHitsValidationError is the validation error returned by SearchHits.Validate if the designated constraints aren't met.

func (SearchHitsValidationError) Cause

func (e SearchHitsValidationError) Cause() error

Cause function returns cause value.

func (SearchHitsValidationError) Error

Error satisfies the builtin error interface

func (SearchHitsValidationError) ErrorName

func (e SearchHitsValidationError) ErrorName() string

ErrorName returns error name.

func (SearchHitsValidationError) Field

Field function returns field value.

func (SearchHitsValidationError) Key

Key function returns key value.

func (SearchHitsValidationError) Reason

func (e SearchHitsValidationError) Reason() string

Reason function returns reason value.

type SearchMeta

type SearchMeta struct {
	Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchMeta) Descriptor deprecated

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

Deprecated: Use SearchMeta.ProtoReflect.Descriptor instead.

func (*SearchMeta) GetTotal

func (x *SearchMeta) GetTotal() uint32

func (*SearchMeta) ProtoMessage

func (*SearchMeta) ProtoMessage()

func (*SearchMeta) ProtoReflect

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

func (*SearchMeta) Reset

func (x *SearchMeta) Reset()

func (*SearchMeta) String

func (x *SearchMeta) String() string

func (*SearchMeta) Validate

func (m *SearchMeta) Validate() error

Validate checks the field values on SearchMeta 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 (*SearchMeta) ValidateAll

func (m *SearchMeta) ValidateAll() error

ValidateAll checks the field values on SearchMeta 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 SearchMetaMultiError, or nil if none found.

type SearchMetaMultiError

type SearchMetaMultiError []error

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

func (SearchMetaMultiError) AllErrors

func (m SearchMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SearchMetaMultiError) Error

func (m SearchMetaMultiError) Error() string

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

type SearchMetaValidationError

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

SearchMetaValidationError is the validation error returned by SearchMeta.Validate if the designated constraints aren't met.

func (SearchMetaValidationError) Cause

func (e SearchMetaValidationError) Cause() error

Cause function returns cause value.

func (SearchMetaValidationError) Error

Error satisfies the builtin error interface

func (SearchMetaValidationError) ErrorName

func (e SearchMetaValidationError) ErrorName() string

ErrorName returns error name.

func (SearchMetaValidationError) Field

Field function returns field value.

func (SearchMetaValidationError) Key

Key function returns key value.

func (SearchMetaValidationError) Reason

func (e SearchMetaValidationError) Reason() string

Reason function returns reason value.

type SearchRequest

type SearchRequest struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId    string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	Query       string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// Types that are assignable to Version:
	//	*SearchRequest_History
	//	*SearchRequest_VersionId
	Version isSearchRequest_Version `protobuf_oneof:"version"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

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

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetHistory

func (x *SearchRequest) GetHistory() bool

func (*SearchRequest) GetNamespaceId

func (x *SearchRequest) GetNamespaceId() string

func (*SearchRequest) GetQuery

func (x *SearchRequest) GetQuery() string

func (*SearchRequest) GetSchemaId

func (x *SearchRequest) GetSchemaId() string

func (*SearchRequest) GetVersion

func (m *SearchRequest) GetVersion() isSearchRequest_Version

func (*SearchRequest) GetVersionId

func (x *SearchRequest) GetVersionId() int32

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

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

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

func (*SearchRequest) Validate

func (m *SearchRequest) Validate() error

Validate checks the field values on SearchRequest 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 (*SearchRequest) ValidateAll

func (m *SearchRequest) ValidateAll() error

ValidateAll checks the field values on SearchRequest 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 SearchRequestMultiError, or nil if none found.

type SearchRequestMultiError

type SearchRequestMultiError []error

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

func (SearchRequestMultiError) AllErrors

func (m SearchRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SearchRequestMultiError) Error

func (m SearchRequestMultiError) Error() string

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

type SearchRequestValidationError

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

SearchRequestValidationError is the validation error returned by SearchRequest.Validate if the designated constraints aren't met.

func (SearchRequestValidationError) Cause

Cause function returns cause value.

func (SearchRequestValidationError) Error

Error satisfies the builtin error interface

func (SearchRequestValidationError) ErrorName

func (e SearchRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SearchRequestValidationError) Field

Field function returns field value.

func (SearchRequestValidationError) Key

Key function returns key value.

func (SearchRequestValidationError) Reason

Reason function returns reason value.

type SearchRequest_History

type SearchRequest_History struct {
	History bool `protobuf:"varint,4,opt,name=history,proto3,oneof"`
}

type SearchRequest_VersionId

type SearchRequest_VersionId struct {
	VersionId int32 `protobuf:"varint,5,opt,name=version_id,json=versionId,proto3,oneof"`
}

type SearchResponse

type SearchResponse struct {
	Hits []*SearchHits `protobuf:"bytes,1,rep,name=hits,proto3" json:"hits,omitempty"`
	Meta *SearchMeta   `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

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

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetHits

func (x *SearchResponse) GetHits() []*SearchHits

func (*SearchResponse) GetMeta

func (x *SearchResponse) GetMeta() *SearchMeta

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

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

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

func (*SearchResponse) Validate

func (m *SearchResponse) Validate() error

Validate checks the field values on SearchResponse 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 (*SearchResponse) ValidateAll

func (m *SearchResponse) ValidateAll() error

ValidateAll checks the field values on SearchResponse 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 SearchResponseMultiError, or nil if none found.

type SearchResponseMultiError

type SearchResponseMultiError []error

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

func (SearchResponseMultiError) AllErrors

func (m SearchResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SearchResponseMultiError) Error

func (m SearchResponseMultiError) Error() string

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

type SearchResponseValidationError

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

SearchResponseValidationError is the validation error returned by SearchResponse.Validate if the designated constraints aren't met.

func (SearchResponseValidationError) Cause

Cause function returns cause value.

func (SearchResponseValidationError) Error

Error satisfies the builtin error interface

func (SearchResponseValidationError) ErrorName

func (e SearchResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SearchResponseValidationError) Field

Field function returns field value.

func (SearchResponseValidationError) Key

Key function returns key value.

func (SearchResponseValidationError) Reason

Reason function returns reason value.

type StencilServiceClient

type StencilServiceClient interface {
	ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error)
	GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error)
	CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error)
	UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error)
	DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error)
	ListSchemas(ctx context.Context, in *ListSchemasRequest, opts ...grpc.CallOption) (*ListSchemasResponse, error)
	CreateSchema(ctx context.Context, in *CreateSchemaRequest, opts ...grpc.CallOption) (*CreateSchemaResponse, error)
	CheckCompatibility(ctx context.Context, in *CheckCompatibilityRequest, opts ...grpc.CallOption) (*CheckCompatibilityResponse, error)
	GetSchemaMetadata(ctx context.Context, in *GetSchemaMetadataRequest, opts ...grpc.CallOption) (*GetSchemaMetadataResponse, error)
	UpdateSchemaMetadata(ctx context.Context, in *UpdateSchemaMetadataRequest, opts ...grpc.CallOption) (*UpdateSchemaMetadataResponse, error)
	GetLatestSchema(ctx context.Context, in *GetLatestSchemaRequest, opts ...grpc.CallOption) (*GetLatestSchemaResponse, error)
	DeleteSchema(ctx context.Context, in *DeleteSchemaRequest, opts ...grpc.CallOption) (*DeleteSchemaResponse, error)
	GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaResponse, error)
	ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
	DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*DeleteVersionResponse, error)
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
}

StencilServiceClient is the client API for StencilService 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 StencilServiceServer

StencilServiceServer is the server API for StencilService service. All implementations must embed UnimplementedStencilServiceServer for forward compatibility

type UnimplementedStencilServiceServer

type UnimplementedStencilServiceServer struct {
}

UnimplementedStencilServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedStencilServiceServer) CheckCompatibility

func (UnimplementedStencilServiceServer) CreateNamespace

func (UnimplementedStencilServiceServer) CreateSchema

func (UnimplementedStencilServiceServer) DeleteNamespace

func (UnimplementedStencilServiceServer) DeleteSchema

func (UnimplementedStencilServiceServer) DeleteVersion

func (UnimplementedStencilServiceServer) GetLatestSchema

func (UnimplementedStencilServiceServer) GetNamespace

func (UnimplementedStencilServiceServer) GetSchema

func (UnimplementedStencilServiceServer) GetSchemaMetadata

func (UnimplementedStencilServiceServer) ListNamespaces

func (UnimplementedStencilServiceServer) ListSchemas

func (UnimplementedStencilServiceServer) ListVersions

func (UnimplementedStencilServiceServer) Search

func (UnimplementedStencilServiceServer) UpdateNamespace

type UnsafeStencilServiceServer

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

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

type UpdateNamespaceRequest

type UpdateNamespaceRequest struct {
	Id            string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Format        Schema_Format        `protobuf:"varint,2,opt,name=format,proto3,enum=goto.stencil.v1beta1.Schema_Format" json:"format,omitempty"`
	Compatibility Schema_Compatibility `` /* 127-byte string literal not displayed */
	Description   string               `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNamespaceRequest) Descriptor deprecated

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

Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*UpdateNamespaceRequest) GetCompatibility

func (x *UpdateNamespaceRequest) GetCompatibility() Schema_Compatibility

func (*UpdateNamespaceRequest) GetDescription

func (x *UpdateNamespaceRequest) GetDescription() string

func (*UpdateNamespaceRequest) GetFormat

func (x *UpdateNamespaceRequest) GetFormat() Schema_Format

func (*UpdateNamespaceRequest) GetId

func (x *UpdateNamespaceRequest) GetId() string

func (*UpdateNamespaceRequest) ProtoMessage

func (*UpdateNamespaceRequest) ProtoMessage()

func (*UpdateNamespaceRequest) ProtoReflect

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

func (*UpdateNamespaceRequest) Reset

func (x *UpdateNamespaceRequest) Reset()

func (*UpdateNamespaceRequest) String

func (x *UpdateNamespaceRequest) String() string

func (*UpdateNamespaceRequest) Validate

func (m *UpdateNamespaceRequest) Validate() error

Validate checks the field values on UpdateNamespaceRequest 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 (*UpdateNamespaceRequest) ValidateAll

func (m *UpdateNamespaceRequest) ValidateAll() error

ValidateAll checks the field values on UpdateNamespaceRequest 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 UpdateNamespaceRequestMultiError, or nil if none found.

type UpdateNamespaceRequestMultiError

type UpdateNamespaceRequestMultiError []error

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

func (UpdateNamespaceRequestMultiError) AllErrors

func (m UpdateNamespaceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateNamespaceRequestMultiError) Error

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

type UpdateNamespaceRequestValidationError

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

UpdateNamespaceRequestValidationError is the validation error returned by UpdateNamespaceRequest.Validate if the designated constraints aren't met.

func (UpdateNamespaceRequestValidationError) Cause

Cause function returns cause value.

func (UpdateNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateNamespaceRequestValidationError) Field

Field function returns field value.

func (UpdateNamespaceRequestValidationError) Key

Key function returns key value.

func (UpdateNamespaceRequestValidationError) Reason

Reason function returns reason value.

type UpdateNamespaceResponse

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

func (*UpdateNamespaceResponse) Descriptor deprecated

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

Deprecated: Use UpdateNamespaceResponse.ProtoReflect.Descriptor instead.

func (*UpdateNamespaceResponse) GetNamespace

func (x *UpdateNamespaceResponse) GetNamespace() *Namespace

func (*UpdateNamespaceResponse) ProtoMessage

func (*UpdateNamespaceResponse) ProtoMessage()

func (*UpdateNamespaceResponse) ProtoReflect

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

func (*UpdateNamespaceResponse) Reset

func (x *UpdateNamespaceResponse) Reset()

func (*UpdateNamespaceResponse) String

func (x *UpdateNamespaceResponse) String() string

func (*UpdateNamespaceResponse) Validate

func (m *UpdateNamespaceResponse) Validate() error

Validate checks the field values on UpdateNamespaceResponse 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 (*UpdateNamespaceResponse) ValidateAll

func (m *UpdateNamespaceResponse) ValidateAll() error

ValidateAll checks the field values on UpdateNamespaceResponse 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 UpdateNamespaceResponseMultiError, or nil if none found.

type UpdateNamespaceResponseMultiError

type UpdateNamespaceResponseMultiError []error

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

func (UpdateNamespaceResponseMultiError) AllErrors

func (m UpdateNamespaceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateNamespaceResponseMultiError) Error

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

type UpdateNamespaceResponseValidationError

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

UpdateNamespaceResponseValidationError is the validation error returned by UpdateNamespaceResponse.Validate if the designated constraints aren't met.

func (UpdateNamespaceResponseValidationError) Cause

Cause function returns cause value.

func (UpdateNamespaceResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateNamespaceResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateNamespaceResponseValidationError) Field

Field function returns field value.

func (UpdateNamespaceResponseValidationError) Key

Key function returns key value.

func (UpdateNamespaceResponseValidationError) Reason

Reason function returns reason value.

type UpdateSchemaMetadataRequest

type UpdateSchemaMetadataRequest struct {
	NamespaceId   string               `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	SchemaId      string               `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"`
	Compatibility Schema_Compatibility `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateSchemaMetadataRequest) Descriptor deprecated

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

Deprecated: Use UpdateSchemaMetadataRequest.ProtoReflect.Descriptor instead.

func (*UpdateSchemaMetadataRequest) GetCompatibility

func (x *UpdateSchemaMetadataRequest) GetCompatibility() Schema_Compatibility

func (*UpdateSchemaMetadataRequest) GetNamespaceId

func (x *UpdateSchemaMetadataRequest) GetNamespaceId() string

func (*UpdateSchemaMetadataRequest) GetSchemaId

func (x *UpdateSchemaMetadataRequest) GetSchemaId() string

func (*UpdateSchemaMetadataRequest) ProtoMessage

func (*UpdateSchemaMetadataRequest) ProtoMessage()

func (*UpdateSchemaMetadataRequest) ProtoReflect

func (*UpdateSchemaMetadataRequest) Reset

func (x *UpdateSchemaMetadataRequest) Reset()

func (*UpdateSchemaMetadataRequest) String

func (x *UpdateSchemaMetadataRequest) String() string

func (*UpdateSchemaMetadataRequest) Validate

func (m *UpdateSchemaMetadataRequest) Validate() error

Validate checks the field values on UpdateSchemaMetadataRequest 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 (*UpdateSchemaMetadataRequest) ValidateAll

func (m *UpdateSchemaMetadataRequest) ValidateAll() error

ValidateAll checks the field values on UpdateSchemaMetadataRequest 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 UpdateSchemaMetadataRequestMultiError, or nil if none found.

type UpdateSchemaMetadataRequestMultiError

type UpdateSchemaMetadataRequestMultiError []error

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

func (UpdateSchemaMetadataRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateSchemaMetadataRequestMultiError) Error

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

type UpdateSchemaMetadataRequestValidationError

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

UpdateSchemaMetadataRequestValidationError is the validation error returned by UpdateSchemaMetadataRequest.Validate if the designated constraints aren't met.

func (UpdateSchemaMetadataRequestValidationError) Cause

Cause function returns cause value.

func (UpdateSchemaMetadataRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateSchemaMetadataRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateSchemaMetadataRequestValidationError) Field

Field function returns field value.

func (UpdateSchemaMetadataRequestValidationError) Key

Key function returns key value.

func (UpdateSchemaMetadataRequestValidationError) Reason

Reason function returns reason value.

type UpdateSchemaMetadataResponse

type UpdateSchemaMetadataResponse struct {
	Format        Schema_Format        `protobuf:"varint,1,opt,name=format,proto3,enum=goto.stencil.v1beta1.Schema_Format" json:"format,omitempty"`
	Compatibility Schema_Compatibility `` /* 127-byte string literal not displayed */
	Authority     string               `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSchemaMetadataResponse) Descriptor deprecated

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

Deprecated: Use UpdateSchemaMetadataResponse.ProtoReflect.Descriptor instead.

func (*UpdateSchemaMetadataResponse) GetAuthority

func (x *UpdateSchemaMetadataResponse) GetAuthority() string

func (*UpdateSchemaMetadataResponse) GetCompatibility

func (x *UpdateSchemaMetadataResponse) GetCompatibility() Schema_Compatibility

func (*UpdateSchemaMetadataResponse) GetFormat

func (*UpdateSchemaMetadataResponse) ProtoMessage

func (*UpdateSchemaMetadataResponse) ProtoMessage()

func (*UpdateSchemaMetadataResponse) ProtoReflect

func (*UpdateSchemaMetadataResponse) Reset

func (x *UpdateSchemaMetadataResponse) Reset()

func (*UpdateSchemaMetadataResponse) String

func (*UpdateSchemaMetadataResponse) Validate

func (m *UpdateSchemaMetadataResponse) Validate() error

Validate checks the field values on UpdateSchemaMetadataResponse 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 (*UpdateSchemaMetadataResponse) ValidateAll

func (m *UpdateSchemaMetadataResponse) ValidateAll() error

ValidateAll checks the field values on UpdateSchemaMetadataResponse 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 UpdateSchemaMetadataResponseMultiError, or nil if none found.

type UpdateSchemaMetadataResponseMultiError

type UpdateSchemaMetadataResponseMultiError []error

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

func (UpdateSchemaMetadataResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateSchemaMetadataResponseMultiError) Error

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

type UpdateSchemaMetadataResponseValidationError

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

UpdateSchemaMetadataResponseValidationError is the validation error returned by UpdateSchemaMetadataResponse.Validate if the designated constraints aren't met.

func (UpdateSchemaMetadataResponseValidationError) Cause

Cause function returns cause value.

func (UpdateSchemaMetadataResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateSchemaMetadataResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateSchemaMetadataResponseValidationError) Field

Field function returns field value.

func (UpdateSchemaMetadataResponseValidationError) Key

Key function returns key value.

func (UpdateSchemaMetadataResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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