attribute

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package attribute is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_testing_attribute_v1_attribute_proto protoreflect.FileDescriptor
View Source
var TestResourceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "testing.attribute.v1.TestResourceService",
	HandlerType: (*TestResourceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TestListResource",
			Handler:    _TestResourceService_TestListResource_Handler,
		},
		{
			MethodName: "TestCreateResource",
			Handler:    _TestResourceService_TestCreateResource_Handler,
		},
		{
			MethodName: "TestUpdateResource",
			Handler:    _TestResourceService_TestUpdateResource_Handler,
		},
		{
			MethodName: "TestGetResource",
			Handler:    _TestResourceService_TestGetResource_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "testing/attribute/v1/attribute.proto",
}

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

Functions

func RegisterTestResourceServiceHandler

func RegisterTestResourceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTestResourceServiceHandler registers the http handlers for service TestResourceService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTestResourceServiceHandlerClient

func RegisterTestResourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TestResourceServiceClient) error

RegisterTestResourceServiceHandlerClient registers the http handlers for service TestResourceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TestResourceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TestResourceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TestResourceServiceClient" to call the correct interceptors.

func RegisterTestResourceServiceHandlerFromEndpoint

func RegisterTestResourceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTestResourceServiceHandlerFromEndpoint is same as RegisterTestResourceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTestResourceServiceHandlerServer

func RegisterTestResourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TestResourceServiceServer) error

RegisterTestResourceServiceHandlerServer registers the http handlers for service TestResourceService to "mux". UnaryRPC :call TestResourceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTestResourceServiceHandlerFromEndpoint instead.

func RegisterTestResourceServiceServer

func RegisterTestResourceServiceServer(s grpc.ServiceRegistrar, srv TestResourceServiceServer)

Types

type TestCreateNoOneOfRequest

type TestCreateNoOneOfRequest struct {
	Item *TestNoOneOf `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCreateNoOneOfRequest) Descriptor deprecated

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

Deprecated: Use TestCreateNoOneOfRequest.ProtoReflect.Descriptor instead.

func (*TestCreateNoOneOfRequest) GetItem

func (x *TestCreateNoOneOfRequest) GetItem() *TestNoOneOf

func (*TestCreateNoOneOfRequest) ProtoMessage

func (*TestCreateNoOneOfRequest) ProtoMessage()

func (*TestCreateNoOneOfRequest) ProtoReflect

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

func (*TestCreateNoOneOfRequest) Reset

func (x *TestCreateNoOneOfRequest) Reset()

func (*TestCreateNoOneOfRequest) String

func (x *TestCreateNoOneOfRequest) String() string

type TestCreateNoOneOfResponse

type TestCreateNoOneOfResponse struct {
	Item *TestNoOneOf `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCreateNoOneOfResponse) Descriptor deprecated

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

Deprecated: Use TestCreateNoOneOfResponse.ProtoReflect.Descriptor instead.

func (*TestCreateNoOneOfResponse) GetItem

func (x *TestCreateNoOneOfResponse) GetItem() *TestNoOneOf

func (*TestCreateNoOneOfResponse) ProtoMessage

func (*TestCreateNoOneOfResponse) ProtoMessage()

func (*TestCreateNoOneOfResponse) ProtoReflect

func (*TestCreateNoOneOfResponse) Reset

func (x *TestCreateNoOneOfResponse) Reset()

func (*TestCreateNoOneOfResponse) String

func (x *TestCreateNoOneOfResponse) String() string

type TestCreateResourceRequest

type TestCreateResourceRequest struct {
	Item *TestResource `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCreateResourceRequest) Descriptor deprecated

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

Deprecated: Use TestCreateResourceRequest.ProtoReflect.Descriptor instead.

func (*TestCreateResourceRequest) GetItem

func (*TestCreateResourceRequest) ProtoMessage

func (*TestCreateResourceRequest) ProtoMessage()

func (*TestCreateResourceRequest) ProtoReflect

func (*TestCreateResourceRequest) Reset

func (x *TestCreateResourceRequest) Reset()

func (*TestCreateResourceRequest) String

func (x *TestCreateResourceRequest) String() string

type TestCreateResourceResponse

type TestCreateResourceResponse struct {
	Item *TestResource `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCreateResourceResponse) Descriptor deprecated

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

Deprecated: Use TestCreateResourceResponse.ProtoReflect.Descriptor instead.

func (*TestCreateResourceResponse) GetItem

func (*TestCreateResourceResponse) ProtoMessage

func (*TestCreateResourceResponse) ProtoMessage()

func (*TestCreateResourceResponse) ProtoReflect

func (*TestCreateResourceResponse) Reset

func (x *TestCreateResourceResponse) Reset()

func (*TestCreateResourceResponse) String

func (x *TestCreateResourceResponse) String() string

type TestCustomTransformation

type TestCustomTransformation struct {
	SomeRandomId string `protobuf:"bytes,1,opt,name=some_random_id,json=someRandomId,proto3" json:"some_random_id,omitempty"`
	SecondaryId  string `protobuf:"bytes,2,opt,name=secondary_id,json=secondaryId,proto3" json:"secondary_id,omitempty"`
	// Types that are assignable to Attrs:
	//
	//	*TestCustomTransformation_Attributes
	//	*TestCustomTransformation_SubResourceAttributes
	Attrs isTestCustomTransformation_Attrs `protobuf_oneof:"attrs"`
	// contains filtered or unexported fields
}

func (*TestCustomTransformation) Descriptor deprecated

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

Deprecated: Use TestCustomTransformation.ProtoReflect.Descriptor instead.

func (*TestCustomTransformation) GetAttributes

func (x *TestCustomTransformation) GetAttributes() *structpb.Struct

func (*TestCustomTransformation) GetAttrs

func (m *TestCustomTransformation) GetAttrs() isTestCustomTransformation_Attrs

func (*TestCustomTransformation) GetSecondaryId

func (x *TestCustomTransformation) GetSecondaryId() string

func (*TestCustomTransformation) GetSomeRandomId

func (x *TestCustomTransformation) GetSomeRandomId() string

func (*TestCustomTransformation) GetSubResourceAttributes

func (x *TestCustomTransformation) GetSubResourceAttributes() *TestSubResourceAttributes

func (*TestCustomTransformation) ProtoMessage

func (*TestCustomTransformation) ProtoMessage()

func (*TestCustomTransformation) ProtoReflect

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

func (*TestCustomTransformation) Reset

func (x *TestCustomTransformation) Reset()

func (*TestCustomTransformation) String

func (x *TestCustomTransformation) String() string

type TestCustomTransformation_Attributes

type TestCustomTransformation_Attributes struct {
	Attributes *structpb.Struct `protobuf:"bytes,10,opt,name=attributes,proto3,oneof"`
}

type TestCustomTransformation_SubResourceAttributes

type TestCustomTransformation_SubResourceAttributes struct {
	SubResourceAttributes *TestSubResourceAttributes `protobuf:"bytes,20,opt,name=sub_resource_attributes,json=subResourceAttributes,proto3,oneof"`
}

type TestGetResourceRequest

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

func (*TestGetResourceRequest) Descriptor deprecated

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

Deprecated: Use TestGetResourceRequest.ProtoReflect.Descriptor instead.

func (*TestGetResourceRequest) GetId

func (x *TestGetResourceRequest) GetId() string

func (*TestGetResourceRequest) ProtoMessage

func (*TestGetResourceRequest) ProtoMessage()

func (*TestGetResourceRequest) ProtoReflect

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

func (*TestGetResourceRequest) Reset

func (x *TestGetResourceRequest) Reset()

func (*TestGetResourceRequest) String

func (x *TestGetResourceRequest) String() string

type TestGetResourceResponse

type TestGetResourceResponse struct {
	Item *TestResource `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestGetResourceResponse) Descriptor deprecated

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

Deprecated: Use TestGetResourceResponse.ProtoReflect.Descriptor instead.

func (*TestGetResourceResponse) GetItem

func (x *TestGetResourceResponse) GetItem() *TestResource

func (*TestGetResourceResponse) ProtoMessage

func (*TestGetResourceResponse) ProtoMessage()

func (*TestGetResourceResponse) ProtoReflect

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

func (*TestGetResourceResponse) Reset

func (x *TestGetResourceResponse) Reset()

func (*TestGetResourceResponse) String

func (x *TestGetResourceResponse) String() string

type TestItemNoType

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

func (*TestItemNoType) Descriptor deprecated

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

Deprecated: Use TestItemNoType.ProtoReflect.Descriptor instead.

func (*TestItemNoType) GetId

func (x *TestItemNoType) GetId() string

func (*TestItemNoType) ProtoMessage

func (*TestItemNoType) ProtoMessage()

func (*TestItemNoType) ProtoReflect

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

func (*TestItemNoType) Reset

func (x *TestItemNoType) Reset()

func (*TestItemNoType) String

func (x *TestItemNoType) String() string

type TestListResourceRequest

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

func (*TestListResourceRequest) Descriptor deprecated

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

Deprecated: Use TestListResourceRequest.ProtoReflect.Descriptor instead.

func (*TestListResourceRequest) ProtoMessage

func (*TestListResourceRequest) ProtoMessage()

func (*TestListResourceRequest) ProtoReflect

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

func (*TestListResourceRequest) Reset

func (x *TestListResourceRequest) Reset()

func (*TestListResourceRequest) String

func (x *TestListResourceRequest) String() string

type TestListResourceResponse

type TestListResourceResponse struct {
	Items []*TestResource `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*TestListResourceResponse) Descriptor deprecated

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

Deprecated: Use TestListResourceResponse.ProtoReflect.Descriptor instead.

func (*TestListResourceResponse) GetItems

func (x *TestListResourceResponse) GetItems() []*TestResource

func (*TestListResourceResponse) ProtoMessage

func (*TestListResourceResponse) ProtoMessage()

func (*TestListResourceResponse) ProtoReflect

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

func (*TestListResourceResponse) Reset

func (x *TestListResourceResponse) Reset()

func (*TestListResourceResponse) String

func (x *TestListResourceResponse) String() string

type TestNoAttributes

type TestNoAttributes struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*TestNoAttributes) Descriptor deprecated

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

Deprecated: Use TestNoAttributes.ProtoReflect.Descriptor instead.

func (*TestNoAttributes) GetId

func (x *TestNoAttributes) GetId() string

func (*TestNoAttributes) GetType

func (x *TestNoAttributes) GetType() string

func (*TestNoAttributes) ProtoMessage

func (*TestNoAttributes) ProtoMessage()

func (*TestNoAttributes) ProtoReflect

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

func (*TestNoAttributes) Reset

func (x *TestNoAttributes) Reset()

func (*TestNoAttributes) String

func (x *TestNoAttributes) String() string

type TestNoItemAttributes

type TestNoItemAttributes struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to Attrs:
	//
	//	*TestNoItemAttributes_Attributes
	//	*TestNoItemAttributes_SubResourceAttributes
	Attrs isTestNoItemAttributes_Attrs `protobuf_oneof:"attrs"`
	// contains filtered or unexported fields
}

func (*TestNoItemAttributes) Descriptor deprecated

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

Deprecated: Use TestNoItemAttributes.ProtoReflect.Descriptor instead.

func (*TestNoItemAttributes) GetAttributes

func (x *TestNoItemAttributes) GetAttributes() *structpb.Struct

func (*TestNoItemAttributes) GetAttrs

func (m *TestNoItemAttributes) GetAttrs() isTestNoItemAttributes_Attrs

func (*TestNoItemAttributes) GetId

func (x *TestNoItemAttributes) GetId() string

func (*TestNoItemAttributes) GetSubResourceAttributes

func (x *TestNoItemAttributes) GetSubResourceAttributes() *TestSubResourceAttributes

func (*TestNoItemAttributes) ProtoMessage

func (*TestNoItemAttributes) ProtoMessage()

func (*TestNoItemAttributes) ProtoReflect

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

func (*TestNoItemAttributes) Reset

func (x *TestNoItemAttributes) Reset()

func (*TestNoItemAttributes) String

func (x *TestNoItemAttributes) String() string

type TestNoItemAttributes_Attributes

type TestNoItemAttributes_Attributes struct {
	Attributes *structpb.Struct `protobuf:"bytes,10,opt,name=attributes,proto3,oneof"`
}

type TestNoItemAttributes_SubResourceAttributes

type TestNoItemAttributes_SubResourceAttributes struct {
	SubResourceAttributes *TestSubResourceAttributes `protobuf:"bytes,20,opt,name=sub_resource_attributes,json=subResourceAttributes,proto3,oneof"`
}

type TestNoOneOf

type TestNoOneOf struct {
	Id         string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type       string           `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Attributes *structpb.Struct `protobuf:"bytes,10,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*TestNoOneOf) Descriptor deprecated

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

Deprecated: Use TestNoOneOf.ProtoReflect.Descriptor instead.

func (*TestNoOneOf) GetAttributes

func (x *TestNoOneOf) GetAttributes() *structpb.Struct

func (*TestNoOneOf) GetId

func (x *TestNoOneOf) GetId() string

func (*TestNoOneOf) GetType

func (x *TestNoOneOf) GetType() string

func (*TestNoOneOf) ProtoMessage

func (*TestNoOneOf) ProtoMessage()

func (*TestNoOneOf) ProtoReflect

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

func (*TestNoOneOf) Reset

func (x *TestNoOneOf) Reset()

func (*TestNoOneOf) String

func (x *TestNoOneOf) String() string

type TestRequestItemNoType

type TestRequestItemNoType struct {
	Item *TestItemNoType `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestRequestItemNoType) Descriptor deprecated

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

Deprecated: Use TestRequestItemNoType.ProtoReflect.Descriptor instead.

func (*TestRequestItemNoType) GetItem

func (x *TestRequestItemNoType) GetItem() *TestItemNoType

func (*TestRequestItemNoType) ProtoMessage

func (*TestRequestItemNoType) ProtoMessage()

func (*TestRequestItemNoType) ProtoReflect

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

func (*TestRequestItemNoType) Reset

func (x *TestRequestItemNoType) Reset()

func (*TestRequestItemNoType) String

func (x *TestRequestItemNoType) String() string

type TestRequestItemNotMessage

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

func (*TestRequestItemNotMessage) Descriptor deprecated

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

Deprecated: Use TestRequestItemNotMessage.ProtoReflect.Descriptor instead.

func (*TestRequestItemNotMessage) GetItem

func (x *TestRequestItemNotMessage) GetItem() string

func (*TestRequestItemNotMessage) ProtoMessage

func (*TestRequestItemNotMessage) ProtoMessage()

func (*TestRequestItemNotMessage) ProtoReflect

func (*TestRequestItemNotMessage) Reset

func (x *TestRequestItemNotMessage) Reset()

func (*TestRequestItemNotMessage) String

func (x *TestRequestItemNotMessage) String() string

type TestRequestNoItem

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

func (*TestRequestNoItem) Descriptor deprecated

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

Deprecated: Use TestRequestNoItem.ProtoReflect.Descriptor instead.

func (*TestRequestNoItem) GetName

func (x *TestRequestNoItem) GetName() string

func (*TestRequestNoItem) ProtoMessage

func (*TestRequestNoItem) ProtoMessage()

func (*TestRequestNoItem) ProtoReflect

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

func (*TestRequestNoItem) Reset

func (x *TestRequestNoItem) Reset()

func (*TestRequestNoItem) String

func (x *TestRequestNoItem) String() string

type TestResource

type TestResource struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	OtherId string `protobuf:"bytes,3,opt,name=other_id,json=otherId,proto3" json:"other_id,omitempty"`
	// Types that are assignable to Attrs:
	//
	//	*TestResource_Attributes
	//	*TestResource_SubResourceAttributes
	Attrs isTestResource_Attrs `protobuf_oneof:"attrs"`
	// contains filtered or unexported fields
}

func (*TestResource) Descriptor deprecated

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

Deprecated: Use TestResource.ProtoReflect.Descriptor instead.

func (*TestResource) GetAttributes

func (x *TestResource) GetAttributes() *structpb.Struct

func (*TestResource) GetAttrs

func (m *TestResource) GetAttrs() isTestResource_Attrs

func (*TestResource) GetId

func (x *TestResource) GetId() string

func (*TestResource) GetOtherId

func (x *TestResource) GetOtherId() string

func (*TestResource) GetSubResourceAttributes

func (x *TestResource) GetSubResourceAttributes() *TestSubResourceAttributes

func (*TestResource) GetType

func (x *TestResource) GetType() string

func (*TestResource) ProtoMessage

func (*TestResource) ProtoMessage()

func (*TestResource) ProtoReflect

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

func (*TestResource) Reset

func (x *TestResource) Reset()

func (*TestResource) String

func (x *TestResource) String() string

type TestResourceServiceClient

type TestResourceServiceClient interface {
	TestListResource(ctx context.Context, in *TestListResourceRequest, opts ...grpc.CallOption) (*TestListResourceResponse, error)
	TestCreateResource(ctx context.Context, in *TestCreateResourceRequest, opts ...grpc.CallOption) (*TestCreateResourceResponse, error)
	TestUpdateResource(ctx context.Context, in *TestUpdateResourceRequest, opts ...grpc.CallOption) (*TestUpdateResourceResponse, error)
	TestGetResource(ctx context.Context, in *TestGetResourceRequest, opts ...grpc.CallOption) (*TestGetResourceResponse, error)
}

TestResourceServiceClient is the client API for TestResourceService 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 TestResourceServiceServer

type TestResourceServiceServer interface {
	TestListResource(context.Context, *TestListResourceRequest) (*TestListResourceResponse, error)
	TestCreateResource(context.Context, *TestCreateResourceRequest) (*TestCreateResourceResponse, error)
	TestUpdateResource(context.Context, *TestUpdateResourceRequest) (*TestUpdateResourceResponse, error)
	TestGetResource(context.Context, *TestGetResourceRequest) (*TestGetResourceResponse, error)
	// contains filtered or unexported methods
}

TestResourceServiceServer is the server API for TestResourceService service. All implementations must embed UnimplementedTestResourceServiceServer for forward compatibility

type TestResource_Attributes

type TestResource_Attributes struct {
	Attributes *structpb.Struct `protobuf:"bytes,10,opt,name=attributes,proto3,oneof"`
}

type TestResource_SubResourceAttributes

type TestResource_SubResourceAttributes struct {
	SubResourceAttributes *TestSubResourceAttributes `protobuf:"bytes,20,opt,name=sub_resource_attributes,json=subResourceAttributes,proto3,oneof"`
}

type TestResponseItemNoType

type TestResponseItemNoType struct {
	Item *TestItemNoType `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResponseItemNoType) Descriptor deprecated

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

Deprecated: Use TestResponseItemNoType.ProtoReflect.Descriptor instead.

func (*TestResponseItemNoType) GetItem

func (x *TestResponseItemNoType) GetItem() *TestItemNoType

func (*TestResponseItemNoType) ProtoMessage

func (*TestResponseItemNoType) ProtoMessage()

func (*TestResponseItemNoType) ProtoReflect

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

func (*TestResponseItemNoType) Reset

func (x *TestResponseItemNoType) Reset()

func (*TestResponseItemNoType) String

func (x *TestResponseItemNoType) String() string

type TestResponseItemNotMessage

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

func (*TestResponseItemNotMessage) Descriptor deprecated

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

Deprecated: Use TestResponseItemNotMessage.ProtoReflect.Descriptor instead.

func (*TestResponseItemNotMessage) GetItem

func (x *TestResponseItemNotMessage) GetItem() string

func (*TestResponseItemNotMessage) ProtoMessage

func (*TestResponseItemNotMessage) ProtoMessage()

func (*TestResponseItemNotMessage) ProtoReflect

func (*TestResponseItemNotMessage) Reset

func (x *TestResponseItemNotMessage) Reset()

func (*TestResponseItemNotMessage) String

func (x *TestResponseItemNotMessage) String() string

type TestResponseNoItem

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

func (*TestResponseNoItem) Descriptor deprecated

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

Deprecated: Use TestResponseNoItem.ProtoReflect.Descriptor instead.

func (*TestResponseNoItem) GetName

func (x *TestResponseNoItem) GetName() string

func (*TestResponseNoItem) ProtoMessage

func (*TestResponseNoItem) ProtoMessage()

func (*TestResponseNoItem) ProtoReflect

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

func (*TestResponseNoItem) Reset

func (x *TestResponseNoItem) Reset()

func (*TestResponseNoItem) String

func (x *TestResponseNoItem) String() string

type TestSubResourceAttributes

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

func (*TestSubResourceAttributes) Descriptor deprecated

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

Deprecated: Use TestSubResourceAttributes.ProtoReflect.Descriptor instead.

func (*TestSubResourceAttributes) GetName

func (x *TestSubResourceAttributes) GetName() string

func (*TestSubResourceAttributes) ProtoMessage

func (*TestSubResourceAttributes) ProtoMessage()

func (*TestSubResourceAttributes) ProtoReflect

func (*TestSubResourceAttributes) Reset

func (x *TestSubResourceAttributes) Reset()

func (*TestSubResourceAttributes) String

func (x *TestSubResourceAttributes) String() string

type TestUpdateNoOneOfRequest

type TestUpdateNoOneOfRequest struct {
	Id   string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Item *TestNoOneOf `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestUpdateNoOneOfRequest) Descriptor deprecated

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

Deprecated: Use TestUpdateNoOneOfRequest.ProtoReflect.Descriptor instead.

func (*TestUpdateNoOneOfRequest) GetId

func (x *TestUpdateNoOneOfRequest) GetId() string

func (*TestUpdateNoOneOfRequest) GetItem

func (x *TestUpdateNoOneOfRequest) GetItem() *TestNoOneOf

func (*TestUpdateNoOneOfRequest) ProtoMessage

func (*TestUpdateNoOneOfRequest) ProtoMessage()

func (*TestUpdateNoOneOfRequest) ProtoReflect

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

func (*TestUpdateNoOneOfRequest) Reset

func (x *TestUpdateNoOneOfRequest) Reset()

func (*TestUpdateNoOneOfRequest) String

func (x *TestUpdateNoOneOfRequest) String() string

type TestUpdateNoOneOfResponse

type TestUpdateNoOneOfResponse struct {
	Item *TestNoOneOf `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestUpdateNoOneOfResponse) Descriptor deprecated

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

Deprecated: Use TestUpdateNoOneOfResponse.ProtoReflect.Descriptor instead.

func (*TestUpdateNoOneOfResponse) GetItem

func (x *TestUpdateNoOneOfResponse) GetItem() *TestNoOneOf

func (*TestUpdateNoOneOfResponse) ProtoMessage

func (*TestUpdateNoOneOfResponse) ProtoMessage()

func (*TestUpdateNoOneOfResponse) ProtoReflect

func (*TestUpdateNoOneOfResponse) Reset

func (x *TestUpdateNoOneOfResponse) Reset()

func (*TestUpdateNoOneOfResponse) String

func (x *TestUpdateNoOneOfResponse) String() string

type TestUpdateResourceRequest

type TestUpdateResourceRequest struct {
	Id         string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Item       *TestResource          `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*TestUpdateResourceRequest) Descriptor deprecated

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

Deprecated: Use TestUpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*TestUpdateResourceRequest) GetId

func (x *TestUpdateResourceRequest) GetId() string

func (*TestUpdateResourceRequest) GetItem

func (*TestUpdateResourceRequest) GetUpdateMask

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

func (*TestUpdateResourceRequest) ProtoMessage

func (*TestUpdateResourceRequest) ProtoMessage()

func (*TestUpdateResourceRequest) ProtoReflect

func (*TestUpdateResourceRequest) Reset

func (x *TestUpdateResourceRequest) Reset()

func (*TestUpdateResourceRequest) String

func (x *TestUpdateResourceRequest) String() string

type TestUpdateResourceResponse

type TestUpdateResourceResponse struct {
	Item *TestResource `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*TestUpdateResourceResponse) Descriptor deprecated

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

Deprecated: Use TestUpdateResourceResponse.ProtoReflect.Descriptor instead.

func (*TestUpdateResourceResponse) GetItem

func (*TestUpdateResourceResponse) ProtoMessage

func (*TestUpdateResourceResponse) ProtoMessage()

func (*TestUpdateResourceResponse) ProtoReflect

func (*TestUpdateResourceResponse) Reset

func (x *TestUpdateResourceResponse) Reset()

func (*TestUpdateResourceResponse) String

func (x *TestUpdateResourceResponse) String() string

type UnimplementedTestResourceServiceServer

type UnimplementedTestResourceServiceServer struct {
}

UnimplementedTestResourceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTestResourceServiceServer) TestCreateResource

func (UnimplementedTestResourceServiceServer) TestGetResource

func (UnimplementedTestResourceServiceServer) TestListResource

func (UnimplementedTestResourceServiceServer) TestUpdateResource

type UnsafeTestResourceServiceServer

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

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

Jump to

Keyboard shortcuts

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