personv1

package
v1.36.11-2024080113053... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_buf_knit_demo_swapi_person_v1_person_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetPeopleRequest

type GetPeopleRequest struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPeopleRequest) GetIds

func (x *GetPeopleRequest) GetIds() []string

func (*GetPeopleRequest) ProtoMessage

func (*GetPeopleRequest) ProtoMessage()

func (*GetPeopleRequest) ProtoReflect

func (x *GetPeopleRequest) ProtoReflect() protoreflect.Message

func (*GetPeopleRequest) Reset

func (x *GetPeopleRequest) Reset()

func (*GetPeopleRequest) SetIds

func (x *GetPeopleRequest) SetIds(v []string)

func (*GetPeopleRequest) String

func (x *GetPeopleRequest) String() string

type GetPeopleRequest_builder

type GetPeopleRequest_builder struct {
	Ids []string
	// contains filtered or unexported fields
}

func (GetPeopleRequest_builder) Build

type GetPeopleResponse

type GetPeopleResponse struct {
	People []*Person `protobuf:"bytes,1,rep,name=people,proto3" json:"people,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPeopleResponse) GetPeople

func (x *GetPeopleResponse) GetPeople() []*Person

func (*GetPeopleResponse) ProtoMessage

func (*GetPeopleResponse) ProtoMessage()

func (*GetPeopleResponse) ProtoReflect

func (x *GetPeopleResponse) ProtoReflect() protoreflect.Message

func (*GetPeopleResponse) Reset

func (x *GetPeopleResponse) Reset()

func (*GetPeopleResponse) SetPeople

func (x *GetPeopleResponse) SetPeople(v []*Person)

func (*GetPeopleResponse) String

func (x *GetPeopleResponse) String() string

type GetPeopleResponse_builder

type GetPeopleResponse_builder struct {
	People []*Person
	// contains filtered or unexported fields
}

func (GetPeopleResponse_builder) Build

type ListPeopleRequest

type ListPeopleRequest 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"`
	// contains filtered or unexported fields
}

func (*ListPeopleRequest) GetPageSize

func (x *ListPeopleRequest) GetPageSize() int32

func (*ListPeopleRequest) GetPageToken

func (x *ListPeopleRequest) GetPageToken() string

func (*ListPeopleRequest) ProtoMessage

func (*ListPeopleRequest) ProtoMessage()

func (*ListPeopleRequest) ProtoReflect

func (x *ListPeopleRequest) ProtoReflect() protoreflect.Message

func (*ListPeopleRequest) Reset

func (x *ListPeopleRequest) Reset()

func (*ListPeopleRequest) SetPageSize

func (x *ListPeopleRequest) SetPageSize(v int32)

func (*ListPeopleRequest) SetPageToken

func (x *ListPeopleRequest) SetPageToken(v string)

func (*ListPeopleRequest) String

func (x *ListPeopleRequest) String() string

type ListPeopleRequest_builder

type ListPeopleRequest_builder struct {
	PageSize  int32
	PageToken string
	// contains filtered or unexported fields
}

func (ListPeopleRequest_builder) Build

type ListPeopleResponse

type ListPeopleResponse struct {
	People        []*Person `protobuf:"bytes,1,rep,name=people,proto3" json:"people,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 (*ListPeopleResponse) GetNextPageToken

func (x *ListPeopleResponse) GetNextPageToken() string

func (*ListPeopleResponse) GetPeople

func (x *ListPeopleResponse) GetPeople() []*Person

func (*ListPeopleResponse) ProtoMessage

func (*ListPeopleResponse) ProtoMessage()

func (*ListPeopleResponse) ProtoReflect

func (x *ListPeopleResponse) ProtoReflect() protoreflect.Message

func (*ListPeopleResponse) Reset

func (x *ListPeopleResponse) Reset()

func (*ListPeopleResponse) SetNextPageToken

func (x *ListPeopleResponse) SetNextPageToken(v string)

func (*ListPeopleResponse) SetPeople

func (x *ListPeopleResponse) SetPeople(v []*Person)

func (*ListPeopleResponse) String

func (x *ListPeopleResponse) String() string

type ListPeopleResponse_builder

type ListPeopleResponse_builder struct {
	People        []*Person
	NextPageToken string
	// contains filtered or unexported fields
}

func (ListPeopleResponse_builder) Build

type Person

type Person struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Mass        string                 `protobuf:"bytes,3,opt,name=mass,proto3" json:"mass,omitempty"`
	HairColor   string                 `protobuf:"bytes,4,opt,name=hair_color,json=hairColor,proto3" json:"hair_color,omitempty"`
	SkinColor   string                 `protobuf:"bytes,5,opt,name=skin_color,json=skinColor,proto3" json:"skin_color,omitempty"`
	EyeColor    string                 `protobuf:"bytes,6,opt,name=eye_color,json=eyeColor,proto3" json:"eye_color,omitempty"`
	BirthYear   string                 `protobuf:"bytes,7,opt,name=birth_year,json=birthYear,proto3" json:"birth_year,omitempty"`
	Gender      string                 `protobuf:"bytes,8,opt,name=gender,proto3" json:"gender,omitempty"`
	HomeworldId string                 `protobuf:"bytes,9,opt,name=homeworld_id,json=homeworldId,proto3" json:"homeworld_id,omitempty"`
	SpeciesIds  []string               `protobuf:"bytes,10,rep,name=species_ids,json=speciesIds,proto3" json:"species_ids,omitempty"`
	FilmIds     []string               `protobuf:"bytes,11,rep,name=film_ids,json=filmIds,proto3" json:"film_ids,omitempty"`
	StarshipIds []string               `protobuf:"bytes,12,rep,name=starship_ids,json=starshipIds,proto3" json:"starship_ids,omitempty"`
	VehicleIds  []string               `protobuf:"bytes,13,rep,name=vehicle_ids,json=vehicleIds,proto3" json:"vehicle_ids,omitempty"`
	Created     *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created,proto3" json:"created,omitempty"`
	Edited      *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=edited,proto3" json:"edited,omitempty"`
	// contains filtered or unexported fields
}

func (*Person) ClearCreated

func (x *Person) ClearCreated()

func (*Person) ClearEdited

func (x *Person) ClearEdited()

func (*Person) GetBirthYear

func (x *Person) GetBirthYear() string

func (*Person) GetCreated

func (x *Person) GetCreated() *timestamppb.Timestamp

func (*Person) GetEdited

func (x *Person) GetEdited() *timestamppb.Timestamp

func (*Person) GetEyeColor

func (x *Person) GetEyeColor() string

func (*Person) GetFilmIds

func (x *Person) GetFilmIds() []string

func (*Person) GetGender

func (x *Person) GetGender() string

func (*Person) GetHairColor

func (x *Person) GetHairColor() string

func (*Person) GetHomeworldId

func (x *Person) GetHomeworldId() string

func (*Person) GetId

func (x *Person) GetId() string

func (*Person) GetMass

func (x *Person) GetMass() string

func (*Person) GetName

func (x *Person) GetName() string

func (*Person) GetSkinColor

func (x *Person) GetSkinColor() string

func (*Person) GetSpeciesIds

func (x *Person) GetSpeciesIds() []string

func (*Person) GetStarshipIds

func (x *Person) GetStarshipIds() []string

func (*Person) GetVehicleIds

func (x *Person) GetVehicleIds() []string

func (*Person) HasCreated

func (x *Person) HasCreated() bool

func (*Person) HasEdited

func (x *Person) HasEdited() bool

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) ProtoReflect

func (x *Person) ProtoReflect() protoreflect.Message

func (*Person) Reset

func (x *Person) Reset()

func (*Person) SetBirthYear

func (x *Person) SetBirthYear(v string)

func (*Person) SetCreated

func (x *Person) SetCreated(v *timestamppb.Timestamp)

func (*Person) SetEdited

func (x *Person) SetEdited(v *timestamppb.Timestamp)

func (*Person) SetEyeColor

func (x *Person) SetEyeColor(v string)

func (*Person) SetFilmIds

func (x *Person) SetFilmIds(v []string)

func (*Person) SetGender

func (x *Person) SetGender(v string)

func (*Person) SetHairColor

func (x *Person) SetHairColor(v string)

func (*Person) SetHomeworldId

func (x *Person) SetHomeworldId(v string)

func (*Person) SetId

func (x *Person) SetId(v string)

func (*Person) SetMass

func (x *Person) SetMass(v string)

func (*Person) SetName

func (x *Person) SetName(v string)

func (*Person) SetSkinColor

func (x *Person) SetSkinColor(v string)

func (*Person) SetSpeciesIds

func (x *Person) SetSpeciesIds(v []string)

func (*Person) SetStarshipIds

func (x *Person) SetStarshipIds(v []string)

func (*Person) SetVehicleIds

func (x *Person) SetVehicleIds(v []string)

func (*Person) String

func (x *Person) String() string

type Person_builder

type Person_builder struct {
	Id          string
	Name        string
	Mass        string
	HairColor   string
	SkinColor   string
	EyeColor    string
	BirthYear   string
	Gender      string
	HomeworldId string
	SpeciesIds  []string
	FilmIds     []string
	StarshipIds []string
	VehicleIds  []string
	Created     *timestamppb.Timestamp
	Edited      *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (Person_builder) Build

func (b0 Person_builder) Build() *Person

Source Files

  • person.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL