| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test.proto |
| |
| package storage_v1_tests |
| |
| import ( |
| fmt "fmt" |
| |
| proto "github.com/golang/protobuf/proto" |
| |
| math "math" |
| |
| timestamp "github.com/golang/protobuf/ptypes/timestamp" |
| ) |
| |
| // 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.ProtoPackageIsVersion2 // please upgrade the proto package |
| |
| type TestFile struct { |
| SigningV4Tests []*SigningV4Test `protobuf:"bytes,1,rep,name=signing_v4_tests,json=signingV4Tests,proto3" json:"signing_v4_tests,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TestFile) Reset() { *m = TestFile{} } |
| func (m *TestFile) String() string { return proto.CompactTextString(m) } |
| func (*TestFile) ProtoMessage() {} |
| func (*TestFile) Descriptor() ([]byte, []int) { |
| return fileDescriptor_test_7c0b908fadc4a1ba, []int{0} |
| } |
| func (m *TestFile) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TestFile.Unmarshal(m, b) |
| } |
| func (m *TestFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TestFile.Marshal(b, m, deterministic) |
| } |
| func (dst *TestFile) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TestFile.Merge(dst, src) |
| } |
| func (m *TestFile) XXX_Size() int { |
| return xxx_messageInfo_TestFile.Size(m) |
| } |
| func (m *TestFile) XXX_DiscardUnknown() { |
| xxx_messageInfo_TestFile.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TestFile proto.InternalMessageInfo |
| |
| func (m *TestFile) GetSigningV4Tests() []*SigningV4Test { |
| if m != nil { |
| return m.SigningV4Tests |
| } |
| return nil |
| } |
| |
| type SigningV4Test struct { |
| FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` |
| Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
| Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"` |
| Object string `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"` |
| Method string `protobuf:"bytes,5,opt,name=method,proto3" json:"method,omitempty"` |
| Expiration int64 `protobuf:"varint,6,opt,name=expiration,proto3" json:"expiration,omitempty"` |
| Timestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| ExpectedUrl string `protobuf:"bytes,8,opt,name=expectedUrl,proto3" json:"expectedUrl,omitempty"` |
| Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SigningV4Test) Reset() { *m = SigningV4Test{} } |
| func (m *SigningV4Test) String() string { return proto.CompactTextString(m) } |
| func (*SigningV4Test) ProtoMessage() {} |
| func (*SigningV4Test) Descriptor() ([]byte, []int) { |
| return fileDescriptor_test_7c0b908fadc4a1ba, []int{1} |
| } |
| func (m *SigningV4Test) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SigningV4Test.Unmarshal(m, b) |
| } |
| func (m *SigningV4Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SigningV4Test.Marshal(b, m, deterministic) |
| } |
| func (dst *SigningV4Test) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SigningV4Test.Merge(dst, src) |
| } |
| func (m *SigningV4Test) XXX_Size() int { |
| return xxx_messageInfo_SigningV4Test.Size(m) |
| } |
| func (m *SigningV4Test) XXX_DiscardUnknown() { |
| xxx_messageInfo_SigningV4Test.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SigningV4Test proto.InternalMessageInfo |
| |
| func (m *SigningV4Test) GetFileName() string { |
| if m != nil { |
| return m.FileName |
| } |
| return "" |
| } |
| |
| func (m *SigningV4Test) GetDescription() string { |
| if m != nil { |
| return m.Description |
| } |
| return "" |
| } |
| |
| func (m *SigningV4Test) GetBucket() string { |
| if m != nil { |
| return m.Bucket |
| } |
| return "" |
| } |
| |
| func (m *SigningV4Test) GetObject() string { |
| if m != nil { |
| return m.Object |
| } |
| return "" |
| } |
| |
| func (m *SigningV4Test) GetMethod() string { |
| if m != nil { |
| return m.Method |
| } |
| return "" |
| } |
| |
| func (m *SigningV4Test) GetExpiration() int64 { |
| if m != nil { |
| return m.Expiration |
| } |
| return 0 |
| } |
| |
| func (m *SigningV4Test) GetTimestamp() *timestamp.Timestamp { |
| if m != nil { |
| return m.Timestamp |
| } |
| return nil |
| } |
| |
| func (m *SigningV4Test) GetExpectedUrl() string { |
| if m != nil { |
| return m.ExpectedUrl |
| } |
| return "" |
| } |
| |
| func (m *SigningV4Test) GetHeaders() map[string]string { |
| if m != nil { |
| return m.Headers |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*TestFile)(nil), "storage.v1.tests.TestFile") |
| proto.RegisterType((*SigningV4Test)(nil), "storage.v1.tests.SigningV4Test") |
| proto.RegisterMapType((map[string]string)(nil), "storage.v1.tests.SigningV4Test.HeadersEntry") |
| } |
| |
| func init() { proto.RegisterFile("test.proto", fileDescriptor_test_7c0b908fadc4a1ba) } |
| |
| var fileDescriptor_test_7c0b908fadc4a1ba = []byte{ |
| // 337 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4d, 0x4f, 0xf2, 0x40, |
| 0x14,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