endpoint

package
v0.0.0-...-5fa7aab Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 9 Imported by: 11

Documentation

Index

Constants

View Source
const (
	ApiEndpointService_Get_FullMethodName  = "/yandex.cloud.endpoint.ApiEndpointService/Get"
	ApiEndpointService_List_FullMethodName = "/yandex.cloud.endpoint.ApiEndpointService/List"
)

Variables

View Source
var ApiEndpointService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.endpoint.ApiEndpointService",
	HandlerType: (*ApiEndpointServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ApiEndpointService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ApiEndpointService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/endpoint/api_endpoint_service.proto",
}

ApiEndpointService_ServiceDesc is the grpc.ServiceDesc for ApiEndpointService 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_yandex_cloud_endpoint_api_endpoint_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_endpoint_api_endpoint_service_proto protoreflect.FileDescriptor

Functions

func RegisterApiEndpointServiceServer

func RegisterApiEndpointServiceServer(s grpc.ServiceRegistrar, srv ApiEndpointServiceServer)

Types

type ApiEndpoint

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

func (*ApiEndpoint) Descriptor deprecated

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

Deprecated: Use ApiEndpoint.ProtoReflect.Descriptor instead.

func (*ApiEndpoint) GetAddress

func (x *ApiEndpoint) GetAddress() string

func (*ApiEndpoint) GetId

func (x *ApiEndpoint) GetId() string

func (*ApiEndpoint) ProtoMessage

func (*ApiEndpoint) ProtoMessage()

func (*ApiEndpoint) ProtoReflect

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

func (*ApiEndpoint) Reset

func (x *ApiEndpoint) Reset()

func (*ApiEndpoint) SetAddress

func (m *ApiEndpoint) SetAddress(v string)

func (*ApiEndpoint) SetId

func (m *ApiEndpoint) SetId(v string)

func (*ApiEndpoint) String

func (x *ApiEndpoint) String() string

type ApiEndpointServiceClient

type ApiEndpointServiceClient interface {
	Get(ctx context.Context, in *GetApiEndpointRequest, opts ...grpc.CallOption) (*ApiEndpoint, error)
	List(ctx context.Context, in *ListApiEndpointsRequest, opts ...grpc.CallOption) (*ListApiEndpointsResponse, error)
}

ApiEndpointServiceClient is the client API for ApiEndpointService 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 ApiEndpointServiceServer

type ApiEndpointServiceServer interface {
	Get(context.Context, *GetApiEndpointRequest) (*ApiEndpoint, error)
	List(context.Context, *ListApiEndpointsRequest) (*ListApiEndpointsResponse, error)
}

ApiEndpointServiceServer is the server API for ApiEndpointService service. All implementations should embed UnimplementedApiEndpointServiceServer for forward compatibility

type GetApiEndpointRequest

type GetApiEndpointRequest struct {
	ApiEndpointId string `protobuf:"bytes,1,opt,name=api_endpoint_id,json=apiEndpointId,proto3" json:"api_endpoint_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetApiEndpointRequest) Descriptor deprecated

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

Deprecated: Use GetApiEndpointRequest.ProtoReflect.Descriptor instead.

func (*GetApiEndpointRequest) GetApiEndpointId

func (x *GetApiEndpointRequest) GetApiEndpointId() string

func (*GetApiEndpointRequest) ProtoMessage

func (*GetApiEndpointRequest) ProtoMessage()

func (*GetApiEndpointRequest) ProtoReflect

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

func (*GetApiEndpointRequest) Reset

func (x *GetApiEndpointRequest) Reset()

func (*GetApiEndpointRequest) SetApiEndpointId

func (m *GetApiEndpointRequest) SetApiEndpointId(v string)

func (*GetApiEndpointRequest) String

func (x *GetApiEndpointRequest) String() string

type ListApiEndpointsRequest

type ListApiEndpointsRequest struct {
	PageSize  int64  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiEndpointsRequest) Descriptor deprecated

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

Deprecated: Use ListApiEndpointsRequest.ProtoReflect.Descriptor instead.

func (*ListApiEndpointsRequest) GetPageSize

func (x *ListApiEndpointsRequest) GetPageSize() int64

func (*ListApiEndpointsRequest) GetPageToken

func (x *ListApiEndpointsRequest) GetPageToken() string

func (*ListApiEndpointsRequest) ProtoMessage

func (*ListApiEndpointsRequest) ProtoMessage()

func (*ListApiEndpointsRequest) ProtoReflect

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

func (*ListApiEndpointsRequest) Reset

func (x *ListApiEndpointsRequest) Reset()

func (*ListApiEndpointsRequest) SetPageSize

func (m *ListApiEndpointsRequest) SetPageSize(v int64)

func (*ListApiEndpointsRequest) SetPageToken

func (m *ListApiEndpointsRequest) SetPageToken(v string)

func (*ListApiEndpointsRequest) String

func (x *ListApiEndpointsRequest) String() string

type ListApiEndpointsResponse

type ListApiEndpointsResponse struct {
	Endpoints     []*ApiEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	NextPageToken string         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiEndpointsResponse) Descriptor deprecated

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

Deprecated: Use ListApiEndpointsResponse.ProtoReflect.Descriptor instead.

func (*ListApiEndpointsResponse) GetEndpoints

func (x *ListApiEndpointsResponse) GetEndpoints() []*ApiEndpoint

func (*ListApiEndpointsResponse) GetNextPageToken

func (x *ListApiEndpointsResponse) GetNextPageToken() string

func (*ListApiEndpointsResponse) ProtoMessage

func (*ListApiEndpointsResponse) ProtoMessage()

func (*ListApiEndpointsResponse) ProtoReflect

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

func (*ListApiEndpointsResponse) Reset

func (x *ListApiEndpointsResponse) Reset()

func (*ListApiEndpointsResponse) SetEndpoints

func (m *ListApiEndpointsResponse) SetEndpoints(v []*ApiEndpoint)

func (*ListApiEndpointsResponse) SetNextPageToken

func (m *ListApiEndpointsResponse) SetNextPageToken(v string)

func (*ListApiEndpointsResponse) String

func (x *ListApiEndpointsResponse) String() string

type UnimplementedApiEndpointServiceServer

type UnimplementedApiEndpointServiceServer struct {
}

UnimplementedApiEndpointServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedApiEndpointServiceServer) Get

func (UnimplementedApiEndpointServiceServer) List

type UnsafeApiEndpointServiceServer

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

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

Jump to

Keyboard shortcuts

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