expb

package
v0.0.0-...-9e032b1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_example_example_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateExampleRequest

type CreateExampleRequest struct {

	// The parent resource name where the example is to be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The example id to use for this example.
	ExampleId string `protobuf:"bytes,2,opt,name=example_id,json=exampleId,proto3" json:"example_id,omitempty"`
	// The example resource to create.
	// The field name should match the Noun in the method name.
	Example *Example `protobuf:"bytes,3,opt,name=example,proto3" json:"example,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateExampleRequest) Descriptor deprecated

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

Deprecated: Use CreateExampleRequest.ProtoReflect.Descriptor instead.

func (*CreateExampleRequest) GetExample

func (x *CreateExampleRequest) GetExample() *Example

func (*CreateExampleRequest) GetExampleId

func (x *CreateExampleRequest) GetExampleId() string

func (*CreateExampleRequest) GetParent

func (x *CreateExampleRequest) GetParent() string

func (*CreateExampleRequest) ProtoMessage

func (*CreateExampleRequest) ProtoMessage()

func (*CreateExampleRequest) ProtoReflect

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

func (*CreateExampleRequest) Reset

func (x *CreateExampleRequest) Reset()

func (*CreateExampleRequest) String

func (x *CreateExampleRequest) String() string

type DeleteExampleRequest

type DeleteExampleRequest struct {

	// The resource name of the example to be deleted.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteExampleRequest) Descriptor deprecated

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

Deprecated: Use DeleteExampleRequest.ProtoReflect.Descriptor instead.

func (*DeleteExampleRequest) GetName

func (x *DeleteExampleRequest) GetName() string

func (*DeleteExampleRequest) ProtoMessage

func (*DeleteExampleRequest) ProtoMessage()

func (*DeleteExampleRequest) ProtoReflect

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

func (*DeleteExampleRequest) Reset

func (x *DeleteExampleRequest) Reset()

func (*DeleteExampleRequest) String

func (x *DeleteExampleRequest) String() string

type Example

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

func (*Example) Descriptor deprecated

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

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetName

func (x *Example) GetName() string

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) ProtoReflect

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

func (*Example) Reset

func (x *Example) Reset()

func (*Example) String

func (x *Example) String() string

type GetExampleRequest

type GetExampleRequest struct {

	// The field will contain name of the resource requested.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExampleRequest) Descriptor deprecated

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

Deprecated: Use GetExampleRequest.ProtoReflect.Descriptor instead.

func (*GetExampleRequest) GetName

func (x *GetExampleRequest) GetName() string

func (*GetExampleRequest) ProtoMessage

func (*GetExampleRequest) ProtoMessage()

func (*GetExampleRequest) ProtoReflect

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

func (*GetExampleRequest) Reset

func (x *GetExampleRequest) Reset()

func (*GetExampleRequest) String

func (x *GetExampleRequest) String() string

type ListExamplesRequest

type ListExamplesRequest struct {

	// The parent resource name, for example, "shelves/shelf1"
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous List request, if any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExamplesRequest) Descriptor deprecated

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

Deprecated: Use ListExamplesRequest.ProtoReflect.Descriptor instead.

func (*ListExamplesRequest) GetPageSize

func (x *ListExamplesRequest) GetPageSize() int32

func (*ListExamplesRequest) GetPageToken

func (x *ListExamplesRequest) GetPageToken() string

func (*ListExamplesRequest) GetParent

func (x *ListExamplesRequest) GetParent() string

func (*ListExamplesRequest) ProtoMessage

func (*ListExamplesRequest) ProtoMessage()

func (*ListExamplesRequest) ProtoReflect

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

func (*ListExamplesRequest) Reset

func (x *ListExamplesRequest) Reset()

func (*ListExamplesRequest) String

func (x *ListExamplesRequest) String() string

type ListExamplesResponse

type ListExamplesResponse struct {

	// The field name should match the noun "example" in the method name.
	// There will be a maximum number of items returned based on the page_size
	// field in the request.
	Examples []*Example `protobuf:"bytes,1,rep,name=examples,proto3" json:"examples,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExamplesResponse) Descriptor deprecated

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

Deprecated: Use ListExamplesResponse.ProtoReflect.Descriptor instead.

func (*ListExamplesResponse) GetExamples

func (x *ListExamplesResponse) GetExamples() []*Example

func (*ListExamplesResponse) GetNextPageToken

func (x *ListExamplesResponse) GetNextPageToken() string

func (*ListExamplesResponse) ProtoMessage

func (*ListExamplesResponse) ProtoMessage()

func (*ListExamplesResponse) ProtoReflect

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

func (*ListExamplesResponse) Reset

func (x *ListExamplesResponse) Reset()

func (*ListExamplesResponse) String

func (x *ListExamplesResponse) String() string

type UpdateExampleRequest

type UpdateExampleRequest struct {

	// The example resource which replaces the resource on the server.
	Example *Example `protobuf:"bytes,1,opt,name=example,proto3" json:"example,omitempty"`
	// The update mask applies to the resource. For the `FieldMask` definition,
	// see
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateExampleRequest) Descriptor deprecated

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

Deprecated: Use UpdateExampleRequest.ProtoReflect.Descriptor instead.

func (*UpdateExampleRequest) GetExample

func (x *UpdateExampleRequest) GetExample() *Example

func (*UpdateExampleRequest) GetUpdateMask

func (x *UpdateExampleRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateExampleRequest) ProtoMessage

func (*UpdateExampleRequest) ProtoMessage()

func (*UpdateExampleRequest) ProtoReflect

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

func (*UpdateExampleRequest) Reset

func (x *UpdateExampleRequest) Reset()

func (*UpdateExampleRequest) String

func (x *UpdateExampleRequest) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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