Documentation ¶
Index ¶
- Variables
- func RegisterKeyStreamsServiceServer(s grpc.ServiceRegistrar, srv KeyStreamsServiceServer)
- type GetKeyStreamRequest
- func (*GetKeyStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyStreamRequest) GetRef() *v1.KeyStreamRef
- func (*GetKeyStreamRequest) ProtoMessage()
- func (x *GetKeyStreamRequest) ProtoReflect() protoreflect.Message
- func (x *GetKeyStreamRequest) Reset()
- func (x *GetKeyStreamRequest) String() string
- type GetKeyStreamResponse
- func (*GetKeyStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyStreamResponse) GetKeyStream() *v1.KeyStream
- func (*GetKeyStreamResponse) ProtoMessage()
- func (x *GetKeyStreamResponse) ProtoReflect() protoreflect.Message
- func (x *GetKeyStreamResponse) Reset()
- func (x *GetKeyStreamResponse) String() string
- type KeyStreamsServiceClient
- type KeyStreamsServiceServer
- type ListKeyStreamsRequest
- func (*ListKeyStreamsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListKeyStreamsRequest) GetBillingId() stringdeprecated
- func (x *ListKeyStreamsRequest) GetProjectId() string
- func (*ListKeyStreamsRequest) ProtoMessage()
- func (x *ListKeyStreamsRequest) ProtoReflect() protoreflect.Message
- func (x *ListKeyStreamsRequest) Reset()
- func (x *ListKeyStreamsRequest) String() string
- type ListKeyStreamsResponse
- func (*ListKeyStreamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListKeyStreamsResponse) GetKeyStreams() []*v1.KeyStream
- func (*ListKeyStreamsResponse) ProtoMessage()
- func (x *ListKeyStreamsResponse) ProtoReflect() protoreflect.Message
- func (x *ListKeyStreamsResponse) Reset()
- func (x *ListKeyStreamsResponse) String() string
- type UnimplementedKeyStreamsServiceServer
- type UnsafeKeyStreamsServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_strmprivacy_api_key_streams_v1_key_streams_proto protoreflect.FileDescriptor
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.
func NewKeyStreamsServiceClient ¶
func NewKeyStreamsServiceClient(cc grpc.ClientConnInterface) KeyStreamsServiceClient
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) GetKeyStream(context.Context, *GetKeyStreamRequest) (*GetKeyStreamResponse, error)
func (UnimplementedKeyStreamsServiceServer) ListKeyStreams ¶
func (UnimplementedKeyStreamsServiceServer) ListKeyStreams(context.Context, *ListKeyStreamsRequest) (*ListKeyStreamsResponse, error)
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.