blob: 9fb44ee2d97ee9e9d0a98a2b0a61da2fb1e72f20 [file] [log] [blame]
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.12.2
// source: google/cloud/vpcaccess/v1/vpc_access.proto
package vpcaccesspb
import (
context "context"
reflect "reflect"
sync "sync"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "google.golang.org/genproto/googleapis/api/annotations"
longrunning "google.golang.org/genproto/googleapis/longrunning"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
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)
)
// State of a connector.
type Connector_State int32
const (
// Invalid state.
Connector_STATE_UNSPECIFIED Connector_State = 0
// Connector is deployed and ready to receive traffic.
Connector_READY Connector_State = 1
// An Insert operation is in progress. Transient condition.
Connector_CREATING Connector_State = 2
// A Delete operation is in progress. Transient condition.
Connector_DELETING Connector_State = 3
// Connector is in a bad state, manual deletion recommended.
Connector_ERROR Connector_State = 4
// The connector is being updated.
Connector_UPDATING Connector_State = 5
)
// Enum value maps for Connector_State.
var (
Connector_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "READY",
2: "CREATING",
3: "DELETING",
4: "ERROR",
5: "UPDATING",
}
Connector_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"READY": 1,
"CREATING": 2,
"DELETING": 3,
"ERROR": 4,
"UPDATING": 5,
}
)
func (x Connector_State) Enum() *Connector_State {
p := new(Connector_State)
*p = x
return p
}
func (x Connector_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Connector_State) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_enumTypes[0].Descriptor()
}
func (Connector_State) Type() protoreflect.EnumType {
return &file_google_cloud_vpcaccess_v1_vpc_access_proto_enumTypes[0]
}
func (x Connector_State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Connector_State.Descriptor instead.
func (Connector_State) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{0, 0}
}
// Definition of a Serverless VPC Access connector.
type Connector struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The resource name in the format `projects/*/locations/*/connectors/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Name of a VPC network.
Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
// The range of internal addresses that follows RFC 4632 notation.
// Example: `10.132.0.0/28`.
IpCidrRange string `protobuf:"bytes,3,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`
// Output only. State of the VPC access connector.
State Connector_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.vpcaccess.v1.Connector_State" json:"state,omitempty"`
// Minimum throughput of the connector in Mbps. Default and min is 200.
MinThroughput int32 `protobuf:"varint,5,opt,name=min_throughput,json=minThroughput,proto3" json:"min_throughput,omitempty"`
// Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
MaxThroughput int32 `protobuf:"varint,6,opt,name=max_throughput,json=maxThroughput,proto3" json:"max_throughput,omitempty"`
// Output only. List of projects using the connector.
ConnectedProjects []string `protobuf:"bytes,7,rep,name=connected_projects,json=connectedProjects,proto3" json:"connected_projects,omitempty"`
// The subnet in which to house the VPC Access Connector.
Subnet *Connector_Subnet `protobuf:"bytes,8,opt,name=subnet,proto3" json:"subnet,omitempty"`
// Machine type of VM Instance underlying connector. Default is e2-micro
MachineType string `protobuf:"bytes,10,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// Minimum value of instances in autoscaling group underlying the connector.
MinInstances int32 `protobuf:"varint,11,opt,name=min_instances,json=minInstances,proto3" json:"min_instances,omitempty"`
// Maximum value of instances in autoscaling group underlying the connector.
MaxInstances int32 `protobuf:"varint,12,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"`
}
func (x *Connector) Reset() {
*x = Connector{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Connector) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Connector) ProtoMessage() {}
func (x *Connector) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Connector.ProtoReflect.Descriptor instead.
func (*Connector) Descriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{0}
}
func (x *Connector) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Connector) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Connector) GetIpCidrRange() string {
if x != nil {
return x.IpCidrRange
}
return ""
}
func (x *Connector) GetState() Connector_State {
if x != nil {
return x.State
}
return Connector_STATE_UNSPECIFIED
}
func (x *Connector) GetMinThroughput() int32 {
if x != nil {
return x.MinThroughput
}
return 0
}
func (x *Connector) GetMaxThroughput() int32 {
if x != nil {
return x.MaxThroughput
}
return 0
}
func (x *Connector) GetConnectedProjects() []string {
if x != nil {
return x.ConnectedProjects
}
return nil
}
func (x *Connector) GetSubnet() *Connector_Subnet {
if x != nil {
return x.Subnet
}
return nil
}
func (x *Connector) GetMachineType() string {
if x != nil {
return x.MachineType
}
return ""
}
func (x *Connector) GetMinInstances() int32 {
if x != nil {
return x.MinInstances
}
return 0
}
func (x *Connector) GetMaxInstances() int32 {
if x != nil {
return x.MaxInstances
}
return 0
}
// Request for creating a Serverless VPC Access connector.
type CreateConnectorRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Required. The project and location in which the configuration should be created,
// specified in the format `projects/*/locations/*`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for this connector.
ConnectorId string `protobuf:"bytes,2,opt,name=connector_id,json=connectorId,proto3" json:"connector_id,omitempty"`
// Required. Resource to create.
Connector *Connector `protobuf:"bytes,3,opt,name=connector,proto3" json:"connector,omitempty"`
}
func (x *CreateConnectorRequest) Reset() {
*x = CreateConnectorRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateConnectorRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateConnectorRequest) ProtoMessage() {}
func (x *CreateConnectorRequest) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateConnectorRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectorRequest) Descriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{1}
}
func (x *CreateConnectorRequest) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
func (x *CreateConnectorRequest) GetConnectorId() string {
if x != nil {
return x.ConnectorId
}
return ""
}
func (x *CreateConnectorRequest) GetConnector() *Connector {
if x != nil {
return x.Connector
}
return nil
}
// Request for getting a Serverless VPC Access connector.
type GetConnectorRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Required. Name of a Serverless VPC Access connector to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *GetConnectorRequest) Reset() {
*x = GetConnectorRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetConnectorRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetConnectorRequest) ProtoMessage() {}
func (x *GetConnectorRequest) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetConnectorRequest.ProtoReflect.Descriptor instead.
func (*GetConnectorRequest) Descriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{2}
}
func (x *GetConnectorRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
// Request for listing Serverless VPC Access connectors in a location.
type ListConnectorsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Required. The project and location from which the routes should be listed.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of functions to return per call.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Continuation token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
}
func (x *ListConnectorsRequest) Reset() {
*x = ListConnectorsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListConnectorsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListConnectorsRequest) ProtoMessage() {}
func (x *ListConnectorsRequest) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListConnectorsRequest.ProtoReflect.Descriptor instead.
func (*ListConnectorsRequest) Descriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{3}
}
func (x *ListConnectorsRequest) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
func (x *ListConnectorsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListConnectorsRequest) GetPageToken() string {
if x != nil {
return x.PageToken
}
return ""
}
// Response for listing Serverless VPC Access connectors.
type ListConnectorsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// List of Serverless VPC Access connectors.
Connectors []*Connector `protobuf:"bytes,1,rep,name=connectors,proto3" json:"connectors,omitempty"`
// Continuation token.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
}
func (x *ListConnectorsResponse) Reset() {
*x = ListConnectorsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListConnectorsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListConnectorsResponse) ProtoMessage() {}
func (x *ListConnectorsResponse) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListConnectorsResponse.ProtoReflect.Descriptor instead.
func (*ListConnectorsResponse) Descriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{4}
}
func (x *ListConnectorsResponse) GetConnectors() []*Connector {
if x != nil {
return x.Connectors
}
return nil
}
func (x *ListConnectorsResponse) GetNextPageToken() string {
if x != nil {
return x.NextPageToken
}
return ""
}
// Request for deleting a Serverless VPC Access connector.
type DeleteConnectorRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Required. Name of a Serverless VPC Access connector to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *DeleteConnectorRequest) Reset() {
*x = DeleteConnectorRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteConnectorRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteConnectorRequest) ProtoMessage() {}
func (x *DeleteConnectorRequest) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteConnectorRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectorRequest) Descriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{5}
}
func (x *DeleteConnectorRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
// Metadata for google.longrunning.Operation.
type OperationMetadata struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Output only. Method that initiated the operation e.g.
// google.cloud.vpcaccess.v1.Connectors.CreateConnector.
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// Output only. Time when the operation was created.
CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the operation completed.
EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Name of the resource that this operation is acting on e.g.
// projects/my-project/locations/us-central1/connectors/v1.
Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
}
func (x *OperationMetadata) Reset() {
*x = OperationMetadata{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationMetadata) ProtoMessage() {}
func (x *OperationMetadata) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) Descriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{6}
}
func (x *OperationMetadata) GetMethod() string {
if x != nil {
return x.Method
}
return ""
}
func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp {
if x != nil {
return x.EndTime
}
return nil
}
func (x *OperationMetadata) GetTarget() string {
if x != nil {
return x.Target
}
return ""
}
// The subnet in which to house the connector
type Connector_Subnet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Subnet name (relative, not fully qualified).
// E.g. if the full subnet selfLink is
// https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName}
// the correct input for this field would be {subnetName}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Project in which the subnet exists.
// If not set, this project is assumed to be the project for which
// the connector create request was issued.
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}
func (x *Connector_Subnet) Reset() {
*x = Connector_Subnet{}
if protoimpl.UnsafeEnabled {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Connector_Subnet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Connector_Subnet) ProtoMessage() {}
func (x *Connector_Subnet) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Connector_Subnet.ProtoReflect.Descriptor instead.
func (*Connector_Subnet) Descriptor() ([]byte, []int) {
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP(), []int{0, 0}
}
func (x *Connector_Subnet) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Connector_Subnet) GetProjectId() string {
if x != nil {
return x.ProjectId
}
return ""
}
var File_google_cloud_vpcaccess_v1_vpc_access_proto protoreflect.FileDescriptor
var file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDesc = []byte{
0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x70, 0x63, 0x5f,
0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x70, 0x63, 0x61, 0x63,
0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0xde, 0x05, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x22, 0x0a, 0x0d,
0x69, 0x70, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x70, 0x43, 0x69, 0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65,
0x12, 0x45, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e,
0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03,
0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f, 0x74,
0x68, 0x72, 0x6f, 0x75, 0x67, 0x68, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
0x0d, 0x6d, 0x69, 0x6e, 0x54, 0x68, 0x72, 0x6f, 0x75, 0x67, 0x68, 0x70, 0x75, 0x74, 0x12, 0x25,
0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x75, 0x67, 0x68, 0x70, 0x75, 0x74,
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x54, 0x68, 0x72, 0x6f, 0x75,
0x67, 0x68, 0x70, 0x75, 0x74, 0x12, 0x32, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65,
0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x06, 0x73, 0x75, 0x62,
0x6e, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63, 0x65,
0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e,
0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x12, 0x21,
0x0a, 0x0c, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70,
0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x73,
0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e,
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d,
0x61, 0x78, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x1a, 0x3b, 0x0a, 0x06, 0x53,
0x75, 0x62, 0x6e, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70,
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x5e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74,
0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44,
0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10,
0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12,
0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x50,
0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x3a, 0x67, 0xea, 0x41, 0x64, 0x0a, 0x22, 0x76,
0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,
0x72, 0x12, 0x3e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
0x63, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x7d, 0x22, 0xcc, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e,
0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06,
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41,
0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c,
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,
0x26, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e,
0x65, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63,
0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x22, 0x55, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x76,
0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,
0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74,
0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61,
0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
0x22, 0x86, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x63,
0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e,
0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x58, 0x0a, 0x16, 0x44, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x76, 0x70, 0x63, 0x61, 0x63,
0x63, 0x65, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x22, 0xf2, 0x01, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x06, 0x6d, 0x65, 0x74,
0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06,
0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f,
0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64,
0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x76, 0x70,
0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x32, 0xfc, 0x06, 0x0a, 0x10, 0x56, 0x70, 0x63,
0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe8, 0x01,
0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,
0x72, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
0x2e, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f,
0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x22, 0x82, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x2e, 0x2f, 0x76,
0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a,
0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x3a, 0x09, 0x63, 0x6f,
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0xda, 0x41, 0x1d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
0x2c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x63, 0x6f,
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0xca, 0x41, 0x1e, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x6e,
0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xa3, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74,
0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63, 0x65,
0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63, 0x65,
0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22,
0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
0x74, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xb6,
0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x73, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
0x2e, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
0x75, 0x64, 0x2e, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e,
0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e,
0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0xda, 0x41,
0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xcf, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x31, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x70, 0x63, 0x61, 0x63,
0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f,
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e,
0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6a, 0x82,
0xd3, 0xe4, 0x93, 0x02, 0x30, 0x2a, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,
0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x2a, 0x0a,
0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x4c, 0xca, 0x41, 0x18, 0x76, 0x70,
0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f,
0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70,
0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xcc, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x70, 0x63,
0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x56, 0x70, 0x63, 0x41, 0x63,
0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63, 0x65,
0x73, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x70, 0x63, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0xaa,
0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56,
0x70, 0x63, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x56, 0x70, 0x63, 0x41, 0x63,
0x63, 0x65, 0x73, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x70, 0x63, 0x41, 0x63, 0x63, 0x65,
0x73, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescOnce sync.Once
file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescData = file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDesc
)
func file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescGZIP() []byte {
file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescOnce.Do(func() {
file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescData)
})
return file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDescData
}
var file_google_cloud_vpcaccess_v1_vpc_access_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_google_cloud_vpcaccess_v1_vpc_access_proto_goTypes = []interface{}{
(Connector_State)(0), // 0: google.cloud.vpcaccess.v1.Connector.State
(*Connector)(nil), // 1: google.cloud.vpcaccess.v1.Connector
(*CreateConnectorRequest)(nil), // 2: google.cloud.vpcaccess.v1.CreateConnectorRequest
(*GetConnectorRequest)(nil), // 3: google.cloud.vpcaccess.v1.GetConnectorRequest
(*ListConnectorsRequest)(nil), // 4: google.cloud.vpcaccess.v1.ListConnectorsRequest
(*ListConnectorsResponse)(nil), // 5: google.cloud.vpcaccess.v1.ListConnectorsResponse
(*DeleteConnectorRequest)(nil), // 6: google.cloud.vpcaccess.v1.DeleteConnectorRequest
(*OperationMetadata)(nil), // 7: google.cloud.vpcaccess.v1.OperationMetadata
(*Connector_Subnet)(nil), // 8: google.cloud.vpcaccess.v1.Connector.Subnet
(*timestamp.Timestamp)(nil), // 9: google.protobuf.Timestamp
(*longrunning.Operation)(nil), // 10: google.longrunning.Operation
}
var file_google_cloud_vpcaccess_v1_vpc_access_proto_depIdxs = []int32{
0, // 0: google.cloud.vpcaccess.v1.Connector.state:type_name -> google.cloud.vpcaccess.v1.Connector.State
8, // 1: google.cloud.vpcaccess.v1.Connector.subnet:type_name -> google.cloud.vpcaccess.v1.Connector.Subnet
1, // 2: google.cloud.vpcaccess.v1.CreateConnectorRequest.connector:type_name -> google.cloud.vpcaccess.v1.Connector
1, // 3: google.cloud.vpcaccess.v1.ListConnectorsResponse.connectors:type_name -> google.cloud.vpcaccess.v1.Connector
9, // 4: google.cloud.vpcaccess.v1.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp
9, // 5: google.cloud.vpcaccess.v1.OperationMetadata.end_time:type_name -> google.protobuf.Timestamp
2, // 6: google.cloud.vpcaccess.v1.VpcAccessService.CreateConnector:input_type -> google.cloud.vpcaccess.v1.CreateConnectorRequest
3, // 7: google.cloud.vpcaccess.v1.VpcAccessService.GetConnector:input_type -> google.cloud.vpcaccess.v1.GetConnectorRequest
4, // 8: google.cloud.vpcaccess.v1.VpcAccessService.ListConnectors:input_type -> google.cloud.vpcaccess.v1.ListConnectorsRequest
6, // 9: google.cloud.vpcaccess.v1.VpcAccessService.DeleteConnector:input_type -> google.cloud.vpcaccess.v1.DeleteConnectorRequest
10, // 10: google.cloud.vpcaccess.v1.VpcAccessService.CreateConnector:output_type -> google.longrunning.Operation
1, // 11: google.cloud.vpcaccess.v1.VpcAccessService.GetConnector:output_type -> google.cloud.vpcaccess.v1.Connector
5, // 12: google.cloud.vpcaccess.v1.VpcAccessService.ListConnectors:output_type -> google.cloud.vpcaccess.v1.ListConnectorsResponse
10, // 13: google.cloud.vpcaccess.v1.VpcAccessService.DeleteConnector:output_type -> google.longrunning.Operation
10, // [10:14] is the sub-list for method output_type
6, // [6:10] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_google_cloud_vpcaccess_v1_vpc_access_proto_init() }
func file_google_cloud_vpcaccess_v1_vpc_access_proto_init() {
if File_google_cloud_vpcaccess_v1_vpc_access_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Connector); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateConnectorRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetConnectorRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListConnectorsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListConnectorsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteConnectorRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationMetadata); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Connector_Subnet); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDesc,
NumEnums: 1,
NumMessages: 8,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_google_cloud_vpcaccess_v1_vpc_access_proto_goTypes,
DependencyIndexes: file_google_cloud_vpcaccess_v1_vpc_access_proto_depIdxs,
EnumInfos: file_google_cloud_vpcaccess_v1_vpc_access_proto_enumTypes,
MessageInfos: file_google_cloud_vpcaccess_v1_vpc_access_proto_msgTypes,
}.Build()
File_google_cloud_vpcaccess_v1_vpc_access_proto = out.File
file_google_cloud_vpcaccess_v1_vpc_access_proto_rawDesc = nil
file_google_cloud_vpcaccess_v1_vpc_access_proto_goTypes = nil
file_google_cloud_vpcaccess_v1_vpc_access_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// VpcAccessServiceClient is the client API for VpcAccessService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type VpcAccessServiceClient interface {
// Creates a Serverless VPC Access connector, returns an operation.
CreateConnector(ctx context.Context, in *CreateConnectorRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource
// does not exist.
GetConnector(ctx context.Context, in *GetConnectorRequest, opts ...grpc.CallOption) (*Connector, error)
// Lists Serverless VPC Access connectors.
ListConnectors(ctx context.Context, in *ListConnectorsRequest, opts ...grpc.CallOption) (*ListConnectorsResponse, error)
// Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the
// resource does not exist.
DeleteConnector(ctx context.Context, in *DeleteConnectorRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}
type vpcAccessServiceClient struct {
cc grpc.ClientConnInterface
}
func NewVpcAccessServiceClient(cc grpc.ClientConnInterface) VpcAccessServiceClient {
return &vpcAccessServiceClient{cc}
}
func (c *vpcAccessServiceClient) CreateConnector(ctx context.Context, in *CreateConnectorRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.cloud.vpcaccess.v1.VpcAccessService/CreateConnector", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *vpcAccessServiceClient) GetConnector(ctx context.Context, in *GetConnectorRequest, opts ...grpc.CallOption) (*Connector, error) {
out := new(Connector)
err := c.cc.Invoke(ctx, "/google.cloud.vpcaccess.v1.VpcAccessService/GetConnector", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *vpcAccessServiceClient) ListConnectors(ctx context.Context, in *ListConnectorsRequest, opts ...grpc.CallOption) (*ListConnectorsResponse, error) {
out := new(ListConnectorsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.vpcaccess.v1.VpcAccessService/ListConnectors", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *vpcAccessServiceClient) DeleteConnector(ctx context.Context, in *DeleteConnectorRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.cloud.vpcaccess.v1.VpcAccessService/DeleteConnector", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// VpcAccessServiceServer is the server API for VpcAccessService service.
type VpcAccessServiceServer interface {
// Creates a Serverless VPC Access connector, returns an operation.
CreateConnector(context.Context, *CreateConnectorRequest) (*longrunning.Operation, error)
// Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource
// does not exist.
GetConnector(context.Context, *GetConnectorRequest) (*Connector, error)
// Lists Serverless VPC Access connectors.
ListConnectors(context.Context, *ListConnectorsRequest) (*ListConnectorsResponse, error)
// Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the
// resource does not exist.
DeleteConnector(context.Context, *DeleteConnectorRequest) (*longrunning.Operation, error)
}
// UnimplementedVpcAccessServiceServer can be embedded to have forward compatible implementations.
type UnimplementedVpcAccessServiceServer struct {
}
func (*UnimplementedVpcAccessServiceServer) CreateConnector(context.Context, *CreateConnectorRequest) (*longrunning.Operation, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateConnector not implemented")
}
func (*UnimplementedVpcAccessServiceServer) GetConnector(context.Context, *GetConnectorRequest) (*Connector, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetConnector not implemented")
}
func (*UnimplementedVpcAccessServiceServer) ListConnectors(context.Context, *ListConnectorsRequest) (*ListConnectorsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListConnectors not implemented")
}
func (*UnimplementedVpcAccessServiceServer) DeleteConnector(context.Context, *DeleteConnectorRequest) (*longrunning.Operation, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteConnector not implemented")
}
func RegisterVpcAccessServiceServer(s *grpc.Server, srv VpcAccessServiceServer) {
s.RegisterService(&_VpcAccessService_serviceDesc, srv)
}
func _VpcAccessService_CreateConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateConnectorRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(VpcAccessServiceServer).CreateConnector(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.vpcaccess.v1.VpcAccessService/CreateConnector",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(VpcAccessServiceServer).CreateConnector(ctx, req.(*CreateConnectorRequest))
}
return interceptor(ctx, in, info, handler)
}
func _VpcAccessService_GetConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetConnectorRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(VpcAccessServiceServer).GetConnector(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.vpcaccess.v1.VpcAccessService/GetConnector",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(VpcAccessServiceServer).GetConnector(ctx, req.(*GetConnectorRequest))
}
return interceptor(ctx, in, info, handler)
}
func _VpcAccessService_ListConnectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListConnectorsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(VpcAccessServiceServer).ListConnectors(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.vpcaccess.v1.VpcAccessService/ListConnectors",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(VpcAccessServiceServer).ListConnectors(ctx, req.(*ListConnectorsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _VpcAccessService_DeleteConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteConnectorRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(VpcAccessServiceServer).DeleteConnector(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.vpcaccess.v1.VpcAccessService/DeleteConnector",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(VpcAccessServiceServer).DeleteConnector(ctx, req.(*DeleteConnectorRequest))
}
return interceptor(ctx, in, info, handler)
}
var _VpcAccessService_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.vpcaccess.v1.VpcAccessService",
HandlerType: (*VpcAccessServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateConnector",
Handler: _VpcAccessService_CreateConnector_Handler,
},
{
MethodName: "GetConnector",
Handler: _VpcAccessService_GetConnector_Handler,
},
{
MethodName: "ListConnectors",
Handler: _VpcAccessService_ListConnectors_Handler,
},
{
MethodName: "DeleteConnector",
Handler: _VpcAccessService_DeleteConnector_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/vpcaccess/v1/vpc_access.proto",
}