Documentation ¶
Overview ¶
Package resolverv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterResolverAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterResolverAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResolverAPIClient) error
- func RegisterResolverAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterResolverAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResolverAPIServer) error
- func RegisterResolverAPIServer(s grpc.ServiceRegistrar, srv ResolverAPIServer)
- type AutocompleteRequest
- func (*AutocompleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AutocompleteRequest) GetCaseSensitive() bool
- func (x *AutocompleteRequest) GetLimit() uint64
- func (x *AutocompleteRequest) GetSearch() string
- func (x *AutocompleteRequest) GetWant() string
- func (*AutocompleteRequest) ProtoMessage()
- func (x *AutocompleteRequest) ProtoReflect() protoreflect.Message
- func (x *AutocompleteRequest) Reset()
- func (x *AutocompleteRequest) String() string
- func (m *AutocompleteRequest) Validate() error
- func (m *AutocompleteRequest) ValidateAll() error
- type AutocompleteRequestMultiError
- type AutocompleteRequestValidationError
- func (e AutocompleteRequestValidationError) Cause() error
- func (e AutocompleteRequestValidationError) Error() string
- func (e AutocompleteRequestValidationError) ErrorName() string
- func (e AutocompleteRequestValidationError) Field() string
- func (e AutocompleteRequestValidationError) Key() bool
- func (e AutocompleteRequestValidationError) Reason() string
- type AutocompleteResponse
- func (*AutocompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AutocompleteResponse) GetResults() []*AutocompleteResult
- func (*AutocompleteResponse) ProtoMessage()
- func (x *AutocompleteResponse) ProtoReflect() protoreflect.Message
- func (x *AutocompleteResponse) Reset()
- func (x *AutocompleteResponse) String() string
- func (m *AutocompleteResponse) Validate() error
- func (m *AutocompleteResponse) ValidateAll() error
- type AutocompleteResponseMultiError
- type AutocompleteResponseValidationError
- func (e AutocompleteResponseValidationError) Cause() error
- func (e AutocompleteResponseValidationError) Error() string
- func (e AutocompleteResponseValidationError) ErrorName() string
- func (e AutocompleteResponseValidationError) Field() string
- func (e AutocompleteResponseValidationError) Key() bool
- func (e AutocompleteResponseValidationError) Reason() string
- type AutocompleteResult
- func (*AutocompleteResult) Descriptor() ([]byte, []int)deprecated
- func (x *AutocompleteResult) GetId() string
- func (x *AutocompleteResult) GetLabel() string
- func (*AutocompleteResult) ProtoMessage()
- func (x *AutocompleteResult) ProtoReflect() protoreflect.Message
- func (x *AutocompleteResult) Reset()
- func (x *AutocompleteResult) String() string
- func (m *AutocompleteResult) Validate() error
- func (m *AutocompleteResult) ValidateAll() error
- type AutocompleteResultMultiError
- type AutocompleteResultValidationError
- func (e AutocompleteResultValidationError) Cause() error
- func (e AutocompleteResultValidationError) Error() string
- func (e AutocompleteResultValidationError) ErrorName() string
- func (e AutocompleteResultValidationError) Field() string
- func (e AutocompleteResultValidationError) Key() bool
- func (e AutocompleteResultValidationError) Reason() string
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetMetadata() *FieldMetadata
- func (x *Field) GetName() string
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- func (m *Field) Validate() error
- func (m *Field) ValidateAll() error
- type FieldMetadata
- func (*FieldMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *FieldMetadata) GetDisplayName() string
- func (x *FieldMetadata) GetOptionField() *OptionField
- func (x *FieldMetadata) GetRequired() bool
- func (x *FieldMetadata) GetStringField() *StringField
- func (m *FieldMetadata) GetType() isFieldMetadata_Type
- func (*FieldMetadata) ProtoMessage()
- func (x *FieldMetadata) ProtoReflect() protoreflect.Message
- func (x *FieldMetadata) Reset()
- func (x *FieldMetadata) String() string
- func (m *FieldMetadata) Validate() error
- func (m *FieldMetadata) ValidateAll() error
- type FieldMetadataMultiError
- type FieldMetadataValidationError
- func (e FieldMetadataValidationError) Cause() error
- func (e FieldMetadataValidationError) Error() string
- func (e FieldMetadataValidationError) ErrorName() string
- func (e FieldMetadataValidationError) Field() string
- func (e FieldMetadataValidationError) Key() bool
- func (e FieldMetadataValidationError) Reason() string
- type FieldMetadata_OptionField
- type FieldMetadata_StringField
- type FieldMultiError
- type FieldValidationError
- type GetObjectSchemasRequest
- func (*GetObjectSchemasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectSchemasRequest) GetTypeUrl() string
- func (*GetObjectSchemasRequest) ProtoMessage()
- func (x *GetObjectSchemasRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectSchemasRequest) Reset()
- func (x *GetObjectSchemasRequest) String() string
- func (m *GetObjectSchemasRequest) Validate() error
- func (m *GetObjectSchemasRequest) ValidateAll() error
- type GetObjectSchemasRequestMultiError
- type GetObjectSchemasRequestValidationError
- func (e GetObjectSchemasRequestValidationError) Cause() error
- func (e GetObjectSchemasRequestValidationError) Error() string
- func (e GetObjectSchemasRequestValidationError) ErrorName() string
- func (e GetObjectSchemasRequestValidationError) Field() string
- func (e GetObjectSchemasRequestValidationError) Key() bool
- func (e GetObjectSchemasRequestValidationError) Reason() string
- type GetObjectSchemasResponse
- func (*GetObjectSchemasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectSchemasResponse) GetSchemas() []*Schema
- func (x *GetObjectSchemasResponse) GetTypeUrl() string
- func (*GetObjectSchemasResponse) ProtoMessage()
- func (x *GetObjectSchemasResponse) ProtoReflect() protoreflect.Message
- func (x *GetObjectSchemasResponse) Reset()
- func (x *GetObjectSchemasResponse) String() string
- func (m *GetObjectSchemasResponse) Validate() error
- func (m *GetObjectSchemasResponse) ValidateAll() error
- type GetObjectSchemasResponseMultiError
- type GetObjectSchemasResponseValidationError
- func (e GetObjectSchemasResponseValidationError) Cause() error
- func (e GetObjectSchemasResponseValidationError) Error() string
- func (e GetObjectSchemasResponseValidationError) ErrorName() string
- func (e GetObjectSchemasResponseValidationError) Field() string
- func (e GetObjectSchemasResponseValidationError) Key() bool
- func (e GetObjectSchemasResponseValidationError) Reason() string
- type Option
- func (*Option) Descriptor() ([]byte, []int)deprecated
- func (x *Option) GetDisplayName() string
- func (x *Option) GetStringValue() string
- func (m *Option) GetValue() isOption_Value
- func (*Option) ProtoMessage()
- func (x *Option) ProtoReflect() protoreflect.Message
- func (x *Option) Reset()
- func (x *Option) String() string
- func (m *Option) Validate() error
- func (m *Option) ValidateAll() error
- type OptionField
- func (*OptionField) Descriptor() ([]byte, []int)deprecated
- func (x *OptionField) GetIncludeAllOption() bool
- func (x *OptionField) GetIncludeDynamicOptions() []string
- func (x *OptionField) GetOptions() []*Option
- func (*OptionField) ProtoMessage()
- func (x *OptionField) ProtoReflect() protoreflect.Message
- func (x *OptionField) Reset()
- func (x *OptionField) String() string
- func (m *OptionField) Validate() error
- func (m *OptionField) ValidateAll() error
- type OptionFieldMultiError
- type OptionFieldValidationError
- func (e OptionFieldValidationError) Cause() error
- func (e OptionFieldValidationError) Error() string
- func (e OptionFieldValidationError) ErrorName() string
- func (e OptionFieldValidationError) Field() string
- func (e OptionFieldValidationError) Key() bool
- func (e OptionFieldValidationError) Reason() string
- type OptionMultiError
- type OptionValidationError
- type Option_StringValue
- type ResolveRequest
- func (*ResolveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveRequest) GetHave() *anypb.Any
- func (x *ResolveRequest) GetLimit() uint32
- func (x *ResolveRequest) GetWant() string
- func (*ResolveRequest) ProtoMessage()
- func (x *ResolveRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveRequest) Reset()
- func (x *ResolveRequest) String() string
- func (m *ResolveRequest) Validate() error
- func (m *ResolveRequest) ValidateAll() error
- type ResolveRequestMultiError
- type ResolveRequestValidationError
- func (e ResolveRequestValidationError) Cause() error
- func (e ResolveRequestValidationError) Error() string
- func (e ResolveRequestValidationError) ErrorName() string
- func (e ResolveRequestValidationError) Field() string
- func (e ResolveRequestValidationError) Key() bool
- func (e ResolveRequestValidationError) Reason() string
- type ResolveResponse
- func (*ResolveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveResponse) GetPartialFailures() []*status.Status
- func (x *ResolveResponse) GetResults() []*anypb.Any
- func (*ResolveResponse) ProtoMessage()
- func (x *ResolveResponse) ProtoReflect() protoreflect.Message
- func (x *ResolveResponse) Reset()
- func (x *ResolveResponse) String() string
- func (m *ResolveResponse) Validate() error
- func (m *ResolveResponse) ValidateAll() error
- type ResolveResponseMultiError
- type ResolveResponseValidationError
- func (e ResolveResponseValidationError) Cause() error
- func (e ResolveResponseValidationError) Error() string
- func (e ResolveResponseValidationError) ErrorName() string
- func (e ResolveResponseValidationError) Field() string
- func (e ResolveResponseValidationError) Key() bool
- func (e ResolveResponseValidationError) Reason() string
- type ResolverAPIClient
- type ResolverAPIServer
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetError() *status.Status
- func (x *Schema) GetFields() []*Field
- func (x *Schema) GetMetadata() *SchemaMetadata
- func (x *Schema) GetTypeUrl() string
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- func (m *Schema) Validate() error
- func (m *Schema) ValidateAll() error
- type SchemaMetadata
- func (*SchemaMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaMetadata) GetDisplayName() string
- func (x *SchemaMetadata) GetSearch() *SearchMetadata
- func (x *SchemaMetadata) GetSearchable() bool
- func (*SchemaMetadata) ProtoMessage()
- func (x *SchemaMetadata) ProtoReflect() protoreflect.Message
- func (x *SchemaMetadata) Reset()
- func (x *SchemaMetadata) String() string
- func (m *SchemaMetadata) Validate() error
- func (m *SchemaMetadata) ValidateAll() error
- type SchemaMetadataMultiError
- type SchemaMetadataValidationError
- func (e SchemaMetadataValidationError) Cause() error
- func (e SchemaMetadataValidationError) Error() string
- func (e SchemaMetadataValidationError) ErrorName() string
- func (e SchemaMetadataValidationError) Field() string
- func (e SchemaMetadataValidationError) Key() bool
- func (e SchemaMetadataValidationError) Reason() string
- type SchemaMultiError
- type SchemaValidationError
- type SearchMetadata
- func (*SearchMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMetadata) GetAutocompleteEnabled() bool
- func (x *SearchMetadata) GetEnabled() bool
- func (*SearchMetadata) ProtoMessage()
- func (x *SearchMetadata) ProtoReflect() protoreflect.Message
- func (x *SearchMetadata) Reset()
- func (x *SearchMetadata) String() string
- func (m *SearchMetadata) Validate() error
- func (m *SearchMetadata) ValidateAll() error
- type SearchMetadataMultiError
- type SearchMetadataValidationError
- func (e SearchMetadataValidationError) Cause() error
- func (e SearchMetadataValidationError) Error() string
- func (e SearchMetadataValidationError) ErrorName() string
- func (e SearchMetadataValidationError) Field() string
- func (e SearchMetadataValidationError) Key() bool
- func (e SearchMetadataValidationError) Reason() string
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetLimit() uint32
- func (x *SearchRequest) GetQuery() string
- func (x *SearchRequest) GetWant() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- func (m *SearchRequest) Validate() error
- func (m *SearchRequest) ValidateAll() error
- type SearchRequestMultiError
- type SearchRequestValidationError
- func (e SearchRequestValidationError) Cause() error
- func (e SearchRequestValidationError) Error() string
- func (e SearchRequestValidationError) ErrorName() string
- func (e SearchRequestValidationError) Field() string
- func (e SearchRequestValidationError) Key() bool
- func (e SearchRequestValidationError) Reason() string
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetPartialFailures() []*status.Status
- func (x *SearchResponse) GetResults() []*anypb.Any
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- func (m *SearchResponse) Validate() error
- func (m *SearchResponse) ValidateAll() error
- type SearchResponseMultiError
- type SearchResponseValidationError
- func (e SearchResponseValidationError) Cause() error
- func (e SearchResponseValidationError) Error() string
- func (e SearchResponseValidationError) ErrorName() string
- func (e SearchResponseValidationError) Field() string
- func (e SearchResponseValidationError) Key() bool
- func (e SearchResponseValidationError) Reason() string
- type StringField
- func (*StringField) Descriptor() ([]byte, []int)deprecated
- func (x *StringField) GetDefaultValue() string
- func (x *StringField) GetPlaceholder() string
- func (*StringField) ProtoMessage()
- func (x *StringField) ProtoReflect() protoreflect.Message
- func (x *StringField) Reset()
- func (x *StringField) String() string
- func (m *StringField) Validate() error
- func (m *StringField) ValidateAll() error
- type StringFieldMultiError
- type StringFieldValidationError
- func (e StringFieldValidationError) Cause() error
- func (e StringFieldValidationError) Error() string
- func (e StringFieldValidationError) ErrorName() string
- func (e StringFieldValidationError) Field() string
- func (e StringFieldValidationError) Key() bool
- func (e StringFieldValidationError) Reason() string
- type UnimplementedResolverAPIServer
- func (UnimplementedResolverAPIServer) Autocomplete(context.Context, *AutocompleteRequest) (*AutocompleteResponse, error)
- func (UnimplementedResolverAPIServer) GetObjectSchemas(context.Context, *GetObjectSchemasRequest) (*GetObjectSchemasResponse, error)
- func (UnimplementedResolverAPIServer) Resolve(context.Context, *ResolveRequest) (*ResolveResponse, error)
- func (UnimplementedResolverAPIServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
- type UnsafeResolverAPIServer
Constants ¶
const ( ResolverAPI_GetObjectSchemas_FullMethodName = "/clutch.resolver.v1.ResolverAPI/GetObjectSchemas" ResolverAPI_Search_FullMethodName = "/clutch.resolver.v1.ResolverAPI/Search" ResolverAPI_Resolve_FullMethodName = "/clutch.resolver.v1.ResolverAPI/Resolve" ResolverAPI_Autocomplete_FullMethodName = "/clutch.resolver.v1.ResolverAPI/Autocomplete" )
Variables ¶
var ( // Use a random high number that won't conflict with annotations from other // libraries. // // optional clutch.resolver.v1.SchemaMetadata schema = 59901; E_Schema = &file_resolver_v1_annotations_proto_extTypes[0] )
Extension fields to descriptorpb.MessageOptions.
var ( // Use a random high number that won't conflict with annotations from other // libraries. // // optional clutch.resolver.v1.FieldMetadata schema_field = 59901; E_SchemaField = &file_resolver_v1_annotations_proto_extTypes[1] )
Extension fields to descriptorpb.FieldOptions.
var File_resolver_v1_annotations_proto protoreflect.FileDescriptor
var File_resolver_v1_resolver_api_proto protoreflect.FileDescriptor
var File_resolver_v1_schema_proto protoreflect.FileDescriptor
var ResolverAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "clutch.resolver.v1.ResolverAPI", HandlerType: (*ResolverAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetObjectSchemas", Handler: _ResolverAPI_GetObjectSchemas_Handler, }, { MethodName: "Search", Handler: _ResolverAPI_Search_Handler, }, { MethodName: "Resolve", Handler: _ResolverAPI_Resolve_Handler, }, { MethodName: "Autocomplete", Handler: _ResolverAPI_Autocomplete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "resolver/v1/resolver_api.proto", }
ResolverAPI_ServiceDesc is the grpc.ServiceDesc for ResolverAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterResolverAPIHandler ¶
func RegisterResolverAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterResolverAPIHandler registers the http handlers for service ResolverAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterResolverAPIHandlerClient ¶
func RegisterResolverAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResolverAPIClient) error
RegisterResolverAPIHandlerClient registers the http handlers for service ResolverAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResolverAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResolverAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResolverAPIClient" to call the correct interceptors.
func RegisterResolverAPIHandlerFromEndpoint ¶
func RegisterResolverAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterResolverAPIHandlerFromEndpoint is same as RegisterResolverAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterResolverAPIHandlerServer ¶
func RegisterResolverAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResolverAPIServer) error
RegisterResolverAPIHandlerServer registers the http handlers for service ResolverAPI to "mux". UnaryRPC :call ResolverAPIServer 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 RegisterResolverAPIHandlerFromEndpoint instead.
func RegisterResolverAPIServer ¶
func RegisterResolverAPIServer(s grpc.ServiceRegistrar, srv ResolverAPIServer)
Types ¶
type AutocompleteRequest ¶
type AutocompleteRequest struct { // The type URL of the desired result. Want string `protobuf:"bytes,1,opt,name=want,proto3" json:"want,omitempty"` Search string `protobuf:"bytes,2,opt,name=search,proto3" json:"search,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // If true, the search will be case sensitive CaseSensitive bool `protobuf:"varint,4,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"` // contains filtered or unexported fields }
func (*AutocompleteRequest) Descriptor
deprecated
func (*AutocompleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use AutocompleteRequest.ProtoReflect.Descriptor instead.
func (*AutocompleteRequest) GetCaseSensitive ¶
func (x *AutocompleteRequest) GetCaseSensitive() bool
func (*AutocompleteRequest) GetLimit ¶
func (x *AutocompleteRequest) GetLimit() uint64
func (*AutocompleteRequest) GetSearch ¶
func (x *AutocompleteRequest) GetSearch() string
func (*AutocompleteRequest) GetWant ¶
func (x *AutocompleteRequest) GetWant() string
func (*AutocompleteRequest) ProtoMessage ¶
func (*AutocompleteRequest) ProtoMessage()
func (*AutocompleteRequest) ProtoReflect ¶
func (x *AutocompleteRequest) ProtoReflect() protoreflect.Message
func (*AutocompleteRequest) Reset ¶
func (x *AutocompleteRequest) Reset()
func (*AutocompleteRequest) String ¶
func (x *AutocompleteRequest) String() string
func (*AutocompleteRequest) Validate ¶
func (m *AutocompleteRequest) Validate() error
Validate checks the field values on AutocompleteRequest 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 (*AutocompleteRequest) ValidateAll ¶
func (m *AutocompleteRequest) ValidateAll() error
ValidateAll checks the field values on AutocompleteRequest 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 AutocompleteRequestMultiError, or nil if none found.
type AutocompleteRequestMultiError ¶
type AutocompleteRequestMultiError []error
AutocompleteRequestMultiError is an error wrapping multiple validation errors returned by AutocompleteRequest.ValidateAll() if the designated constraints aren't met.
func (AutocompleteRequestMultiError) AllErrors ¶
func (m AutocompleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AutocompleteRequestMultiError) Error ¶
func (m AutocompleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AutocompleteRequestValidationError ¶
type AutocompleteRequestValidationError struct {
// contains filtered or unexported fields
}
AutocompleteRequestValidationError is the validation error returned by AutocompleteRequest.Validate if the designated constraints aren't met.
func (AutocompleteRequestValidationError) Cause ¶
func (e AutocompleteRequestValidationError) Cause() error
Cause function returns cause value.
func (AutocompleteRequestValidationError) Error ¶
func (e AutocompleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AutocompleteRequestValidationError) ErrorName ¶
func (e AutocompleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AutocompleteRequestValidationError) Field ¶
func (e AutocompleteRequestValidationError) Field() string
Field function returns field value.
func (AutocompleteRequestValidationError) Key ¶
func (e AutocompleteRequestValidationError) Key() bool
Key function returns key value.
func (AutocompleteRequestValidationError) Reason ¶
func (e AutocompleteRequestValidationError) Reason() string
Reason function returns reason value.
type AutocompleteResponse ¶
type AutocompleteResponse struct { Results []*AutocompleteResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*AutocompleteResponse) Descriptor
deprecated
func (*AutocompleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use AutocompleteResponse.ProtoReflect.Descriptor instead.
func (*AutocompleteResponse) GetResults ¶
func (x *AutocompleteResponse) GetResults() []*AutocompleteResult
func (*AutocompleteResponse) ProtoMessage ¶
func (*AutocompleteResponse) ProtoMessage()
func (*AutocompleteResponse) ProtoReflect ¶
func (x *AutocompleteResponse) ProtoReflect() protoreflect.Message
func (*AutocompleteResponse) Reset ¶
func (x *AutocompleteResponse) Reset()
func (*AutocompleteResponse) String ¶
func (x *AutocompleteResponse) String() string
func (*AutocompleteResponse) Validate ¶
func (m *AutocompleteResponse) Validate() error
Validate checks the field values on AutocompleteResponse 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 (*AutocompleteResponse) ValidateAll ¶
func (m *AutocompleteResponse) ValidateAll() error
ValidateAll checks the field values on AutocompleteResponse 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 AutocompleteResponseMultiError, or nil if none found.
type AutocompleteResponseMultiError ¶
type AutocompleteResponseMultiError []error
AutocompleteResponseMultiError is an error wrapping multiple validation errors returned by AutocompleteResponse.ValidateAll() if the designated constraints aren't met.
func (AutocompleteResponseMultiError) AllErrors ¶
func (m AutocompleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AutocompleteResponseMultiError) Error ¶
func (m AutocompleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AutocompleteResponseValidationError ¶
type AutocompleteResponseValidationError struct {
// contains filtered or unexported fields
}
AutocompleteResponseValidationError is the validation error returned by AutocompleteResponse.Validate if the designated constraints aren't met.
func (AutocompleteResponseValidationError) Cause ¶
func (e AutocompleteResponseValidationError) Cause() error
Cause function returns cause value.
func (AutocompleteResponseValidationError) Error ¶
func (e AutocompleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AutocompleteResponseValidationError) ErrorName ¶
func (e AutocompleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AutocompleteResponseValidationError) Field ¶
func (e AutocompleteResponseValidationError) Field() string
Field function returns field value.
func (AutocompleteResponseValidationError) Key ¶
func (e AutocompleteResponseValidationError) Key() bool
Key function returns key value.
func (AutocompleteResponseValidationError) Reason ¶
func (e AutocompleteResponseValidationError) Reason() string
Reason function returns reason value.
type AutocompleteResult ¶
type AutocompleteResult struct { // The primary identifer of the resource // This value is used when rendering the autocomplete results on the frontend Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The label can provide more detailed information about the result // This is dispalyed inline with the auto complete result // eg: what region an ec2 instance resides in Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*AutocompleteResult) Descriptor
deprecated
func (*AutocompleteResult) Descriptor() ([]byte, []int)
Deprecated: Use AutocompleteResult.ProtoReflect.Descriptor instead.
func (*AutocompleteResult) GetId ¶
func (x *AutocompleteResult) GetId() string
func (*AutocompleteResult) GetLabel ¶
func (x *AutocompleteResult) GetLabel() string
func (*AutocompleteResult) ProtoMessage ¶
func (*AutocompleteResult) ProtoMessage()
func (*AutocompleteResult) ProtoReflect ¶
func (x *AutocompleteResult) ProtoReflect() protoreflect.Message
func (*AutocompleteResult) Reset ¶
func (x *AutocompleteResult) Reset()
func (*AutocompleteResult) String ¶
func (x *AutocompleteResult) String() string
func (*AutocompleteResult) Validate ¶
func (m *AutocompleteResult) Validate() error
Validate checks the field values on AutocompleteResult 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 (*AutocompleteResult) ValidateAll ¶
func (m *AutocompleteResult) ValidateAll() error
ValidateAll checks the field values on AutocompleteResult 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 AutocompleteResultMultiError, or nil if none found.
type AutocompleteResultMultiError ¶
type AutocompleteResultMultiError []error
AutocompleteResultMultiError is an error wrapping multiple validation errors returned by AutocompleteResult.ValidateAll() if the designated constraints aren't met.
func (AutocompleteResultMultiError) AllErrors ¶
func (m AutocompleteResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AutocompleteResultMultiError) Error ¶
func (m AutocompleteResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AutocompleteResultValidationError ¶
type AutocompleteResultValidationError struct {
// contains filtered or unexported fields
}
AutocompleteResultValidationError is the validation error returned by AutocompleteResult.Validate if the designated constraints aren't met.
func (AutocompleteResultValidationError) Cause ¶
func (e AutocompleteResultValidationError) Cause() error
Cause function returns cause value.
func (AutocompleteResultValidationError) Error ¶
func (e AutocompleteResultValidationError) Error() string
Error satisfies the builtin error interface
func (AutocompleteResultValidationError) ErrorName ¶
func (e AutocompleteResultValidationError) ErrorName() string
ErrorName returns error name.
func (AutocompleteResultValidationError) Field ¶
func (e AutocompleteResultValidationError) Field() string
Field function returns field value.
func (AutocompleteResultValidationError) Key ¶
func (e AutocompleteResultValidationError) Key() bool
Key function returns key value.
func (AutocompleteResultValidationError) Reason ¶
func (e AutocompleteResultValidationError) Reason() string
Reason function returns reason value.
type Field ¶
type Field struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Metadata *FieldMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetMetadata ¶
func (x *Field) GetMetadata() *FieldMetadata
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
func (*Field) Validate ¶
Validate checks the field values on Field 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 (*Field) ValidateAll ¶
ValidateAll checks the field values on Field 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 FieldMultiError, or nil if none found.
type FieldMetadata ¶
type FieldMetadata struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"` // Types that are assignable to Type: // // *FieldMetadata_StringField // *FieldMetadata_OptionField Type isFieldMetadata_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*FieldMetadata) Descriptor
deprecated
func (*FieldMetadata) Descriptor() ([]byte, []int)
Deprecated: Use FieldMetadata.ProtoReflect.Descriptor instead.
func (*FieldMetadata) GetDisplayName ¶
func (x *FieldMetadata) GetDisplayName() string
func (*FieldMetadata) GetOptionField ¶
func (x *FieldMetadata) GetOptionField() *OptionField
func (*FieldMetadata) GetRequired ¶
func (x *FieldMetadata) GetRequired() bool
func (*FieldMetadata) GetStringField ¶
func (x *FieldMetadata) GetStringField() *StringField
func (*FieldMetadata) GetType ¶
func (m *FieldMetadata) GetType() isFieldMetadata_Type
func (*FieldMetadata) ProtoMessage ¶
func (*FieldMetadata) ProtoMessage()
func (*FieldMetadata) ProtoReflect ¶
func (x *FieldMetadata) ProtoReflect() protoreflect.Message
func (*FieldMetadata) Reset ¶
func (x *FieldMetadata) Reset()
func (*FieldMetadata) String ¶
func (x *FieldMetadata) String() string
func (*FieldMetadata) Validate ¶
func (m *FieldMetadata) Validate() error
Validate checks the field values on FieldMetadata 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 (*FieldMetadata) ValidateAll ¶
func (m *FieldMetadata) ValidateAll() error
ValidateAll checks the field values on FieldMetadata 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 FieldMetadataMultiError, or nil if none found.
type FieldMetadataMultiError ¶
type FieldMetadataMultiError []error
FieldMetadataMultiError is an error wrapping multiple validation errors returned by FieldMetadata.ValidateAll() if the designated constraints aren't met.
func (FieldMetadataMultiError) AllErrors ¶
func (m FieldMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FieldMetadataMultiError) Error ¶
func (m FieldMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FieldMetadataValidationError ¶
type FieldMetadataValidationError struct {
// contains filtered or unexported fields
}
FieldMetadataValidationError is the validation error returned by FieldMetadata.Validate if the designated constraints aren't met.
func (FieldMetadataValidationError) Cause ¶
func (e FieldMetadataValidationError) Cause() error
Cause function returns cause value.
func (FieldMetadataValidationError) Error ¶
func (e FieldMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (FieldMetadataValidationError) ErrorName ¶
func (e FieldMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (FieldMetadataValidationError) Field ¶
func (e FieldMetadataValidationError) Field() string
Field function returns field value.
func (FieldMetadataValidationError) Key ¶
func (e FieldMetadataValidationError) Key() bool
Key function returns key value.
func (FieldMetadataValidationError) Reason ¶
func (e FieldMetadataValidationError) Reason() string
Reason function returns reason value.
type FieldMetadata_OptionField ¶
type FieldMetadata_OptionField struct {
OptionField *OptionField `protobuf:"bytes,4,opt,name=option_field,json=optionField,proto3,oneof"`
}
type FieldMetadata_StringField ¶
type FieldMetadata_StringField struct {
StringField *StringField `protobuf:"bytes,3,opt,name=string_field,json=stringField,proto3,oneof"`
}
type FieldMultiError ¶
type FieldMultiError []error
FieldMultiError is an error wrapping multiple validation errors returned by Field.ValidateAll() if the designated constraints aren't met.
func (FieldMultiError) AllErrors ¶
func (m FieldMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FieldMultiError) Error ¶
func (m FieldMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FieldValidationError ¶
type FieldValidationError struct {
// contains filtered or unexported fields
}
FieldValidationError is the validation error returned by Field.Validate if the designated constraints aren't met.
func (FieldValidationError) Cause ¶
func (e FieldValidationError) Cause() error
Cause function returns cause value.
func (FieldValidationError) Error ¶
func (e FieldValidationError) Error() string
Error satisfies the builtin error interface
func (FieldValidationError) ErrorName ¶
func (e FieldValidationError) ErrorName() string
ErrorName returns error name.
func (FieldValidationError) Field ¶
func (e FieldValidationError) Field() string
Field function returns field value.
func (FieldValidationError) Key ¶
func (e FieldValidationError) Key() bool
Key function returns key value.
func (FieldValidationError) Reason ¶
func (e FieldValidationError) Reason() string
Reason function returns reason value.
type GetObjectSchemasRequest ¶
type GetObjectSchemasRequest struct { TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` // contains filtered or unexported fields }
func (*GetObjectSchemasRequest) Descriptor
deprecated
func (*GetObjectSchemasRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectSchemasRequest.ProtoReflect.Descriptor instead.
func (*GetObjectSchemasRequest) GetTypeUrl ¶
func (x *GetObjectSchemasRequest) GetTypeUrl() string
func (*GetObjectSchemasRequest) ProtoMessage ¶
func (*GetObjectSchemasRequest) ProtoMessage()
func (*GetObjectSchemasRequest) ProtoReflect ¶
func (x *GetObjectSchemasRequest) ProtoReflect() protoreflect.Message
func (*GetObjectSchemasRequest) Reset ¶
func (x *GetObjectSchemasRequest) Reset()
func (*GetObjectSchemasRequest) String ¶
func (x *GetObjectSchemasRequest) String() string
func (*GetObjectSchemasRequest) Validate ¶
func (m *GetObjectSchemasRequest) Validate() error
Validate checks the field values on GetObjectSchemasRequest 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 (*GetObjectSchemasRequest) ValidateAll ¶
func (m *GetObjectSchemasRequest) ValidateAll() error
ValidateAll checks the field values on GetObjectSchemasRequest 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 GetObjectSchemasRequestMultiError, or nil if none found.
type GetObjectSchemasRequestMultiError ¶
type GetObjectSchemasRequestMultiError []error
GetObjectSchemasRequestMultiError is an error wrapping multiple validation errors returned by GetObjectSchemasRequest.ValidateAll() if the designated constraints aren't met.
func (GetObjectSchemasRequestMultiError) AllErrors ¶
func (m GetObjectSchemasRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetObjectSchemasRequestMultiError) Error ¶
func (m GetObjectSchemasRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetObjectSchemasRequestValidationError ¶
type GetObjectSchemasRequestValidationError struct {
// contains filtered or unexported fields
}
GetObjectSchemasRequestValidationError is the validation error returned by GetObjectSchemasRequest.Validate if the designated constraints aren't met.
func (GetObjectSchemasRequestValidationError) Cause ¶
func (e GetObjectSchemasRequestValidationError) Cause() error
Cause function returns cause value.
func (GetObjectSchemasRequestValidationError) Error ¶
func (e GetObjectSchemasRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetObjectSchemasRequestValidationError) ErrorName ¶
func (e GetObjectSchemasRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetObjectSchemasRequestValidationError) Field ¶
func (e GetObjectSchemasRequestValidationError) Field() string
Field function returns field value.
func (GetObjectSchemasRequestValidationError) Key ¶
func (e GetObjectSchemasRequestValidationError) Key() bool
Key function returns key value.
func (GetObjectSchemasRequestValidationError) Reason ¶
func (e GetObjectSchemasRequestValidationError) Reason() string
Reason function returns reason value.
type GetObjectSchemasResponse ¶
type GetObjectSchemasResponse struct { TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` Schemas []*Schema `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"` // contains filtered or unexported fields }
func (*GetObjectSchemasResponse) Descriptor
deprecated
func (*GetObjectSchemasResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectSchemasResponse.ProtoReflect.Descriptor instead.
func (*GetObjectSchemasResponse) GetSchemas ¶
func (x *GetObjectSchemasResponse) GetSchemas() []*Schema
func (*GetObjectSchemasResponse) GetTypeUrl ¶
func (x *GetObjectSchemasResponse) GetTypeUrl() string
func (*GetObjectSchemasResponse) ProtoMessage ¶
func (*GetObjectSchemasResponse) ProtoMessage()
func (*GetObjectSchemasResponse) ProtoReflect ¶
func (x *GetObjectSchemasResponse) ProtoReflect() protoreflect.Message
func (*GetObjectSchemasResponse) Reset ¶
func (x *GetObjectSchemasResponse) Reset()
func (*GetObjectSchemasResponse) String ¶
func (x *GetObjectSchemasResponse) String() string
func (*GetObjectSchemasResponse) Validate ¶
func (m *GetObjectSchemasResponse) Validate() error
Validate checks the field values on GetObjectSchemasResponse 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 (*GetObjectSchemasResponse) ValidateAll ¶
func (m *GetObjectSchemasResponse) ValidateAll() error
ValidateAll checks the field values on GetObjectSchemasResponse 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 GetObjectSchemasResponseMultiError, or nil if none found.
type GetObjectSchemasResponseMultiError ¶
type GetObjectSchemasResponseMultiError []error
GetObjectSchemasResponseMultiError is an error wrapping multiple validation errors returned by GetObjectSchemasResponse.ValidateAll() if the designated constraints aren't met.
func (GetObjectSchemasResponseMultiError) AllErrors ¶
func (m GetObjectSchemasResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetObjectSchemasResponseMultiError) Error ¶
func (m GetObjectSchemasResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetObjectSchemasResponseValidationError ¶
type GetObjectSchemasResponseValidationError struct {
// contains filtered or unexported fields
}
GetObjectSchemasResponseValidationError is the validation error returned by GetObjectSchemasResponse.Validate if the designated constraints aren't met.
func (GetObjectSchemasResponseValidationError) Cause ¶
func (e GetObjectSchemasResponseValidationError) Cause() error
Cause function returns cause value.
func (GetObjectSchemasResponseValidationError) Error ¶
func (e GetObjectSchemasResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetObjectSchemasResponseValidationError) ErrorName ¶
func (e GetObjectSchemasResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetObjectSchemasResponseValidationError) Field ¶
func (e GetObjectSchemasResponseValidationError) Field() string
Field function returns field value.
func (GetObjectSchemasResponseValidationError) Key ¶
func (e GetObjectSchemasResponseValidationError) Key() bool
Key function returns key value.
func (GetObjectSchemasResponseValidationError) Reason ¶
func (e GetObjectSchemasResponseValidationError) Reason() string
Reason function returns reason value.
type Option ¶
type Option struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Types that are assignable to Value: // // *Option_StringValue Value isOption_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Option) Descriptor
deprecated
func (*Option) GetDisplayName ¶
func (*Option) GetStringValue ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
func (*Option) Validate ¶
Validate checks the field values on Option 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 (*Option) ValidateAll ¶
ValidateAll checks the field values on Option 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 OptionMultiError, or nil if none found.
type OptionField ¶
type OptionField struct { IncludeAllOption bool `protobuf:"varint,1,opt,name=include_all_option,json=includeAllOption,proto3" json:"include_all_option,omitempty"` IncludeDynamicOptions []string `` /* 126-byte string literal not displayed */ Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*OptionField) Descriptor
deprecated
func (*OptionField) Descriptor() ([]byte, []int)
Deprecated: Use OptionField.ProtoReflect.Descriptor instead.
func (*OptionField) GetIncludeAllOption ¶
func (x *OptionField) GetIncludeAllOption() bool
func (*OptionField) GetIncludeDynamicOptions ¶
func (x *OptionField) GetIncludeDynamicOptions() []string
func (*OptionField) GetOptions ¶
func (x *OptionField) GetOptions() []*Option
func (*OptionField) ProtoMessage ¶
func (*OptionField) ProtoMessage()
func (*OptionField) ProtoReflect ¶
func (x *OptionField) ProtoReflect() protoreflect.Message
func (*OptionField) Reset ¶
func (x *OptionField) Reset()
func (*OptionField) String ¶
func (x *OptionField) String() string
func (*OptionField) Validate ¶
func (m *OptionField) Validate() error
Validate checks the field values on OptionField 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 (*OptionField) ValidateAll ¶
func (m *OptionField) ValidateAll() error
ValidateAll checks the field values on OptionField 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 OptionFieldMultiError, or nil if none found.
type OptionFieldMultiError ¶
type OptionFieldMultiError []error
OptionFieldMultiError is an error wrapping multiple validation errors returned by OptionField.ValidateAll() if the designated constraints aren't met.
func (OptionFieldMultiError) AllErrors ¶
func (m OptionFieldMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OptionFieldMultiError) Error ¶
func (m OptionFieldMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OptionFieldValidationError ¶
type OptionFieldValidationError struct {
// contains filtered or unexported fields
}
OptionFieldValidationError is the validation error returned by OptionField.Validate if the designated constraints aren't met.
func (OptionFieldValidationError) Cause ¶
func (e OptionFieldValidationError) Cause() error
Cause function returns cause value.
func (OptionFieldValidationError) Error ¶
func (e OptionFieldValidationError) Error() string
Error satisfies the builtin error interface
func (OptionFieldValidationError) ErrorName ¶
func (e OptionFieldValidationError) ErrorName() string
ErrorName returns error name.
func (OptionFieldValidationError) Field ¶
func (e OptionFieldValidationError) Field() string
Field function returns field value.
func (OptionFieldValidationError) Key ¶
func (e OptionFieldValidationError) Key() bool
Key function returns key value.
func (OptionFieldValidationError) Reason ¶
func (e OptionFieldValidationError) Reason() string
Reason function returns reason value.
type OptionMultiError ¶
type OptionMultiError []error
OptionMultiError is an error wrapping multiple validation errors returned by Option.ValidateAll() if the designated constraints aren't met.
func (OptionMultiError) AllErrors ¶
func (m OptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OptionMultiError) Error ¶
func (m OptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OptionValidationError ¶
type OptionValidationError struct {
// contains filtered or unexported fields
}
OptionValidationError is the validation error returned by Option.Validate if the designated constraints aren't met.
func (OptionValidationError) Cause ¶
func (e OptionValidationError) Cause() error
Cause function returns cause value.
func (OptionValidationError) Error ¶
func (e OptionValidationError) Error() string
Error satisfies the builtin error interface
func (OptionValidationError) ErrorName ¶
func (e OptionValidationError) ErrorName() string
ErrorName returns error name.
func (OptionValidationError) Field ¶
func (e OptionValidationError) Field() string
Field function returns field value.
func (OptionValidationError) Key ¶
func (e OptionValidationError) Key() bool
Key function returns key value.
func (OptionValidationError) Reason ¶
func (e OptionValidationError) Reason() string
Reason function returns reason value.
type Option_StringValue ¶
type Option_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type ResolveRequest ¶
type ResolveRequest struct { // The type URL of the desired result. Want string `protobuf:"bytes,1,opt,name=want,proto3" json:"want,omitempty"` // Filled in object schemas. Have *anypb.Any `protobuf:"bytes,2,opt,name=have,proto3" json:"have,omitempty"` // The maximum number of results to return. Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ResolveRequest) Descriptor
deprecated
func (*ResolveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveRequest.ProtoReflect.Descriptor instead.
func (*ResolveRequest) GetHave ¶
func (x *ResolveRequest) GetHave() *anypb.Any
func (*ResolveRequest) GetLimit ¶
func (x *ResolveRequest) GetLimit() uint32
func (*ResolveRequest) GetWant ¶
func (x *ResolveRequest) GetWant() string
func (*ResolveRequest) ProtoMessage ¶
func (*ResolveRequest) ProtoMessage()
func (*ResolveRequest) ProtoReflect ¶
func (x *ResolveRequest) ProtoReflect() protoreflect.Message
func (*ResolveRequest) Reset ¶
func (x *ResolveRequest) Reset()
func (*ResolveRequest) String ¶
func (x *ResolveRequest) String() string
func (*ResolveRequest) Validate ¶
func (m *ResolveRequest) Validate() error
Validate checks the field values on ResolveRequest 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 (*ResolveRequest) ValidateAll ¶
func (m *ResolveRequest) ValidateAll() error
ValidateAll checks the field values on ResolveRequest 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 ResolveRequestMultiError, or nil if none found.
type ResolveRequestMultiError ¶
type ResolveRequestMultiError []error
ResolveRequestMultiError is an error wrapping multiple validation errors returned by ResolveRequest.ValidateAll() if the designated constraints aren't met.
func (ResolveRequestMultiError) AllErrors ¶
func (m ResolveRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResolveRequestMultiError) Error ¶
func (m ResolveRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResolveRequestValidationError ¶
type ResolveRequestValidationError struct {
// contains filtered or unexported fields
}
ResolveRequestValidationError is the validation error returned by ResolveRequest.Validate if the designated constraints aren't met.
func (ResolveRequestValidationError) Cause ¶
func (e ResolveRequestValidationError) Cause() error
Cause function returns cause value.
func (ResolveRequestValidationError) Error ¶
func (e ResolveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResolveRequestValidationError) ErrorName ¶
func (e ResolveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResolveRequestValidationError) Field ¶
func (e ResolveRequestValidationError) Field() string
Field function returns field value.
func (ResolveRequestValidationError) Key ¶
func (e ResolveRequestValidationError) Key() bool
Key function returns key value.
func (ResolveRequestValidationError) Reason ¶
func (e ResolveRequestValidationError) Reason() string
Reason function returns reason value.
type ResolveResponse ¶
type ResolveResponse struct { Results []*anypb.Any `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // contains filtered or unexported fields }
func (*ResolveResponse) Descriptor
deprecated
func (*ResolveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveResponse.ProtoReflect.Descriptor instead.
func (*ResolveResponse) GetPartialFailures ¶
func (x *ResolveResponse) GetPartialFailures() []*status.Status
func (*ResolveResponse) GetResults ¶
func (x *ResolveResponse) GetResults() []*anypb.Any
func (*ResolveResponse) ProtoMessage ¶
func (*ResolveResponse) ProtoMessage()
func (*ResolveResponse) ProtoReflect ¶
func (x *ResolveResponse) ProtoReflect() protoreflect.Message
func (*ResolveResponse) Reset ¶
func (x *ResolveResponse) Reset()
func (*ResolveResponse) String ¶
func (x *ResolveResponse) String() string
func (*ResolveResponse) Validate ¶
func (m *ResolveResponse) Validate() error
Validate checks the field values on ResolveResponse 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 (*ResolveResponse) ValidateAll ¶
func (m *ResolveResponse) ValidateAll() error
ValidateAll checks the field values on ResolveResponse 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 ResolveResponseMultiError, or nil if none found.
type ResolveResponseMultiError ¶
type ResolveResponseMultiError []error
ResolveResponseMultiError is an error wrapping multiple validation errors returned by ResolveResponse.ValidateAll() if the designated constraints aren't met.
func (ResolveResponseMultiError) AllErrors ¶
func (m ResolveResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResolveResponseMultiError) Error ¶
func (m ResolveResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResolveResponseValidationError ¶
type ResolveResponseValidationError struct {
// contains filtered or unexported fields
}
ResolveResponseValidationError is the validation error returned by ResolveResponse.Validate if the designated constraints aren't met.
func (ResolveResponseValidationError) Cause ¶
func (e ResolveResponseValidationError) Cause() error
Cause function returns cause value.
func (ResolveResponseValidationError) Error ¶
func (e ResolveResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResolveResponseValidationError) ErrorName ¶
func (e ResolveResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResolveResponseValidationError) Field ¶
func (e ResolveResponseValidationError) Field() string
Field function returns field value.
func (ResolveResponseValidationError) Key ¶
func (e ResolveResponseValidationError) Key() bool
Key function returns key value.
func (ResolveResponseValidationError) Reason ¶
func (e ResolveResponseValidationError) Reason() string
Reason function returns reason value.
type ResolverAPIClient ¶
type ResolverAPIClient interface { GetObjectSchemas(ctx context.Context, in *GetObjectSchemasRequest, opts ...grpc.CallOption) (*GetObjectSchemasResponse, error) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) Resolve(ctx context.Context, in *ResolveRequest, opts ...grpc.CallOption) (*ResolveResponse, error) Autocomplete(ctx context.Context, in *AutocompleteRequest, opts ...grpc.CallOption) (*AutocompleteResponse, error) }
ResolverAPIClient is the client API for ResolverAPI 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.
func NewResolverAPIClient ¶
func NewResolverAPIClient(cc grpc.ClientConnInterface) ResolverAPIClient
type ResolverAPIServer ¶
type ResolverAPIServer interface { GetObjectSchemas(context.Context, *GetObjectSchemasRequest) (*GetObjectSchemasResponse, error) Search(context.Context, *SearchRequest) (*SearchResponse, error) Resolve(context.Context, *ResolveRequest) (*ResolveResponse, error) Autocomplete(context.Context, *AutocompleteRequest) (*AutocompleteResponse, error) }
ResolverAPIServer is the server API for ResolverAPI service. All implementations should embed UnimplementedResolverAPIServer for forward compatibility
type Schema ¶
type Schema struct { // The type URL of the object the schema was produced from, which becomes the 'have' type URL when submitting a // filled-in schema. TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` Metadata *SchemaMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Fields []*Field `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // If the schema is broken, e.g. a required option field is missing options, an error will be returned here to be // displayed when that schema is selected. Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Schema) Descriptor
deprecated
func (*Schema) GetMetadata ¶
func (x *Schema) GetMetadata() *SchemaMetadata
func (*Schema) GetTypeUrl ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
func (*Schema) Validate ¶
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 ¶
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 SchemaMetadata ¶
type SchemaMetadata struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Searchable has been replaced by SearchMetadata.enabled and will be deprecated soon Searchable bool `protobuf:"varint,2,opt,name=searchable,proto3" json:"searchable,omitempty"` Search *SearchMetadata `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"` // contains filtered or unexported fields }
func (*SchemaMetadata) Descriptor
deprecated
func (*SchemaMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SchemaMetadata.ProtoReflect.Descriptor instead.
func (*SchemaMetadata) GetDisplayName ¶
func (x *SchemaMetadata) GetDisplayName() string
func (*SchemaMetadata) GetSearch ¶
func (x *SchemaMetadata) GetSearch() *SearchMetadata
func (*SchemaMetadata) GetSearchable ¶
func (x *SchemaMetadata) GetSearchable() bool
func (*SchemaMetadata) ProtoMessage ¶
func (*SchemaMetadata) ProtoMessage()
func (*SchemaMetadata) ProtoReflect ¶
func (x *SchemaMetadata) ProtoReflect() protoreflect.Message
func (*SchemaMetadata) Reset ¶
func (x *SchemaMetadata) Reset()
func (*SchemaMetadata) String ¶
func (x *SchemaMetadata) String() string
func (*SchemaMetadata) Validate ¶
func (m *SchemaMetadata) Validate() error
Validate checks the field values on SchemaMetadata 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 (*SchemaMetadata) ValidateAll ¶
func (m *SchemaMetadata) ValidateAll() error
ValidateAll checks the field values on SchemaMetadata 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 SchemaMetadataMultiError, or nil if none found.
type SchemaMetadataMultiError ¶
type SchemaMetadataMultiError []error
SchemaMetadataMultiError is an error wrapping multiple validation errors returned by SchemaMetadata.ValidateAll() if the designated constraints aren't met.
func (SchemaMetadataMultiError) AllErrors ¶
func (m SchemaMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SchemaMetadataMultiError) Error ¶
func (m SchemaMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SchemaMetadataValidationError ¶
type SchemaMetadataValidationError struct {
// contains filtered or unexported fields
}
SchemaMetadataValidationError is the validation error returned by SchemaMetadata.Validate if the designated constraints aren't met.
func (SchemaMetadataValidationError) Cause ¶
func (e SchemaMetadataValidationError) Cause() error
Cause function returns cause value.
func (SchemaMetadataValidationError) Error ¶
func (e SchemaMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SchemaMetadataValidationError) ErrorName ¶
func (e SchemaMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SchemaMetadataValidationError) Field ¶
func (e SchemaMetadataValidationError) Field() string
Field function returns field value.
func (SchemaMetadataValidationError) Key ¶
func (e SchemaMetadataValidationError) Key() bool
Key function returns key value.
func (SchemaMetadataValidationError) Reason ¶
func (e SchemaMetadataValidationError) Reason() string
Reason function returns reason value.
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 SearchMetadata ¶
type SearchMetadata struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // This field is controlled by the backend resolver // Acting as a feature flag to the frontend which enables the autocomplete components AutocompleteEnabled bool `protobuf:"varint,2,opt,name=autocomplete_enabled,json=autocompleteEnabled,proto3" json:"autocomplete_enabled,omitempty"` // contains filtered or unexported fields }
func (*SearchMetadata) Descriptor
deprecated
func (*SearchMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SearchMetadata.ProtoReflect.Descriptor instead.
func (*SearchMetadata) GetAutocompleteEnabled ¶
func (x *SearchMetadata) GetAutocompleteEnabled() bool
func (*SearchMetadata) GetEnabled ¶
func (x *SearchMetadata) GetEnabled() bool
func (*SearchMetadata) ProtoMessage ¶
func (*SearchMetadata) ProtoMessage()
func (*SearchMetadata) ProtoReflect ¶
func (x *SearchMetadata) ProtoReflect() protoreflect.Message
func (*SearchMetadata) Reset ¶
func (x *SearchMetadata) Reset()
func (*SearchMetadata) String ¶
func (x *SearchMetadata) String() string
func (*SearchMetadata) Validate ¶
func (m *SearchMetadata) Validate() error
Validate checks the field values on SearchMetadata 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 (*SearchMetadata) ValidateAll ¶
func (m *SearchMetadata) ValidateAll() error
ValidateAll checks the field values on SearchMetadata 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 SearchMetadataMultiError, or nil if none found.
type SearchMetadataMultiError ¶
type SearchMetadataMultiError []error
SearchMetadataMultiError is an error wrapping multiple validation errors returned by SearchMetadata.ValidateAll() if the designated constraints aren't met.
func (SearchMetadataMultiError) AllErrors ¶
func (m SearchMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SearchMetadataMultiError) Error ¶
func (m SearchMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SearchMetadataValidationError ¶
type SearchMetadataValidationError struct {
// contains filtered or unexported fields
}
SearchMetadataValidationError is the validation error returned by SearchMetadata.Validate if the designated constraints aren't met.
func (SearchMetadataValidationError) Cause ¶
func (e SearchMetadataValidationError) Cause() error
Cause function returns cause value.
func (SearchMetadataValidationError) Error ¶
func (e SearchMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SearchMetadataValidationError) ErrorName ¶
func (e SearchMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SearchMetadataValidationError) Field ¶
func (e SearchMetadataValidationError) Field() string
Field function returns field value.
func (SearchMetadataValidationError) Key ¶
func (e SearchMetadataValidationError) Key() bool
Key function returns key value.
func (SearchMetadataValidationError) Reason ¶
func (e SearchMetadataValidationError) Reason() string
Reason function returns reason value.
type SearchRequest ¶
type SearchRequest struct { // The type URL of the desired result. Want string `protobuf:"bytes,1,opt,name=want,proto3" json:"want,omitempty"` // Free-form text query. Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // The maximum number of results to return. Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetLimit ¶
func (x *SearchRequest) GetLimit() uint32
func (*SearchRequest) GetQuery ¶
func (x *SearchRequest) GetQuery() string
func (*SearchRequest) GetWant ¶
func (x *SearchRequest) GetWant() string
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 ¶
func (e SearchRequestValidationError) Cause() error
Cause function returns cause value.
func (SearchRequestValidationError) Error ¶
func (e SearchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SearchRequestValidationError) ErrorName ¶
func (e SearchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SearchRequestValidationError) Field ¶
func (e SearchRequestValidationError) Field() string
Field function returns field value.
func (SearchRequestValidationError) Key ¶
func (e SearchRequestValidationError) Key() bool
Key function returns key value.
func (SearchRequestValidationError) Reason ¶
func (e SearchRequestValidationError) Reason() string
Reason function returns reason value.
type SearchResponse ¶
type SearchResponse struct { Results []*anypb.Any `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetPartialFailures ¶
func (x *SearchResponse) GetPartialFailures() []*status.Status
func (*SearchResponse) GetResults ¶
func (x *SearchResponse) GetResults() []*anypb.Any
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 ¶
func (e SearchResponseValidationError) Cause() error
Cause function returns cause value.
func (SearchResponseValidationError) Error ¶
func (e SearchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SearchResponseValidationError) ErrorName ¶
func (e SearchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SearchResponseValidationError) Field ¶
func (e SearchResponseValidationError) Field() string
Field function returns field value.
func (SearchResponseValidationError) Key ¶
func (e SearchResponseValidationError) Key() bool
Key function returns key value.
func (SearchResponseValidationError) Reason ¶
func (e SearchResponseValidationError) Reason() string
Reason function returns reason value.
type StringField ¶
type StringField struct { Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"` DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // contains filtered or unexported fields }
func (*StringField) Descriptor
deprecated
func (*StringField) Descriptor() ([]byte, []int)
Deprecated: Use StringField.ProtoReflect.Descriptor instead.
func (*StringField) GetDefaultValue ¶
func (x *StringField) GetDefaultValue() string
func (*StringField) GetPlaceholder ¶
func (x *StringField) GetPlaceholder() string
func (*StringField) ProtoMessage ¶
func (*StringField) ProtoMessage()
func (*StringField) ProtoReflect ¶
func (x *StringField) ProtoReflect() protoreflect.Message
func (*StringField) Reset ¶
func (x *StringField) Reset()
func (*StringField) String ¶
func (x *StringField) String() string
func (*StringField) Validate ¶
func (m *StringField) Validate() error
Validate checks the field values on StringField 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 (*StringField) ValidateAll ¶
func (m *StringField) ValidateAll() error
ValidateAll checks the field values on StringField 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 StringFieldMultiError, or nil if none found.
type StringFieldMultiError ¶
type StringFieldMultiError []error
StringFieldMultiError is an error wrapping multiple validation errors returned by StringField.ValidateAll() if the designated constraints aren't met.
func (StringFieldMultiError) AllErrors ¶
func (m StringFieldMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StringFieldMultiError) Error ¶
func (m StringFieldMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StringFieldValidationError ¶
type StringFieldValidationError struct {
// contains filtered or unexported fields
}
StringFieldValidationError is the validation error returned by StringField.Validate if the designated constraints aren't met.
func (StringFieldValidationError) Cause ¶
func (e StringFieldValidationError) Cause() error
Cause function returns cause value.
func (StringFieldValidationError) Error ¶
func (e StringFieldValidationError) Error() string
Error satisfies the builtin error interface
func (StringFieldValidationError) ErrorName ¶
func (e StringFieldValidationError) ErrorName() string
ErrorName returns error name.
func (StringFieldValidationError) Field ¶
func (e StringFieldValidationError) Field() string
Field function returns field value.
func (StringFieldValidationError) Key ¶
func (e StringFieldValidationError) Key() bool
Key function returns key value.
func (StringFieldValidationError) Reason ¶
func (e StringFieldValidationError) Reason() string
Reason function returns reason value.
type UnimplementedResolverAPIServer ¶
type UnimplementedResolverAPIServer struct { }
UnimplementedResolverAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedResolverAPIServer) Autocomplete ¶
func (UnimplementedResolverAPIServer) Autocomplete(context.Context, *AutocompleteRequest) (*AutocompleteResponse, error)
func (UnimplementedResolverAPIServer) GetObjectSchemas ¶
func (UnimplementedResolverAPIServer) GetObjectSchemas(context.Context, *GetObjectSchemasRequest) (*GetObjectSchemasResponse, error)
func (UnimplementedResolverAPIServer) Resolve ¶
func (UnimplementedResolverAPIServer) Resolve(context.Context, *ResolveRequest) (*ResolveResponse, error)
func (UnimplementedResolverAPIServer) Search ¶
func (UnimplementedResolverAPIServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
type UnsafeResolverAPIServer ¶
type UnsafeResolverAPIServer interface {
// contains filtered or unexported methods
}
UnsafeResolverAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResolverAPIServer will result in compilation errors.