Documentation
¶
Index ¶
- Variables
- type Dimensions
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (m *Event) GetChanged() isEvent_Changed
- func (x *Event) GetDetails() *anypb.Any
- func (x *Event) GetEventId() int64
- func (x *Event) GetPhoto() *Photo
- func (x *Event) GetProfile() *Profile
- func (x *Event) GetStatus() Status
- func (x *Event) GetUser() *User
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Details
- type Event_Photo
- type Event_Profile
- type Event_Status
- type Event_User
- type Photo
- func (*Photo) Descriptor() ([]byte, []int)deprecated
- func (x *Photo) GetDimensions() *Dimensions
- func (x *Photo) GetPath() string
- func (x *Photo) GetPhotoId() int64
- func (*Photo) ProtoMessage()
- func (x *Photo) ProtoReflect() protoreflect.Message
- func (x *Photo) Reset()
- func (x *Photo) String() string
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetGallery() []*Photo
- func (x *Profile) GetLoginTimestamps() []int64
- func (x *Profile) GetPhoto() *Photo
- func (x *Profile) GetUser() *User
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type Result
- type Status
- type UpdateProfileRequest
- func (*UpdateProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileRequest) GetFieldmask() *fieldmaskpb.FieldMask
- func (x *UpdateProfileRequest) GetProfile() *Profile
- func (*UpdateProfileRequest) ProtoMessage()
- func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileRequest) Reset()
- func (x *UpdateProfileRequest) String() string
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_name = map[int32]string{ 0: "UNKNOWN", 1: "OK", 2: "FAILED", } Status_value = map[string]int32{ "UNKNOWN": 0, "OK": 1, "FAILED": 2, } )
Enum value maps for Status.
View Source
var File_testproto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Dimensions ¶
type Dimensions struct { Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*Dimensions) Descriptor
deprecated
func (*Dimensions) Descriptor() ([]byte, []int)
Deprecated: Use Dimensions.ProtoReflect.Descriptor instead.
func (*Dimensions) GetHeight ¶
func (x *Dimensions) GetHeight() int32
func (*Dimensions) GetWidth ¶
func (x *Dimensions) GetWidth() int32
func (*Dimensions) ProtoMessage ¶
func (*Dimensions) ProtoMessage()
func (*Dimensions) ProtoReflect ¶
func (x *Dimensions) ProtoReflect() protoreflect.Message
func (*Dimensions) Reset ¶
func (x *Dimensions) Reset()
func (*Dimensions) String ¶
func (x *Dimensions) String() string
type Event ¶
type Event struct { EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // Types that are assignable to Changed: // *Event_User // *Event_Photo // *Event_Status // *Event_Details // *Event_Profile Changed isEvent_Changed `protobuf_oneof:"changed"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetChanged ¶
func (m *Event) GetChanged() isEvent_Changed
func (*Event) GetDetails ¶
func (*Event) GetEventId ¶
func (*Event) GetProfile ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_Details ¶
type Event_Photo ¶
type Event_Photo struct {
Photo *Photo `protobuf:"bytes,3,opt,name=photo,proto3,oneof"`
}
type Event_Profile ¶
type Event_Profile struct {
Profile *Profile `protobuf:"bytes,6,opt,name=profile,proto3,oneof"`
}
type Event_Status ¶
type Event_Status struct {
Status Status `protobuf:"varint,4,opt,name=status,proto3,enum=testproto.Status,oneof"`
}
type Event_User ¶
type Event_User struct {
User *User `protobuf:"bytes,2,opt,name=user,proto3,oneof"`
}
type Photo ¶
type Photo struct { PhotoId int64 `protobuf:"varint,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Dimensions *Dimensions `protobuf:"bytes,3,opt,name=dimensions,proto3" json:"dimensions,omitempty"` // contains filtered or unexported fields }
func (*Photo) Descriptor
deprecated
func (*Photo) GetDimensions ¶
func (x *Photo) GetDimensions() *Dimensions
func (*Photo) GetPhotoId ¶
func (*Photo) ProtoMessage ¶
func (*Photo) ProtoMessage()
func (*Photo) ProtoReflect ¶
func (x *Photo) ProtoReflect() protoreflect.Message
type Profile ¶
type Profile struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Photo *Photo `protobuf:"bytes,2,opt,name=photo,proto3" json:"photo,omitempty"` LoginTimestamps []int64 `protobuf:"varint,3,rep,packed,name=login_timestamps,json=loginTimestamps,proto3" json:"login_timestamps,omitempty"` Gallery []*Photo `protobuf:"bytes,4,rep,name=gallery,proto3" json:"gallery,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetGallery ¶
func (*Profile) GetLoginTimestamps ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type Result ¶
type Result struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` NextToken int64 `protobuf:"varint,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetNextToken ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type UpdateProfileRequest ¶
type UpdateProfileRequest struct { Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` Fieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=fieldmask,proto3" json:"fieldmask,omitempty"` // contains filtered or unexported fields }
func (*UpdateProfileRequest) Descriptor
deprecated
func (*UpdateProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateProfileRequest) GetFieldmask ¶
func (x *UpdateProfileRequest) GetFieldmask() *fieldmaskpb.FieldMask
func (*UpdateProfileRequest) GetProfile ¶
func (x *UpdateProfileRequest) GetProfile() *Profile
func (*UpdateProfileRequest) ProtoMessage ¶
func (*UpdateProfileRequest) ProtoMessage()
func (*UpdateProfileRequest) ProtoReflect ¶
func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateProfileRequest) Reset ¶
func (x *UpdateProfileRequest) Reset()
func (*UpdateProfileRequest) String ¶
func (x *UpdateProfileRequest) String() string
type User ¶
type User struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.