| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package resourcesettings aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package resourcesettings |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 31 |
const ( |
| 32 |
SettingMetadata_BOOLEAN = src.SettingMetadata_BOOLEAN |
| 33 |
SettingMetadata_DATA_TYPE_UNSPECIFIED = src.SettingMetadata_DATA_TYPE_UNSPECIFIED |
| 34 |
SettingMetadata_ENUM_VALUE = src.SettingMetadata_ENUM_VALUE |
| 35 |
SettingMetadata_STRING = src.SettingMetadata_STRING |
| 36 |
SettingMetadata_STRING_SET = src.SettingMetadata_STRING_SET |
| 37 |
SettingView_SETTING_VIEW_BASIC = src.SettingView_SETTING_VIEW_BASIC |
| 38 |
SettingView_SETTING_VIEW_EFFECTIVE_VALUE = src.SettingView_SETTING_VIEW_EFFECTIVE_VALUE |
| 39 |
SettingView_SETTING_VIEW_LOCAL_VALUE = src.SettingView_SETTING_VIEW_LOCAL_VALUE |
| 40 |
SettingView_SETTING_VIEW_UNSPECIFIED = src.SettingView_SETTING_VIEW_UNSPECIFIED |
| 41 |
) |
| 42 |
|
| 43 |
// Deprecated: Please use vars in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 44 |
var ( |
| 45 |
File_google_cloud_resourcesettings_v1_resource_settings_proto = src.File_google_cloud_resourcesettings_v1_resource_settings_proto |
| 46 |
SettingMetadata_DataType_name = src.SettingMetadata_DataType_name |
| 47 |
SettingMetadata_DataType_value = src.SettingMetadata_DataType_value |
| 48 |
SettingView_name = src.SettingView_name |
| 49 |
SettingView_value = src.SettingView_value |
| 50 |
) |
| 51 |
|
| 52 |
// The request for GetSetting. |
| 53 |
// |
| 54 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 55 |
type GetSettingRequest = src.GetSettingRequest |
| 56 |
|
| 57 |
// The request for ListSettings. |
| 58 |
// |
| 59 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 60 |
type ListSettingsRequest = src.ListSettingsRequest |
| 61 |
|
| 62 |
// The response from ListSettings. |
| 63 |
// |
| 64 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 65 |
type ListSettingsResponse = src.ListSettingsResponse |
| 66 |
|
| 67 |
// ResourceSettingsServiceClient is the client API for ResourceSettingsService |
| 68 |
// service. For semantics around ctx use and closing/ending streaming RPCs, |
| 69 |
// please refer to |
| 70 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 71 |
// |
| 72 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 73 |
type ResourceSettingsServiceClient = src.ResourceSettingsServiceClient |
| 74 |
|
| 75 |
// ResourceSettingsServiceServer is the server API for ResourceSettingsService |
| 76 |
// service. |
| 77 |
// |
| 78 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 79 |
type ResourceSettingsServiceServer = src.ResourceSettingsServiceServer |
| 80 |
|
| 81 |
// The schema for settings. |
| 82 |
// |
| 83 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 84 |
type Setting = src.Setting |
| 85 |
|
| 86 |
// Metadata about a setting which is not editable by the end user. |
| 87 |
// |
| 88 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 89 |
type SettingMetadata = src.SettingMetadata |
| 90 |
|
| 91 |
// The data type for setting values of this setting. See |
| 92 |
// [Value][google.cloud.resourcesettings.v1.Value] for more details on the |
| 93 |
// available data types. |
| 94 |
// |
| 95 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 96 |
type SettingMetadata_DataType = src.SettingMetadata_DataType |
| 97 |
|
| 98 |
// View options for Settings. |
| 99 |
// |
| 100 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 101 |
type SettingView = src.SettingView |
| 102 |
|
| 103 |
// UnimplementedResourceSettingsServiceServer can be embedded to have forward |
| 104 |
// compatible implementations. |
| 105 |
// |
| 106 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 107 |
type UnimplementedResourceSettingsServiceServer = src.UnimplementedResourceSettingsServiceServer |
| 108 |
|
| 109 |
// The request for UpdateSetting. |
| 110 |
// |
| 111 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 112 |
type UpdateSettingRequest = src.UpdateSettingRequest |
| 113 |
|
| 114 |
// The data in a setting value. |
| 115 |
// |
| 116 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 117 |
type Value = src.Value |
| 118 |
type Value_BooleanValue = src.Value_BooleanValue |
| 119 |
|
| 120 |
// A enum value that can hold any enum type setting values. Each enum type is |
| 121 |
// represented by a number, this representation is stored in the definitions. |
| 122 |
// |
| 123 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 124 |
type Value_EnumValue = src.Value_EnumValue |
| 125 |
type Value_EnumValue_ = src.Value_EnumValue_ |
| 126 |
|
| 127 |
// A string set value that can hold a set of strings. The maximum length of |
| 128 |
// each string is 200 characters and there can be a maximum of 50 strings in |
| 129 |
// the string set. |
| 130 |
// |
| 131 |
// Deprecated: Please use types in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 132 |
type Value_StringSet = src.Value_StringSet |
| 133 |
type Value_StringSetValue = src.Value_StringSetValue |
| 134 |
type Value_StringValue = src.Value_StringValue |
| 135 |
|
| 136 |
// Deprecated: Please use funcs in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 137 |
func NewResourceSettingsServiceClient(cc grpc.ClientConnInterface) ResourceSettingsServiceClient { |
| 138 |
return src.NewResourceSettingsServiceClient(cc) |
| 139 |
} |
| 140 |
|
| 141 |
// Deprecated: Please use funcs in: cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb |
| 142 |
func RegisterResourceSettingsServiceServer(s *grpc.Server, srv ResourceSettingsServiceServer) { |
| 143 |
src.RegisterResourceSettingsServiceServer(s, srv) |
| 144 |
} |