Documentation ¶
Index ¶
- type SyncRequest
- func (*SyncRequest) Descriptor() ([]byte, []int)
- func (m *SyncRequest) GetOptions() *SyncRequest_Options
- func (*SyncRequest) ProtoMessage()
- func (m *SyncRequest) Reset()
- func (m *SyncRequest) String() string
- func (m *SyncRequest) Validate() error
- func (m *SyncRequest) XXX_DiscardUnknown()
- func (m *SyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncRequest) XXX_Merge(src proto.Message)
- func (m *SyncRequest) XXX_Size() int
- func (m *SyncRequest) XXX_Unmarshal(b []byte) error
- type SyncRequestValidationError
- func (e SyncRequestValidationError) Cause() error
- func (e SyncRequestValidationError) Error() string
- func (e SyncRequestValidationError) ErrorName() string
- func (e SyncRequestValidationError) Field() string
- func (e SyncRequestValidationError) Key() bool
- func (e SyncRequestValidationError) Reason() string
- type SyncRequest_Options
- func (*SyncRequest_Options) Descriptor() ([]byte, []int)
- func (m *SyncRequest_Options) GetClean() bool
- func (m *SyncRequest_Options) GetDrop() bool
- func (m *SyncRequest_Options) GetRefresh() bool
- func (*SyncRequest_Options) ProtoMessage()
- func (m *SyncRequest_Options) Reset()
- func (m *SyncRequest_Options) String() string
- func (m *SyncRequest_Options) Validate() error
- func (m *SyncRequest_Options) XXX_DiscardUnknown()
- func (m *SyncRequest_Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncRequest_Options) XXX_Merge(src proto.Message)
- func (m *SyncRequest_Options) XXX_Size() int
- func (m *SyncRequest_Options) XXX_Unmarshal(b []byte) error
- type SyncRequest_OptionsValidationError
- func (e SyncRequest_OptionsValidationError) Cause() error
- func (e SyncRequest_OptionsValidationError) Error() string
- func (e SyncRequest_OptionsValidationError) ErrorName() string
- func (e SyncRequest_OptionsValidationError) Field() string
- func (e SyncRequest_OptionsValidationError) Key() bool
- func (e SyncRequest_OptionsValidationError) Reason() string
- type SyncResponse
- func (*SyncResponse) Descriptor() ([]byte, []int)
- func (m *SyncResponse) GetDeleted() int64
- func (m *SyncResponse) GetElapsed() string
- func (m *SyncResponse) GetInserted() int64
- func (m *SyncResponse) GetUpdated() int64
- func (*SyncResponse) ProtoMessage()
- func (m *SyncResponse) Reset()
- func (m *SyncResponse) String() string
- func (m *SyncResponse) Validate() error
- func (m *SyncResponse) XXX_DiscardUnknown()
- func (m *SyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncResponse) XXX_Merge(src proto.Message)
- func (m *SyncResponse) XXX_Size() int
- func (m *SyncResponse) XXX_Unmarshal(b []byte) error
- type SyncResponseValidationError
- func (e SyncResponseValidationError) Cause() error
- func (e SyncResponseValidationError) Error() string
- func (e SyncResponseValidationError) ErrorName() string
- func (e SyncResponseValidationError) Field() string
- func (e SyncResponseValidationError) Key() bool
- func (e SyncResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncRequest ¶
type SyncRequest struct {
Options *SyncRequest_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
}
func (*SyncRequest) Descriptor ¶
func (*SyncRequest) Descriptor() ([]byte, []int)
func (*SyncRequest) GetOptions ¶
func (m *SyncRequest) GetOptions() *SyncRequest_Options
func (*SyncRequest) ProtoMessage ¶
func (*SyncRequest) ProtoMessage()
func (*SyncRequest) Reset ¶
func (m *SyncRequest) Reset()
func (*SyncRequest) String ¶
func (m *SyncRequest) String() string
func (*SyncRequest) Validate ¶
func (m *SyncRequest) Validate() error
Validate checks the field values on SyncRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SyncRequest) XXX_DiscardUnknown ¶
func (m *SyncRequest) XXX_DiscardUnknown()
func (*SyncRequest) XXX_Marshal ¶
func (m *SyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncRequest) XXX_Merge ¶
func (m *SyncRequest) XXX_Merge(src proto.Message)
func (*SyncRequest) XXX_Size ¶
func (m *SyncRequest) XXX_Size() int
func (*SyncRequest) XXX_Unmarshal ¶
func (m *SyncRequest) XXX_Unmarshal(b []byte) error
type SyncRequestValidationError ¶
type SyncRequestValidationError struct {
// contains filtered or unexported fields
}
SyncRequestValidationError is the validation error returned by SyncRequest.Validate if the designated constraints aren't met.
func (SyncRequestValidationError) Cause ¶
func (e SyncRequestValidationError) Cause() error
Cause function returns cause value.
func (SyncRequestValidationError) Error ¶
func (e SyncRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SyncRequestValidationError) ErrorName ¶
func (e SyncRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SyncRequestValidationError) Field ¶
func (e SyncRequestValidationError) Field() string
Field function returns field value.
func (SyncRequestValidationError) Key ¶
func (e SyncRequestValidationError) Key() bool
Key function returns key value.
func (SyncRequestValidationError) Reason ¶
func (e SyncRequestValidationError) Reason() string
Reason function returns reason value.
type SyncRequest_Options ¶
type SyncRequest_Options struct { Refresh bool `protobuf:"varint,1,opt,name=refresh,proto3" json:"refresh,omitempty"` Drop bool `protobuf:"varint,2,opt,name=drop,proto3" json:"drop,omitempty"` Clean bool `protobuf:"varint,3,opt,name=clean,proto3" json:"clean,omitempty"` }
func (*SyncRequest_Options) Descriptor ¶
func (*SyncRequest_Options) Descriptor() ([]byte, []int)
func (*SyncRequest_Options) GetClean ¶
func (m *SyncRequest_Options) GetClean() bool
func (*SyncRequest_Options) GetDrop ¶
func (m *SyncRequest_Options) GetDrop() bool
func (*SyncRequest_Options) GetRefresh ¶
func (m *SyncRequest_Options) GetRefresh() bool
func (*SyncRequest_Options) ProtoMessage ¶
func (*SyncRequest_Options) ProtoMessage()
func (*SyncRequest_Options) Reset ¶
func (m *SyncRequest_Options) Reset()
func (*SyncRequest_Options) String ¶
func (m *SyncRequest_Options) String() string
func (*SyncRequest_Options) Validate ¶
func (m *SyncRequest_Options) Validate() error
Validate checks the field values on SyncRequest_Options with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SyncRequest_Options) XXX_DiscardUnknown ¶
func (m *SyncRequest_Options) XXX_DiscardUnknown()
func (*SyncRequest_Options) XXX_Marshal ¶
func (m *SyncRequest_Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncRequest_Options) XXX_Merge ¶
func (m *SyncRequest_Options) XXX_Merge(src proto.Message)
func (*SyncRequest_Options) XXX_Size ¶
func (m *SyncRequest_Options) XXX_Size() int
func (*SyncRequest_Options) XXX_Unmarshal ¶
func (m *SyncRequest_Options) XXX_Unmarshal(b []byte) error
type SyncRequest_OptionsValidationError ¶
type SyncRequest_OptionsValidationError struct {
// contains filtered or unexported fields
}
SyncRequest_OptionsValidationError is the validation error returned by SyncRequest_Options.Validate if the designated constraints aren't met.
func (SyncRequest_OptionsValidationError) Cause ¶
func (e SyncRequest_OptionsValidationError) Cause() error
Cause function returns cause value.
func (SyncRequest_OptionsValidationError) Error ¶
func (e SyncRequest_OptionsValidationError) Error() string
Error satisfies the builtin error interface
func (SyncRequest_OptionsValidationError) ErrorName ¶
func (e SyncRequest_OptionsValidationError) ErrorName() string
ErrorName returns error name.
func (SyncRequest_OptionsValidationError) Field ¶
func (e SyncRequest_OptionsValidationError) Field() string
Field function returns field value.
func (SyncRequest_OptionsValidationError) Key ¶
func (e SyncRequest_OptionsValidationError) Key() bool
Key function returns key value.
func (SyncRequest_OptionsValidationError) Reason ¶
func (e SyncRequest_OptionsValidationError) Reason() string
Reason function returns reason value.
type SyncResponse ¶
type SyncResponse struct { Inserted int64 `protobuf:"varint,1,opt,name=inserted,proto3" json:"inserted,omitempty"` Updated int64 `protobuf:"varint,2,opt,name=updated,proto3" json:"updated,omitempty"` Deleted int64 `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` Elapsed string `protobuf:"bytes,4,opt,name=elapsed,proto3" json:"elapsed,omitempty"` }
func (*SyncResponse) Descriptor ¶
func (*SyncResponse) Descriptor() ([]byte, []int)
func (*SyncResponse) GetDeleted ¶
func (m *SyncResponse) GetDeleted() int64
func (*SyncResponse) GetElapsed ¶
func (m *SyncResponse) GetElapsed() string
func (*SyncResponse) GetInserted ¶
func (m *SyncResponse) GetInserted() int64
func (*SyncResponse) GetUpdated ¶
func (m *SyncResponse) GetUpdated() int64
func (*SyncResponse) ProtoMessage ¶
func (*SyncResponse) ProtoMessage()
func (*SyncResponse) Reset ¶
func (m *SyncResponse) Reset()
func (*SyncResponse) String ¶
func (m *SyncResponse) String() string
func (*SyncResponse) Validate ¶
func (m *SyncResponse) Validate() error
Validate checks the field values on SyncResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SyncResponse) XXX_DiscardUnknown ¶
func (m *SyncResponse) XXX_DiscardUnknown()
func (*SyncResponse) XXX_Marshal ¶
func (m *SyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncResponse) XXX_Merge ¶
func (m *SyncResponse) XXX_Merge(src proto.Message)
func (*SyncResponse) XXX_Size ¶
func (m *SyncResponse) XXX_Size() int
func (*SyncResponse) XXX_Unmarshal ¶
func (m *SyncResponse) XXX_Unmarshal(b []byte) error
type SyncResponseValidationError ¶
type SyncResponseValidationError struct {
// contains filtered or unexported fields
}
SyncResponseValidationError is the validation error returned by SyncResponse.Validate if the designated constraints aren't met.
func (SyncResponseValidationError) Cause ¶
func (e SyncResponseValidationError) Cause() error
Cause function returns cause value.
func (SyncResponseValidationError) Error ¶
func (e SyncResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SyncResponseValidationError) ErrorName ¶
func (e SyncResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SyncResponseValidationError) Field ¶
func (e SyncResponseValidationError) Field() string
Field function returns field value.
func (SyncResponseValidationError) Key ¶
func (e SyncResponseValidationError) Key() bool
Key function returns key value.
func (SyncResponseValidationError) Reason ¶
func (e SyncResponseValidationError) Reason() string
Reason function returns reason value.