gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/config/grpc_credential/v2alpha/aws_iam.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/config/grpc_credential/v2alpha/aws_iam.proto 6 7 package envoy_config_grpc_credential_v2alpha 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // This is a compile-time assertion that a sufficiently up-to-date version 27 // of the legacy proto package is being used. 28 const _ = proto.ProtoPackageIsVersion4 29 30 type AwsIamConfig struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 // The `service namespace 36 // <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_ 37 // of the Grpc endpoint. 38 // 39 // Example: appmesh 40 ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` 41 // The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the Grpc 42 // endpoint. If unspecified, the extension will use the value in the ``AWS_REGION`` environment 43 // variable. 44 // 45 // Example: us-west-2 46 Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` 47 } 48 49 func (x *AwsIamConfig) Reset() { 50 *x = AwsIamConfig{} 51 if protoimpl.UnsafeEnabled { 52 mi := &file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_msgTypes[0] 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 ms.StoreMessageInfo(mi) 55 } 56 } 57 58 func (x *AwsIamConfig) String() string { 59 return protoimpl.X.MessageStringOf(x) 60 } 61 62 func (*AwsIamConfig) ProtoMessage() {} 63 64 func (x *AwsIamConfig) ProtoReflect() protoreflect.Message { 65 mi := &file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_msgTypes[0] 66 if protoimpl.UnsafeEnabled && x != nil { 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 68 if ms.LoadMessageInfo() == nil { 69 ms.StoreMessageInfo(mi) 70 } 71 return ms 72 } 73 return mi.MessageOf(x) 74 } 75 76 // Deprecated: Use AwsIamConfig.ProtoReflect.Descriptor instead. 77 func (*AwsIamConfig) Descriptor() ([]byte, []int) { 78 return file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDescGZIP(), []int{0} 79 } 80 81 func (x *AwsIamConfig) GetServiceName() string { 82 if x != nil { 83 return x.ServiceName 84 } 85 return "" 86 } 87 88 func (x *AwsIamConfig) GetRegion() string { 89 if x != nil { 90 return x.Region 91 } 92 return "" 93 } 94 95 var File_envoy_config_grpc_credential_v2alpha_aws_iam_proto protoreflect.FileDescriptor 96 97 var file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDesc = []byte{ 98 0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 99 0x72, 0x70, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2f, 0x76, 100 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x77, 0x73, 0x5f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 101 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 102 0x69, 0x67, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 103 0x61, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 104 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 105 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 106 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 107 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x0c, 0x41, 0x77, 0x73, 0x49, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 108 0x69, 0x67, 0x12, 0x2a, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 109 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 110 0x01, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 111 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 112 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x4b, 0x0a, 0x32, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 113 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 114 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 115 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0b, 0x41, 0x77, 116 0x73, 0x49, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 117 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 118 } 119 120 var ( 121 file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDescOnce sync.Once 122 file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDescData = file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDesc 123 ) 124 125 func file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDescGZIP() []byte { 126 file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDescOnce.Do(func() { 127 file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDescData) 128 }) 129 return file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDescData 130 } 131 132 var file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 133 var file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_goTypes = []interface{}{ 134 (*AwsIamConfig)(nil), // 0: envoy.config.grpc_credential.v2alpha.AwsIamConfig 135 } 136 var file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_depIdxs = []int32{ 137 0, // [0:0] is the sub-list for method output_type 138 0, // [0:0] is the sub-list for method input_type 139 0, // [0:0] is the sub-list for extension type_name 140 0, // [0:0] is the sub-list for extension extendee 141 0, // [0:0] is the sub-list for field type_name 142 } 143 144 func init() { file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_init() } 145 func file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_init() { 146 if File_envoy_config_grpc_credential_v2alpha_aws_iam_proto != nil { 147 return 148 } 149 if !protoimpl.UnsafeEnabled { 150 file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 151 switch v := v.(*AwsIamConfig); i { 152 case 0: 153 return &v.state 154 case 1: 155 return &v.sizeCache 156 case 2: 157 return &v.unknownFields 158 default: 159 return nil 160 } 161 } 162 } 163 type x struct{} 164 out := protoimpl.TypeBuilder{ 165 File: protoimpl.DescBuilder{ 166 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 167 RawDescriptor: file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDesc, 168 NumEnums: 0, 169 NumMessages: 1, 170 NumExtensions: 0, 171 NumServices: 0, 172 }, 173 GoTypes: file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_goTypes, 174 DependencyIndexes: file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_depIdxs, 175 MessageInfos: file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_msgTypes, 176 }.Build() 177 File_envoy_config_grpc_credential_v2alpha_aws_iam_proto = out.File 178 file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_rawDesc = nil 179 file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_goTypes = nil 180 file_envoy_config_grpc_credential_v2alpha_aws_iam_proto_depIdxs = nil 181 }