sbatchapiv1alpha1

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sbatchapi_v1alpha1_sbatch_proto protoreflect.FileDescriptor
View Source
var SBatchAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sbatchapi.v1alpha1.SBatchAPI",
	HandlerType: (*SBatchAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSBatch",
			Handler:    _SBatchAPI_GetSBatch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sbatchapi/v1alpha1/sbatch.proto",
}

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

Functions

func RegisterSBatchAPIServer

func RegisterSBatchAPIServer(s grpc.ServiceRegistrar, srv SBatchAPIServer)

Types

type GetSBatchRequest

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

func (*GetSBatchRequest) Descriptor deprecated

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

Deprecated: Use GetSBatchRequest.ProtoReflect.Descriptor instead.

func (*GetSBatchRequest) GetBatchLocationHash

func (x *GetSBatchRequest) GetBatchLocationHash() string

func (*GetSBatchRequest) ProtoMessage

func (*GetSBatchRequest) ProtoMessage()

func (*GetSBatchRequest) ProtoReflect

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

func (*GetSBatchRequest) Reset

func (x *GetSBatchRequest) Reset()

func (*GetSBatchRequest) String

func (x *GetSBatchRequest) String() string

type GetSBatchResponse

type GetSBatchResponse struct {
	Sbatch        string `protobuf:"bytes,1,opt,name=sbatch,proto3" json:"sbatch,omitempty"`
	GridLoggerUrl string `protobuf:"bytes,2,opt,name=grid_logger_url,json=gridLoggerUrl,proto3" json:"grid_logger_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSBatchResponse) Descriptor deprecated

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

Deprecated: Use GetSBatchResponse.ProtoReflect.Descriptor instead.

func (*GetSBatchResponse) GetGridLoggerUrl

func (x *GetSBatchResponse) GetGridLoggerUrl() string

func (*GetSBatchResponse) GetSbatch

func (x *GetSBatchResponse) GetSbatch() string

func (*GetSBatchResponse) ProtoMessage

func (*GetSBatchResponse) ProtoMessage()

func (*GetSBatchResponse) ProtoReflect

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

func (*GetSBatchResponse) Reset

func (x *GetSBatchResponse) Reset()

func (*GetSBatchResponse) String

func (x *GetSBatchResponse) String() string

type SBatchAPIClient

type SBatchAPIClient interface {
	GetSBatch(ctx context.Context, in *GetSBatchRequest, opts ...grpc.CallOption) (*GetSBatchResponse, error)
}

SBatchAPIClient is the client API for SBatchAPI 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 NewSBatchAPIClient

func NewSBatchAPIClient(cc grpc.ClientConnInterface) SBatchAPIClient

type SBatchAPIServer

type SBatchAPIServer interface {
	GetSBatch(context.Context, *GetSBatchRequest) (*GetSBatchResponse, error)
	// contains filtered or unexported methods
}

SBatchAPIServer is the server API for SBatchAPI service. All implementations must embed UnimplementedSBatchAPIServer for forward compatibility

type UnimplementedSBatchAPIServer

type UnimplementedSBatchAPIServer struct {
}

UnimplementedSBatchAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedSBatchAPIServer) GetSBatch

type UnsafeSBatchAPIServer

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

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

Jump to

Keyboard shortcuts

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