key_streams

package
v3.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_strmprivacy_api_key_streams_v1_key_streams_proto protoreflect.FileDescriptor
View Source
var KeyStreamsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "strmprivacy.api.key_streams.v1.KeyStreamsService",
	HandlerType: (*KeyStreamsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListKeyStreams",
			Handler:    _KeyStreamsService_ListKeyStreams_Handler,
		},
		{
			MethodName: "GetKeyStream",
			Handler:    _KeyStreamsService_GetKeyStream_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "strmprivacy/api/key_streams/v1/key_streams.proto",
}

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

Functions

func RegisterKeyStreamsServiceServer

func RegisterKeyStreamsServiceServer(s grpc.ServiceRegistrar, srv KeyStreamsServiceServer)

Types

type GetKeyStreamRequest

type GetKeyStreamRequest struct {
	Ref *v1.KeyStreamRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyStreamRequest) Descriptor deprecated

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

Deprecated: Use GetKeyStreamRequest.ProtoReflect.Descriptor instead.

func (*GetKeyStreamRequest) GetRef

func (x *GetKeyStreamRequest) GetRef() *v1.KeyStreamRef

func (*GetKeyStreamRequest) ProtoMessage

func (*GetKeyStreamRequest) ProtoMessage()

func (*GetKeyStreamRequest) ProtoReflect

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

func (*GetKeyStreamRequest) Reset

func (x *GetKeyStreamRequest) Reset()

func (*GetKeyStreamRequest) String

func (x *GetKeyStreamRequest) String() string

type GetKeyStreamResponse

type GetKeyStreamResponse struct {
	KeyStream *v1.KeyStream `protobuf:"bytes,1,opt,name=key_stream,json=keyStream,proto3" json:"key_stream,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyStreamResponse) Descriptor deprecated

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

Deprecated: Use GetKeyStreamResponse.ProtoReflect.Descriptor instead.

func (*GetKeyStreamResponse) GetKeyStream

func (x *GetKeyStreamResponse) GetKeyStream() *v1.KeyStream

func (*GetKeyStreamResponse) ProtoMessage

func (*GetKeyStreamResponse) ProtoMessage()

func (*GetKeyStreamResponse) ProtoReflect

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

func (*GetKeyStreamResponse) Reset

func (x *GetKeyStreamResponse) Reset()

func (*GetKeyStreamResponse) String

func (x *GetKeyStreamResponse) String() string

type KeyStreamsServiceClient

type KeyStreamsServiceClient interface {
	ListKeyStreams(ctx context.Context, in *ListKeyStreamsRequest, opts ...grpc.CallOption) (*ListKeyStreamsResponse, error)
	GetKeyStream(ctx context.Context, in *GetKeyStreamRequest, opts ...grpc.CallOption) (*GetKeyStreamResponse, error)
}

KeyStreamsServiceClient is the client API for KeyStreamsService 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 KeyStreamsServiceServer

type KeyStreamsServiceServer interface {
	ListKeyStreams(context.Context, *ListKeyStreamsRequest) (*ListKeyStreamsResponse, error)
	GetKeyStream(context.Context, *GetKeyStreamRequest) (*GetKeyStreamResponse, error)
}

KeyStreamsServiceServer is the server API for KeyStreamsService service. All implementations should embed UnimplementedKeyStreamsServiceServer for forward compatibility

type ListKeyStreamsRequest

type ListKeyStreamsRequest struct {

	// Deprecated: Do not use.
	BillingId string `protobuf:"bytes,1,opt,name=billing_id,json=billingId,proto3" json:"billing_id,omitempty"`
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeyStreamsRequest) Descriptor deprecated

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

Deprecated: Use ListKeyStreamsRequest.ProtoReflect.Descriptor instead.

func (*ListKeyStreamsRequest) GetBillingId deprecated

func (x *ListKeyStreamsRequest) GetBillingId() string

Deprecated: Do not use.

func (*ListKeyStreamsRequest) GetProjectId

func (x *ListKeyStreamsRequest) GetProjectId() string

func (*ListKeyStreamsRequest) ProtoMessage

func (*ListKeyStreamsRequest) ProtoMessage()

func (*ListKeyStreamsRequest) ProtoReflect

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

func (*ListKeyStreamsRequest) Reset

func (x *ListKeyStreamsRequest) Reset()

func (*ListKeyStreamsRequest) String

func (x *ListKeyStreamsRequest) String() string

type ListKeyStreamsResponse

type ListKeyStreamsResponse struct {
	KeyStreams []*v1.KeyStream `protobuf:"bytes,1,rep,name=key_streams,json=keyStreams,proto3" json:"key_streams,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeyStreamsResponse) Descriptor deprecated

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

Deprecated: Use ListKeyStreamsResponse.ProtoReflect.Descriptor instead.

func (*ListKeyStreamsResponse) GetKeyStreams

func (x *ListKeyStreamsResponse) GetKeyStreams() []*v1.KeyStream

func (*ListKeyStreamsResponse) ProtoMessage

func (*ListKeyStreamsResponse) ProtoMessage()

func (*ListKeyStreamsResponse) ProtoReflect

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

func (*ListKeyStreamsResponse) Reset

func (x *ListKeyStreamsResponse) Reset()

func (*ListKeyStreamsResponse) String

func (x *ListKeyStreamsResponse) String() string

type UnimplementedKeyStreamsServiceServer

type UnimplementedKeyStreamsServiceServer struct {
}

UnimplementedKeyStreamsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedKeyStreamsServiceServer) GetKeyStream

func (UnimplementedKeyStreamsServiceServer) ListKeyStreams

type UnsafeKeyStreamsServiceServer

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

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

Jump to

Keyboard shortcuts

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