Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCatalogServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCatalogServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CatalogServiceClient) error
- func RegisterCatalogServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCatalogServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CatalogServiceServer) error
- func RegisterCatalogServiceServer(s grpc.ServiceRegistrar, srv CatalogServiceServer)
- type Catalog
- func (*Catalog) Descriptor() ([]byte, []int)deprecated
- func (x *Catalog) GetCreateTime() *timestamppb.Timestamp
- func (x *Catalog) GetDisplayName() string
- func (x *Catalog) GetName() string
- func (x *Catalog) GetUid() string
- func (x *Catalog) GetUpdateTime() *timestamppb.Timestamp
- func (*Catalog) ProtoMessage()
- func (x *Catalog) ProtoReflect() protoreflect.Message
- func (x *Catalog) Reset()
- func (x *Catalog) String() string
- func (m *Catalog) Validate() error
- func (m *Catalog) ValidateAll() error
- type CatalogMultiError
- type CatalogServiceClient
- type CatalogServiceServer
- type CatalogValidationError
- type Company
- func (*Company) Descriptor() ([]byte, []int)deprecated
- func (x *Company) GetCreateTime() *timestamppb.Timestamp
- func (x *Company) GetDisplayName() string
- func (x *Company) GetName() string
- func (x *Company) GetUid() string
- func (x *Company) GetUpdateTime() *timestamppb.Timestamp
- func (*Company) ProtoMessage()
- func (x *Company) ProtoReflect() protoreflect.Message
- func (x *Company) Reset()
- func (x *Company) String() string
- func (m *Company) Validate() error
- func (m *Company) ValidateAll() error
- type CompanyMultiError
- type CompanyValidationError
- type CreateCatalogRequest
- func (*CreateCatalogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCatalogRequest) GetCatalog() *Catalog
- func (x *CreateCatalogRequest) GetParent() string
- func (*CreateCatalogRequest) ProtoMessage()
- func (x *CreateCatalogRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCatalogRequest) Reset()
- func (x *CreateCatalogRequest) String() string
- func (m *CreateCatalogRequest) Validate() error
- func (m *CreateCatalogRequest) ValidateAll() error
- type CreateCatalogRequestMultiError
- type CreateCatalogRequestValidationError
- func (e CreateCatalogRequestValidationError) Cause() error
- func (e CreateCatalogRequestValidationError) Error() string
- func (e CreateCatalogRequestValidationError) ErrorName() string
- func (e CreateCatalogRequestValidationError) Field() string
- func (e CreateCatalogRequestValidationError) Key() bool
- func (e CreateCatalogRequestValidationError) Reason() string
- type CreateCompanyRequest
- func (*CreateCompanyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCompanyRequest) GetCompany() *Company
- func (*CreateCompanyRequest) ProtoMessage()
- func (x *CreateCompanyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCompanyRequest) Reset()
- func (x *CreateCompanyRequest) String() string
- func (m *CreateCompanyRequest) Validate() error
- func (m *CreateCompanyRequest) ValidateAll() error
- type CreateCompanyRequestMultiError
- type CreateCompanyRequestValidationError
- func (e CreateCompanyRequestValidationError) Cause() error
- func (e CreateCompanyRequestValidationError) Error() string
- func (e CreateCompanyRequestValidationError) ErrorName() string
- func (e CreateCompanyRequestValidationError) Field() string
- func (e CreateCompanyRequestValidationError) Key() bool
- func (e CreateCompanyRequestValidationError) Reason() string
- type DeleteCatalogRequest
- func (*DeleteCatalogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCatalogRequest) GetForce() bool
- func (x *DeleteCatalogRequest) GetName() string
- func (*DeleteCatalogRequest) ProtoMessage()
- func (x *DeleteCatalogRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCatalogRequest) Reset()
- func (x *DeleteCatalogRequest) String() string
- func (m *DeleteCatalogRequest) Validate() error
- func (m *DeleteCatalogRequest) ValidateAll() error
- type DeleteCatalogRequestMultiError
- type DeleteCatalogRequestValidationError
- func (e DeleteCatalogRequestValidationError) Cause() error
- func (e DeleteCatalogRequestValidationError) Error() string
- func (e DeleteCatalogRequestValidationError) ErrorName() string
- func (e DeleteCatalogRequestValidationError) Field() string
- func (e DeleteCatalogRequestValidationError) Key() bool
- func (e DeleteCatalogRequestValidationError) Reason() string
- type DeleteCompanyRequest
- func (*DeleteCompanyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCompanyRequest) GetForce() bool
- func (x *DeleteCompanyRequest) GetName() string
- func (*DeleteCompanyRequest) ProtoMessage()
- func (x *DeleteCompanyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCompanyRequest) Reset()
- func (x *DeleteCompanyRequest) String() string
- func (m *DeleteCompanyRequest) Validate() error
- func (m *DeleteCompanyRequest) ValidateAll() error
- type DeleteCompanyRequestMultiError
- type DeleteCompanyRequestValidationError
- func (e DeleteCompanyRequestValidationError) Cause() error
- func (e DeleteCompanyRequestValidationError) Error() string
- func (e DeleteCompanyRequestValidationError) ErrorName() string
- func (e DeleteCompanyRequestValidationError) Field() string
- func (e DeleteCompanyRequestValidationError) Key() bool
- func (e DeleteCompanyRequestValidationError) Reason() string
- type GetCatalogRequest
- func (*GetCatalogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCatalogRequest) GetName() string
- func (*GetCatalogRequest) ProtoMessage()
- func (x *GetCatalogRequest) ProtoReflect() protoreflect.Message
- func (x *GetCatalogRequest) Reset()
- func (x *GetCatalogRequest) String() string
- func (m *GetCatalogRequest) Validate() error
- func (m *GetCatalogRequest) ValidateAll() error
- type GetCatalogRequestMultiError
- type GetCatalogRequestValidationError
- func (e GetCatalogRequestValidationError) Cause() error
- func (e GetCatalogRequestValidationError) Error() string
- func (e GetCatalogRequestValidationError) ErrorName() string
- func (e GetCatalogRequestValidationError) Field() string
- func (e GetCatalogRequestValidationError) Key() bool
- func (e GetCatalogRequestValidationError) Reason() string
- type GetCompanyRequest
- func (*GetCompanyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompanyRequest) GetName() string
- func (*GetCompanyRequest) ProtoMessage()
- func (x *GetCompanyRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompanyRequest) Reset()
- func (x *GetCompanyRequest) String() string
- func (m *GetCompanyRequest) Validate() error
- func (m *GetCompanyRequest) ValidateAll() error
- type GetCompanyRequestMultiError
- type GetCompanyRequestValidationError
- func (e GetCompanyRequestValidationError) Cause() error
- func (e GetCompanyRequestValidationError) Error() string
- func (e GetCompanyRequestValidationError) ErrorName() string
- func (e GetCompanyRequestValidationError) Field() string
- func (e GetCompanyRequestValidationError) Key() bool
- func (e GetCompanyRequestValidationError) Reason() string
- type ListCatalogsRequest
- func (*ListCatalogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCatalogsRequest) GetFilter() string
- func (x *ListCatalogsRequest) GetOrderBy() string
- func (x *ListCatalogsRequest) GetPageSize() int32
- func (x *ListCatalogsRequest) GetPageToken() string
- func (x *ListCatalogsRequest) GetParent() string
- func (*ListCatalogsRequest) ProtoMessage()
- func (x *ListCatalogsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCatalogsRequest) Reset()
- func (x *ListCatalogsRequest) String() string
- func (m *ListCatalogsRequest) Validate() error
- func (m *ListCatalogsRequest) ValidateAll() error
- type ListCatalogsRequestMultiError
- type ListCatalogsRequestValidationError
- func (e ListCatalogsRequestValidationError) Cause() error
- func (e ListCatalogsRequestValidationError) Error() string
- func (e ListCatalogsRequestValidationError) ErrorName() string
- func (e ListCatalogsRequestValidationError) Field() string
- func (e ListCatalogsRequestValidationError) Key() bool
- func (e ListCatalogsRequestValidationError) Reason() string
- type ListCatalogsResponse
- func (*ListCatalogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCatalogsResponse) GetCatalogs() []*Catalog
- func (x *ListCatalogsResponse) GetNextPageToken() string
- func (*ListCatalogsResponse) ProtoMessage()
- func (x *ListCatalogsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCatalogsResponse) Reset()
- func (x *ListCatalogsResponse) String() string
- func (m *ListCatalogsResponse) Validate() error
- func (m *ListCatalogsResponse) ValidateAll() error
- type ListCatalogsResponseMultiError
- type ListCatalogsResponseValidationError
- func (e ListCatalogsResponseValidationError) Cause() error
- func (e ListCatalogsResponseValidationError) Error() string
- func (e ListCatalogsResponseValidationError) ErrorName() string
- func (e ListCatalogsResponseValidationError) Field() string
- func (e ListCatalogsResponseValidationError) Key() bool
- func (e ListCatalogsResponseValidationError) Reason() string
- type ListCompaniesRequest
- func (*ListCompaniesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCompaniesRequest) GetFilter() string
- func (x *ListCompaniesRequest) GetOrderBy() string
- func (x *ListCompaniesRequest) GetPageSize() int32
- func (x *ListCompaniesRequest) GetPageToken() string
- func (*ListCompaniesRequest) ProtoMessage()
- func (x *ListCompaniesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCompaniesRequest) Reset()
- func (x *ListCompaniesRequest) String() string
- func (m *ListCompaniesRequest) Validate() error
- func (m *ListCompaniesRequest) ValidateAll() error
- type ListCompaniesRequestMultiError
- type ListCompaniesRequestValidationError
- func (e ListCompaniesRequestValidationError) Cause() error
- func (e ListCompaniesRequestValidationError) Error() string
- func (e ListCompaniesRequestValidationError) ErrorName() string
- func (e ListCompaniesRequestValidationError) Field() string
- func (e ListCompaniesRequestValidationError) Key() bool
- func (e ListCompaniesRequestValidationError) Reason() string
- type ListCompaniesResponse
- func (*ListCompaniesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCompaniesResponse) GetCompanies() []*Company
- func (x *ListCompaniesResponse) GetNextPageToken() string
- func (*ListCompaniesResponse) ProtoMessage()
- func (x *ListCompaniesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCompaniesResponse) Reset()
- func (x *ListCompaniesResponse) String() string
- func (m *ListCompaniesResponse) Validate() error
- func (m *ListCompaniesResponse) ValidateAll() error
- type ListCompaniesResponseMultiError
- type ListCompaniesResponseValidationError
- func (e ListCompaniesResponseValidationError) Cause() error
- func (e ListCompaniesResponseValidationError) Error() string
- func (e ListCompaniesResponseValidationError) ErrorName() string
- func (e ListCompaniesResponseValidationError) Field() string
- func (e ListCompaniesResponseValidationError) Key() bool
- func (e ListCompaniesResponseValidationError) Reason() string
- type UnimplementedCatalogServiceServer
- func (UnimplementedCatalogServiceServer) CreateCatalog(context.Context, *CreateCatalogRequest) (*Catalog, error)
- func (UnimplementedCatalogServiceServer) CreateCompany(context.Context, *CreateCompanyRequest) (*Company, error)
- func (UnimplementedCatalogServiceServer) DeleteCatalog(context.Context, *DeleteCatalogRequest) (*emptypb.Empty, error)
- func (UnimplementedCatalogServiceServer) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error)
- func (UnimplementedCatalogServiceServer) GetCatalog(context.Context, *GetCatalogRequest) (*Catalog, error)
- func (UnimplementedCatalogServiceServer) GetCompany(context.Context, *GetCompanyRequest) (*Company, error)
- func (UnimplementedCatalogServiceServer) ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error)
- func (UnimplementedCatalogServiceServer) ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error)
- func (UnimplementedCatalogServiceServer) UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error)
- func (UnimplementedCatalogServiceServer) UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error)
- type UnsafeCatalogServiceServer
- type UpdateCatalogRequest
- func (*UpdateCatalogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCatalogRequest) GetCatalog() *Catalog
- func (x *UpdateCatalogRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCatalogRequest) ProtoMessage()
- func (x *UpdateCatalogRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCatalogRequest) Reset()
- func (x *UpdateCatalogRequest) String() string
- func (m *UpdateCatalogRequest) Validate() error
- func (m *UpdateCatalogRequest) ValidateAll() error
- type UpdateCatalogRequestMultiError
- type UpdateCatalogRequestValidationError
- func (e UpdateCatalogRequestValidationError) Cause() error
- func (e UpdateCatalogRequestValidationError) Error() string
- func (e UpdateCatalogRequestValidationError) ErrorName() string
- func (e UpdateCatalogRequestValidationError) Field() string
- func (e UpdateCatalogRequestValidationError) Key() bool
- func (e UpdateCatalogRequestValidationError) Reason() string
- type UpdateCompanyRequest
- func (*UpdateCompanyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCompanyRequest) GetCompany() *Company
- func (x *UpdateCompanyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCompanyRequest) ProtoMessage()
- func (x *UpdateCompanyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCompanyRequest) Reset()
- func (x *UpdateCompanyRequest) String() string
- func (m *UpdateCompanyRequest) Validate() error
- func (m *UpdateCompanyRequest) ValidateAll() error
- type UpdateCompanyRequestMultiError
- type UpdateCompanyRequestValidationError
- func (e UpdateCompanyRequestValidationError) Cause() error
- func (e UpdateCompanyRequestValidationError) Error() string
- func (e UpdateCompanyRequestValidationError) ErrorName() string
- func (e UpdateCompanyRequestValidationError) Field() string
- func (e UpdateCompanyRequestValidationError) Key() bool
- func (e UpdateCompanyRequestValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var CatalogService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "catalog.v1.CatalogService", HandlerType: (*CatalogServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCompany", Handler: _CatalogService_CreateCompany_Handler, }, { MethodName: "GetCompany", Handler: _CatalogService_GetCompany_Handler, }, { MethodName: "ListCompanies", Handler: _CatalogService_ListCompanies_Handler, }, { MethodName: "UpdateCompany", Handler: _CatalogService_UpdateCompany_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "catalog/v1/catalog.proto", }
CatalogService_ServiceDesc is the grpc.ServiceDesc for CatalogService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CatalogService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "catalog.v1.CatalogService", HandlerType: (*CatalogServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCompany", Handler: _CatalogService_CreateCompany_Handler, }, { MethodName: "GetCompany", Handler: _CatalogService_GetCompany_Handler, }, { MethodName: "ListCompanies", Handler: _CatalogService_ListCompanies_Handler, }, { MethodName: "UpdateCompany", Handler: _CatalogService_UpdateCompany_Handler, }, { MethodName: "DeleteCompany", Handler: _CatalogService_DeleteCompany_Handler, }, { MethodName: "CreateCatalog", Handler: _CatalogService_CreateCatalog_Handler, }, { MethodName: "GetCatalog", Handler: _CatalogService_GetCatalog_Handler, }, { MethodName: "ListCatalogs", Handler: _CatalogService_ListCatalogs_Handler, }, { MethodName: "UpdateCatalog", Handler: _CatalogService_UpdateCatalog_Handler, }, { MethodName: "DeleteCatalog", Handler: _CatalogService_DeleteCatalog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "catalog/v1/catalog_service.proto", }
CatalogService_ServiceDesc is the grpc.ServiceDesc for CatalogService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_catalog_v1_catalog_proto protoreflect.FileDescriptor
var File_catalog_v1_catalog_service_proto protoreflect.FileDescriptor
var File_catalog_v1_company_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCatalogServiceHandler ¶
func RegisterCatalogServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCatalogServiceHandler registers the http handlers for service CatalogService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCatalogServiceHandlerClient ¶
func RegisterCatalogServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CatalogServiceClient) error
RegisterCatalogServiceHandlerClient registers the http handlers for service CatalogService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CatalogServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CatalogServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CatalogServiceClient" to call the correct interceptors.
func RegisterCatalogServiceHandlerFromEndpoint ¶
func RegisterCatalogServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCatalogServiceHandlerFromEndpoint is same as RegisterCatalogServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCatalogServiceHandlerServer ¶
func RegisterCatalogServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CatalogServiceServer) error
RegisterCatalogServiceHandlerServer registers the http handlers for service CatalogService to "mux". UnaryRPC :call CatalogServiceServer 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 RegisterCatalogServiceHandlerFromEndpoint instead.
func RegisterCatalogServiceServer ¶
func RegisterCatalogServiceServer(s grpc.ServiceRegistrar, srv CatalogServiceServer)
Types ¶
type Catalog ¶
type Catalog struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Catalog Stuff
func (*Catalog) Descriptor
deprecated
func (*Catalog) GetCreateTime ¶
func (x *Catalog) GetCreateTime() *timestamppb.Timestamp
func (*Catalog) GetDisplayName ¶
func (*Catalog) GetUpdateTime ¶
func (x *Catalog) GetUpdateTime() *timestamppb.Timestamp
func (*Catalog) ProtoMessage ¶
func (*Catalog) ProtoMessage()
func (*Catalog) ProtoReflect ¶
func (x *Catalog) ProtoReflect() protoreflect.Message
func (*Catalog) Validate ¶
Validate checks the field values on Catalog 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 (*Catalog) ValidateAll ¶
ValidateAll checks the field values on Catalog 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 CatalogMultiError, or nil if none found.
type CatalogMultiError ¶
type CatalogMultiError []error
CatalogMultiError is an error wrapping multiple validation errors returned by Catalog.ValidateAll() if the designated constraints aren't met.
func (CatalogMultiError) AllErrors ¶
func (m CatalogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CatalogMultiError) Error ¶
func (m CatalogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CatalogServiceClient ¶
type CatalogServiceClient interface { CreateCompany(ctx context.Context, in *CreateCompanyRequest, opts ...grpc.CallOption) (*Company, error) GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*Company, error) ListCompanies(ctx context.Context, in *ListCompaniesRequest, opts ...grpc.CallOption) (*ListCompaniesResponse, error) UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*Company, error) DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Catalog CRUD CreateCatalog(ctx context.Context, in *CreateCatalogRequest, opts ...grpc.CallOption) (*Catalog, error) GetCatalog(ctx context.Context, in *GetCatalogRequest, opts ...grpc.CallOption) (*Catalog, error) ListCatalogs(ctx context.Context, in *ListCatalogsRequest, opts ...grpc.CallOption) (*ListCatalogsResponse, error) UpdateCatalog(ctx context.Context, in *UpdateCatalogRequest, opts ...grpc.CallOption) (*Catalog, error) DeleteCatalog(ctx context.Context, in *DeleteCatalogRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
CatalogServiceClient is the client API for CatalogService 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 NewCatalogServiceClient ¶
func NewCatalogServiceClient(cc grpc.ClientConnInterface) CatalogServiceClient
type CatalogServiceServer ¶
type CatalogServiceServer interface { CreateCompany(context.Context, *CreateCompanyRequest) (*Company, error) GetCompany(context.Context, *GetCompanyRequest) (*Company, error) ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error) UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error) // Catalog CRUD CreateCatalog(context.Context, *CreateCatalogRequest) (*Catalog, error) GetCatalog(context.Context, *GetCatalogRequest) (*Catalog, error) ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error) UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error) DeleteCatalog(context.Context, *DeleteCatalogRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
CatalogServiceServer is the server API for CatalogService service. All implementations must embed UnimplementedCatalogServiceServer for forward compatibility
type CatalogValidationError ¶
type CatalogValidationError struct {
// contains filtered or unexported fields
}
CatalogValidationError is the validation error returned by Catalog.Validate if the designated constraints aren't met.
func (CatalogValidationError) Cause ¶
func (e CatalogValidationError) Cause() error
Cause function returns cause value.
func (CatalogValidationError) Error ¶
func (e CatalogValidationError) Error() string
Error satisfies the builtin error interface
func (CatalogValidationError) ErrorName ¶
func (e CatalogValidationError) ErrorName() string
ErrorName returns error name.
func (CatalogValidationError) Field ¶
func (e CatalogValidationError) Field() string
Field function returns field value.
func (CatalogValidationError) Key ¶
func (e CatalogValidationError) Key() bool
Key function returns key value.
func (CatalogValidationError) Reason ¶
func (e CatalogValidationError) Reason() string
Reason function returns reason value.
type Company ¶
type Company struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // shoud uid be unique - in google's apis they don't // specify IMMUTABLE Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Root object is a company
func (*Company) Descriptor
deprecated
func (*Company) GetCreateTime ¶
func (x *Company) GetCreateTime() *timestamppb.Timestamp
func (*Company) GetDisplayName ¶
func (*Company) GetUpdateTime ¶
func (x *Company) GetUpdateTime() *timestamppb.Timestamp
func (*Company) ProtoMessage ¶
func (*Company) ProtoMessage()
func (*Company) ProtoReflect ¶
func (x *Company) ProtoReflect() protoreflect.Message
func (*Company) Validate ¶
Validate checks the field values on Company 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 (*Company) ValidateAll ¶
ValidateAll checks the field values on Company 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 CompanyMultiError, or nil if none found.
type CompanyMultiError ¶
type CompanyMultiError []error
CompanyMultiError is an error wrapping multiple validation errors returned by Company.ValidateAll() if the designated constraints aren't met.
func (CompanyMultiError) AllErrors ¶
func (m CompanyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompanyMultiError) Error ¶
func (m CompanyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompanyValidationError ¶
type CompanyValidationError struct {
// contains filtered or unexported fields
}
CompanyValidationError is the validation error returned by Company.Validate if the designated constraints aren't met.
func (CompanyValidationError) Cause ¶
func (e CompanyValidationError) Cause() error
Cause function returns cause value.
func (CompanyValidationError) Error ¶
func (e CompanyValidationError) Error() string
Error satisfies the builtin error interface
func (CompanyValidationError) ErrorName ¶
func (e CompanyValidationError) ErrorName() string
ErrorName returns error name.
func (CompanyValidationError) Field ¶
func (e CompanyValidationError) Field() string
Field function returns field value.
func (CompanyValidationError) Key ¶
func (e CompanyValidationError) Key() bool
Key function returns key value.
func (CompanyValidationError) Reason ¶
func (e CompanyValidationError) Reason() string
Reason function returns reason value.
type CreateCatalogRequest ¶
type CreateCatalogRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Catalog *Catalog `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"` // contains filtered or unexported fields }
func (*CreateCatalogRequest) Descriptor
deprecated
func (*CreateCatalogRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCatalogRequest.ProtoReflect.Descriptor instead.
func (*CreateCatalogRequest) GetCatalog ¶
func (x *CreateCatalogRequest) GetCatalog() *Catalog
func (*CreateCatalogRequest) GetParent ¶
func (x *CreateCatalogRequest) GetParent() string
func (*CreateCatalogRequest) ProtoMessage ¶
func (*CreateCatalogRequest) ProtoMessage()
func (*CreateCatalogRequest) ProtoReflect ¶
func (x *CreateCatalogRequest) ProtoReflect() protoreflect.Message
func (*CreateCatalogRequest) Reset ¶
func (x *CreateCatalogRequest) Reset()
func (*CreateCatalogRequest) String ¶
func (x *CreateCatalogRequest) String() string
func (*CreateCatalogRequest) Validate ¶
func (m *CreateCatalogRequest) Validate() error
Validate checks the field values on CreateCatalogRequest 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 (*CreateCatalogRequest) ValidateAll ¶
func (m *CreateCatalogRequest) ValidateAll() error
ValidateAll checks the field values on CreateCatalogRequest 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 CreateCatalogRequestMultiError, or nil if none found.
type CreateCatalogRequestMultiError ¶
type CreateCatalogRequestMultiError []error
CreateCatalogRequestMultiError is an error wrapping multiple validation errors returned by CreateCatalogRequest.ValidateAll() if the designated constraints aren't met.
func (CreateCatalogRequestMultiError) AllErrors ¶
func (m CreateCatalogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateCatalogRequestMultiError) Error ¶
func (m CreateCatalogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateCatalogRequestValidationError ¶
type CreateCatalogRequestValidationError struct {
// contains filtered or unexported fields
}
CreateCatalogRequestValidationError is the validation error returned by CreateCatalogRequest.Validate if the designated constraints aren't met.
func (CreateCatalogRequestValidationError) Cause ¶
func (e CreateCatalogRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateCatalogRequestValidationError) Error ¶
func (e CreateCatalogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCatalogRequestValidationError) ErrorName ¶
func (e CreateCatalogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCatalogRequestValidationError) Field ¶
func (e CreateCatalogRequestValidationError) Field() string
Field function returns field value.
func (CreateCatalogRequestValidationError) Key ¶
func (e CreateCatalogRequestValidationError) Key() bool
Key function returns key value.
func (CreateCatalogRequestValidationError) Reason ¶
func (e CreateCatalogRequestValidationError) Reason() string
Reason function returns reason value.
type CreateCompanyRequest ¶
type CreateCompanyRequest struct { Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"` // contains filtered or unexported fields }
func (*CreateCompanyRequest) Descriptor
deprecated
func (*CreateCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCompanyRequest.ProtoReflect.Descriptor instead.
func (*CreateCompanyRequest) GetCompany ¶
func (x *CreateCompanyRequest) GetCompany() *Company
func (*CreateCompanyRequest) ProtoMessage ¶
func (*CreateCompanyRequest) ProtoMessage()
func (*CreateCompanyRequest) ProtoReflect ¶
func (x *CreateCompanyRequest) ProtoReflect() protoreflect.Message
func (*CreateCompanyRequest) Reset ¶
func (x *CreateCompanyRequest) Reset()
func (*CreateCompanyRequest) String ¶
func (x *CreateCompanyRequest) String() string
func (*CreateCompanyRequest) Validate ¶
func (m *CreateCompanyRequest) Validate() error
Validate checks the field values on CreateCompanyRequest 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 (*CreateCompanyRequest) ValidateAll ¶
func (m *CreateCompanyRequest) ValidateAll() error
ValidateAll checks the field values on CreateCompanyRequest 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 CreateCompanyRequestMultiError, or nil if none found.
type CreateCompanyRequestMultiError ¶
type CreateCompanyRequestMultiError []error
CreateCompanyRequestMultiError is an error wrapping multiple validation errors returned by CreateCompanyRequest.ValidateAll() if the designated constraints aren't met.
func (CreateCompanyRequestMultiError) AllErrors ¶
func (m CreateCompanyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateCompanyRequestMultiError) Error ¶
func (m CreateCompanyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateCompanyRequestValidationError ¶
type CreateCompanyRequestValidationError struct {
// contains filtered or unexported fields
}
CreateCompanyRequestValidationError is the validation error returned by CreateCompanyRequest.Validate if the designated constraints aren't met.
func (CreateCompanyRequestValidationError) Cause ¶
func (e CreateCompanyRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateCompanyRequestValidationError) Error ¶
func (e CreateCompanyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCompanyRequestValidationError) ErrorName ¶
func (e CreateCompanyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCompanyRequestValidationError) Field ¶
func (e CreateCompanyRequestValidationError) Field() string
Field function returns field value.
func (CreateCompanyRequestValidationError) Key ¶
func (e CreateCompanyRequestValidationError) Key() bool
Key function returns key value.
func (CreateCompanyRequestValidationError) Reason ¶
func (e CreateCompanyRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteCatalogRequest ¶
type DeleteCatalogRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*DeleteCatalogRequest) Descriptor
deprecated
func (*DeleteCatalogRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCatalogRequest.ProtoReflect.Descriptor instead.
func (*DeleteCatalogRequest) GetForce ¶
func (x *DeleteCatalogRequest) GetForce() bool
func (*DeleteCatalogRequest) GetName ¶
func (x *DeleteCatalogRequest) GetName() string
func (*DeleteCatalogRequest) ProtoMessage ¶
func (*DeleteCatalogRequest) ProtoMessage()
func (*DeleteCatalogRequest) ProtoReflect ¶
func (x *DeleteCatalogRequest) ProtoReflect() protoreflect.Message
func (*DeleteCatalogRequest) Reset ¶
func (x *DeleteCatalogRequest) Reset()
func (*DeleteCatalogRequest) String ¶
func (x *DeleteCatalogRequest) String() string
func (*DeleteCatalogRequest) Validate ¶
func (m *DeleteCatalogRequest) Validate() error
Validate checks the field values on DeleteCatalogRequest 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 (*DeleteCatalogRequest) ValidateAll ¶
func (m *DeleteCatalogRequest) ValidateAll() error
ValidateAll checks the field values on DeleteCatalogRequest 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 DeleteCatalogRequestMultiError, or nil if none found.
type DeleteCatalogRequestMultiError ¶
type DeleteCatalogRequestMultiError []error
DeleteCatalogRequestMultiError is an error wrapping multiple validation errors returned by DeleteCatalogRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteCatalogRequestMultiError) AllErrors ¶
func (m DeleteCatalogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCatalogRequestMultiError) Error ¶
func (m DeleteCatalogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCatalogRequestValidationError ¶
type DeleteCatalogRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCatalogRequestValidationError is the validation error returned by DeleteCatalogRequest.Validate if the designated constraints aren't met.
func (DeleteCatalogRequestValidationError) Cause ¶
func (e DeleteCatalogRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCatalogRequestValidationError) Error ¶
func (e DeleteCatalogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCatalogRequestValidationError) ErrorName ¶
func (e DeleteCatalogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCatalogRequestValidationError) Field ¶
func (e DeleteCatalogRequestValidationError) Field() string
Field function returns field value.
func (DeleteCatalogRequestValidationError) Key ¶
func (e DeleteCatalogRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCatalogRequestValidationError) Reason ¶
func (e DeleteCatalogRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteCompanyRequest ¶
type DeleteCompanyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // https://google.aip.dev/135 - cascade delete // must fail if not provided Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*DeleteCompanyRequest) Descriptor
deprecated
func (*DeleteCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCompanyRequest.ProtoReflect.Descriptor instead.
func (*DeleteCompanyRequest) GetForce ¶
func (x *DeleteCompanyRequest) GetForce() bool
func (*DeleteCompanyRequest) GetName ¶
func (x *DeleteCompanyRequest) GetName() string
func (*DeleteCompanyRequest) ProtoMessage ¶
func (*DeleteCompanyRequest) ProtoMessage()
func (*DeleteCompanyRequest) ProtoReflect ¶
func (x *DeleteCompanyRequest) ProtoReflect() protoreflect.Message
func (*DeleteCompanyRequest) Reset ¶
func (x *DeleteCompanyRequest) Reset()
func (*DeleteCompanyRequest) String ¶
func (x *DeleteCompanyRequest) String() string
func (*DeleteCompanyRequest) Validate ¶
func (m *DeleteCompanyRequest) Validate() error
Validate checks the field values on DeleteCompanyRequest 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 (*DeleteCompanyRequest) ValidateAll ¶
func (m *DeleteCompanyRequest) ValidateAll() error
ValidateAll checks the field values on DeleteCompanyRequest 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 DeleteCompanyRequestMultiError, or nil if none found.
type DeleteCompanyRequestMultiError ¶
type DeleteCompanyRequestMultiError []error
DeleteCompanyRequestMultiError is an error wrapping multiple validation errors returned by DeleteCompanyRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteCompanyRequestMultiError) AllErrors ¶
func (m DeleteCompanyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCompanyRequestMultiError) Error ¶
func (m DeleteCompanyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCompanyRequestValidationError ¶
type DeleteCompanyRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCompanyRequestValidationError is the validation error returned by DeleteCompanyRequest.Validate if the designated constraints aren't met.
func (DeleteCompanyRequestValidationError) Cause ¶
func (e DeleteCompanyRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCompanyRequestValidationError) Error ¶
func (e DeleteCompanyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCompanyRequestValidationError) ErrorName ¶
func (e DeleteCompanyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCompanyRequestValidationError) Field ¶
func (e DeleteCompanyRequestValidationError) Field() string
Field function returns field value.
func (DeleteCompanyRequestValidationError) Key ¶
func (e DeleteCompanyRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCompanyRequestValidationError) Reason ¶
func (e DeleteCompanyRequestValidationError) Reason() string
Reason function returns reason value.
type GetCatalogRequest ¶
type GetCatalogRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetCatalogRequest) Descriptor
deprecated
func (*GetCatalogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCatalogRequest.ProtoReflect.Descriptor instead.
func (*GetCatalogRequest) GetName ¶
func (x *GetCatalogRequest) GetName() string
func (*GetCatalogRequest) ProtoMessage ¶
func (*GetCatalogRequest) ProtoMessage()
func (*GetCatalogRequest) ProtoReflect ¶
func (x *GetCatalogRequest) ProtoReflect() protoreflect.Message
func (*GetCatalogRequest) Reset ¶
func (x *GetCatalogRequest) Reset()
func (*GetCatalogRequest) String ¶
func (x *GetCatalogRequest) String() string
func (*GetCatalogRequest) Validate ¶
func (m *GetCatalogRequest) Validate() error
Validate checks the field values on GetCatalogRequest 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 (*GetCatalogRequest) ValidateAll ¶
func (m *GetCatalogRequest) ValidateAll() error
ValidateAll checks the field values on GetCatalogRequest 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 GetCatalogRequestMultiError, or nil if none found.
type GetCatalogRequestMultiError ¶
type GetCatalogRequestMultiError []error
GetCatalogRequestMultiError is an error wrapping multiple validation errors returned by GetCatalogRequest.ValidateAll() if the designated constraints aren't met.
func (GetCatalogRequestMultiError) AllErrors ¶
func (m GetCatalogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCatalogRequestMultiError) Error ¶
func (m GetCatalogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCatalogRequestValidationError ¶
type GetCatalogRequestValidationError struct {
// contains filtered or unexported fields
}
GetCatalogRequestValidationError is the validation error returned by GetCatalogRequest.Validate if the designated constraints aren't met.
func (GetCatalogRequestValidationError) Cause ¶
func (e GetCatalogRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCatalogRequestValidationError) Error ¶
func (e GetCatalogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCatalogRequestValidationError) ErrorName ¶
func (e GetCatalogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCatalogRequestValidationError) Field ¶
func (e GetCatalogRequestValidationError) Field() string
Field function returns field value.
func (GetCatalogRequestValidationError) Key ¶
func (e GetCatalogRequestValidationError) Key() bool
Key function returns key value.
func (GetCatalogRequestValidationError) Reason ¶
func (e GetCatalogRequestValidationError) Reason() string
Reason function returns reason value.
type GetCompanyRequest ¶
type GetCompanyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetCompanyRequest) Descriptor
deprecated
func (*GetCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCompanyRequest.ProtoReflect.Descriptor instead.
func (*GetCompanyRequest) GetName ¶
func (x *GetCompanyRequest) GetName() string
func (*GetCompanyRequest) ProtoMessage ¶
func (*GetCompanyRequest) ProtoMessage()
func (*GetCompanyRequest) ProtoReflect ¶
func (x *GetCompanyRequest) ProtoReflect() protoreflect.Message
func (*GetCompanyRequest) Reset ¶
func (x *GetCompanyRequest) Reset()
func (*GetCompanyRequest) String ¶
func (x *GetCompanyRequest) String() string
func (*GetCompanyRequest) Validate ¶
func (m *GetCompanyRequest) Validate() error
Validate checks the field values on GetCompanyRequest 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 (*GetCompanyRequest) ValidateAll ¶
func (m *GetCompanyRequest) ValidateAll() error
ValidateAll checks the field values on GetCompanyRequest 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 GetCompanyRequestMultiError, or nil if none found.
type GetCompanyRequestMultiError ¶
type GetCompanyRequestMultiError []error
GetCompanyRequestMultiError is an error wrapping multiple validation errors returned by GetCompanyRequest.ValidateAll() if the designated constraints aren't met.
func (GetCompanyRequestMultiError) AllErrors ¶
func (m GetCompanyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCompanyRequestMultiError) Error ¶
func (m GetCompanyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCompanyRequestValidationError ¶
type GetCompanyRequestValidationError struct {
// contains filtered or unexported fields
}
GetCompanyRequestValidationError is the validation error returned by GetCompanyRequest.Validate if the designated constraints aren't met.
func (GetCompanyRequestValidationError) Cause ¶
func (e GetCompanyRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCompanyRequestValidationError) Error ¶
func (e GetCompanyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCompanyRequestValidationError) ErrorName ¶
func (e GetCompanyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCompanyRequestValidationError) Field ¶
func (e GetCompanyRequestValidationError) Field() string
Field function returns field value.
func (GetCompanyRequestValidationError) Key ¶
func (e GetCompanyRequestValidationError) Key() bool
Key function returns key value.
func (GetCompanyRequestValidationError) Reason ¶
func (e GetCompanyRequestValidationError) Reason() string
Reason function returns reason value.
type ListCatalogsRequest ¶
type ListCatalogsRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListCatalogsRequest) Descriptor
deprecated
func (*ListCatalogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCatalogsRequest.ProtoReflect.Descriptor instead.
func (*ListCatalogsRequest) GetFilter ¶
func (x *ListCatalogsRequest) GetFilter() string
func (*ListCatalogsRequest) GetOrderBy ¶
func (x *ListCatalogsRequest) GetOrderBy() string
func (*ListCatalogsRequest) GetPageSize ¶
func (x *ListCatalogsRequest) GetPageSize() int32
func (*ListCatalogsRequest) GetPageToken ¶
func (x *ListCatalogsRequest) GetPageToken() string
func (*ListCatalogsRequest) GetParent ¶
func (x *ListCatalogsRequest) GetParent() string
func (*ListCatalogsRequest) ProtoMessage ¶
func (*ListCatalogsRequest) ProtoMessage()
func (*ListCatalogsRequest) ProtoReflect ¶
func (x *ListCatalogsRequest) ProtoReflect() protoreflect.Message
func (*ListCatalogsRequest) Reset ¶
func (x *ListCatalogsRequest) Reset()
func (*ListCatalogsRequest) String ¶
func (x *ListCatalogsRequest) String() string
func (*ListCatalogsRequest) Validate ¶
func (m *ListCatalogsRequest) Validate() error
Validate checks the field values on ListCatalogsRequest 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 (*ListCatalogsRequest) ValidateAll ¶
func (m *ListCatalogsRequest) ValidateAll() error
ValidateAll checks the field values on ListCatalogsRequest 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 ListCatalogsRequestMultiError, or nil if none found.
type ListCatalogsRequestMultiError ¶
type ListCatalogsRequestMultiError []error
ListCatalogsRequestMultiError is an error wrapping multiple validation errors returned by ListCatalogsRequest.ValidateAll() if the designated constraints aren't met.
func (ListCatalogsRequestMultiError) AllErrors ¶
func (m ListCatalogsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListCatalogsRequestMultiError) Error ¶
func (m ListCatalogsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListCatalogsRequestValidationError ¶
type ListCatalogsRequestValidationError struct {
// contains filtered or unexported fields
}
ListCatalogsRequestValidationError is the validation error returned by ListCatalogsRequest.Validate if the designated constraints aren't met.
func (ListCatalogsRequestValidationError) Cause ¶
func (e ListCatalogsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListCatalogsRequestValidationError) Error ¶
func (e ListCatalogsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListCatalogsRequestValidationError) ErrorName ¶
func (e ListCatalogsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListCatalogsRequestValidationError) Field ¶
func (e ListCatalogsRequestValidationError) Field() string
Field function returns field value.
func (ListCatalogsRequestValidationError) Key ¶
func (e ListCatalogsRequestValidationError) Key() bool
Key function returns key value.
func (ListCatalogsRequestValidationError) Reason ¶
func (e ListCatalogsRequestValidationError) Reason() string
Reason function returns reason value.
type ListCatalogsResponse ¶
type ListCatalogsResponse struct { Catalogs []*Catalog `protobuf:"bytes,1,rep,name=catalogs,proto3" json:"catalogs,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCatalogsResponse) Descriptor
deprecated
func (*ListCatalogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCatalogsResponse.ProtoReflect.Descriptor instead.
func (*ListCatalogsResponse) GetCatalogs ¶
func (x *ListCatalogsResponse) GetCatalogs() []*Catalog
func (*ListCatalogsResponse) GetNextPageToken ¶
func (x *ListCatalogsResponse) GetNextPageToken() string
func (*ListCatalogsResponse) ProtoMessage ¶
func (*ListCatalogsResponse) ProtoMessage()
func (*ListCatalogsResponse) ProtoReflect ¶
func (x *ListCatalogsResponse) ProtoReflect() protoreflect.Message
func (*ListCatalogsResponse) Reset ¶
func (x *ListCatalogsResponse) Reset()
func (*ListCatalogsResponse) String ¶
func (x *ListCatalogsResponse) String() string
func (*ListCatalogsResponse) Validate ¶
func (m *ListCatalogsResponse) Validate() error
Validate checks the field values on ListCatalogsResponse 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 (*ListCatalogsResponse) ValidateAll ¶
func (m *ListCatalogsResponse) ValidateAll() error
ValidateAll checks the field values on ListCatalogsResponse 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 ListCatalogsResponseMultiError, or nil if none found.
type ListCatalogsResponseMultiError ¶
type ListCatalogsResponseMultiError []error
ListCatalogsResponseMultiError is an error wrapping multiple validation errors returned by ListCatalogsResponse.ValidateAll() if the designated constraints aren't met.
func (ListCatalogsResponseMultiError) AllErrors ¶
func (m ListCatalogsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListCatalogsResponseMultiError) Error ¶
func (m ListCatalogsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListCatalogsResponseValidationError ¶
type ListCatalogsResponseValidationError struct {
// contains filtered or unexported fields
}
ListCatalogsResponseValidationError is the validation error returned by ListCatalogsResponse.Validate if the designated constraints aren't met.
func (ListCatalogsResponseValidationError) Cause ¶
func (e ListCatalogsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListCatalogsResponseValidationError) Error ¶
func (e ListCatalogsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListCatalogsResponseValidationError) ErrorName ¶
func (e ListCatalogsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListCatalogsResponseValidationError) Field ¶
func (e ListCatalogsResponseValidationError) Field() string
Field function returns field value.
func (ListCatalogsResponseValidationError) Key ¶
func (e ListCatalogsResponseValidationError) Key() bool
Key function returns key value.
func (ListCatalogsResponseValidationError) Reason ¶
func (e ListCatalogsResponseValidationError) Reason() string
Reason function returns reason value.
type ListCompaniesRequest ¶
type ListCompaniesRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListCompaniesRequest) Descriptor
deprecated
func (*ListCompaniesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCompaniesRequest.ProtoReflect.Descriptor instead.
func (*ListCompaniesRequest) GetFilter ¶
func (x *ListCompaniesRequest) GetFilter() string
func (*ListCompaniesRequest) GetOrderBy ¶
func (x *ListCompaniesRequest) GetOrderBy() string
func (*ListCompaniesRequest) GetPageSize ¶
func (x *ListCompaniesRequest) GetPageSize() int32
func (*ListCompaniesRequest) GetPageToken ¶
func (x *ListCompaniesRequest) GetPageToken() string
func (*ListCompaniesRequest) ProtoMessage ¶
func (*ListCompaniesRequest) ProtoMessage()
func (*ListCompaniesRequest) ProtoReflect ¶
func (x *ListCompaniesRequest) ProtoReflect() protoreflect.Message
func (*ListCompaniesRequest) Reset ¶
func (x *ListCompaniesRequest) Reset()
func (*ListCompaniesRequest) String ¶
func (x *ListCompaniesRequest) String() string
func (*ListCompaniesRequest) Validate ¶
func (m *ListCompaniesRequest) Validate() error
Validate checks the field values on ListCompaniesRequest 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 (*ListCompaniesRequest) ValidateAll ¶
func (m *ListCompaniesRequest) ValidateAll() error
ValidateAll checks the field values on ListCompaniesRequest 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 ListCompaniesRequestMultiError, or nil if none found.
type ListCompaniesRequestMultiError ¶
type ListCompaniesRequestMultiError []error
ListCompaniesRequestMultiError is an error wrapping multiple validation errors returned by ListCompaniesRequest.ValidateAll() if the designated constraints aren't met.
func (ListCompaniesRequestMultiError) AllErrors ¶
func (m ListCompaniesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListCompaniesRequestMultiError) Error ¶
func (m ListCompaniesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListCompaniesRequestValidationError ¶
type ListCompaniesRequestValidationError struct {
// contains filtered or unexported fields
}
ListCompaniesRequestValidationError is the validation error returned by ListCompaniesRequest.Validate if the designated constraints aren't met.
func (ListCompaniesRequestValidationError) Cause ¶
func (e ListCompaniesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListCompaniesRequestValidationError) Error ¶
func (e ListCompaniesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListCompaniesRequestValidationError) ErrorName ¶
func (e ListCompaniesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListCompaniesRequestValidationError) Field ¶
func (e ListCompaniesRequestValidationError) Field() string
Field function returns field value.
func (ListCompaniesRequestValidationError) Key ¶
func (e ListCompaniesRequestValidationError) Key() bool
Key function returns key value.
func (ListCompaniesRequestValidationError) Reason ¶
func (e ListCompaniesRequestValidationError) Reason() string
Reason function returns reason value.
type ListCompaniesResponse ¶
type ListCompaniesResponse struct { Companies []*Company `protobuf:"bytes,1,rep,name=companies,proto3" json:"companies,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCompaniesResponse) Descriptor
deprecated
func (*ListCompaniesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCompaniesResponse.ProtoReflect.Descriptor instead.
func (*ListCompaniesResponse) GetCompanies ¶
func (x *ListCompaniesResponse) GetCompanies() []*Company
func (*ListCompaniesResponse) GetNextPageToken ¶
func (x *ListCompaniesResponse) GetNextPageToken() string
func (*ListCompaniesResponse) ProtoMessage ¶
func (*ListCompaniesResponse) ProtoMessage()
func (*ListCompaniesResponse) ProtoReflect ¶
func (x *ListCompaniesResponse) ProtoReflect() protoreflect.Message
func (*ListCompaniesResponse) Reset ¶
func (x *ListCompaniesResponse) Reset()
func (*ListCompaniesResponse) String ¶
func (x *ListCompaniesResponse) String() string
func (*ListCompaniesResponse) Validate ¶
func (m *ListCompaniesResponse) Validate() error
Validate checks the field values on ListCompaniesResponse 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 (*ListCompaniesResponse) ValidateAll ¶
func (m *ListCompaniesResponse) ValidateAll() error
ValidateAll checks the field values on ListCompaniesResponse 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 ListCompaniesResponseMultiError, or nil if none found.
type ListCompaniesResponseMultiError ¶
type ListCompaniesResponseMultiError []error
ListCompaniesResponseMultiError is an error wrapping multiple validation errors returned by ListCompaniesResponse.ValidateAll() if the designated constraints aren't met.
func (ListCompaniesResponseMultiError) AllErrors ¶
func (m ListCompaniesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListCompaniesResponseMultiError) Error ¶
func (m ListCompaniesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListCompaniesResponseValidationError ¶
type ListCompaniesResponseValidationError struct {
// contains filtered or unexported fields
}
ListCompaniesResponseValidationError is the validation error returned by ListCompaniesResponse.Validate if the designated constraints aren't met.
func (ListCompaniesResponseValidationError) Cause ¶
func (e ListCompaniesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListCompaniesResponseValidationError) Error ¶
func (e ListCompaniesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListCompaniesResponseValidationError) ErrorName ¶
func (e ListCompaniesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListCompaniesResponseValidationError) Field ¶
func (e ListCompaniesResponseValidationError) Field() string
Field function returns field value.
func (ListCompaniesResponseValidationError) Key ¶
func (e ListCompaniesResponseValidationError) Key() bool
Key function returns key value.
func (ListCompaniesResponseValidationError) Reason ¶
func (e ListCompaniesResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedCatalogServiceServer ¶
type UnimplementedCatalogServiceServer struct { }
UnimplementedCatalogServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCatalogServiceServer) CreateCatalog ¶
func (UnimplementedCatalogServiceServer) CreateCatalog(context.Context, *CreateCatalogRequest) (*Catalog, error)
func (UnimplementedCatalogServiceServer) CreateCompany ¶
func (UnimplementedCatalogServiceServer) CreateCompany(context.Context, *CreateCompanyRequest) (*Company, error)
func (UnimplementedCatalogServiceServer) DeleteCatalog ¶
func (UnimplementedCatalogServiceServer) DeleteCatalog(context.Context, *DeleteCatalogRequest) (*emptypb.Empty, error)
func (UnimplementedCatalogServiceServer) DeleteCompany ¶
func (UnimplementedCatalogServiceServer) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error)
func (UnimplementedCatalogServiceServer) GetCatalog ¶
func (UnimplementedCatalogServiceServer) GetCatalog(context.Context, *GetCatalogRequest) (*Catalog, error)
func (UnimplementedCatalogServiceServer) GetCompany ¶
func (UnimplementedCatalogServiceServer) GetCompany(context.Context, *GetCompanyRequest) (*Company, error)
func (UnimplementedCatalogServiceServer) ListCatalogs ¶
func (UnimplementedCatalogServiceServer) ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error)
func (UnimplementedCatalogServiceServer) ListCompanies ¶
func (UnimplementedCatalogServiceServer) ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error)
func (UnimplementedCatalogServiceServer) UpdateCatalog ¶
func (UnimplementedCatalogServiceServer) UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error)
func (UnimplementedCatalogServiceServer) UpdateCompany ¶
func (UnimplementedCatalogServiceServer) UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error)
type UnsafeCatalogServiceServer ¶
type UnsafeCatalogServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCatalogServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CatalogServiceServer will result in compilation errors.
type UpdateCatalogRequest ¶
type UpdateCatalogRequest struct { Catalog *Catalog `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateCatalogRequest) Descriptor
deprecated
func (*UpdateCatalogRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCatalogRequest.ProtoReflect.Descriptor instead.
func (*UpdateCatalogRequest) GetCatalog ¶
func (x *UpdateCatalogRequest) GetCatalog() *Catalog
func (*UpdateCatalogRequest) GetUpdateMask ¶
func (x *UpdateCatalogRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCatalogRequest) ProtoMessage ¶
func (*UpdateCatalogRequest) ProtoMessage()
func (*UpdateCatalogRequest) ProtoReflect ¶
func (x *UpdateCatalogRequest) ProtoReflect() protoreflect.Message
func (*UpdateCatalogRequest) Reset ¶
func (x *UpdateCatalogRequest) Reset()
func (*UpdateCatalogRequest) String ¶
func (x *UpdateCatalogRequest) String() string
func (*UpdateCatalogRequest) Validate ¶
func (m *UpdateCatalogRequest) Validate() error
Validate checks the field values on UpdateCatalogRequest 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 (*UpdateCatalogRequest) ValidateAll ¶
func (m *UpdateCatalogRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCatalogRequest 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 UpdateCatalogRequestMultiError, or nil if none found.
type UpdateCatalogRequestMultiError ¶
type UpdateCatalogRequestMultiError []error
UpdateCatalogRequestMultiError is an error wrapping multiple validation errors returned by UpdateCatalogRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCatalogRequestMultiError) AllErrors ¶
func (m UpdateCatalogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCatalogRequestMultiError) Error ¶
func (m UpdateCatalogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCatalogRequestValidationError ¶
type UpdateCatalogRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCatalogRequestValidationError is the validation error returned by UpdateCatalogRequest.Validate if the designated constraints aren't met.
func (UpdateCatalogRequestValidationError) Cause ¶
func (e UpdateCatalogRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCatalogRequestValidationError) Error ¶
func (e UpdateCatalogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCatalogRequestValidationError) ErrorName ¶
func (e UpdateCatalogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCatalogRequestValidationError) Field ¶
func (e UpdateCatalogRequestValidationError) Field() string
Field function returns field value.
func (UpdateCatalogRequestValidationError) Key ¶
func (e UpdateCatalogRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCatalogRequestValidationError) Reason ¶
func (e UpdateCatalogRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateCompanyRequest ¶
type UpdateCompanyRequest struct { Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateCompanyRequest) Descriptor
deprecated
func (*UpdateCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCompanyRequest.ProtoReflect.Descriptor instead.
func (*UpdateCompanyRequest) GetCompany ¶
func (x *UpdateCompanyRequest) GetCompany() *Company
func (*UpdateCompanyRequest) GetUpdateMask ¶
func (x *UpdateCompanyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCompanyRequest) ProtoMessage ¶
func (*UpdateCompanyRequest) ProtoMessage()
func (*UpdateCompanyRequest) ProtoReflect ¶
func (x *UpdateCompanyRequest) ProtoReflect() protoreflect.Message
func (*UpdateCompanyRequest) Reset ¶
func (x *UpdateCompanyRequest) Reset()
func (*UpdateCompanyRequest) String ¶
func (x *UpdateCompanyRequest) String() string
func (*UpdateCompanyRequest) Validate ¶
func (m *UpdateCompanyRequest) Validate() error
Validate checks the field values on UpdateCompanyRequest 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 (*UpdateCompanyRequest) ValidateAll ¶
func (m *UpdateCompanyRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCompanyRequest 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 UpdateCompanyRequestMultiError, or nil if none found.
type UpdateCompanyRequestMultiError ¶
type UpdateCompanyRequestMultiError []error
UpdateCompanyRequestMultiError is an error wrapping multiple validation errors returned by UpdateCompanyRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCompanyRequestMultiError) AllErrors ¶
func (m UpdateCompanyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCompanyRequestMultiError) Error ¶
func (m UpdateCompanyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCompanyRequestValidationError ¶
type UpdateCompanyRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCompanyRequestValidationError is the validation error returned by UpdateCompanyRequest.Validate if the designated constraints aren't met.
func (UpdateCompanyRequestValidationError) Cause ¶
func (e UpdateCompanyRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCompanyRequestValidationError) Error ¶
func (e UpdateCompanyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCompanyRequestValidationError) ErrorName ¶
func (e UpdateCompanyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCompanyRequestValidationError) Field ¶
func (e UpdateCompanyRequestValidationError) Field() string
Field function returns field value.
func (UpdateCompanyRequestValidationError) Key ¶
func (e UpdateCompanyRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCompanyRequestValidationError) Reason ¶
func (e UpdateCompanyRequestValidationError) Reason() string
Reason function returns reason value.