1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto 3 4package datacatalog 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 _ "google.golang.org/genproto/googleapis/api/annotations" 12) 13 14// Reference imports to suppress errors if they are not otherwise used. 15var _ = proto.Marshal 16var _ = fmt.Errorf 17var _ = math.Inf 18 19// This is a compile-time assertion to ensure that this generated file 20// is compatible with the proto package it is being compiled against. 21// A compilation error at this line likely means your copy of the 22// proto package needs to be updated. 23const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 24 25// Describes a Cloud Storage fileset entry. 26type GcsFilesetSpec struct { 27 // Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud 28 // Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for 29 // more information. Note that bucket wildcards are currently not supported. 30 // 31 // Examples of valid file_patterns: 32 // 33 // * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` 34 // directory. 35 // * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` 36 // spanning all subdirectories. 37 // * `gs://bucket_name/file*`: matches files prefixed by `file` in 38 // `bucket_name` 39 // * `gs://bucket_name/??.txt`: matches files with two characters followed by 40 // `.txt` in `bucket_name` 41 // * `gs://bucket_name/[aeiou].txt`: matches files that contain a single 42 // vowel character followed by `.txt` in 43 // `bucket_name` 44 // * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... 45 // or `m` followed by `.txt` in `bucket_name` 46 // * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match 47 // `a/*/b` pattern, such as `a/c/b`, `a/d/b` 48 // * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` 49 // 50 // You can combine wildcards to provide more powerful matches, for example: 51 // 52 // * `gs://bucket_name/[a-m]??.j*g` 53 FilePatterns []string `protobuf:"bytes,1,rep,name=file_patterns,json=filePatterns,proto3" json:"file_patterns,omitempty"` 54 // Output only. Sample files contained in this fileset, not all files 55 // contained in this fileset are represented here. 56 SampleGcsFileSpecs []*GcsFileSpec `protobuf:"bytes,2,rep,name=sample_gcs_file_specs,json=sampleGcsFileSpecs,proto3" json:"sample_gcs_file_specs,omitempty"` 57 XXX_NoUnkeyedLiteral struct{} `json:"-"` 58 XXX_unrecognized []byte `json:"-"` 59 XXX_sizecache int32 `json:"-"` 60} 61 62func (m *GcsFilesetSpec) Reset() { *m = GcsFilesetSpec{} } 63func (m *GcsFilesetSpec) String() string { return proto.CompactTextString(m) } 64func (*GcsFilesetSpec) ProtoMessage() {} 65func (*GcsFilesetSpec) Descriptor() ([]byte, []int) { 66 return fileDescriptor_5ef0234cfb0655d3, []int{0} 67} 68 69func (m *GcsFilesetSpec) XXX_Unmarshal(b []byte) error { 70 return xxx_messageInfo_GcsFilesetSpec.Unmarshal(m, b) 71} 72func (m *GcsFilesetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 73 return xxx_messageInfo_GcsFilesetSpec.Marshal(b, m, deterministic) 74} 75func (m *GcsFilesetSpec) XXX_Merge(src proto.Message) { 76 xxx_messageInfo_GcsFilesetSpec.Merge(m, src) 77} 78func (m *GcsFilesetSpec) XXX_Size() int { 79 return xxx_messageInfo_GcsFilesetSpec.Size(m) 80} 81func (m *GcsFilesetSpec) XXX_DiscardUnknown() { 82 xxx_messageInfo_GcsFilesetSpec.DiscardUnknown(m) 83} 84 85var xxx_messageInfo_GcsFilesetSpec proto.InternalMessageInfo 86 87func (m *GcsFilesetSpec) GetFilePatterns() []string { 88 if m != nil { 89 return m.FilePatterns 90 } 91 return nil 92} 93 94func (m *GcsFilesetSpec) GetSampleGcsFileSpecs() []*GcsFileSpec { 95 if m != nil { 96 return m.SampleGcsFileSpecs 97 } 98 return nil 99} 100 101// Specifications of a single file in Cloud Storage. 102type GcsFileSpec struct { 103 // Required. The full file path. Example: `gs://bucket_name/a/b.txt`. 104 FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 105 // Output only. Timestamps about the Cloud Storage file. 106 GcsTimestamps *SystemTimestamps `protobuf:"bytes,2,opt,name=gcs_timestamps,json=gcsTimestamps,proto3" json:"gcs_timestamps,omitempty"` 107 // Output only. The size of the file, in bytes. 108 SizeBytes int64 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` 109 XXX_NoUnkeyedLiteral struct{} `json:"-"` 110 XXX_unrecognized []byte `json:"-"` 111 XXX_sizecache int32 `json:"-"` 112} 113 114func (m *GcsFileSpec) Reset() { *m = GcsFileSpec{} } 115func (m *GcsFileSpec) String() string { return proto.CompactTextString(m) } 116func (*GcsFileSpec) ProtoMessage() {} 117func (*GcsFileSpec) Descriptor() ([]byte, []int) { 118 return fileDescriptor_5ef0234cfb0655d3, []int{1} 119} 120 121func (m *GcsFileSpec) XXX_Unmarshal(b []byte) error { 122 return xxx_messageInfo_GcsFileSpec.Unmarshal(m, b) 123} 124func (m *GcsFileSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 125 return xxx_messageInfo_GcsFileSpec.Marshal(b, m, deterministic) 126} 127func (m *GcsFileSpec) XXX_Merge(src proto.Message) { 128 xxx_messageInfo_GcsFileSpec.Merge(m, src) 129} 130func (m *GcsFileSpec) XXX_Size() int { 131 return xxx_messageInfo_GcsFileSpec.Size(m) 132} 133func (m *GcsFileSpec) XXX_DiscardUnknown() { 134 xxx_messageInfo_GcsFileSpec.DiscardUnknown(m) 135} 136 137var xxx_messageInfo_GcsFileSpec proto.InternalMessageInfo 138 139func (m *GcsFileSpec) GetFilePath() string { 140 if m != nil { 141 return m.FilePath 142 } 143 return "" 144} 145 146func (m *GcsFileSpec) GetGcsTimestamps() *SystemTimestamps { 147 if m != nil { 148 return m.GcsTimestamps 149 } 150 return nil 151} 152 153func (m *GcsFileSpec) GetSizeBytes() int64 { 154 if m != nil { 155 return m.SizeBytes 156 } 157 return 0 158} 159 160func init() { 161 proto.RegisterType((*GcsFilesetSpec)(nil), "google.cloud.datacatalog.v1.GcsFilesetSpec") 162 proto.RegisterType((*GcsFileSpec)(nil), "google.cloud.datacatalog.v1.GcsFileSpec") 163} 164 165func init() { 166 proto.RegisterFile("google/cloud/datacatalog/v1/gcs_fileset_spec.proto", fileDescriptor_5ef0234cfb0655d3) 167} 168 169var fileDescriptor_5ef0234cfb0655d3 = []byte{ 170 // 393 bytes of a gzipped FileDescriptorProto 171 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x6a, 0xe2, 0x40, 172 0x18, 0xc7, 0x99, 0x64, 0x59, 0xd6, 0x71, 0xf5, 0x10, 0x58, 0x08, 0x0a, 0x6b, 0xf0, 0x94, 0xc3, 173 0x6e, 0x42, 0xdc, 0x5b, 0xf6, 0x54, 0x2d, 0x7a, 0x15, 0x2d, 0x42, 0x8b, 0x90, 0x8e, 0xe3, 0x38, 174 0x06, 0x12, 0x67, 0xc8, 0x37, 0x15, 0xec, 0xb3, 0xf4, 0x09, 0x7a, 0xe8, 0x83, 0xb4, 0x2f, 0xd1, 175 0x73, 0x9f, 0xa0, 0xc7, 0x92, 0x4c, 0x52, 0x73, 0x28, 0x39, 0xce, 0xff, 0x37, 0xff, 0xef, 0xff, 176 0xff, 0xf8, 0xf0, 0x88, 0x0b, 0xc1, 0x13, 0xe6, 0xd3, 0x44, 0xdc, 0x6d, 0xfd, 0x2d, 0x51, 0x84, 177 0x12, 0x45, 0x12, 0xc1, 0xfd, 0x63, 0xe0, 0x73, 0x0a, 0xd1, 0x2e, 0x4e, 0x18, 0x30, 0x15, 0x81, 178 0x64, 0xd4, 0x93, 0x99, 0x50, 0xc2, 0xea, 0x6b, 0x8f, 0x57, 0x78, 0xbc, 0x9a, 0xc7, 0x3b, 0x06, 179 0xbd, 0x41, 0x39, 0x90, 0xc8, 0xd8, 0xdf, 0xc5, 0x2c, 0xd9, 0x46, 0x1b, 0xb6, 0x27, 0xc7, 0x58, 180 0x64, 0xda, 0xdd, 0xfb, 0xd3, 0x94, 0xa8, 0xe2, 0x94, 0x81, 0x22, 0xa9, 0x04, 0xfd, 0x7b, 0xf8, 181 0x80, 0x70, 0x77, 0x46, 0x61, 0xaa, 0x5b, 0x2c, 0x25, 0xa3, 0x96, 0x8b, 0x3b, 0x79, 0xa9, 0x48, 182 0x12, 0xa5, 0x58, 0x76, 0x00, 0x1b, 0x39, 0xa6, 0xdb, 0x1a, 0x9b, 0xaf, 0x17, 0xc6, 0xe2, 0x67, 183 0x4e, 0xe6, 0x25, 0xb0, 0x6e, 0xf1, 0x2f, 0x20, 0xa9, 0x4c, 0x58, 0x54, 0x6d, 0x52, 0xac, 0x01, 184 0xb6, 0xe1, 0x98, 0x6e, 0x7b, 0xe4, 0x7a, 0x0d, 0x8b, 0x78, 0x65, 0x6a, 0x1e, 0x99, 0xcf, 0x36, 185 0x17, 0x96, 0x9e, 0x55, 0xd3, 0x61, 0xf8, 0x84, 0x70, 0xbb, 0x26, 0x58, 0x0e, 0x6e, 0x55, 0xdd, 186 0xf6, 0x36, 0x72, 0x50, 0xd5, 0xeb, 0x47, 0xd9, 0x6b, 0x6f, 0x5d, 0xe3, 0x6e, 0x5e, 0xe6, 0xbc, 187 0xa8, 0x6d, 0x38, 0xc8, 0x6d, 0x8f, 0xfe, 0x36, 0x96, 0x59, 0x9e, 0x40, 0xb1, 0xf4, 0xea, 0xd3, 188 0xa4, 0x1b, 0x75, 0x38, 0x85, 0xb3, 0x66, 0x0d, 0x31, 0x86, 0xf8, 0x9e, 0x45, 0x9b, 0x93, 0x62, 189 0x60, 0x7f, 0x73, 0x90, 0x6b, 0xea, 0x7f, 0xad, 0x5c, 0x1e, 0xe7, 0xea, 0xf8, 0x05, 0xe1, 0x01, 190 0x15, 0x69, 0x53, 0xd8, 0x1c, 0xdd, 0x4c, 0x4b, 0xcc, 0x45, 0x42, 0x0e, 0xdc, 0x13, 0x19, 0xf7, 191 0x39, 0x3b, 0x14, 0x17, 0xf1, 0x35, 0x22, 0x32, 0x86, 0x2f, 0x4f, 0xf8, 0xbf, 0xf6, 0x7c, 0x47, 192 0xe8, 0xd1, 0xe8, 0xcf, 0xf4, 0xac, 0x49, 0x11, 0x75, 0x49, 0x14, 0x99, 0x94, 0x51, 0xab, 0xe0, 193 0xb9, 0xa2, 0xeb, 0x82, 0xae, 0x6b, 0x74, 0xbd, 0x0a, 0xde, 0x8c, 0xdf, 0x9a, 0x86, 0x61, 0x81, 194 0xc3, 0xb0, 0xc6, 0xc3, 0x70, 0x15, 0x6c, 0xbe, 0x17, 0x95, 0xfe, 0x7d, 0x04, 0x00, 0x00, 0xff, 195 0xff, 0x01, 0x41, 0x92, 0xcd, 0xc6, 0x02, 0x00, 0x00, 196} 197