github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/config/grpc_credential/v3/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/v3/aws_iam.proto 6 7 package envoy_config_grpc_credential_v3 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_v3_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_v3_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_v3_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_v3_aws_iam_proto protoreflect.FileDescriptor 96 97 var file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDesc = []byte{ 98 0x0a, 0x2d, 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 0x33, 0x2f, 0x61, 0x77, 0x73, 0x5f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 101 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x72, 102 0x70, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x76, 0x33, 103 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 104 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 105 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 106 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 107 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 108 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 109 0x41, 0x77, 0x73, 0x49, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x0a, 0x0c, 110 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 111 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x72, 112 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 113 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 114 0x3a, 0x38, 0x9a, 0xc5, 0x88, 0x1e, 0x33, 0x0a, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 115 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 116 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x77, 117 0x73, 0x49, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x46, 0x0a, 0x2d, 0x69, 0x6f, 118 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 119 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63, 0x72, 120 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x41, 0x77, 0x73, 121 0x49, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 122 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 123 } 124 125 var ( 126 file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDescOnce sync.Once 127 file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDescData = file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDesc 128 ) 129 130 func file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDescGZIP() []byte { 131 file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDescOnce.Do(func() { 132 file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDescData) 133 }) 134 return file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDescData 135 } 136 137 var file_envoy_config_grpc_credential_v3_aws_iam_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 138 var file_envoy_config_grpc_credential_v3_aws_iam_proto_goTypes = []interface{}{ 139 (*AwsIamConfig)(nil), // 0: envoy.config.grpc_credential.v3.AwsIamConfig 140 } 141 var file_envoy_config_grpc_credential_v3_aws_iam_proto_depIdxs = []int32{ 142 0, // [0:0] is the sub-list for method output_type 143 0, // [0:0] is the sub-list for method input_type 144 0, // [0:0] is the sub-list for extension type_name 145 0, // [0:0] is the sub-list for extension extendee 146 0, // [0:0] is the sub-list for field type_name 147 } 148 149 func init() { file_envoy_config_grpc_credential_v3_aws_iam_proto_init() } 150 func file_envoy_config_grpc_credential_v3_aws_iam_proto_init() { 151 if File_envoy_config_grpc_credential_v3_aws_iam_proto != nil { 152 return 153 } 154 if !protoimpl.UnsafeEnabled { 155 file_envoy_config_grpc_credential_v3_aws_iam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 156 switch v := v.(*AwsIamConfig); i { 157 case 0: 158 return &v.state 159 case 1: 160 return &v.sizeCache 161 case 2: 162 return &v.unknownFields 163 default: 164 return nil 165 } 166 } 167 } 168 type x struct{} 169 out := protoimpl.TypeBuilder{ 170 File: protoimpl.DescBuilder{ 171 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 172 RawDescriptor: file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDesc, 173 NumEnums: 0, 174 NumMessages: 1, 175 NumExtensions: 0, 176 NumServices: 0, 177 }, 178 GoTypes: file_envoy_config_grpc_credential_v3_aws_iam_proto_goTypes, 179 DependencyIndexes: file_envoy_config_grpc_credential_v3_aws_iam_proto_depIdxs, 180 MessageInfos: file_envoy_config_grpc_credential_v3_aws_iam_proto_msgTypes, 181 }.Build() 182 File_envoy_config_grpc_credential_v3_aws_iam_proto = out.File 183 file_envoy_config_grpc_credential_v3_aws_iam_proto_rawDesc = nil 184 file_envoy_config_grpc_credential_v3_aws_iam_proto_goTypes = nil 185 file_envoy_config_grpc_credential_v3_aws_iam_proto_depIdxs = nil 186 }