Documentation ¶
Index ¶
- Variables
- func RegisterStreamsServiceServer(s grpc.ServiceRegistrar, srv StreamsServiceServer)
- type CreateStreamRequest
- func (*CreateStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStreamRequest) GetStream() *v1.Stream
- func (*CreateStreamRequest) ProtoMessage()
- func (x *CreateStreamRequest) ProtoReflect() protoreflect.Message
- func (x *CreateStreamRequest) Reset()
- func (x *CreateStreamRequest) String() string
- type CreateStreamResponse
- func (*CreateStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStreamResponse) GetStream() *v1.Stream
- func (*CreateStreamResponse) ProtoMessage()
- func (x *CreateStreamResponse) ProtoReflect() protoreflect.Message
- func (x *CreateStreamResponse) Reset()
- func (x *CreateStreamResponse) String() string
- type DeleteStreamRequest
- func (*DeleteStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStreamRequest) GetRecursive() bool
- func (x *DeleteStreamRequest) GetRef() *v1.StreamRef
- func (*DeleteStreamRequest) ProtoMessage()
- func (x *DeleteStreamRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStreamRequest) Reset()
- func (x *DeleteStreamRequest) String() string
- type DeleteStreamResponse
- type GetStreamRequest
- func (*GetStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreamRequest) GetRecursive() bool
- func (x *GetStreamRequest) GetRef() *v1.StreamRef
- func (*GetStreamRequest) ProtoMessage()
- func (x *GetStreamRequest) ProtoReflect() protoreflect.Message
- func (x *GetStreamRequest) Reset()
- func (x *GetStreamRequest) String() string
- type GetStreamResponse
- func (*GetStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreamResponse) GetStreamTree() *v1.StreamTree
- func (*GetStreamResponse) ProtoMessage()
- func (x *GetStreamResponse) ProtoReflect() protoreflect.Message
- func (x *GetStreamResponse) Reset()
- func (x *GetStreamResponse) String() string
- type ListExtendedStreamsRequest
- func (*ListExtendedStreamsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListExtendedStreamsRequest) GetClientIds() []string
- func (*ListExtendedStreamsRequest) ProtoMessage()
- func (x *ListExtendedStreamsRequest) ProtoReflect() protoreflect.Message
- func (x *ListExtendedStreamsRequest) Reset()
- func (x *ListExtendedStreamsRequest) String() string
- type ListExtendedStreamsResponse
- func (*ListExtendedStreamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListExtendedStreamsResponse) GetExtendedStreams() []*v1.ExtendedStream
- func (*ListExtendedStreamsResponse) ProtoMessage()
- func (x *ListExtendedStreamsResponse) ProtoReflect() protoreflect.Message
- func (x *ListExtendedStreamsResponse) Reset()
- func (x *ListExtendedStreamsResponse) String() string
- type ListStreamsRequest
- func (*ListStreamsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStreamsRequest) GetBillingId() stringdeprecated
- func (x *ListStreamsRequest) GetProjectId() string
- func (x *ListStreamsRequest) GetRecursive() bool
- func (*ListStreamsRequest) ProtoMessage()
- func (x *ListStreamsRequest) ProtoReflect() protoreflect.Message
- func (x *ListStreamsRequest) Reset()
- func (x *ListStreamsRequest) String() string
- type ListStreamsResponse
- func (*ListStreamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStreamsResponse) GetStreams() []*v1.StreamTree
- func (*ListStreamsResponse) ProtoMessage()
- func (x *ListStreamsResponse) ProtoReflect() protoreflect.Message
- func (x *ListStreamsResponse) Reset()
- func (x *ListStreamsResponse) String() string
- type StreamsServiceClient
- type StreamsServiceServer
- type UnimplementedStreamsServiceServer
- func (UnimplementedStreamsServiceServer) CreateStream(context.Context, *CreateStreamRequest) (*CreateStreamResponse, error)
- func (UnimplementedStreamsServiceServer) DeleteStream(context.Context, *DeleteStreamRequest) (*DeleteStreamResponse, error)
- func (UnimplementedStreamsServiceServer) GetStream(context.Context, *GetStreamRequest) (*GetStreamResponse, error)
- func (UnimplementedStreamsServiceServer) ListExtendedStreams(context.Context, *ListExtendedStreamsRequest) (*ListExtendedStreamsResponse, error)
- func (UnimplementedStreamsServiceServer) ListStreams(context.Context, *ListStreamsRequest) (*ListStreamsResponse, error)
- type UnsafeStreamsServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_strmprivacy_api_streams_v1_streams_v1_proto protoreflect.FileDescriptor
var StreamsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.streams.v1.StreamsService", HandlerType: (*StreamsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListStreams", Handler: _StreamsService_ListStreams_Handler, }, { MethodName: "ListExtendedStreams", Handler: _StreamsService_ListExtendedStreams_Handler, }, { MethodName: "GetStream", Handler: _StreamsService_GetStream_Handler, }, { MethodName: "DeleteStream", Handler: _StreamsService_DeleteStream_Handler, }, { MethodName: "CreateStream", Handler: _StreamsService_CreateStream_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/streams/v1/streams_v1.proto", }
StreamsService_ServiceDesc is the grpc.ServiceDesc for StreamsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStreamsServiceServer ¶
func RegisterStreamsServiceServer(s grpc.ServiceRegistrar, srv StreamsServiceServer)
Types ¶
type CreateStreamRequest ¶
type CreateStreamRequest struct { Stream *v1.Stream `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` // contains filtered or unexported fields }
func (*CreateStreamRequest) Descriptor
deprecated
func (*CreateStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStreamRequest.ProtoReflect.Descriptor instead.
func (*CreateStreamRequest) GetStream ¶
func (x *CreateStreamRequest) GetStream() *v1.Stream
func (*CreateStreamRequest) ProtoMessage ¶
func (*CreateStreamRequest) ProtoMessage()
func (*CreateStreamRequest) ProtoReflect ¶
func (x *CreateStreamRequest) ProtoReflect() protoreflect.Message
func (*CreateStreamRequest) Reset ¶
func (x *CreateStreamRequest) Reset()
func (*CreateStreamRequest) String ¶
func (x *CreateStreamRequest) String() string
type CreateStreamResponse ¶
type CreateStreamResponse struct { Stream *v1.Stream `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` // contains filtered or unexported fields }
func (*CreateStreamResponse) Descriptor
deprecated
func (*CreateStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateStreamResponse.ProtoReflect.Descriptor instead.
func (*CreateStreamResponse) GetStream ¶
func (x *CreateStreamResponse) GetStream() *v1.Stream
func (*CreateStreamResponse) ProtoMessage ¶
func (*CreateStreamResponse) ProtoMessage()
func (*CreateStreamResponse) ProtoReflect ¶
func (x *CreateStreamResponse) ProtoReflect() protoreflect.Message
func (*CreateStreamResponse) Reset ¶
func (x *CreateStreamResponse) Reset()
func (*CreateStreamResponse) String ¶
func (x *CreateStreamResponse) String() string
type DeleteStreamRequest ¶
type DeleteStreamRequest struct { Ref *v1.StreamRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // (-- api-linter: core::0135::request-unknown-fields=disabled // aip.dev/not-precedent: We really need this field. --) Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` // contains filtered or unexported fields }
func (*DeleteStreamRequest) Descriptor
deprecated
func (*DeleteStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStreamRequest.ProtoReflect.Descriptor instead.
func (*DeleteStreamRequest) GetRecursive ¶
func (x *DeleteStreamRequest) GetRecursive() bool
func (*DeleteStreamRequest) GetRef ¶
func (x *DeleteStreamRequest) GetRef() *v1.StreamRef
func (*DeleteStreamRequest) ProtoMessage ¶
func (*DeleteStreamRequest) ProtoMessage()
func (*DeleteStreamRequest) ProtoReflect ¶
func (x *DeleteStreamRequest) ProtoReflect() protoreflect.Message
func (*DeleteStreamRequest) Reset ¶
func (x *DeleteStreamRequest) Reset()
func (*DeleteStreamRequest) String ¶
func (x *DeleteStreamRequest) String() string
type DeleteStreamResponse ¶
type DeleteStreamResponse struct {
// contains filtered or unexported fields
}
func (*DeleteStreamResponse) Descriptor
deprecated
func (*DeleteStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStreamResponse.ProtoReflect.Descriptor instead.
func (*DeleteStreamResponse) ProtoMessage ¶
func (*DeleteStreamResponse) ProtoMessage()
func (*DeleteStreamResponse) ProtoReflect ¶
func (x *DeleteStreamResponse) ProtoReflect() protoreflect.Message
func (*DeleteStreamResponse) Reset ¶
func (x *DeleteStreamResponse) Reset()
func (*DeleteStreamResponse) String ¶
func (x *DeleteStreamResponse) String() string
type GetStreamRequest ¶
type GetStreamRequest struct { Ref *v1.StreamRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` // contains filtered or unexported fields }
func (*GetStreamRequest) Descriptor
deprecated
func (*GetStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamRequest.ProtoReflect.Descriptor instead.
func (*GetStreamRequest) GetRecursive ¶
func (x *GetStreamRequest) GetRecursive() bool
func (*GetStreamRequest) GetRef ¶
func (x *GetStreamRequest) GetRef() *v1.StreamRef
func (*GetStreamRequest) ProtoMessage ¶
func (*GetStreamRequest) ProtoMessage()
func (*GetStreamRequest) ProtoReflect ¶
func (x *GetStreamRequest) ProtoReflect() protoreflect.Message
func (*GetStreamRequest) Reset ¶
func (x *GetStreamRequest) Reset()
func (*GetStreamRequest) String ¶
func (x *GetStreamRequest) String() string
type GetStreamResponse ¶
type GetStreamResponse struct { StreamTree *v1.StreamTree `protobuf:"bytes,1,opt,name=stream_tree,json=streamTree,proto3" json:"stream_tree,omitempty"` // contains filtered or unexported fields }
func (*GetStreamResponse) Descriptor
deprecated
func (*GetStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStreamResponse.ProtoReflect.Descriptor instead.
func (*GetStreamResponse) GetStreamTree ¶
func (x *GetStreamResponse) GetStreamTree() *v1.StreamTree
func (*GetStreamResponse) ProtoMessage ¶
func (*GetStreamResponse) ProtoMessage()
func (*GetStreamResponse) ProtoReflect ¶
func (x *GetStreamResponse) ProtoReflect() protoreflect.Message
func (*GetStreamResponse) Reset ¶
func (x *GetStreamResponse) Reset()
func (*GetStreamResponse) String ¶
func (x *GetStreamResponse) String() string
type ListExtendedStreamsRequest ¶ added in v2.28.0
type ListExtendedStreamsRequest struct { ClientIds []string `protobuf:"bytes,1,rep,name=client_ids,json=clientIds,proto3" json:"client_ids,omitempty"` // contains filtered or unexported fields }
func (*ListExtendedStreamsRequest) Descriptor
deprecated
added in
v2.28.0
func (*ListExtendedStreamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListExtendedStreamsRequest.ProtoReflect.Descriptor instead.
func (*ListExtendedStreamsRequest) GetClientIds ¶ added in v2.28.0
func (x *ListExtendedStreamsRequest) GetClientIds() []string
func (*ListExtendedStreamsRequest) ProtoMessage ¶ added in v2.28.0
func (*ListExtendedStreamsRequest) ProtoMessage()
func (*ListExtendedStreamsRequest) ProtoReflect ¶ added in v2.28.0
func (x *ListExtendedStreamsRequest) ProtoReflect() protoreflect.Message
func (*ListExtendedStreamsRequest) Reset ¶ added in v2.28.0
func (x *ListExtendedStreamsRequest) Reset()
func (*ListExtendedStreamsRequest) String ¶ added in v2.28.0
func (x *ListExtendedStreamsRequest) String() string
type ListExtendedStreamsResponse ¶ added in v2.28.0
type ListExtendedStreamsResponse struct { ExtendedStreams []*v1.ExtendedStream `protobuf:"bytes,1,rep,name=extended_streams,json=extendedStreams,proto3" json:"extended_streams,omitempty"` // contains filtered or unexported fields }
func (*ListExtendedStreamsResponse) Descriptor
deprecated
added in
v2.28.0
func (*ListExtendedStreamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListExtendedStreamsResponse.ProtoReflect.Descriptor instead.
func (*ListExtendedStreamsResponse) GetExtendedStreams ¶ added in v2.28.0
func (x *ListExtendedStreamsResponse) GetExtendedStreams() []*v1.ExtendedStream
func (*ListExtendedStreamsResponse) ProtoMessage ¶ added in v2.28.0
func (*ListExtendedStreamsResponse) ProtoMessage()
func (*ListExtendedStreamsResponse) ProtoReflect ¶ added in v2.28.0
func (x *ListExtendedStreamsResponse) ProtoReflect() protoreflect.Message
func (*ListExtendedStreamsResponse) Reset ¶ added in v2.28.0
func (x *ListExtendedStreamsResponse) Reset()
func (*ListExtendedStreamsResponse) String ¶ added in v2.28.0
func (x *ListExtendedStreamsResponse) String() string
type ListStreamsRequest ¶
type ListStreamsRequest struct { // Deprecated: Do not use. BillingId string `protobuf:"bytes,1,opt,name=billing_id,json=billingId,proto3" json:"billing_id,omitempty"` Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ListStreamsRequest) Descriptor
deprecated
func (*ListStreamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStreamsRequest.ProtoReflect.Descriptor instead.
func (*ListStreamsRequest) GetBillingId
deprecated
func (x *ListStreamsRequest) GetBillingId() string
Deprecated: Do not use.
func (*ListStreamsRequest) GetProjectId ¶ added in v2.38.0
func (x *ListStreamsRequest) GetProjectId() string
func (*ListStreamsRequest) GetRecursive ¶
func (x *ListStreamsRequest) GetRecursive() bool
func (*ListStreamsRequest) ProtoMessage ¶
func (*ListStreamsRequest) ProtoMessage()
func (*ListStreamsRequest) ProtoReflect ¶
func (x *ListStreamsRequest) ProtoReflect() protoreflect.Message
func (*ListStreamsRequest) Reset ¶
func (x *ListStreamsRequest) Reset()
func (*ListStreamsRequest) String ¶
func (x *ListStreamsRequest) String() string
type ListStreamsResponse ¶
type ListStreamsResponse struct { Streams []*v1.StreamTree `protobuf:"bytes,1,rep,name=streams,proto3" json:"streams,omitempty"` // contains filtered or unexported fields }
func (*ListStreamsResponse) Descriptor
deprecated
func (*ListStreamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStreamsResponse.ProtoReflect.Descriptor instead.
func (*ListStreamsResponse) GetStreams ¶
func (x *ListStreamsResponse) GetStreams() []*v1.StreamTree
func (*ListStreamsResponse) ProtoMessage ¶
func (*ListStreamsResponse) ProtoMessage()
func (*ListStreamsResponse) ProtoReflect ¶
func (x *ListStreamsResponse) ProtoReflect() protoreflect.Message
func (*ListStreamsResponse) Reset ¶
func (x *ListStreamsResponse) Reset()
func (*ListStreamsResponse) String ¶
func (x *ListStreamsResponse) String() string
type StreamsServiceClient ¶
type StreamsServiceClient interface { ListStreams(ctx context.Context, in *ListStreamsRequest, opts ...grpc.CallOption) (*ListStreamsResponse, error) ListExtendedStreams(ctx context.Context, in *ListExtendedStreamsRequest, opts ...grpc.CallOption) (*ListExtendedStreamsResponse, error) GetStream(ctx context.Context, in *GetStreamRequest, opts ...grpc.CallOption) (*GetStreamResponse, error) DeleteStream(ctx context.Context, in *DeleteStreamRequest, opts ...grpc.CallOption) (*DeleteStreamResponse, error) CreateStream(ctx context.Context, in *CreateStreamRequest, opts ...grpc.CallOption) (*CreateStreamResponse, error) }
StreamsServiceClient is the client API for StreamsService 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 NewStreamsServiceClient ¶
func NewStreamsServiceClient(cc grpc.ClientConnInterface) StreamsServiceClient
type StreamsServiceServer ¶
type StreamsServiceServer interface { ListStreams(context.Context, *ListStreamsRequest) (*ListStreamsResponse, error) ListExtendedStreams(context.Context, *ListExtendedStreamsRequest) (*ListExtendedStreamsResponse, error) GetStream(context.Context, *GetStreamRequest) (*GetStreamResponse, error) DeleteStream(context.Context, *DeleteStreamRequest) (*DeleteStreamResponse, error) CreateStream(context.Context, *CreateStreamRequest) (*CreateStreamResponse, error) // contains filtered or unexported methods }
StreamsServiceServer is the server API for StreamsService service. All implementations must embed UnimplementedStreamsServiceServer for forward compatibility
type UnimplementedStreamsServiceServer ¶
type UnimplementedStreamsServiceServer struct { }
UnimplementedStreamsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedStreamsServiceServer) CreateStream ¶
func (UnimplementedStreamsServiceServer) CreateStream(context.Context, *CreateStreamRequest) (*CreateStreamResponse, error)
func (UnimplementedStreamsServiceServer) DeleteStream ¶
func (UnimplementedStreamsServiceServer) DeleteStream(context.Context, *DeleteStreamRequest) (*DeleteStreamResponse, error)
func (UnimplementedStreamsServiceServer) GetStream ¶
func (UnimplementedStreamsServiceServer) GetStream(context.Context, *GetStreamRequest) (*GetStreamResponse, error)
func (UnimplementedStreamsServiceServer) ListExtendedStreams ¶ added in v2.28.0
func (UnimplementedStreamsServiceServer) ListExtendedStreams(context.Context, *ListExtendedStreamsRequest) (*ListExtendedStreamsResponse, error)
func (UnimplementedStreamsServiceServer) ListStreams ¶
func (UnimplementedStreamsServiceServer) ListStreams(context.Context, *ListStreamsRequest) (*ListStreamsResponse, error)
type UnsafeStreamsServiceServer ¶
type UnsafeStreamsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStreamsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamsServiceServer will result in compilation errors.