blob: bb74bb6c5dad2386f195bd70e7ded931c5d40064 [file]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto
package datacatalog
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Describes a Cloud Storage fileset entry.
type GcsFilesetSpec struct {
// Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
// Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
// more information. Note that bucket wildcards are currently not supported.
//
// Examples of valid file_patterns:
//
// * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
// directory.
// * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
// spanning all subdirectories.
// * `gs://bucket_name/file*`: matches files prefixed by `file` in
// `bucket_name`
// * `gs://bucket_name/??.txt`: matches files with two characters followed by
// `.txt` in `bucket_name`
// * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
// vowel character followed by `.txt` in
// `bucket_name`
// * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
// or `m` followed by `.txt` in `bucket_name`
// * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
// `a/*/b` pattern, such as `a/c/b`, `a/d/b`
// * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
//
// You can combine wildcards to provide more powerful matches, for example:
//
// * `gs://bucket_name/[a-m]??.j*g`
FilePatterns []string `protobuf:"bytes,1,rep,name=file_patterns,json=filePatterns,proto3" json:"file_patterns,omitempty"`
// Output only. Sample files contained in this fileset, not all files
// contained in this fileset are represented here.
SampleGcsFileSpecs []*GcsFileSpec `protobuf:"bytes,2,rep,name=sample_gcs_file_specs,json=sampleGcsFileSpecs,proto3" json:"sample_gcs_file_specs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GcsFilesetSpec) Reset() { *m = GcsFilesetSpec{} }
func (m *GcsFilesetSpec) String() string { return proto.CompactTextString(m) }
func (*GcsFilesetSpec) ProtoMessage() {}
func (*GcsFilesetSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_5ef0234cfb0655d3, []int{0}
}
func (m *GcsFilesetSpec) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GcsFilesetSpec.Unmarshal(m, b)
}
func (m *GcsFilesetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GcsFilesetSpec.Marshal(b, m, deterministic)
}
func (m *GcsFilesetSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_GcsFilesetSpec.Merge(m, src)
}
func (m *GcsFilesetSpec) XXX_Size() int {
return xxx_messageInfo_GcsFilesetSpec.Size(m)
}
func (m *GcsFilesetSpec) XXX_DiscardUnknown() {
xxx_messageInfo_GcsFilesetSpec.DiscardUnknown(m)
}
var xxx_messageInfo_GcsFilesetSpec proto.InternalMessageInfo
func (m *GcsFilesetSpec) GetFilePatterns() []string {
if m != nil {
return m.FilePatterns
}
return nil
}
func (m *GcsFilesetSpec) GetSampleGcsFileSpecs() []*GcsFileSpec {
if m != nil {
return m.SampleGcsFileSpecs
}
return nil
}
// Specifications of a single file in Cloud Storage.
type GcsFileSpec struct {
// Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
// Output only. Timestamps about the Cloud Storage file.
GcsTimestamps *SystemTimestamps `protobuf:"bytes,2,opt,name=gcs_timestamps,json=gcsTimestamps,proto3" json:"gcs_timestamps,omitempty"`
// Output only. The size of the file, in bytes.
SizeBytes int64 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GcsFileSpec) Reset() { *m = GcsFileSpec{} }
func (m *GcsFileSpec) String() string { return proto.CompactTextString(m) }
func (*GcsFileSpec) ProtoMessage() {}
func (*GcsFileSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_5ef0234cfb0655d3, []int{1}
}
func (m *GcsFileSpec) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GcsFileSpec.Unmarshal(m, b)
}
func (m *GcsFileSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GcsFileSpec.Marshal(b, m, deterministic)
}
func (m *GcsFileSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_GcsFileSpec.Merge(m, src)
}
func (m *GcsFileSpec) XXX_Size() int {
return xxx_messageInfo_GcsFileSpec.Size(m)
}
func (m *GcsFileSpec) XXX_DiscardUnknown() {
xxx_messageInfo_GcsFileSpec.DiscardUnknown(m)
}
var xxx_messageInfo_GcsFileSpec proto.InternalMessageInfo
func (m *GcsFileSpec) GetFilePath() string {
if m != nil {
return m.FilePath
}
return ""
}
func (m *GcsFileSpec) GetGcsTimestamps() *SystemTimestamps {
if m != nil {
return m.GcsTimestamps
}
return nil
}
func (m *GcsFileSpec) GetSizeBytes() int64 {
if m != nil {
return m.SizeBytes
}
return 0
}
func init() {
proto.RegisterType((*GcsFilesetSpec)(nil), "google.cloud.datacatalog.v1.GcsFilesetSpec")
proto.RegisterType((*GcsFileSpec)(nil), "google.cloud.datacatalog.v1.GcsFileSpec")
}
func init() {
proto.RegisterFile("google/cloud/datacatalog/v1/gcs_fileset_spec.proto", fileDescriptor_5ef0234cfb0655d3)
}
var fileDescriptor_5ef0234cfb0655d3 = []byte{
// 393 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0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