github.com/kaydxh/golang@v0.0.131/pkg/storage/s3/s3.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.13.0
     5  // source: pkg/storage/s3/s3.proto
     6  
     7  package s3
     8  
     9  import (
    10  	_ "github.com/golang/protobuf/ptypes/duration"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type S3 struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Enabled   bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
    30  	Url       string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
    31  	SecretId  string `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
    32  	SecretKey string `protobuf:"bytes,4,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
    33  }
    34  
    35  func (x *S3) Reset() {
    36  	*x = S3{}
    37  	if protoimpl.UnsafeEnabled {
    38  		mi := &file_pkg_storage_s3_s3_proto_msgTypes[0]
    39  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    40  		ms.StoreMessageInfo(mi)
    41  	}
    42  }
    43  
    44  func (x *S3) String() string {
    45  	return protoimpl.X.MessageStringOf(x)
    46  }
    47  
    48  func (*S3) ProtoMessage() {}
    49  
    50  func (x *S3) ProtoReflect() protoreflect.Message {
    51  	mi := &file_pkg_storage_s3_s3_proto_msgTypes[0]
    52  	if protoimpl.UnsafeEnabled && x != nil {
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		if ms.LoadMessageInfo() == nil {
    55  			ms.StoreMessageInfo(mi)
    56  		}
    57  		return ms
    58  	}
    59  	return mi.MessageOf(x)
    60  }
    61  
    62  // Deprecated: Use S3.ProtoReflect.Descriptor instead.
    63  func (*S3) Descriptor() ([]byte, []int) {
    64  	return file_pkg_storage_s3_s3_proto_rawDescGZIP(), []int{0}
    65  }
    66  
    67  func (x *S3) GetEnabled() bool {
    68  	if x != nil {
    69  		return x.Enabled
    70  	}
    71  	return false
    72  }
    73  
    74  func (x *S3) GetUrl() string {
    75  	if x != nil {
    76  		return x.Url
    77  	}
    78  	return ""
    79  }
    80  
    81  func (x *S3) GetSecretId() string {
    82  	if x != nil {
    83  		return x.SecretId
    84  	}
    85  	return ""
    86  }
    87  
    88  func (x *S3) GetSecretKey() string {
    89  	if x != nil {
    90  		return x.SecretKey
    91  	}
    92  	return ""
    93  }
    94  
    95  var File_pkg_storage_s3_s3_proto protoreflect.FileDescriptor
    96  
    97  var file_pkg_storage_s3_s3_proto_rawDesc = []byte{
    98  	0x0a, 0x17, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x73, 0x33,
    99  	0x2f, 0x73, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x2e, 0x70, 0x6b,
   100  	0x67, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x73, 0x33, 0x1a, 0x1e, 0x67, 0x6f,
   101  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75,
   102  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x02,
   103  	0x53, 0x33, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20,
   104  	0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x10, 0x0a, 0x03,
   105  	0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b,
   106  	0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
   107  	0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
   108  	0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
   109  	0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69,
   110  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x61, 0x79, 0x64, 0x78, 0x68, 0x2f,
   111  	0x67, 0x6f, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x73,
   112  	0x33, 0x3b, 0x73, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   113  }
   114  
   115  var (
   116  	file_pkg_storage_s3_s3_proto_rawDescOnce sync.Once
   117  	file_pkg_storage_s3_s3_proto_rawDescData = file_pkg_storage_s3_s3_proto_rawDesc
   118  )
   119  
   120  func file_pkg_storage_s3_s3_proto_rawDescGZIP() []byte {
   121  	file_pkg_storage_s3_s3_proto_rawDescOnce.Do(func() {
   122  		file_pkg_storage_s3_s3_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_storage_s3_s3_proto_rawDescData)
   123  	})
   124  	return file_pkg_storage_s3_s3_proto_rawDescData
   125  }
   126  
   127  var file_pkg_storage_s3_s3_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   128  var file_pkg_storage_s3_s3_proto_goTypes = []interface{}{
   129  	(*S3)(nil), // 0: go.pkg.storage.s3.S3
   130  }
   131  var file_pkg_storage_s3_s3_proto_depIdxs = []int32{
   132  	0, // [0:0] is the sub-list for method output_type
   133  	0, // [0:0] is the sub-list for method input_type
   134  	0, // [0:0] is the sub-list for extension type_name
   135  	0, // [0:0] is the sub-list for extension extendee
   136  	0, // [0:0] is the sub-list for field type_name
   137  }
   138  
   139  func init() { file_pkg_storage_s3_s3_proto_init() }
   140  func file_pkg_storage_s3_s3_proto_init() {
   141  	if File_pkg_storage_s3_s3_proto != nil {
   142  		return
   143  	}
   144  	if !protoimpl.UnsafeEnabled {
   145  		file_pkg_storage_s3_s3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   146  			switch v := v.(*S3); i {
   147  			case 0:
   148  				return &v.state
   149  			case 1:
   150  				return &v.sizeCache
   151  			case 2:
   152  				return &v.unknownFields
   153  			default:
   154  				return nil
   155  			}
   156  		}
   157  	}
   158  	type x struct{}
   159  	out := protoimpl.TypeBuilder{
   160  		File: protoimpl.DescBuilder{
   161  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   162  			RawDescriptor: file_pkg_storage_s3_s3_proto_rawDesc,
   163  			NumEnums:      0,
   164  			NumMessages:   1,
   165  			NumExtensions: 0,
   166  			NumServices:   0,
   167  		},
   168  		GoTypes:           file_pkg_storage_s3_s3_proto_goTypes,
   169  		DependencyIndexes: file_pkg_storage_s3_s3_proto_depIdxs,
   170  		MessageInfos:      file_pkg_storage_s3_s3_proto_msgTypes,
   171  	}.Build()
   172  	File_pkg_storage_s3_s3_proto = out.File
   173  	file_pkg_storage_s3_s3_proto_rawDesc = nil
   174  	file_pkg_storage_s3_s3_proto_goTypes = nil
   175  	file_pkg_storage_s3_s3_proto_depIdxs = nil
   176  }