Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterApiEndpointServiceServer(s grpc.ServiceRegistrar, srv ApiEndpointServiceServer)
- type ApiEndpoint
- func (*ApiEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *ApiEndpoint) GetAddress() string
- func (x *ApiEndpoint) GetId() string
- func (*ApiEndpoint) ProtoMessage()
- func (x *ApiEndpoint) ProtoReflect() protoreflect.Message
- func (x *ApiEndpoint) Reset()
- func (m *ApiEndpoint) SetAddress(v string)
- func (m *ApiEndpoint) SetId(v string)
- func (x *ApiEndpoint) String() string
- type ApiEndpointServiceClient
- type ApiEndpointServiceServer
- type GetApiEndpointRequest
- func (*GetApiEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetApiEndpointRequest) GetApiEndpointId() string
- func (*GetApiEndpointRequest) ProtoMessage()
- func (x *GetApiEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *GetApiEndpointRequest) Reset()
- func (m *GetApiEndpointRequest) SetApiEndpointId(v string)
- func (x *GetApiEndpointRequest) String() string
- type ListApiEndpointsRequest
- func (*ListApiEndpointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListApiEndpointsRequest) GetPageSize() int64
- func (x *ListApiEndpointsRequest) GetPageToken() string
- func (*ListApiEndpointsRequest) ProtoMessage()
- func (x *ListApiEndpointsRequest) ProtoReflect() protoreflect.Message
- func (x *ListApiEndpointsRequest) Reset()
- func (m *ListApiEndpointsRequest) SetPageSize(v int64)
- func (m *ListApiEndpointsRequest) SetPageToken(v string)
- func (x *ListApiEndpointsRequest) String() string
- type ListApiEndpointsResponse
- func (*ListApiEndpointsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListApiEndpointsResponse) GetEndpoints() []*ApiEndpoint
- func (x *ListApiEndpointsResponse) GetNextPageToken() string
- func (*ListApiEndpointsResponse) ProtoMessage()
- func (x *ListApiEndpointsResponse) ProtoReflect() protoreflect.Message
- func (x *ListApiEndpointsResponse) Reset()
- func (m *ListApiEndpointsResponse) SetEndpoints(v []*ApiEndpoint)
- func (m *ListApiEndpointsResponse) SetNextPageToken(v string)
- func (x *ListApiEndpointsResponse) String() string
- type UnimplementedApiEndpointServiceServer
- type UnsafeApiEndpointServiceServer
Constants ¶
const ( ApiEndpointService_Get_FullMethodName = "/yandex.cloud.endpoint.ApiEndpointService/Get" ApiEndpointService_List_FullMethodName = "/yandex.cloud.endpoint.ApiEndpointService/List" )
Variables ¶
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)
var File_yandex_cloud_endpoint_api_endpoint_proto protoreflect.FileDescriptor
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.
func NewApiEndpointServiceClient ¶
func NewApiEndpointServiceClient(cc grpc.ClientConnInterface) ApiEndpointServiceClient
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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedApiEndpointServiceServer) Get ¶
func (UnimplementedApiEndpointServiceServer) Get(context.Context, *GetApiEndpointRequest) (*ApiEndpoint, error)
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.