// Copyright 2021 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.
// Generated by the disco-to-proto3-converter. DO NOT EDIT!
// Source Discovery file: compute.v1.json
// Source file revision: 20211004
// API name: compute
// API version: v1
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.12.2
// source: google/cloud/compute/v1/compute.proto
package compute
import (
reflect "reflect"
sync "sync"
_ "google.golang.org/genproto/googleapis/api/annotations"
_ "google.golang.org/genproto/googleapis/cloud/extendedops"
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)
)
// This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.
type AccessConfig_NetworkTier int32
const (
// A value indicating that the enum field is not set.
AccessConfig_UNDEFINED_NETWORK_TIER AccessConfig_NetworkTier = 0
// High quality, Google-grade network tier, support for all networking products.
AccessConfig_PREMIUM AccessConfig_NetworkTier = 399530551
// Public internet quality, only limited support for other networking products.
AccessConfig_STANDARD AccessConfig_NetworkTier = 484642493
)
// Enum value maps for AccessConfig_NetworkTier.
var (
AccessConfig_NetworkTier_name = map[int32]string{
0: "UNDEFINED_NETWORK_TIER",
399530551: "PREMIUM",
484642493: "STANDARD",
}
AccessConfig_NetworkTier_value = map[string]int32{
"UNDEFINED_NETWORK_TIER": 0,
"PREMIUM": 399530551,
"STANDARD": 484642493,
}
)
func (x AccessConfig_NetworkTier) Enum() *AccessConfig_NetworkTier {
p := new(AccessConfig_NetworkTier)
*p = x
return p
}
func (x AccessConfig_NetworkTier) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AccessConfig_NetworkTier) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_compute_v1_compute_proto_enumTypes[0].Descriptor()
}
func (AccessConfig_NetworkTier) Type() protoreflect.EnumType {
return &file_google_cloud_compute_v1_compute_proto_enumTypes[0]
}
func (x AccessConfig_NetworkTier) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AccessConfig_NetworkTier.Descriptor instead.
func (AccessConfig_NetworkTier) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{8, 0}
}
// The type of configuration. The default and only option is ONE_TO_ONE_NAT.
type AccessConfig_Type int32
const (
// A value indicating that the enum field is not set.
AccessConfig_UNDEFINED_TYPE AccessConfig_Type = 0
AccessConfig_DIRECT_IPV6 AccessConfig_Type = 4397213
AccessConfig_ONE_TO_ONE_NAT AccessConfig_Type = 84090205
)
// Enum value maps for AccessConfig_Type.
var (
AccessConfig_Type_name = map[int32]string{
0: "UNDEFINED_TYPE",
4397213: "DIRECT_IPV6",
84090205: "ONE_TO_ONE_NAT",
}
AccessConfig_Type_value = map[string]int32{
"UNDEFINED_TYPE": 0,
"DIRECT_IPV6": 4397213,
"ONE_TO_ONE_NAT": 84090205,
}
)
func (x AccessConfig_Type) Enum() *AccessConfig_Type {
p := new(AccessConfig_Type)
*p = x
return p
}
func (x AccessConfig_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AccessConfig_Type) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_compute_v1_compute_proto_enumTypes[1].Descriptor()
}
func (AccessConfig_Type) Type() protoreflect.EnumType {
return &file_google_cloud_compute_v1_compute_proto_enumTypes[1]
}
func (x AccessConfig_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AccessConfig_Type.Descriptor instead.
func (AccessConfig_Type) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{8, 1}
}
// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
type Address_AddressType int32
const (
// A value indicating that the enum field is not set.
Address_UNDEFINED_ADDRESS_TYPE Address_AddressType = 0
// A publicly visible external IP address.
Address_EXTERNAL Address_AddressType = 35607499
// A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
Address_INTERNAL Address_AddressType = 279295677
Address_UNSPECIFIED_TYPE Address_AddressType = 53933922
)
// Enum value maps for Address_AddressType.
var (
Address_AddressType_name = map[int32]string{
0: "UNDEFINED_ADDRESS_TYPE",
35607499: "EXTERNAL",
279295677: "INTERNAL",
53933922: "UNSPECIFIED_TYPE",
}
Address_AddressType_value = map[string]int32{
"UNDEFINED_ADDRESS_TYPE": 0,
"EXTERNAL": 35607499,
"INTERNAL": 279295677,
"UNSPECIFIED_TYPE": 53933922,
}
)
func (x Address_AddressType) Enum() *Address_AddressType {
p := new(Address_AddressType)
*p = x
return p
}
func (x Address_AddressType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Address_AddressType) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_compute_v1_compute_proto_enumTypes[2].Descriptor()
}
func (Address_AddressType) Type() protoreflect.EnumType {
return &file_google_cloud_compute_v1_compute_proto_enumTypes[2]
}
func (x Address_AddressType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Address_AddressType.Descriptor instead.
func (Address_AddressType) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{23, 0}
}
// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
type Address_IpVersion int32
const (
// A value indicating that the enum field is not set.
Address_UNDEFINED_IP_VERSION Address_IpVersion = 0
Address_IPV4 Address_IpVersion = 2254341
Address_IPV6 Address_IpVersion = 2254343
Address_UNSPECIFIED_VERSION Address_IpVersion = 21850000
)
// Enum value maps for Address_IpVersion.
var (
Address_IpVersion_name = map[int32]string{
0: "UNDEFINED_IP_VERSION",
2254341: "IPV4",
2254343: "IPV6",
21850000: "UNSPECIFIED_VERSION",
}
Address_IpVersion_value = map[string]int32{
"UNDEFINED_IP_VERSION": 0,
"IPV4": 2254341,
"IPV6": 2254343,
"UNSPECIFIED_VERSION": 21850000,
}
)
func (x Address_IpVersion) Enum() *Address_IpVersion {
p := new(Address_IpVersion)
*p = x
return p
}
func (x Address_IpVersion) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Address_IpVersion) Descriptor() protoreflect.EnumDescriptor {
return
没有合适的资源?快使用搜索试试~ 我知道了~
etcd-main依赖包
需积分: 10 0 下载量 43 浏览量
2022-07-06
13:31:36
上传
评论
收藏 76.23MB GZ 举报
温馨提示
共10500个文件
go:8042个
proto:395个
md:318个
etcd依赖包
资源详情
资源评论
资源推荐
收起资源包目录
etcd-main依赖包 (10500个子文件)
20019c4ef10ebf8031c8d204bdd0ae1ec214bf90 785B
20019c4ef10ebf8031c8d204bdd0ae1ec214bf90 785B
a950e4f0890f34717c5c9beffe1bd0cee33e5a2b 3KB
a950e4f0890f34717c5c9beffe1bd0cee33e5a2b 3KB
AUTHORS 562B
AUTHORS 234B
AUTHORS 174B
AUTHORS 174B
AUTHORS 174B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 12B
release.bash 4KB
release.bash 4KB
mkerrors.bash 2KB
mkerrors.bash 2KB
test.bash 1KB
mkknownfolderids.bash 1KB
mkknownfolderids.bash 1KB
download_benchdata.bash 934B
download_benchdata.bash 934B
regenerate.bash 587B
regenerate.bash 297B
regenerate.bash 297B
regenerate.bash 296B
test.bash 295B
test.bash 295B
basic-auth-password 7B
BUILD.bazel 5KB
BUILD.bazel 4KB
BUILD.bazel 3KB
BUILD.bazel 3KB
BUILD.bazel 2KB
BUILD.bazel 2KB
BUILD.bazel 2KB
BUILD.bazel 2KB
BUILD.bazel 2KB
BUILD.bazel 2KB
BUILD.bazel 2KB
BUILD.bazel 2KB
BUILD.bazel 2KB
BUILD.bazel 1KB
BUILD.bazel 1KB
BUILD.bazel 1KB
BUILD.bazel 1KB
BUILD.bazel 1KB
BUILD.bazel 1KB
BUILD.bazel 1KB
BUILD.bazel 1KB
BUILD.bazel 1KB
BUILD.bazel 1006B
BUILD.bazel 994B
BUILD.bazel 969B
BUILD.bazel 961B
BUILD.bazel 949B
BUILD.bazel 931B
BUILD.bazel 919B
BUILD.bazel 871B
BUILD.bazel 858B
BUILD.bazel 844B
BUILD.bazel 802B
BUILD.bazel 796B
BUILD.bazel 780B
BUILD.bazel 776B
BUILD.bazel 773B
BUILD.bazel 768B
BUILD.bazel 760B
BUILD.bazel 759B
BUILD.bazel 726B
BUILD.bazel 717B
BUILD.bazel 655B
BUILD.bazel 654B
BUILD.bazel 653B
BUILD.bazel 650B
BUILD.bazel 636B
BUILD.bazel 629B
BUILD.bazel 623B
BUILD.bazel 601B
BUILD.bazel 566B
BUILD.bazel 550B
BUILD.bazel 549B
BUILD.bazel 535B
BUILD.bazel 530B
BUILD.bazel 471B
BUILD.bazel 431B
BUILD.bazel 406B
BUILD.bazel 341B
BUILD.bazel 242B
.bazelversion 6B
.bazelversion 6B
all_instructions.bpf 586B
all_instructions.bpf 586B
BUILD 2KB
BUILD 535B
repositories.bzl 43KB
共 10500 条
- 1
- 2
- 3
- 4
- 5
- 6
- 105
肥叔菌
- 粉丝: 2w+
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0