2020-05-01 12:38:01 -07:00
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
2023-02-02 17:15:17 -08:00
2020-05-01 12:38:01 -07:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
2025-05-23 09:42:26 -07:00
// protoc-gen-go v1.36.6
2022-04-04 13:55:42 -04:00
// protoc (unknown)
2020-05-01 18:05:54 -04:00
// source: controller/api/services/v1/host_service.proto
2020-05-01 12:38:01 -07:00
2020-05-01 18:05:54 -04:00
package services
2020-05-01 12:38:01 -07:00
import (
2020-07-23 11:26:15 -07:00
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
2021-08-26 10:44:41 -04:00
hosts "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hosts"
2022-04-13 12:56:31 -04:00
_ "github.com/hashicorp/boundary/sdk/pbs/controller/protooptions"
2020-05-01 12:38:01 -07:00
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
2021-04-15 13:11:23 -05:00
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
2021-01-08 10:32:02 -05:00
reflect "reflect"
sync "sync"
2025-05-23 09:42:26 -07:00
unsafe "unsafe"
2020-05-01 12:38:01 -07:00
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( 20 - protoimpl . MinVersion )
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
)
type GetHostRequest struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
2020-05-01 12:38:01 -07:00
unknownFields protoimpl . UnknownFields
2025-02-19 09:14:41 -08:00
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * GetHostRequest ) Reset () {
* x = GetHostRequest {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 0 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * GetHostRequest ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * GetHostRequest ) ProtoMessage () {}
func ( x * GetHostRequest ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 0 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use GetHostRequest.ProtoReflect.Descriptor instead.
func ( * GetHostRequest ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 0 }
2020-05-01 12:38:01 -07:00
}
func ( x * GetHostRequest ) GetId () string {
if x != nil {
return x . Id
}
return ""
}
type GetHostResponse struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
Item * hosts . Host `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
2020-05-01 12:38:01 -07:00
unknownFields protoimpl . UnknownFields
2025-02-19 09:14:41 -08:00
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * GetHostResponse ) Reset () {
* x = GetHostResponse {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * GetHostResponse ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * GetHostResponse ) ProtoMessage () {}
func ( x * GetHostResponse ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 1 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use GetHostResponse.ProtoReflect.Descriptor instead.
func ( * GetHostResponse ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 1 }
2020-05-01 12:38:01 -07:00
}
2020-05-01 18:05:54 -04:00
func ( x * GetHostResponse ) GetItem () * hosts . Host {
2020-05-01 12:38:01 -07:00
if x != nil {
return x . Item
}
return nil
}
type ListHostsRequest struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
HostCatalogId string `protobuf:"bytes,1,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
2024-04-08 13:55:17 -07:00
// You can specify that the filter should only return items that match.
// Refer to [filter expressions](https://developer.hashicorp.com/boundary/docs/concepts/filtering) for more information.
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
// An opaque token that Boundary uses to continue an existing iteration or
// request updated items. If you do not specify a token, pagination
// starts from the beginning. To learn more about list pagination
// in Boundary, refer to [list pagination](https://developer.hashicorp.com/boundary/docs/api-clients/api/pagination).
2023-10-30 14:41:12 -07:00
ListToken string `protobuf:"bytes,40,opt,name=list_token,proto3" json:"list_token,omitempty" class:"public"` // @gotags: `class:"public"`
// The maximum size of a page in this iteration.
// If unset, the default page size configured will be used.
// If the page_size is greater than the default page configured,
2024-04-08 13:55:17 -07:00
// the page size will be truncated to this number.
2025-02-19 09:14:41 -08:00
PageSize uint32 `protobuf:"varint,50,opt,name=page_size,proto3" json:"page_size,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * ListHostsRequest ) Reset () {
* x = ListHostsRequest {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * ListHostsRequest ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ListHostsRequest ) ProtoMessage () {}
func ( x * ListHostsRequest ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 2 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use ListHostsRequest.ProtoReflect.Descriptor instead.
func ( * ListHostsRequest ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 2 }
2020-05-01 12:38:01 -07:00
}
func ( x * ListHostsRequest ) GetHostCatalogId () string {
if x != nil {
return x . HostCatalogId
}
return ""
}
2021-02-22 10:09:25 -07:00
func ( x * ListHostsRequest ) GetFilter () string {
if x != nil {
return x . Filter
}
return ""
}
2023-10-30 14:41:12 -07:00
func ( x * ListHostsRequest ) GetListToken () string {
if x != nil {
return x . ListToken
}
return ""
}
func ( x * ListHostsRequest ) GetPageSize () uint32 {
if x != nil {
return x . PageSize
}
return 0
}
2020-05-01 12:38:01 -07:00
type ListHostsResponse struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
Items [] * hosts . Host `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
2023-10-30 14:41:12 -07:00
// The type of response, either "delta" or "complete".
// Delta signifies that this is part of a paginated result
// or an update to a previously completed pagination.
// Complete signifies that it is the last page.
ResponseType string `protobuf:"bytes,2,opt,name=response_type,proto3" json:"response_type,omitempty" class:"public"` // @gotags: `class:"public"`
// An opaque token used to continue an existing pagination or
// request updated items. Use this token in the next list request
// to request the next page.
ListToken string `protobuf:"bytes,3,opt,name=list_token,proto3" json:"list_token,omitempty" class:"public"` // @gotags: `class:"public"`
// The name of the field which the items are sorted by.
SortBy string `protobuf:"bytes,4,opt,name=sort_by,proto3" json:"sort_by,omitempty" class:"public"` // @gotags: `class:"public"`
// The direction of the sort, either "asc" or "desc".
SortDir string `protobuf:"bytes,5,opt,name=sort_dir,proto3" json:"sort_dir,omitempty" class:"public"` // @gotags: `class:"public"`
// A list of item IDs that have been removed since they were returned
// as part of a pagination. They should be dropped from any client cache.
// This may contain items that are not known to the cache, if they were
// created and deleted between listings.
RemovedIds [] string `protobuf:"bytes,6,rep,name=removed_ids,proto3" json:"removed_ids,omitempty" class:"public"` // @gotags: `class:"public"`
// An estimate at the total items available. This may change during pagination.
2025-02-19 09:14:41 -08:00
EstItemCount uint32 `protobuf:"varint,7,opt,name=est_item_count,proto3" json:"est_item_count,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * ListHostsResponse ) Reset () {
* x = ListHostsResponse {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * ListHostsResponse ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ListHostsResponse ) ProtoMessage () {}
func ( x * ListHostsResponse ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 3 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use ListHostsResponse.ProtoReflect.Descriptor instead.
func ( * ListHostsResponse ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 3 }
2020-05-01 12:38:01 -07:00
}
2020-05-01 18:05:54 -04:00
func ( x * ListHostsResponse ) GetItems () [] * hosts . Host {
2020-05-01 12:38:01 -07:00
if x != nil {
return x . Items
}
return nil
}
2023-10-30 14:41:12 -07:00
func ( x * ListHostsResponse ) GetResponseType () string {
if x != nil {
return x . ResponseType
}
return ""
}
func ( x * ListHostsResponse ) GetListToken () string {
if x != nil {
return x . ListToken
}
return ""
}
func ( x * ListHostsResponse ) GetSortBy () string {
if x != nil {
return x . SortBy
}
return ""
}
func ( x * ListHostsResponse ) GetSortDir () string {
if x != nil {
return x . SortDir
}
return ""
}
func ( x * ListHostsResponse ) GetRemovedIds () [] string {
if x != nil {
return x . RemovedIds
}
return nil
}
func ( x * ListHostsResponse ) GetEstItemCount () uint32 {
if x != nil {
return x . EstItemCount
}
return 0
}
2020-05-01 12:38:01 -07:00
type CreateHostRequest struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
Item * hosts . Host `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
2020-05-01 12:38:01 -07:00
unknownFields protoimpl . UnknownFields
2025-02-19 09:14:41 -08:00
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * CreateHostRequest ) Reset () {
* x = CreateHostRequest {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 4 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * CreateHostRequest ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * CreateHostRequest ) ProtoMessage () {}
func ( x * CreateHostRequest ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 4 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use CreateHostRequest.ProtoReflect.Descriptor instead.
func ( * CreateHostRequest ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 4 }
2020-05-01 12:38:01 -07:00
}
2020-05-01 18:05:54 -04:00
func ( x * CreateHostRequest ) GetItem () * hosts . Host {
2020-05-01 12:38:01 -07:00
if x != nil {
return x . Item
}
return nil
}
type CreateHostResponse struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
Item * hosts . Host `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
2020-05-01 12:38:01 -07:00
unknownFields protoimpl . UnknownFields
2025-02-19 09:14:41 -08:00
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * CreateHostResponse ) Reset () {
* x = CreateHostResponse {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 5 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * CreateHostResponse ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * CreateHostResponse ) ProtoMessage () {}
func ( x * CreateHostResponse ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 5 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use CreateHostResponse.ProtoReflect.Descriptor instead.
func ( * CreateHostResponse ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 5 }
2020-05-01 12:38:01 -07:00
}
2020-07-22 00:14:28 -04:00
func ( x * CreateHostResponse ) GetUri () string {
2020-05-01 12:38:01 -07:00
if x != nil {
2020-07-22 00:14:28 -04:00
return x . Uri
2020-05-01 12:38:01 -07:00
}
return ""
}
2020-05-01 18:05:54 -04:00
func ( x * CreateHostResponse ) GetItem () * hosts . Host {
2020-05-01 12:38:01 -07:00
if x != nil {
return x . Item
}
return nil
}
type UpdateHostRequest struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
Item * hosts . Host `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
UpdateMask * fieldmaskpb . FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
2020-05-01 12:38:01 -07:00
unknownFields protoimpl . UnknownFields
2025-02-19 09:14:41 -08:00
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * UpdateHostRequest ) Reset () {
* x = UpdateHostRequest {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 6 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * UpdateHostRequest ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * UpdateHostRequest ) ProtoMessage () {}
func ( x * UpdateHostRequest ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 6 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use UpdateHostRequest.ProtoReflect.Descriptor instead.
func ( * UpdateHostRequest ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 6 }
2020-05-01 12:38:01 -07:00
}
func ( x * UpdateHostRequest ) GetId () string {
if x != nil {
return x . Id
}
return ""
}
2020-05-01 18:05:54 -04:00
func ( x * UpdateHostRequest ) GetItem () * hosts . Host {
2020-05-01 12:38:01 -07:00
if x != nil {
return x . Item
}
return nil
}
2021-04-15 13:11:23 -05:00
func ( x * UpdateHostRequest ) GetUpdateMask () * fieldmaskpb . FieldMask {
2020-05-01 12:38:01 -07:00
if x != nil {
return x . UpdateMask
}
return nil
}
type UpdateHostResponse struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
Item * hosts . Host `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
2020-05-01 12:38:01 -07:00
unknownFields protoimpl . UnknownFields
2025-02-19 09:14:41 -08:00
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * UpdateHostResponse ) Reset () {
* x = UpdateHostResponse {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 7 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * UpdateHostResponse ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * UpdateHostResponse ) ProtoMessage () {}
func ( x * UpdateHostResponse ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 7 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use UpdateHostResponse.ProtoReflect.Descriptor instead.
func ( * UpdateHostResponse ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 7 }
2020-05-01 12:38:01 -07:00
}
2020-05-01 18:05:54 -04:00
func ( x * UpdateHostResponse ) GetItem () * hosts . Host {
2020-05-01 12:38:01 -07:00
if x != nil {
return x . Item
}
return nil
}
type DeleteHostRequest struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
2020-05-01 12:38:01 -07:00
unknownFields protoimpl . UnknownFields
2025-02-19 09:14:41 -08:00
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * DeleteHostRequest ) Reset () {
* x = DeleteHostRequest {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 8 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * DeleteHostRequest ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * DeleteHostRequest ) ProtoMessage () {}
func ( x * DeleteHostRequest ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 8 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use DeleteHostRequest.ProtoReflect.Descriptor instead.
func ( * DeleteHostRequest ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 8 }
2020-05-01 12:38:01 -07:00
}
func ( x * DeleteHostRequest ) GetId () string {
if x != nil {
return x . Id
}
return ""
}
type DeleteHostResponse struct {
2025-02-19 09:14:41 -08:00
state protoimpl . MessageState `protogen:"open.v1"`
2020-05-01 12:38:01 -07:00
unknownFields protoimpl . UnknownFields
2025-02-19 09:14:41 -08:00
sizeCache protoimpl . SizeCache
2020-05-01 12:38:01 -07:00
}
func ( x * DeleteHostResponse ) Reset () {
* x = DeleteHostResponse {}
2025-02-19 09:14:41 -08:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 9 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
ms . StoreMessageInfo ( mi )
2020-05-01 12:38:01 -07:00
}
func ( x * DeleteHostResponse ) String () string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * DeleteHostResponse ) ProtoMessage () {}
func ( x * DeleteHostResponse ) ProtoReflect () protoreflect . Message {
2020-05-01 18:05:54 -04:00
mi := & file_controller_api_services_v1_host_service_proto_msgTypes [ 9 ]
2025-02-19 09:14:41 -08:00
if x != nil {
2020-05-01 12:38:01 -07:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ))
if ms . LoadMessageInfo () == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use DeleteHostResponse.ProtoReflect.Descriptor instead.
func ( * DeleteHostResponse ) Descriptor () ([] byte , [] int ) {
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescGZIP (), [] int { 9 }
2020-05-01 12:38:01 -07:00
}
2020-05-01 18:05:54 -04:00
var File_controller_api_services_v1_host_service_proto protoreflect . FileDescriptor
2025-05-23 09:42:26 -07:00
const file_controller_api_services_v1_host_service_proto_rawDesc = "" +
"\n" +
"-controller/api/services/v1/host_service.proto\x12\x1acontroller.api.services.v1\x1a,controller/api/resources/hosts/v1/host.proto\x1a*controller/custom_options/v1/options.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\" \n" +
"\x0eGetHostRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"N\n" +
"\x0fGetHostResponse\x12;\n" +
"\x04item\x18\x01 \x01(\v2'.controller.api.resources.hosts.v1.HostR\x04item\"\x92\x01\n" +
"\x10ListHostsRequest\x12(\n" +
"\x0fhost_catalog_id\x18\x01 \x01(\tR\x0fhost_catalog_id\x12\x16\n" +
"\x06filter\x18\x1e \x01(\tR\x06filter\x12\x1e\n" +
"\n" +
"list_token\x18( \x01(\tR\n" +
"list_token\x12\x1c\n" +
"\tpage_size\x182 \x01(\rR\tpage_size\"\x98\x02\n" +
"\x11ListHostsResponse\x12=\n" +
"\x05items\x18\x01 \x03(\v2'.controller.api.resources.hosts.v1.HostR\x05items\x12$\n" +
"\rresponse_type\x18\x02 \x01(\tR\rresponse_type\x12\x1e\n" +
"\n" +
"list_token\x18\x03 \x01(\tR\n" +
"list_token\x12\x18\n" +
"\asort_by\x18\x04 \x01(\tR\asort_by\x12\x1a\n" +
"\bsort_dir\x18\x05 \x01(\tR\bsort_dir\x12 \n" +
"\vremoved_ids\x18\x06 \x03(\tR\vremoved_ids\x12&\n" +
"\x0eest_item_count\x18\a \x01(\rR\x0eest_item_count\"P\n" +
"\x11CreateHostRequest\x12;\n" +
"\x04item\x18\x01 \x01(\v2'.controller.api.resources.hosts.v1.HostR\x04item\"c\n" +
"\x12CreateHostResponse\x12\x10\n" +
"\x03uri\x18\x01 \x01(\tR\x03uri\x12;\n" +
"\x04item\x18\x02 \x01(\v2'.controller.api.resources.hosts.v1.HostR\x04item\"\x9e\x01\n" +
"\x11UpdateHostRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12;\n" +
"\x04item\x18\x02 \x01(\v2'.controller.api.resources.hosts.v1.HostR\x04item\x12<\n" +
"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\vupdate_mask\"Q\n" +
"\x12UpdateHostResponse\x12;\n" +
"\x04item\x18\x01 \x01(\v2'.controller.api.resources.hosts.v1.HostR\x04item\"#\n" +
"\x11DeleteHostRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\x14\n" +
"\x12DeleteHostResponse2\x8a\t\n" +
"\vHostService\x12\x98\x01\n" +
"\aGetHost\x12*.controller.api.services.v1.GetHostRequest\x1a+.controller.api.services.v1.GetHostResponse\"4\x92A\x15\x12\x13Gets a single Host.\x82\xd3\xe4\x93\x02\x16b\x04item\x12\x0e/v1/hosts/{id}\x12\xa9\x01\n" +
"\tListHosts\x12,.controller.api.services.v1.ListHostsRequest\x1a-.controller.api.services.v1.ListHostsResponse\"?\x92A+\x12)List all Hosts for the specified Catalog.\x82\xd3\xe4\x93\x02\v\x12\t/v1/hosts\x12\xa4\x01\n" +
"\n" +
"CreateHost\x12-.controller.api.services.v1.CreateHostRequest\x1a..controller.api.services.v1.CreateHostResponse\"7\x92A\x17\x12\x15Create a single Host.\x82\xd3\xe4\x93\x02\x17:\x04itemb\x04item\"\t/v1/hosts\x12\xa2\x01\n" +
"\n" +
"UpdateHost\x12-.controller.api.services.v1.UpdateHostRequest\x1a..controller.api.services.v1.UpdateHostResponse\"5\x92A\x10\x12\x0eUpdate a Host.\x82\xd3\xe4\x93\x02\x1c:\x04itemb\x04item2\x0e/v1/hosts/{id}\x12\x96\x01\n" +
"\n" +
"DeleteHost\x12-.controller.api.services.v1.DeleteHostRequest\x1a..controller.api.services.v1.DeleteHostResponse\")\x92A\x10\x12\x0eDelete a Host.\x82\xd3\xe4\x93\x02\x10*\x0e/v1/hosts/{id}\x1a\xce\x02\x92A\xca\x02\n" +
"\fHost service\x12\xbd\x01A host is a resource that represents a computing element with a network address that is reachable from a Boundary worker. The host service provides endpoints for managing hosts in Boundary.\x1az\n" +
"-Read about hosts in the Boundary domain model\x12Ihttps://developer.hashicorp.com/boundary/docs/concepts/domain-model/hostsBU\xa2\xe3)\x04hostZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3"
2020-05-01 12:38:01 -07:00
var (
2020-05-01 18:05:54 -04:00
file_controller_api_services_v1_host_service_proto_rawDescOnce sync . Once
2025-05-23 09:42:26 -07:00
file_controller_api_services_v1_host_service_proto_rawDescData [] byte
2020-05-01 12:38:01 -07:00
)
2020-05-01 18:05:54 -04:00
func file_controller_api_services_v1_host_service_proto_rawDescGZIP () [] byte {
file_controller_api_services_v1_host_service_proto_rawDescOnce . Do ( func () {
2025-05-23 09:42:26 -07:00
file_controller_api_services_v1_host_service_proto_rawDescData = protoimpl . X . CompressGZIP ( unsafe . Slice ( unsafe . StringData ( file_controller_api_services_v1_host_service_proto_rawDesc ), len ( file_controller_api_services_v1_host_service_proto_rawDesc )))
2020-05-01 12:38:01 -07:00
})
2020-05-01 18:05:54 -04:00
return file_controller_api_services_v1_host_service_proto_rawDescData
}
2021-01-08 10:32:02 -05:00
var file_controller_api_services_v1_host_service_proto_msgTypes = make ([] protoimpl . MessageInfo , 10 )
2024-08-01 11:18:53 -04:00
var file_controller_api_services_v1_host_service_proto_goTypes = [] any {
2021-04-15 13:11:23 -05:00
( * GetHostRequest )( nil ), // 0: controller.api.services.v1.GetHostRequest
( * GetHostResponse )( nil ), // 1: controller.api.services.v1.GetHostResponse
( * ListHostsRequest )( nil ), // 2: controller.api.services.v1.ListHostsRequest
( * ListHostsResponse )( nil ), // 3: controller.api.services.v1.ListHostsResponse
( * CreateHostRequest )( nil ), // 4: controller.api.services.v1.CreateHostRequest
( * CreateHostResponse )( nil ), // 5: controller.api.services.v1.CreateHostResponse
( * UpdateHostRequest )( nil ), // 6: controller.api.services.v1.UpdateHostRequest
( * UpdateHostResponse )( nil ), // 7: controller.api.services.v1.UpdateHostResponse
( * DeleteHostRequest )( nil ), // 8: controller.api.services.v1.DeleteHostRequest
( * DeleteHostResponse )( nil ), // 9: controller.api.services.v1.DeleteHostResponse
( * hosts . Host )( nil ), // 10: controller.api.resources.hosts.v1.Host
( * fieldmaskpb . FieldMask )( nil ), // 11: google.protobuf.FieldMask
2021-01-08 10:32:02 -05:00
}
2020-05-01 18:05:54 -04:00
var file_controller_api_services_v1_host_service_proto_depIdxs = [] int32 {
10 , // 0: controller.api.services.v1.GetHostResponse.item:type_name -> controller.api.resources.hosts.v1.Host
10 , // 1: controller.api.services.v1.ListHostsResponse.items:type_name -> controller.api.resources.hosts.v1.Host
10 , // 2: controller.api.services.v1.CreateHostRequest.item:type_name -> controller.api.resources.hosts.v1.Host
10 , // 3: controller.api.services.v1.CreateHostResponse.item:type_name -> controller.api.resources.hosts.v1.Host
10 , // 4: controller.api.services.v1.UpdateHostRequest.item:type_name -> controller.api.resources.hosts.v1.Host
11 , // 5: controller.api.services.v1.UpdateHostRequest.update_mask:type_name -> google.protobuf.FieldMask
10 , // 6: controller.api.services.v1.UpdateHostResponse.item:type_name -> controller.api.resources.hosts.v1.Host
0 , // 7: controller.api.services.v1.HostService.GetHost:input_type -> controller.api.services.v1.GetHostRequest
2 , // 8: controller.api.services.v1.HostService.ListHosts:input_type -> controller.api.services.v1.ListHostsRequest
4 , // 9: controller.api.services.v1.HostService.CreateHost:input_type -> controller.api.services.v1.CreateHostRequest
6 , // 10: controller.api.services.v1.HostService.UpdateHost:input_type -> controller.api.services.v1.UpdateHostRequest
8 , // 11: controller.api.services.v1.HostService.DeleteHost:input_type -> controller.api.services.v1.DeleteHostRequest
1 , // 12: controller.api.services.v1.HostService.GetHost:output_type -> controller.api.services.v1.GetHostResponse
3 , // 13: controller.api.services.v1.HostService.ListHosts:output_type -> controller.api.services.v1.ListHostsResponse
5 , // 14: controller.api.services.v1.HostService.CreateHost:output_type -> controller.api.services.v1.CreateHostResponse
7 , // 15: controller.api.services.v1.HostService.UpdateHost:output_type -> controller.api.services.v1.UpdateHostResponse
9 , // 16: controller.api.services.v1.HostService.DeleteHost:output_type -> controller.api.services.v1.DeleteHostResponse
12 , // [12:17] is the sub-list for method output_type
7 , // [7:12] is the sub-list for method input_type
7 , // [7:7] is the sub-list for extension type_name
7 , // [7:7] is the sub-list for extension extendee
0 , // [0:7] is the sub-list for field type_name
}
func init () { file_controller_api_services_v1_host_service_proto_init () }
func file_controller_api_services_v1_host_service_proto_init () {
if File_controller_api_services_v1_host_service_proto != nil {
2020-05-01 12:38:01 -07:00
return
}
type x struct {}
out := protoimpl . TypeBuilder {
File : protoimpl . DescBuilder {
GoPackagePath : reflect . TypeOf ( x {}). PkgPath (),
2025-05-23 09:42:26 -07:00
RawDescriptor : unsafe . Slice ( unsafe . StringData ( file_controller_api_services_v1_host_service_proto_rawDesc ), len ( file_controller_api_services_v1_host_service_proto_rawDesc )),
2020-05-01 12:38:01 -07:00
NumEnums : 0 ,
NumMessages : 10 ,
NumExtensions : 0 ,
NumServices : 1 ,
},
2020-05-01 18:05:54 -04:00
GoTypes : file_controller_api_services_v1_host_service_proto_goTypes ,
DependencyIndexes : file_controller_api_services_v1_host_service_proto_depIdxs ,
MessageInfos : file_controller_api_services_v1_host_service_proto_msgTypes ,
2020-05-01 12:38:01 -07:00
}. Build ()
2020-05-01 18:05:54 -04:00
File_controller_api_services_v1_host_service_proto = out . File
file_controller_api_services_v1_host_service_proto_goTypes = nil
file_controller_api_services_v1_host_service_proto_depIdxs = nil
2020-05-01 12:38:01 -07:00
}