Documentation ¶
Index ¶
- Variables
- func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
- type APIClient
- type APIServer
- type CreateI
- type CreateI_API
- type CreateI_Obj
- func (*CreateI_Obj) Descriptor() ([]byte, []int)deprecated
- func (x *CreateI_Obj) GetMetadata() map[string]string
- func (x *CreateI_Obj) GetProperty() *CreateI_Obj_Property
- func (*CreateI_Obj) ProtoMessage()
- func (x *CreateI_Obj) ProtoReflect() protoreflect.Message
- func (x *CreateI_Obj) Reset()
- func (x *CreateI_Obj) String() string
- type CreateI_Obj_Property
- func (*CreateI_Obj_Property) Descriptor() ([]byte, []int)deprecated
- func (x *CreateI_Obj_Property) GetAttachments() []*CreateI_Obj_Property_Link
- func (x *CreateI_Obj_Property) GetHead() string
- func (x *CreateI_Obj_Property) GetText() string
- func (*CreateI_Obj_Property) ProtoMessage()
- func (x *CreateI_Obj_Property) ProtoReflect() protoreflect.Message
- func (x *CreateI_Obj_Property) Reset()
- func (x *CreateI_Obj_Property) String() string
- type CreateI_Obj_Property_Link
- func (*CreateI_Obj_Property_Link) Descriptor() ([]byte, []int)deprecated
- func (x *CreateI_Obj_Property_Link) GetAddr() string
- func (x *CreateI_Obj_Property_Link) GetType() string
- func (*CreateI_Obj_Property_Link) ProtoMessage()
- func (x *CreateI_Obj_Property_Link) ProtoReflect() protoreflect.Message
- func (x *CreateI_Obj_Property_Link) Reset()
- func (x *CreateI_Obj_Property_Link) String() string
- type CreateO
- type CreateO_API
- type CreateO_Obj
- type DeleteI
- type DeleteI_API
- type DeleteI_Obj
- type DeleteO
- type DeleteO_API
- type DeleteO_Obj
- type SearchI
- type SearchO
- type UnimplementedAPIServer
- func (UnimplementedAPIServer) Create(context.Context, *CreateI) (*CreateO, error)
- func (UnimplementedAPIServer) Delete(context.Context, *DeleteI) (*DeleteO, error)
- func (UnimplementedAPIServer) Search(context.Context, *SearchI) (*SearchO, error)
- func (UnimplementedAPIServer) Update(context.Context, *UpdateI) (*UpdateO, error)
- type UnsafeAPIServer
- type UpdateI
- type UpdateI_API
- type UpdateI_Obj
- func (*UpdateI_Obj) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateI_Obj) GetJsnpatch() []*UpdateI_Obj_Jsnpatch
- func (x *UpdateI_Obj) GetMetadata() map[string]string
- func (*UpdateI_Obj) ProtoMessage()
- func (x *UpdateI_Obj) ProtoReflect() protoreflect.Message
- func (x *UpdateI_Obj) Reset()
- func (x *UpdateI_Obj) String() string
- type UpdateI_Obj_Jsnpatch
- func (*UpdateI_Obj_Jsnpatch) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateI_Obj_Jsnpatch) GetOpe() string
- func (x *UpdateI_Obj_Jsnpatch) GetPat() string
- func (x *UpdateI_Obj_Jsnpatch) GetVal() string
- func (*UpdateI_Obj_Jsnpatch) ProtoMessage()
- func (x *UpdateI_Obj_Jsnpatch) ProtoReflect() protoreflect.Message
- func (x *UpdateI_Obj_Jsnpatch) Reset()
- func (x *UpdateI_Obj_Jsnpatch) String() string
- type UpdateO
- type UpdateO_API
- type UpdateO_Obj
Constants ¶
This section is empty.
Variables ¶
var File_pbf_texupd_api_proto protoreflect.FileDescriptor
var File_pbf_texupd_create_proto protoreflect.FileDescriptor
var File_pbf_texupd_delete_proto protoreflect.FileDescriptor
var File_pbf_texupd_search_proto protoreflect.FileDescriptor
var File_pbf_texupd_update_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIServer ¶
func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
Types ¶
type APIClient ¶
type APIClient interface { Create(ctx context.Context, in *CreateI, opts ...grpc.CallOption) (*CreateO, error) Delete(ctx context.Context, in *DeleteI, opts ...grpc.CallOption) (*DeleteO, error) Search(ctx context.Context, in *SearchI, opts ...grpc.CallOption) (*SearchO, error) Update(ctx context.Context, in *UpdateI, opts ...grpc.CallOption) (*UpdateO, error) }
APIClient is the client API for API 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 NewAPIClient ¶
func NewAPIClient(cc grpc.ClientConnInterface) APIClient
type APIServer ¶
type APIServer interface { Create(context.Context, *CreateI) (*CreateO, error) Delete(context.Context, *DeleteI) (*DeleteO, error) Search(context.Context, *SearchI) (*SearchO, error) Update(context.Context, *UpdateI) (*UpdateO, error) // contains filtered or unexported methods }
APIServer is the server API for API service. All implementations must embed UnimplementedAPIServer for forward compatibility
type CreateI ¶
type CreateI struct { Api *CreateI_API `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` Obj []*CreateI_Obj `protobuf:"bytes,2,rep,name=obj,proto3" json:"obj,omitempty"` // contains filtered or unexported fields }
CreateI is the input for creating text updates. That is persisting text a user adds to a timeline. Below is an example JSON representation showing an emitted text update.
{ "obj": [ { "metadata": { "timeline.venturemark.co/id": "<id>", "venture.venturemark.co/id": "<id>" }, "property": { "attachments": [ { "addr": "https://twitter.com/ibm", "type": "image" } ], "head": "Lorem ipsum ...", "text": "Lorem ipsum ..." } } ] }
func (*CreateI) Descriptor
deprecated
func (*CreateI) GetApi ¶
func (x *CreateI) GetApi() *CreateI_API
func (*CreateI) GetObj ¶
func (x *CreateI) GetObj() []*CreateI_Obj
func (*CreateI) ProtoMessage ¶
func (*CreateI) ProtoMessage()
func (*CreateI) ProtoReflect ¶
func (x *CreateI) ProtoReflect() protoreflect.Message
type CreateI_API ¶
type CreateI_API struct {
// contains filtered or unexported fields
}
func (*CreateI_API) Descriptor
deprecated
func (*CreateI_API) Descriptor() ([]byte, []int)
Deprecated: Use CreateI_API.ProtoReflect.Descriptor instead.
func (*CreateI_API) ProtoMessage ¶
func (*CreateI_API) ProtoMessage()
func (*CreateI_API) ProtoReflect ¶
func (x *CreateI_API) ProtoReflect() protoreflect.Message
func (*CreateI_API) Reset ¶
func (x *CreateI_API) Reset()
func (*CreateI_API) String ¶
func (x *CreateI_API) String() string
type CreateI_Obj ¶
type CreateI_Obj struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ Property *CreateI_Obj_Property `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"` // contains filtered or unexported fields }
func (*CreateI_Obj) Descriptor
deprecated
func (*CreateI_Obj) Descriptor() ([]byte, []int)
Deprecated: Use CreateI_Obj.ProtoReflect.Descriptor instead.
func (*CreateI_Obj) GetMetadata ¶
func (x *CreateI_Obj) GetMetadata() map[string]string
func (*CreateI_Obj) GetProperty ¶
func (x *CreateI_Obj) GetProperty() *CreateI_Obj_Property
func (*CreateI_Obj) ProtoMessage ¶
func (*CreateI_Obj) ProtoMessage()
func (*CreateI_Obj) ProtoReflect ¶
func (x *CreateI_Obj) ProtoReflect() protoreflect.Message
func (*CreateI_Obj) Reset ¶
func (x *CreateI_Obj) Reset()
func (*CreateI_Obj) String ¶
func (x *CreateI_Obj) String() string
type CreateI_Obj_Property ¶
type CreateI_Obj_Property struct { Attachments []*CreateI_Obj_Property_Link `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"` Head string `protobuf:"bytes,2,opt,name=head,proto3" json:"head,omitempty"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*CreateI_Obj_Property) Descriptor
deprecated
func (*CreateI_Obj_Property) Descriptor() ([]byte, []int)
Deprecated: Use CreateI_Obj_Property.ProtoReflect.Descriptor instead.
func (*CreateI_Obj_Property) GetAttachments ¶ added in v0.4.2
func (x *CreateI_Obj_Property) GetAttachments() []*CreateI_Obj_Property_Link
func (*CreateI_Obj_Property) GetHead ¶ added in v0.3.2
func (x *CreateI_Obj_Property) GetHead() string
func (*CreateI_Obj_Property) GetText ¶
func (x *CreateI_Obj_Property) GetText() string
func (*CreateI_Obj_Property) ProtoMessage ¶
func (*CreateI_Obj_Property) ProtoMessage()
func (*CreateI_Obj_Property) ProtoReflect ¶
func (x *CreateI_Obj_Property) ProtoReflect() protoreflect.Message
func (*CreateI_Obj_Property) Reset ¶
func (x *CreateI_Obj_Property) Reset()
func (*CreateI_Obj_Property) String ¶
func (x *CreateI_Obj_Property) String() string
type CreateI_Obj_Property_Link ¶ added in v0.4.2
type CreateI_Obj_Property_Link struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CreateI_Obj_Property_Link) Descriptor
deprecated
added in
v0.4.2
func (*CreateI_Obj_Property_Link) Descriptor() ([]byte, []int)
Deprecated: Use CreateI_Obj_Property_Link.ProtoReflect.Descriptor instead.
func (*CreateI_Obj_Property_Link) GetAddr ¶ added in v0.4.2
func (x *CreateI_Obj_Property_Link) GetAddr() string
func (*CreateI_Obj_Property_Link) GetType ¶ added in v0.4.2
func (x *CreateI_Obj_Property_Link) GetType() string
func (*CreateI_Obj_Property_Link) ProtoMessage ¶ added in v0.4.2
func (*CreateI_Obj_Property_Link) ProtoMessage()
func (*CreateI_Obj_Property_Link) ProtoReflect ¶ added in v0.4.2
func (x *CreateI_Obj_Property_Link) ProtoReflect() protoreflect.Message
func (*CreateI_Obj_Property_Link) Reset ¶ added in v0.4.2
func (x *CreateI_Obj_Property_Link) Reset()
func (*CreateI_Obj_Property_Link) String ¶ added in v0.4.2
func (x *CreateI_Obj_Property_Link) String() string
type CreateO ¶
type CreateO struct { Api *CreateO_API `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` Obj []*CreateO_Obj `protobuf:"bytes,2,rep,name=obj,proto3" json:"obj,omitempty"` // contains filtered or unexported fields }
CreateO is the output for creating text updates. Only the exact unix timestamp of creation is returned with the object metadata when successfully creating a text update.
{ "obj": [ { "metadata": { "update.venturemark.co/id": "<id>" } } ] }
func (*CreateO) Descriptor
deprecated
func (*CreateO) GetApi ¶
func (x *CreateO) GetApi() *CreateO_API
func (*CreateO) GetObj ¶
func (x *CreateO) GetObj() []*CreateO_Obj
func (*CreateO) ProtoMessage ¶
func (*CreateO) ProtoMessage()
func (*CreateO) ProtoReflect ¶
func (x *CreateO) ProtoReflect() protoreflect.Message
type CreateO_API ¶
type CreateO_API struct {
// contains filtered or unexported fields
}
func (*CreateO_API) Descriptor
deprecated
func (*CreateO_API) Descriptor() ([]byte, []int)
Deprecated: Use CreateO_API.ProtoReflect.Descriptor instead.
func (*CreateO_API) ProtoMessage ¶
func (*CreateO_API) ProtoMessage()
func (*CreateO_API) ProtoReflect ¶
func (x *CreateO_API) ProtoReflect() protoreflect.Message
func (*CreateO_API) Reset ¶
func (x *CreateO_API) Reset()
func (*CreateO_API) String ¶
func (x *CreateO_API) String() string
type CreateO_Obj ¶
type CreateO_Obj struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateO_Obj) Descriptor
deprecated
func (*CreateO_Obj) Descriptor() ([]byte, []int)
Deprecated: Use CreateO_Obj.ProtoReflect.Descriptor instead.
func (*CreateO_Obj) GetMetadata ¶
func (x *CreateO_Obj) GetMetadata() map[string]string
func (*CreateO_Obj) ProtoMessage ¶
func (*CreateO_Obj) ProtoMessage()
func (*CreateO_Obj) ProtoReflect ¶
func (x *CreateO_Obj) ProtoReflect() protoreflect.Message
func (*CreateO_Obj) Reset ¶
func (x *CreateO_Obj) Reset()
func (*CreateO_Obj) String ¶
func (x *CreateO_Obj) String() string
type DeleteI ¶
type DeleteI struct { Api *DeleteI_API `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` Obj []*DeleteI_Obj `protobuf:"bytes,2,rep,name=obj,proto3" json:"obj,omitempty"` // contains filtered or unexported fields }
DeleteI is the input for deleting text updates.
{ "obj": [ { "metadata": { "timeline.venturemark.co/id": "<id>", "update.venturemark.co/id": "<id>", "venture.venturemark.co/id": "<id>" } } ] }
func (*DeleteI) Descriptor
deprecated
func (*DeleteI) GetApi ¶
func (x *DeleteI) GetApi() *DeleteI_API
func (*DeleteI) GetObj ¶
func (x *DeleteI) GetObj() []*DeleteI_Obj
func (*DeleteI) ProtoMessage ¶
func (*DeleteI) ProtoMessage()
func (*DeleteI) ProtoReflect ¶
func (x *DeleteI) ProtoReflect() protoreflect.Message
type DeleteI_API ¶
type DeleteI_API struct {
// contains filtered or unexported fields
}
func (*DeleteI_API) Descriptor
deprecated
func (*DeleteI_API) Descriptor() ([]byte, []int)
Deprecated: Use DeleteI_API.ProtoReflect.Descriptor instead.
func (*DeleteI_API) ProtoMessage ¶
func (*DeleteI_API) ProtoMessage()
func (*DeleteI_API) ProtoReflect ¶
func (x *DeleteI_API) ProtoReflect() protoreflect.Message
func (*DeleteI_API) Reset ¶
func (x *DeleteI_API) Reset()
func (*DeleteI_API) String ¶
func (x *DeleteI_API) String() string
type DeleteI_Obj ¶
type DeleteI_Obj struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteI_Obj) Descriptor
deprecated
func (*DeleteI_Obj) Descriptor() ([]byte, []int)
Deprecated: Use DeleteI_Obj.ProtoReflect.Descriptor instead.
func (*DeleteI_Obj) GetMetadata ¶
func (x *DeleteI_Obj) GetMetadata() map[string]string
func (*DeleteI_Obj) ProtoMessage ¶
func (*DeleteI_Obj) ProtoMessage()
func (*DeleteI_Obj) ProtoReflect ¶
func (x *DeleteI_Obj) ProtoReflect() protoreflect.Message
func (*DeleteI_Obj) Reset ¶
func (x *DeleteI_Obj) Reset()
func (*DeleteI_Obj) String ¶
func (x *DeleteI_Obj) String() string
type DeleteO ¶
type DeleteO struct { Api *DeleteO_API `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` Obj []*DeleteO_Obj `protobuf:"bytes,2,rep,name=obj,proto3" json:"obj,omitempty"` // contains filtered or unexported fields }
DeleteO is the output for deleting text updates.
{ "obj": [ { "metadata": { "update.venturemark.co/status": "deleted" } } ] }
func (*DeleteO) Descriptor
deprecated
func (*DeleteO) GetApi ¶
func (x *DeleteO) GetApi() *DeleteO_API
func (*DeleteO) GetObj ¶
func (x *DeleteO) GetObj() []*DeleteO_Obj
func (*DeleteO) ProtoMessage ¶
func (*DeleteO) ProtoMessage()
func (*DeleteO) ProtoReflect ¶
func (x *DeleteO) ProtoReflect() protoreflect.Message
type DeleteO_API ¶
type DeleteO_API struct {
// contains filtered or unexported fields
}
func (*DeleteO_API) Descriptor
deprecated
func (*DeleteO_API) Descriptor() ([]byte, []int)
Deprecated: Use DeleteO_API.ProtoReflect.Descriptor instead.
func (*DeleteO_API) ProtoMessage ¶
func (*DeleteO_API) ProtoMessage()
func (*DeleteO_API) ProtoReflect ¶
func (x *DeleteO_API) ProtoReflect() protoreflect.Message
func (*DeleteO_API) Reset ¶
func (x *DeleteO_API) Reset()
func (*DeleteO_API) String ¶
func (x *DeleteO_API) String() string
type DeleteO_Obj ¶
type DeleteO_Obj struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteO_Obj) Descriptor
deprecated
func (*DeleteO_Obj) Descriptor() ([]byte, []int)
Deprecated: Use DeleteO_Obj.ProtoReflect.Descriptor instead.
func (*DeleteO_Obj) GetMetadata ¶
func (x *DeleteO_Obj) GetMetadata() map[string]string
func (*DeleteO_Obj) ProtoMessage ¶
func (*DeleteO_Obj) ProtoMessage()
func (*DeleteO_Obj) ProtoReflect ¶
func (x *DeleteO_Obj) ProtoReflect() protoreflect.Message
func (*DeleteO_Obj) Reset ¶
func (x *DeleteO_Obj) Reset()
func (*DeleteO_Obj) String ¶
func (x *DeleteO_Obj) String() string
type SearchI ¶
type SearchI struct {
// contains filtered or unexported fields
}
func (*SearchI) Descriptor
deprecated
func (*SearchI) ProtoMessage ¶
func (*SearchI) ProtoMessage()
func (*SearchI) ProtoReflect ¶
func (x *SearchI) ProtoReflect() protoreflect.Message
type SearchO ¶
type SearchO struct {
// contains filtered or unexported fields
}
func (*SearchO) Descriptor
deprecated
func (*SearchO) ProtoMessage ¶
func (*SearchO) ProtoMessage()
func (*SearchO) ProtoReflect ¶
func (x *SearchO) ProtoReflect() protoreflect.Message
type UnimplementedAPIServer ¶
type UnimplementedAPIServer struct { }
UnimplementedAPIServer must be embedded to have forward compatible implementations.
type UnsafeAPIServer ¶
type UnsafeAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIServer will result in compilation errors.
type UpdateI ¶
type UpdateI struct { Api *UpdateI_API `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` Obj []*UpdateI_Obj `protobuf:"bytes,2,rep,name=obj,proto3" json:"obj,omitempty"` // contains filtered or unexported fields }
UpdateI is the input for updating text updates. For more information about text updates as a separate resource see create.proto.
{ "obj": [ { "metadata": { "timeline.venturemark.co/id": "<id>", "update.venturemark.co/id": "<id>", "venture.venturemark.co/id": "<id>" }, "jsnpatch": [ { "ope": "replace", "pat": "/obj/property/text", "val": "Lorem ipsum ..." } ] } ] }
func (*UpdateI) Descriptor
deprecated
func (*UpdateI) GetApi ¶
func (x *UpdateI) GetApi() *UpdateI_API
func (*UpdateI) GetObj ¶
func (x *UpdateI) GetObj() []*UpdateI_Obj
func (*UpdateI) ProtoMessage ¶
func (*UpdateI) ProtoMessage()
func (*UpdateI) ProtoReflect ¶
func (x *UpdateI) ProtoReflect() protoreflect.Message
type UpdateI_API ¶
type UpdateI_API struct {
// contains filtered or unexported fields
}
func (*UpdateI_API) Descriptor
deprecated
func (*UpdateI_API) Descriptor() ([]byte, []int)
Deprecated: Use UpdateI_API.ProtoReflect.Descriptor instead.
func (*UpdateI_API) ProtoMessage ¶
func (*UpdateI_API) ProtoMessage()
func (*UpdateI_API) ProtoReflect ¶
func (x *UpdateI_API) ProtoReflect() protoreflect.Message
func (*UpdateI_API) Reset ¶
func (x *UpdateI_API) Reset()
func (*UpdateI_API) String ¶
func (x *UpdateI_API) String() string
type UpdateI_Obj ¶
type UpdateI_Obj struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ Jsnpatch []*UpdateI_Obj_Jsnpatch `protobuf:"bytes,2,rep,name=jsnpatch,proto3" json:"jsnpatch,omitempty"` // contains filtered or unexported fields }
func (*UpdateI_Obj) Descriptor
deprecated
func (*UpdateI_Obj) Descriptor() ([]byte, []int)
Deprecated: Use UpdateI_Obj.ProtoReflect.Descriptor instead.
func (*UpdateI_Obj) GetJsnpatch ¶
func (x *UpdateI_Obj) GetJsnpatch() []*UpdateI_Obj_Jsnpatch
func (*UpdateI_Obj) GetMetadata ¶
func (x *UpdateI_Obj) GetMetadata() map[string]string
func (*UpdateI_Obj) ProtoMessage ¶
func (*UpdateI_Obj) ProtoMessage()
func (*UpdateI_Obj) ProtoReflect ¶
func (x *UpdateI_Obj) ProtoReflect() protoreflect.Message
func (*UpdateI_Obj) Reset ¶
func (x *UpdateI_Obj) Reset()
func (*UpdateI_Obj) String ¶
func (x *UpdateI_Obj) String() string
type UpdateI_Obj_Jsnpatch ¶
type UpdateI_Obj_Jsnpatch struct { Ope string `protobuf:"bytes,1,opt,name=ope,proto3" json:"ope,omitempty"` Pat string `protobuf:"bytes,2,opt,name=pat,proto3" json:"pat,omitempty"` Val *string `protobuf:"bytes,3,opt,name=val,proto3,oneof" json:"val,omitempty"` // contains filtered or unexported fields }
func (*UpdateI_Obj_Jsnpatch) Descriptor
deprecated
func (*UpdateI_Obj_Jsnpatch) Descriptor() ([]byte, []int)
Deprecated: Use UpdateI_Obj_Jsnpatch.ProtoReflect.Descriptor instead.
func (*UpdateI_Obj_Jsnpatch) GetOpe ¶
func (x *UpdateI_Obj_Jsnpatch) GetOpe() string
func (*UpdateI_Obj_Jsnpatch) GetPat ¶
func (x *UpdateI_Obj_Jsnpatch) GetPat() string
func (*UpdateI_Obj_Jsnpatch) GetVal ¶
func (x *UpdateI_Obj_Jsnpatch) GetVal() string
func (*UpdateI_Obj_Jsnpatch) ProtoMessage ¶
func (*UpdateI_Obj_Jsnpatch) ProtoMessage()
func (*UpdateI_Obj_Jsnpatch) ProtoReflect ¶
func (x *UpdateI_Obj_Jsnpatch) ProtoReflect() protoreflect.Message
func (*UpdateI_Obj_Jsnpatch) Reset ¶
func (x *UpdateI_Obj_Jsnpatch) Reset()
func (*UpdateI_Obj_Jsnpatch) String ¶
func (x *UpdateI_Obj_Jsnpatch) String() string
type UpdateO ¶
type UpdateO struct { Api *UpdateO_API `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` Obj []*UpdateO_Obj `protobuf:"bytes,2,rep,name=obj,proto3" json:"obj,omitempty"` // contains filtered or unexported fields }
UpdateO is the output for updating text updates. The response will contain object metadata to indicate the text update got in fact updated. The example below indicates that the update resource got updated.
{ "obj": [ { "metadata": { "update.venturemark.co/status": "updated" } } ] }
func (*UpdateO) Descriptor
deprecated
func (*UpdateO) GetApi ¶
func (x *UpdateO) GetApi() *UpdateO_API
func (*UpdateO) GetObj ¶
func (x *UpdateO) GetObj() []*UpdateO_Obj
func (*UpdateO) ProtoMessage ¶
func (*UpdateO) ProtoMessage()
func (*UpdateO) ProtoReflect ¶
func (x *UpdateO) ProtoReflect() protoreflect.Message
type UpdateO_API ¶
type UpdateO_API struct {
// contains filtered or unexported fields
}
func (*UpdateO_API) Descriptor
deprecated
func (*UpdateO_API) Descriptor() ([]byte, []int)
Deprecated: Use UpdateO_API.ProtoReflect.Descriptor instead.
func (*UpdateO_API) ProtoMessage ¶
func (*UpdateO_API) ProtoMessage()
func (*UpdateO_API) ProtoReflect ¶
func (x *UpdateO_API) ProtoReflect() protoreflect.Message
func (*UpdateO_API) Reset ¶
func (x *UpdateO_API) Reset()
func (*UpdateO_API) String ¶
func (x *UpdateO_API) String() string
type UpdateO_Obj ¶
type UpdateO_Obj struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateO_Obj) Descriptor
deprecated
func (*UpdateO_Obj) Descriptor() ([]byte, []int)
Deprecated: Use UpdateO_Obj.ProtoReflect.Descriptor instead.
func (*UpdateO_Obj) GetMetadata ¶
func (x *UpdateO_Obj) GetMetadata() map[string]string
func (*UpdateO_Obj) ProtoMessage ¶
func (*UpdateO_Obj) ProtoMessage()
func (*UpdateO_Obj) ProtoReflect ¶
func (x *UpdateO_Obj) ProtoReflect() protoreflect.Message
func (*UpdateO_Obj) Reset ¶
func (x *UpdateO_Obj) Reset()
func (*UpdateO_Obj) String ¶
func (x *UpdateO_Obj) String() string