proto

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: GPL-2.0, GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "PUBLIC",
		1: "CONFIDENTIAL",
	}
	Type_value = map[string]int32{
		"PUBLIC":       0,
		"CONFIDENTIAL": 1,
	}
)

Enum value maps for Type.

View Source
var AppClientService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "appclient.AppClientService",
	HandlerType: (*AppClientServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindByID",
			Handler:    _AppClientService_FindByID_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "appclient/appclient.proto",
}

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

View Source
var File_appclient_appclient_proto protoreflect.FileDescriptor

Functions

func RegisterAppClientServiceServer

func RegisterAppClientServiceServer(s grpc.ServiceRegistrar, srv AppClientServiceServer)

Types

type AppClient

type AppClient struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type           Type   `protobuf:"varint,2,opt,name=type,proto3,enum=appclient.Type" json:"type,omitempty"`
	Name           string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Secret         string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	Description    string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	InformativeUri string `protobuf:"bytes,6,opt,name=informative_uri,json=informativeUri,proto3" json:"informative_uri,omitempty"`
	RedirectUri    string `protobuf:"bytes,7,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	// contains filtered or unexported fields
}

func (*AppClient) Descriptor deprecated

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

Deprecated: Use AppClient.ProtoReflect.Descriptor instead.

func (*AppClient) GetDescription

func (x *AppClient) GetDescription() string

func (*AppClient) GetId

func (x *AppClient) GetId() string

func (*AppClient) GetInformativeUri

func (x *AppClient) GetInformativeUri() string

func (*AppClient) GetName

func (x *AppClient) GetName() string

func (*AppClient) GetRedirectUri

func (x *AppClient) GetRedirectUri() string

func (*AppClient) GetSecret

func (x *AppClient) GetSecret() string

func (*AppClient) GetType

func (x *AppClient) GetType() Type

func (*AppClient) ProtoMessage

func (*AppClient) ProtoMessage()

func (*AppClient) ProtoReflect

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

func (*AppClient) Reset

func (x *AppClient) Reset()

func (*AppClient) String

func (x *AppClient) String() string

type AppClientServiceClient

type AppClientServiceClient interface {
	FindByID(ctx context.Context, in *FindByIDRequest, opts ...grpc.CallOption) (*FindByIDResponse, error)
}

AppClientServiceClient is the client API for AppClientService 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 AppClientServiceServer

type AppClientServiceServer interface {
	FindByID(context.Context, *FindByIDRequest) (*FindByIDResponse, error)
	// contains filtered or unexported methods
}

AppClientServiceServer is the server API for AppClientService service. All implementations must embed UnimplementedAppClientServiceServer for forward compatibility

type FindByIDRequest

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

func (*FindByIDRequest) Descriptor deprecated

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

Deprecated: Use FindByIDRequest.ProtoReflect.Descriptor instead.

func (*FindByIDRequest) GetId

func (x *FindByIDRequest) GetId() string

func (*FindByIDRequest) ProtoMessage

func (*FindByIDRequest) ProtoMessage()

func (*FindByIDRequest) ProtoReflect

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

func (*FindByIDRequest) Reset

func (x *FindByIDRequest) Reset()

func (*FindByIDRequest) String

func (x *FindByIDRequest) String() string

type FindByIDResponse

type FindByIDResponse struct {
	Client *AppClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*FindByIDResponse) Descriptor deprecated

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

Deprecated: Use FindByIDResponse.ProtoReflect.Descriptor instead.

func (*FindByIDResponse) GetClient

func (x *FindByIDResponse) GetClient() *AppClient

func (*FindByIDResponse) ProtoMessage

func (*FindByIDResponse) ProtoMessage()

func (*FindByIDResponse) ProtoReflect

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

func (*FindByIDResponse) Reset

func (x *FindByIDResponse) Reset()

func (*FindByIDResponse) String

func (x *FindByIDResponse) String() string

type Type

type Type int32
const (
	Type_PUBLIC       Type = 0
	Type_CONFIDENTIAL Type = 1
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

type UnimplementedAppClientServiceServer

type UnimplementedAppClientServiceServer struct {
}

UnimplementedAppClientServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAppClientServiceServer) FindByID

type UnsafeAppClientServiceServer

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

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

Jump to

Keyboard shortcuts

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