form

package
v0.0.0-...-2f38b72 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FormService_GetById_FullMethodName      = "/form.v1.FormService/GetById"
	FormService_Create_FullMethodName       = "/form.v1.FormService/Create"
	FormService_List_FullMethodName         = "/form.v1.FormService/List"
	FormService_Update_FullMethodName       = "/form.v1.FormService/Update"
	FormService_GetQuestions_FullMethodName = "/form.v1.FormService/GetQuestions"
)

Variables

View Source
var File_form_v1_forms_proto protoreflect.FileDescriptor
View Source
var FormService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "form.v1.FormService",
	HandlerType: (*FormServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetById",
			Handler:    _FormService_GetById_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _FormService_Create_Handler,
		},
		{
			MethodName: "List",
			Handler:    _FormService_List_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _FormService_Update_Handler,
		},
		{
			MethodName: "GetQuestions",
			Handler:    _FormService_GetQuestions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "form/v1/forms.proto",
}

FormService_ServiceDesc is the grpc.ServiceDesc for FormService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFormServiceServer

func RegisterFormServiceServer(s grpc.ServiceRegistrar, srv FormServiceServer)

Types

type CheckboxQuestion

type CheckboxQuestion struct {
	Title   string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckboxQuestion) Descriptor deprecated

func (*CheckboxQuestion) Descriptor() ([]byte, []int)

Deprecated: Use CheckboxQuestion.ProtoReflect.Descriptor instead.

func (*CheckboxQuestion) GetOptions

func (x *CheckboxQuestion) GetOptions() []string

func (*CheckboxQuestion) GetTitle

func (x *CheckboxQuestion) GetTitle() string

func (*CheckboxQuestion) ProtoMessage

func (*CheckboxQuestion) ProtoMessage()

func (*CheckboxQuestion) ProtoReflect

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

func (*CheckboxQuestion) Reset

func (x *CheckboxQuestion) Reset()

func (*CheckboxQuestion) String

func (x *CheckboxQuestion) String() string

type CreateCheckboxQuestionParameters

type CreateCheckboxQuestionParameters struct {
	Title   string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCheckboxQuestionParameters) Descriptor deprecated

func (*CreateCheckboxQuestionParameters) Descriptor() ([]byte, []int)

Deprecated: Use CreateCheckboxQuestionParameters.ProtoReflect.Descriptor instead.

func (*CreateCheckboxQuestionParameters) GetOptions

func (x *CreateCheckboxQuestionParameters) GetOptions() []string

func (*CreateCheckboxQuestionParameters) GetTitle

func (*CreateCheckboxQuestionParameters) ProtoMessage

func (*CreateCheckboxQuestionParameters) ProtoMessage()

func (*CreateCheckboxQuestionParameters) ProtoReflect

func (*CreateCheckboxQuestionParameters) Reset

func (*CreateCheckboxQuestionParameters) String

type CreateQuestionParameters

type CreateQuestionParameters struct {

	// Types that are assignable to Question:
	//
	//	*CreateQuestionParameters_Text
	//	*CreateQuestionParameters_Radio
	//	*CreateQuestionParameters_Checkbox
	Question isCreateQuestionParameters_Question `protobuf_oneof:"question"`
	// contains filtered or unexported fields
}

func (*CreateQuestionParameters) Descriptor deprecated

func (*CreateQuestionParameters) Descriptor() ([]byte, []int)

Deprecated: Use CreateQuestionParameters.ProtoReflect.Descriptor instead.

func (*CreateQuestionParameters) GetCheckbox

func (*CreateQuestionParameters) GetQuestion

func (m *CreateQuestionParameters) GetQuestion() isCreateQuestionParameters_Question

func (*CreateQuestionParameters) GetRadio

func (*CreateQuestionParameters) GetText

func (*CreateQuestionParameters) ProtoMessage

func (*CreateQuestionParameters) ProtoMessage()

func (*CreateQuestionParameters) ProtoReflect

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

func (*CreateQuestionParameters) Reset

func (x *CreateQuestionParameters) Reset()

func (*CreateQuestionParameters) String

func (x *CreateQuestionParameters) String() string

type CreateQuestionParameters_Checkbox

type CreateQuestionParameters_Checkbox struct {
	Checkbox *CreateCheckboxQuestionParameters `protobuf:"bytes,3,opt,name=checkbox,proto3,oneof"`
}

type CreateQuestionParameters_Radio

type CreateQuestionParameters_Radio struct {
	Radio *CreateRadioQuestionParameters `protobuf:"bytes,2,opt,name=radio,proto3,oneof"`
}

type CreateQuestionParameters_Text

type CreateQuestionParameters_Text struct {
	Text *CreateTextQuestionParameters `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type CreateRadioQuestionParameters

type CreateRadioQuestionParameters struct {
	Title   string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRadioQuestionParameters) Descriptor deprecated

func (*CreateRadioQuestionParameters) Descriptor() ([]byte, []int)

Deprecated: Use CreateRadioQuestionParameters.ProtoReflect.Descriptor instead.

func (*CreateRadioQuestionParameters) GetOptions

func (x *CreateRadioQuestionParameters) GetOptions() []string

func (*CreateRadioQuestionParameters) GetTitle

func (x *CreateRadioQuestionParameters) GetTitle() string

func (*CreateRadioQuestionParameters) ProtoMessage

func (*CreateRadioQuestionParameters) ProtoMessage()

func (*CreateRadioQuestionParameters) ProtoReflect

func (*CreateRadioQuestionParameters) Reset

func (x *CreateRadioQuestionParameters) Reset()

func (*CreateRadioQuestionParameters) String

type CreateRequest

type CreateRequest struct {
	Title       string                      `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string                      `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Questions   []*CreateQuestionParameters `protobuf:"bytes,3,rep,name=questions,proto3" json:"questions,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

func (*CreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetDescription

func (x *CreateRequest) GetDescription() string

func (*CreateRequest) GetQuestions

func (x *CreateRequest) GetQuestions() []*CreateQuestionParameters

func (*CreateRequest) GetTitle

func (x *CreateRequest) GetTitle() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

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

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {
	BaseId    string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

func (*CreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetBaseId

func (x *CreateResponse) GetBaseId() string

func (*CreateResponse) GetVersionId

func (x *CreateResponse) GetVersionId() string

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

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

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type CreateTextQuestionParameters

type CreateTextQuestionParameters struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTextQuestionParameters) Descriptor deprecated

func (*CreateTextQuestionParameters) Descriptor() ([]byte, []int)

Deprecated: Use CreateTextQuestionParameters.ProtoReflect.Descriptor instead.

func (*CreateTextQuestionParameters) GetTitle

func (x *CreateTextQuestionParameters) GetTitle() string

func (*CreateTextQuestionParameters) ProtoMessage

func (*CreateTextQuestionParameters) ProtoMessage()

func (*CreateTextQuestionParameters) ProtoReflect

func (*CreateTextQuestionParameters) Reset

func (x *CreateTextQuestionParameters) Reset()

func (*CreateTextQuestionParameters) String

type Form

type Form struct {
	BaseId      string                 `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	VersionId   string                 `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	Version     uint32                 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	Title       string                 `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Description string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Form) Descriptor deprecated

func (*Form) Descriptor() ([]byte, []int)

Deprecated: Use Form.ProtoReflect.Descriptor instead.

func (*Form) GetBaseId

func (x *Form) GetBaseId() string

func (*Form) GetCreatedAt

func (x *Form) GetCreatedAt() *timestamppb.Timestamp

func (*Form) GetDescription

func (x *Form) GetDescription() string

func (*Form) GetTitle

func (x *Form) GetTitle() string

func (*Form) GetVersion

func (x *Form) GetVersion() uint32

func (*Form) GetVersionId

func (x *Form) GetVersionId() string

func (*Form) ProtoMessage

func (*Form) ProtoMessage()

func (*Form) ProtoReflect

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

func (*Form) Reset

func (x *Form) Reset()

func (*Form) String

func (x *Form) String() string

type FormServiceClient

type FormServiceClient interface {
	GetById(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetByIdResponse, error)
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	// Updating the form will create a new version of the form with its contents
	// being the provided form
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	GetQuestions(ctx context.Context, in *GetQuestionsRequest, opts ...grpc.CallOption) (*GetQuestionsResponse, error)
}

FormServiceClient is the client API for FormService 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.

type FormServiceServer

type FormServiceServer interface {
	GetById(context.Context, *GetByIdRequest) (*GetByIdResponse, error)
	Create(context.Context, *CreateRequest) (*CreateResponse, error)
	List(context.Context, *ListRequest) (*ListResponse, error)
	// Updating the form will create a new version of the form with its contents
	// being the provided form
	Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
	GetQuestions(context.Context, *GetQuestionsRequest) (*GetQuestionsResponse, error)
}

FormServiceServer is the server API for FormService service. All implementations should embed UnimplementedFormServiceServer for forward compatibility

type GetByIdRequest

type GetByIdRequest struct {

	// The base ID of the form to get.
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// The version ID of the form to get.
	// If not provided, the latest version of the form will be returned.
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByIdRequest) Descriptor deprecated

func (*GetByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetByIdRequest.ProtoReflect.Descriptor instead.

func (*GetByIdRequest) GetBaseId

func (x *GetByIdRequest) GetBaseId() string

func (*GetByIdRequest) GetVersionId

func (x *GetByIdRequest) GetVersionId() string

func (*GetByIdRequest) ProtoMessage

func (*GetByIdRequest) ProtoMessage()

func (*GetByIdRequest) ProtoReflect

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

func (*GetByIdRequest) Reset

func (x *GetByIdRequest) Reset()

func (*GetByIdRequest) String

func (x *GetByIdRequest) String() string

type GetByIdResponse

type GetByIdResponse struct {
	Form *Form `protobuf:"bytes,1,opt,name=form,proto3" json:"form,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByIdResponse) Descriptor deprecated

func (*GetByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetByIdResponse.ProtoReflect.Descriptor instead.

func (*GetByIdResponse) GetForm

func (x *GetByIdResponse) GetForm() *Form

func (*GetByIdResponse) ProtoMessage

func (*GetByIdResponse) ProtoMessage()

func (*GetByIdResponse) ProtoReflect

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

func (*GetByIdResponse) Reset

func (x *GetByIdResponse) Reset()

func (*GetByIdResponse) String

func (x *GetByIdResponse) String() string

type GetQuestionsRequest

type GetQuestionsRequest struct {
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// If set, will return the questions of the form at the specified version.
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQuestionsRequest) Descriptor deprecated

func (*GetQuestionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetQuestionsRequest.ProtoReflect.Descriptor instead.

func (*GetQuestionsRequest) GetBaseId

func (x *GetQuestionsRequest) GetBaseId() string

func (*GetQuestionsRequest) GetVersionId

func (x *GetQuestionsRequest) GetVersionId() string

func (*GetQuestionsRequest) ProtoMessage

func (*GetQuestionsRequest) ProtoMessage()

func (*GetQuestionsRequest) ProtoReflect

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

func (*GetQuestionsRequest) Reset

func (x *GetQuestionsRequest) Reset()

func (*GetQuestionsRequest) String

func (x *GetQuestionsRequest) String() string

type GetQuestionsResponse

type GetQuestionsResponse struct {
	Questions []*Question `protobuf:"bytes,1,rep,name=questions,proto3" json:"questions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQuestionsResponse) Descriptor deprecated

func (*GetQuestionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetQuestionsResponse.ProtoReflect.Descriptor instead.

func (*GetQuestionsResponse) GetQuestions

func (x *GetQuestionsResponse) GetQuestions() []*Question

func (*GetQuestionsResponse) ProtoMessage

func (*GetQuestionsResponse) ProtoMessage()

func (*GetQuestionsResponse) ProtoReflect

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

func (*GetQuestionsResponse) Reset

func (x *GetQuestionsResponse) Reset()

func (*GetQuestionsResponse) String

func (x *GetQuestionsResponse) String() string

type ListRequest

type ListRequest struct {
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

func (*ListRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {
	Forms      []*Form             `protobuf:"bytes,1,rep,name=forms,proto3" json:"forms,omitempty"`
	Pagination *ResponsePagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

func (*ListResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetForms

func (x *ListResponse) GetForms() []*Form

func (*ListResponse) GetPagination

func (x *ListResponse) GetPagination() *ResponsePagination

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type Question

type Question struct {

	// Types that are assignable to Question:
	//
	//	*Question_Text
	//	*Question_Radio
	//	*Question_Checkbox
	Question isQuestion_Question `protobuf_oneof:"question"`
	// contains filtered or unexported fields
}

func (*Question) Descriptor deprecated

func (*Question) Descriptor() ([]byte, []int)

Deprecated: Use Question.ProtoReflect.Descriptor instead.

func (*Question) GetCheckbox

func (x *Question) GetCheckbox() *CheckboxQuestion

func (*Question) GetQuestion

func (m *Question) GetQuestion() isQuestion_Question

func (*Question) GetRadio

func (x *Question) GetRadio() *RadioQuestion

func (*Question) GetText

func (x *Question) GetText() *TextQuestion

func (*Question) ProtoMessage

func (*Question) ProtoMessage()

func (*Question) ProtoReflect

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

func (*Question) Reset

func (x *Question) Reset()

func (*Question) String

func (x *Question) String() string

type Question_Checkbox

type Question_Checkbox struct {
	Checkbox *CheckboxQuestion `protobuf:"bytes,3,opt,name=checkbox,proto3,oneof"`
}

type Question_Radio

type Question_Radio struct {
	Radio *RadioQuestion `protobuf:"bytes,2,opt,name=radio,proto3,oneof"`
}

type Question_Text

type Question_Text struct {
	Text *TextQuestion `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type RadioQuestion

type RadioQuestion struct {
	Title   string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*RadioQuestion) Descriptor deprecated

func (*RadioQuestion) Descriptor() ([]byte, []int)

Deprecated: Use RadioQuestion.ProtoReflect.Descriptor instead.

func (*RadioQuestion) GetOptions

func (x *RadioQuestion) GetOptions() []string

func (*RadioQuestion) GetTitle

func (x *RadioQuestion) GetTitle() string

func (*RadioQuestion) ProtoMessage

func (*RadioQuestion) ProtoMessage()

func (*RadioQuestion) ProtoReflect

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

func (*RadioQuestion) Reset

func (x *RadioQuestion) Reset()

func (*RadioQuestion) String

func (x *RadioQuestion) String() string

type ResponsePagination

type ResponsePagination struct {
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // bytes next_page_token = 2;
	// contains filtered or unexported fields
}

func (*ResponsePagination) Descriptor deprecated

func (*ResponsePagination) Descriptor() ([]byte, []int)

Deprecated: Use ResponsePagination.ProtoReflect.Descriptor instead.

func (*ResponsePagination) GetTotal

func (x *ResponsePagination) GetTotal() uint64

func (*ResponsePagination) ProtoMessage

func (*ResponsePagination) ProtoMessage()

func (*ResponsePagination) ProtoReflect

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

func (*ResponsePagination) Reset

func (x *ResponsePagination) Reset()

func (*ResponsePagination) String

func (x *ResponsePagination) String() string

type TextQuestion

type TextQuestion struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*TextQuestion) Descriptor deprecated

func (*TextQuestion) Descriptor() ([]byte, []int)

Deprecated: Use TextQuestion.ProtoReflect.Descriptor instead.

func (*TextQuestion) GetTitle

func (x *TextQuestion) GetTitle() string

func (*TextQuestion) ProtoMessage

func (*TextQuestion) ProtoMessage()

func (*TextQuestion) ProtoReflect

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

func (*TextQuestion) Reset

func (x *TextQuestion) Reset()

func (*TextQuestion) String

func (x *TextQuestion) String() string

type UnimplementedFormServiceServer

type UnimplementedFormServiceServer struct {
}

UnimplementedFormServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedFormServiceServer) Create

func (UnimplementedFormServiceServer) GetById

func (UnimplementedFormServiceServer) GetQuestions

func (UnimplementedFormServiceServer) List

func (UnimplementedFormServiceServer) Update

type UnsafeFormServiceServer

type UnsafeFormServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFormServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FormServiceServer will result in compilation errors.

type UpdateRequest

type UpdateRequest struct {

	// The ID of the form to update
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// The new form to replace the old form with
	NewForm *CreateRequest `protobuf:"bytes,2,opt,name=new_form,json=newForm,proto3" json:"new_form,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated

func (*UpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetBaseId

func (x *UpdateRequest) GetBaseId() string

func (*UpdateRequest) GetNewForm

func (x *UpdateRequest) GetNewForm() *CreateRequest

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

type UpdateResponse struct {
	BaseId    string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

func (*UpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) GetBaseId

func (x *UpdateResponse) GetBaseId() string

func (*UpdateResponse) GetVersionId

func (x *UpdateResponse) GetVersionId() string

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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