Documentation

Overview

    Package pyre_proto is a reverse proxy.

    It translates gRPC into RESTful JSON APIs.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func RegisterPyreServiceHandler

    func RegisterPyreServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

      RegisterPyreServiceHandler registers the http handlers for service PyreService to "mux". The handlers forward requests to the grpc endpoint over "conn".

      func RegisterPyreServiceHandlerClient

      func RegisterPyreServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PyreServiceClient) error

        RegisterPyreServiceHandlerClient registers the http handlers for service PyreService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PyreServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PyreServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PyreServiceClient" to call the correct interceptors.

        func RegisterPyreServiceHandlerFromEndpoint

        func RegisterPyreServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

          RegisterPyreServiceHandlerFromEndpoint is same as RegisterPyreServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

          func RegisterPyreServiceServer

          func RegisterPyreServiceServer(s *grpc.Server, srv PyreServiceServer)

          Types

          type AuthorizeAccountRequest

          type AuthorizeAccountRequest struct {
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*AuthorizeAccountRequest) Descriptor

          func (*AuthorizeAccountRequest) Descriptor() ([]byte, []int)

          func (*AuthorizeAccountRequest) ProtoMessage

          func (*AuthorizeAccountRequest) ProtoMessage()

          func (*AuthorizeAccountRequest) Reset

          func (m *AuthorizeAccountRequest) Reset()

          func (*AuthorizeAccountRequest) String

          func (m *AuthorizeAccountRequest) String() string

          func (*AuthorizeAccountRequest) XXX_DiscardUnknown

          func (m *AuthorizeAccountRequest) XXX_DiscardUnknown()

          func (*AuthorizeAccountRequest) XXX_Marshal

          func (m *AuthorizeAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*AuthorizeAccountRequest) XXX_Merge

          func (dst *AuthorizeAccountRequest) XXX_Merge(src proto.Message)

          func (*AuthorizeAccountRequest) XXX_Size

          func (m *AuthorizeAccountRequest) XXX_Size() int

          func (*AuthorizeAccountRequest) XXX_Unmarshal

          func (m *AuthorizeAccountRequest) XXX_Unmarshal(b []byte) error

          type AuthorizeAccountResponse

          type AuthorizeAccountResponse struct {
          	// The identifier for the account.
          	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
          	// An authorization token to use with all calls, other than
          	// b2_authorize_account, that need an Authorization header. This
          	// authorization token is valid for at most 24 hours.
          	AuthorizationToken string `protobuf:"bytes,2,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"`
          	// The base URL to use for all API calls except for uploading and downloading
          	// files.
          	ApiUrl string `protobuf:"bytes,3,opt,name=api_url,json=apiUrl,proto3" json:"api_url,omitempty"`
          	// The base URL to use for downloading files.
          	DownloadUrl string `protobuf:"bytes,4,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
          	// The recommended size for each part of a large file. We recommend using
          	// this part size for optimal upload performance.
          	RecommendedPartSize int32 `protobuf:"varint,5,opt,name=recommended_part_size,json=recommendedPartSize,proto3" json:"recommended_part_size,omitempty"`
          	// The smallest possible size of a part of a large file (except the last
          	// one). This is smaller than the recommended part size. If you use it, you
          	// may find that it takes longer overall to upload a large file.
          	AbsoluteMinimumPartSize int32    `` /* 135-byte string literal not displayed */
          	MinimumPartSize         int32    `protobuf:"varint,7,opt,name=minimum_part_size,json=minimumPartSize,proto3" json:"minimum_part_size,omitempty"`
          	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
          	XXX_unrecognized        []byte   `json:"-"`
          	XXX_sizecache           int32    `json:"-"`
          }

          func (*AuthorizeAccountResponse) Descriptor

          func (*AuthorizeAccountResponse) Descriptor() ([]byte, []int)

          func (*AuthorizeAccountResponse) GetAbsoluteMinimumPartSize

          func (m *AuthorizeAccountResponse) GetAbsoluteMinimumPartSize() int32

          func (*AuthorizeAccountResponse) GetAccountId

          func (m *AuthorizeAccountResponse) GetAccountId() string

          func (*AuthorizeAccountResponse) GetApiUrl

          func (m *AuthorizeAccountResponse) GetApiUrl() string

          func (*AuthorizeAccountResponse) GetAuthorizationToken

          func (m *AuthorizeAccountResponse) GetAuthorizationToken() string

          func (*AuthorizeAccountResponse) GetDownloadUrl

          func (m *AuthorizeAccountResponse) GetDownloadUrl() string

          func (*AuthorizeAccountResponse) GetMinimumPartSize

          func (m *AuthorizeAccountResponse) GetMinimumPartSize() int32

          func (*AuthorizeAccountResponse) GetRecommendedPartSize

          func (m *AuthorizeAccountResponse) GetRecommendedPartSize() int32

          func (*AuthorizeAccountResponse) ProtoMessage

          func (*AuthorizeAccountResponse) ProtoMessage()

          func (*AuthorizeAccountResponse) Reset

          func (m *AuthorizeAccountResponse) Reset()

          func (*AuthorizeAccountResponse) String

          func (m *AuthorizeAccountResponse) String() string

          func (*AuthorizeAccountResponse) XXX_DiscardUnknown

          func (m *AuthorizeAccountResponse) XXX_DiscardUnknown()

          func (*AuthorizeAccountResponse) XXX_Marshal

          func (m *AuthorizeAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*AuthorizeAccountResponse) XXX_Merge

          func (dst *AuthorizeAccountResponse) XXX_Merge(src proto.Message)

          func (*AuthorizeAccountResponse) XXX_Size

          func (m *AuthorizeAccountResponse) XXX_Size() int

          func (*AuthorizeAccountResponse) XXX_Unmarshal

          func (m *AuthorizeAccountResponse) XXX_Unmarshal(b []byte) error

          type Bucket

          type Bucket struct {
          	AccountId            string            `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
          	BucketId             string            `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
          	BucketName           string            `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
          	BucketType           string            `protobuf:"bytes,4,opt,name=bucket_type,json=bucketType,proto3" json:"bucket_type,omitempty"`
          	BucketInfo           map[string]string `` /* 179-byte string literal not displayed */
          	CoresRules           []*CorsRule       `protobuf:"bytes,6,rep,name=cores_rules,json=coresRules,proto3" json:"cores_rules,omitempty"`
          	LifecycleRules       []*LifecycleRule  `protobuf:"bytes,7,rep,name=lifecycle_rules,json=lifecycleRules,proto3" json:"lifecycle_rules,omitempty"`
          	Revision             int32             `protobuf:"varint,8,opt,name=revision,proto3" json:"revision,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
          	XXX_unrecognized     []byte            `json:"-"`
          	XXX_sizecache        int32             `json:"-"`
          }

          func (*Bucket) Descriptor

          func (*Bucket) Descriptor() ([]byte, []int)

          func (*Bucket) GetAccountId

          func (m *Bucket) GetAccountId() string

          func (*Bucket) GetBucketId

          func (m *Bucket) GetBucketId() string

          func (*Bucket) GetBucketInfo

          func (m *Bucket) GetBucketInfo() map[string]string

          func (*Bucket) GetBucketName

          func (m *Bucket) GetBucketName() string

          func (*Bucket) GetBucketType

          func (m *Bucket) GetBucketType() string

          func (*Bucket) GetCoresRules

          func (m *Bucket) GetCoresRules() []*CorsRule

          func (*Bucket) GetLifecycleRules

          func (m *Bucket) GetLifecycleRules() []*LifecycleRule

          func (*Bucket) GetRevision

          func (m *Bucket) GetRevision() int32

          func (*Bucket) ProtoMessage

          func (*Bucket) ProtoMessage()

          func (*Bucket) Reset

          func (m *Bucket) Reset()

          func (*Bucket) String

          func (m *Bucket) String() string

          func (*Bucket) XXX_DiscardUnknown

          func (m *Bucket) XXX_DiscardUnknown()

          func (*Bucket) XXX_Marshal

          func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*Bucket) XXX_Merge

          func (dst *Bucket) XXX_Merge(src proto.Message)

          func (*Bucket) XXX_Size

          func (m *Bucket) XXX_Size() int

          func (*Bucket) XXX_Unmarshal

          func (m *Bucket) XXX_Unmarshal(b []byte) error

          type CorsRule

          type CorsRule struct {
          	// A name for humans to recognize the rule in a user interface. Names must be
          	// unique within a bucket. Names can consist of upper-case and lower-case
          	// English letters, numbers, and "-". No other characters are allowed. A name
          	// must be at least 6 characters long, and can be at most 50 characters long.
          	// These are all allowed names: myPhotosSite, allowAnyHttps,
          	// backblaze-images. Names that start with "b2-" are reserved for Backblaze
          	// use.
          	CorsRuleName string `protobuf:"bytes,1,opt,name=cors_rule_name,json=corsRuleName,proto3" json:"cors_rule_name,omitempty"`
          	// A non-empty list specifying which origins the rule covers. Each value may
          	// have one of many formats:
          	//
          	//  * The origin can be fully specified, such as http://www.example.com:8180
          	//  or https://www.example.com:4433.
          	//
          	//  * The origin can omit a default port, such as https://www.example.com.
          	//
          	//  * The origin may have a single '*' as part of the domain name, such as
          	//  https://*.example.com, https://*:8443 or https://*.
          	//
          	//  * The origin may be 'https' to match any origin that uses HTTPS. (This is
          	//  broader than 'https://*' because it matches any port.)
          	//
          	//  * Finally, the origin can be a single '*' to match any origin.
          	//
          	// If any entry is "*", it must be the only entry. There can be at most one
          	// "https" entry and no entry after it may start with "https:".
          	AllowedOrigins []string `protobuf:"bytes,2,rep,name=allowed_origins,json=allowedOrigins,proto3" json:"allowed_origins,omitempty"`
          	// A list specifying which operations the rule allows. At least one value
          	// must be specified. All values must be from the following list. More values
          	// may be added to this list at any time.
          	//
          	// b2_download_file_by_name
          	// b2_download_file_by_id
          	// b2_upload_file
          	// b2_upload_part
          	AllowedOperations []string `protobuf:"bytes,3,rep,name=allowed_operations,json=allowedOperations,proto3" json:"allowed_operations,omitempty"`
          	// If present, this is a list of headers that are allowed in a pre-flight
          	// OPTIONS's request's Access-Control-Request-Headers header value. Each
          	// value may have one of many formats:
          	//
          	//  * It may be a complete header name, such as x-bz-content-sha1.
          	//
          	//  * It may end with an asterisk, such as x-bz-info-*.
          	//
          	//  * Finally, it may be a single '*' to match any header.
          	//
          	// If any entry is "*", it must be the only entry in the list. If this list
          	// is missing, it is be treated as if it is a list with no entries.
          	AllowedHeaders []string `protobuf:"bytes,4,rep,name=allowed_headers,json=allowedHeaders,proto3" json:"allowed_headers,omitempty"`
          	// If present, this is a list of headers that may be exposed to an
          	// application inside the client (eg. exposed to Javascript in a browser).
          	// Each entry in the list must be a complete header name (eg.
          	// "x-bz-content-sha1"). If this list is missing or empty, no headers will be
          	// exposed.
          	ExposeHeaders []string `protobuf:"bytes,5,rep,name=expose_headers,json=exposeHeaders,proto3" json:"expose_headers,omitempty"`
          	// This specifies the maximum number of seconds that a browser may cache the
          	// response to a preflight request. The value must not be negative and it
          	// must not be more than 86,400 seconds (one day).
          	MaxAgeSeconds        int32    `protobuf:"varint,6,opt,name=max_age_seconds,json=maxAgeSeconds,proto3" json:"max_age_seconds,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*CorsRule) Descriptor

          func (*CorsRule) Descriptor() ([]byte, []int)

          func (*CorsRule) GetAllowedHeaders

          func (m *CorsRule) GetAllowedHeaders() []string

          func (*CorsRule) GetAllowedOperations

          func (m *CorsRule) GetAllowedOperations() []string

          func (*CorsRule) GetAllowedOrigins

          func (m *CorsRule) GetAllowedOrigins() []string

          func (*CorsRule) GetCorsRuleName

          func (m *CorsRule) GetCorsRuleName() string

          func (*CorsRule) GetExposeHeaders

          func (m *CorsRule) GetExposeHeaders() []string

          func (*CorsRule) GetMaxAgeSeconds

          func (m *CorsRule) GetMaxAgeSeconds() int32

          func (*CorsRule) ProtoMessage

          func (*CorsRule) ProtoMessage()

          func (*CorsRule) Reset

          func (m *CorsRule) Reset()

          func (*CorsRule) String

          func (m *CorsRule) String() string

          func (*CorsRule) XXX_DiscardUnknown

          func (m *CorsRule) XXX_DiscardUnknown()

          func (*CorsRule) XXX_Marshal

          func (m *CorsRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*CorsRule) XXX_Merge

          func (dst *CorsRule) XXX_Merge(src proto.Message)

          func (*CorsRule) XXX_Size

          func (m *CorsRule) XXX_Size() int

          func (*CorsRule) XXX_Unmarshal

          func (m *CorsRule) XXX_Unmarshal(b []byte) error

          type File

          type File struct {
          	FileId               string            `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
          	FileName             string            `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
          	ContentLength        int64             `protobuf:"varint,3,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
          	ContentType          string            `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
          	ContentSha1          string            `protobuf:"bytes,5,opt,name=content_sha1,json=contentSha1,proto3" json:"content_sha1,omitempty"`
          	FileInfo             map[string]string `` /* 173-byte string literal not displayed */
          	Action               string            `protobuf:"bytes,7,opt,name=action,proto3" json:"action,omitempty"`
          	Size                 int64             `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"`
          	UploadTimestamp      int64             `protobuf:"varint,9,opt,name=upload_timestamp,json=uploadTimestamp,proto3" json:"upload_timestamp,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
          	XXX_unrecognized     []byte            `json:"-"`
          	XXX_sizecache        int32             `json:"-"`
          }

          func (*File) Descriptor

          func (*File) Descriptor() ([]byte, []int)

          func (*File) GetAction

          func (m *File) GetAction() string

          func (*File) GetContentLength

          func (m *File) GetContentLength() int64

          func (*File) GetContentSha1

          func (m *File) GetContentSha1() string

          func (*File) GetContentType

          func (m *File) GetContentType() string

          func (*File) GetFileId

          func (m *File) GetFileId() string

          func (*File) GetFileInfo

          func (m *File) GetFileInfo() map[string]string

          func (*File) GetFileName

          func (m *File) GetFileName() string

          func (*File) GetSize

          func (m *File) GetSize() int64

          func (*File) GetUploadTimestamp

          func (m *File) GetUploadTimestamp() int64

          func (*File) ProtoMessage

          func (*File) ProtoMessage()

          func (*File) Reset

          func (m *File) Reset()

          func (*File) String

          func (m *File) String() string

          func (*File) XXX_DiscardUnknown

          func (m *File) XXX_DiscardUnknown()

          func (*File) XXX_Marshal

          func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*File) XXX_Merge

          func (dst *File) XXX_Merge(src proto.Message)

          func (*File) XXX_Size

          func (m *File) XXX_Size() int

          func (*File) XXX_Unmarshal

          func (m *File) XXX_Unmarshal(b []byte) error

          type FinishLargeFileRequest

          type FinishLargeFileRequest struct {
          	FileId               string   `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
          	PartSha1Array        []string `protobuf:"bytes,2,rep,name=part_sha1_array,json=partSha1Array,proto3" json:"part_sha1_array,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*FinishLargeFileRequest) Descriptor

          func (*FinishLargeFileRequest) Descriptor() ([]byte, []int)

          func (*FinishLargeFileRequest) GetFileId

          func (m *FinishLargeFileRequest) GetFileId() string

          func (*FinishLargeFileRequest) GetPartSha1Array

          func (m *FinishLargeFileRequest) GetPartSha1Array() []string

          func (*FinishLargeFileRequest) ProtoMessage

          func (*FinishLargeFileRequest) ProtoMessage()

          func (*FinishLargeFileRequest) Reset

          func (m *FinishLargeFileRequest) Reset()

          func (*FinishLargeFileRequest) String

          func (m *FinishLargeFileRequest) String() string

          func (*FinishLargeFileRequest) XXX_DiscardUnknown

          func (m *FinishLargeFileRequest) XXX_DiscardUnknown()

          func (*FinishLargeFileRequest) XXX_Marshal

          func (m *FinishLargeFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*FinishLargeFileRequest) XXX_Merge

          func (dst *FinishLargeFileRequest) XXX_Merge(src proto.Message)

          func (*FinishLargeFileRequest) XXX_Size

          func (m *FinishLargeFileRequest) XXX_Size() int

          func (*FinishLargeFileRequest) XXX_Unmarshal

          func (m *FinishLargeFileRequest) XXX_Unmarshal(b []byte) error

          type FinishLargeFileResponse

          type FinishLargeFileResponse struct {
          	FileId               string            `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
          	FileName             string            `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
          	AccountId            string            `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
          	BucketId             string            `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
          	ContentLength        int64             `protobuf:"varint,5,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
          	ContentSha1          string            `protobuf:"bytes,6,opt,name=content_sha1,json=contentSha1,proto3" json:"content_sha1,omitempty"`
          	ContentType          string            `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
          	FileInfo             map[string]string `` /* 173-byte string literal not displayed */
          	Action               string            `protobuf:"bytes,9,opt,name=action,proto3" json:"action,omitempty"`
          	UploadTimestamp      int64             `protobuf:"varint,10,opt,name=upload_timestamp,json=uploadTimestamp,proto3" json:"upload_timestamp,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
          	XXX_unrecognized     []byte            `json:"-"`
          	XXX_sizecache        int32             `json:"-"`
          }

          func (*FinishLargeFileResponse) Descriptor

          func (*FinishLargeFileResponse) Descriptor() ([]byte, []int)

          func (*FinishLargeFileResponse) GetAccountId

          func (m *FinishLargeFileResponse) GetAccountId() string

          func (*FinishLargeFileResponse) GetAction

          func (m *FinishLargeFileResponse) GetAction() string

          func (*FinishLargeFileResponse) GetBucketId

          func (m *FinishLargeFileResponse) GetBucketId() string

          func (*FinishLargeFileResponse) GetContentLength

          func (m *FinishLargeFileResponse) GetContentLength() int64

          func (*FinishLargeFileResponse) GetContentSha1

          func (m *FinishLargeFileResponse) GetContentSha1() string

          func (*FinishLargeFileResponse) GetContentType

          func (m *FinishLargeFileResponse) GetContentType() string

          func (*FinishLargeFileResponse) GetFileId

          func (m *FinishLargeFileResponse) GetFileId() string

          func (*FinishLargeFileResponse) GetFileInfo

          func (m *FinishLargeFileResponse) GetFileInfo() map[string]string

          func (*FinishLargeFileResponse) GetFileName

          func (m *FinishLargeFileResponse) GetFileName() string

          func (*FinishLargeFileResponse) GetUploadTimestamp

          func (m *FinishLargeFileResponse) GetUploadTimestamp() int64

          func (*FinishLargeFileResponse) ProtoMessage

          func (*FinishLargeFileResponse) ProtoMessage()

          func (*FinishLargeFileResponse) Reset

          func (m *FinishLargeFileResponse) Reset()

          func (*FinishLargeFileResponse) String

          func (m *FinishLargeFileResponse) String() string

          func (*FinishLargeFileResponse) XXX_DiscardUnknown

          func (m *FinishLargeFileResponse) XXX_DiscardUnknown()

          func (*FinishLargeFileResponse) XXX_Marshal

          func (m *FinishLargeFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*FinishLargeFileResponse) XXX_Merge

          func (dst *FinishLargeFileResponse) XXX_Merge(src proto.Message)

          func (*FinishLargeFileResponse) XXX_Size

          func (m *FinishLargeFileResponse) XXX_Size() int

          func (*FinishLargeFileResponse) XXX_Unmarshal

          func (m *FinishLargeFileResponse) XXX_Unmarshal(b []byte) error

          type GetUploadPartUrlRequest

          type GetUploadPartUrlRequest struct {
          	FileId               string   `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*GetUploadPartUrlRequest) Descriptor

          func (*GetUploadPartUrlRequest) Descriptor() ([]byte, []int)

          func (*GetUploadPartUrlRequest) GetFileId

          func (m *GetUploadPartUrlRequest) GetFileId() string

          func (*GetUploadPartUrlRequest) ProtoMessage

          func (*GetUploadPartUrlRequest) ProtoMessage()

          func (*GetUploadPartUrlRequest) Reset

          func (m *GetUploadPartUrlRequest) Reset()

          func (*GetUploadPartUrlRequest) String

          func (m *GetUploadPartUrlRequest) String() string

          func (*GetUploadPartUrlRequest) XXX_DiscardUnknown

          func (m *GetUploadPartUrlRequest) XXX_DiscardUnknown()

          func (*GetUploadPartUrlRequest) XXX_Marshal

          func (m *GetUploadPartUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*GetUploadPartUrlRequest) XXX_Merge

          func (dst *GetUploadPartUrlRequest) XXX_Merge(src proto.Message)

          func (*GetUploadPartUrlRequest) XXX_Size

          func (m *GetUploadPartUrlRequest) XXX_Size() int

          func (*GetUploadPartUrlRequest) XXX_Unmarshal

          func (m *GetUploadPartUrlRequest) XXX_Unmarshal(b []byte) error

          type GetUploadPartUrlResponse

          type GetUploadPartUrlResponse struct {
          	FileId               string   `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
          	UploadUrl            string   `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
          	AuthorizationToken   string   `protobuf:"bytes,3,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*GetUploadPartUrlResponse) Descriptor

          func (*GetUploadPartUrlResponse) Descriptor() ([]byte, []int)

          func (*GetUploadPartUrlResponse) GetAuthorizationToken

          func (m *GetUploadPartUrlResponse) GetAuthorizationToken() string

          func (*GetUploadPartUrlResponse) GetFileId

          func (m *GetUploadPartUrlResponse) GetFileId() string

          func (*GetUploadPartUrlResponse) GetUploadUrl

          func (m *GetUploadPartUrlResponse) GetUploadUrl() string

          func (*GetUploadPartUrlResponse) ProtoMessage

          func (*GetUploadPartUrlResponse) ProtoMessage()

          func (*GetUploadPartUrlResponse) Reset

          func (m *GetUploadPartUrlResponse) Reset()

          func (*GetUploadPartUrlResponse) String

          func (m *GetUploadPartUrlResponse) String() string

          func (*GetUploadPartUrlResponse) XXX_DiscardUnknown

          func (m *GetUploadPartUrlResponse) XXX_DiscardUnknown()

          func (*GetUploadPartUrlResponse) XXX_Marshal

          func (m *GetUploadPartUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*GetUploadPartUrlResponse) XXX_Merge

          func (dst *GetUploadPartUrlResponse) XXX_Merge(src proto.Message)

          func (*GetUploadPartUrlResponse) XXX_Size

          func (m *GetUploadPartUrlResponse) XXX_Size() int

          func (*GetUploadPartUrlResponse) XXX_Unmarshal

          func (m *GetUploadPartUrlResponse) XXX_Unmarshal(b []byte) error

          type GetUploadUrlRequest

          type GetUploadUrlRequest struct {
          	BucketId             string   `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*GetUploadUrlRequest) Descriptor

          func (*GetUploadUrlRequest) Descriptor() ([]byte, []int)

          func (*GetUploadUrlRequest) GetBucketId

          func (m *GetUploadUrlRequest) GetBucketId() string

          func (*GetUploadUrlRequest) ProtoMessage

          func (*GetUploadUrlRequest) ProtoMessage()

          func (*GetUploadUrlRequest) Reset

          func (m *GetUploadUrlRequest) Reset()

          func (*GetUploadUrlRequest) String

          func (m *GetUploadUrlRequest) String() string

          func (*GetUploadUrlRequest) XXX_DiscardUnknown

          func (m *GetUploadUrlRequest) XXX_DiscardUnknown()

          func (*GetUploadUrlRequest) XXX_Marshal

          func (m *GetUploadUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*GetUploadUrlRequest) XXX_Merge

          func (dst *GetUploadUrlRequest) XXX_Merge(src proto.Message)

          func (*GetUploadUrlRequest) XXX_Size

          func (m *GetUploadUrlRequest) XXX_Size() int

          func (*GetUploadUrlRequest) XXX_Unmarshal

          func (m *GetUploadUrlRequest) XXX_Unmarshal(b []byte) error

          type GetUploadUrlResponse

          type GetUploadUrlResponse struct {
          	BucketId             string   `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
          	UploadUrl            string   `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
          	AuthorizationToken   string   `protobuf:"bytes,3,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*GetUploadUrlResponse) Descriptor

          func (*GetUploadUrlResponse) Descriptor() ([]byte, []int)

          func (*GetUploadUrlResponse) GetAuthorizationToken

          func (m *GetUploadUrlResponse) GetAuthorizationToken() string

          func (*GetUploadUrlResponse) GetBucketId

          func (m *GetUploadUrlResponse) GetBucketId() string

          func (*GetUploadUrlResponse) GetUploadUrl

          func (m *GetUploadUrlResponse) GetUploadUrl() string

          func (*GetUploadUrlResponse) ProtoMessage

          func (*GetUploadUrlResponse) ProtoMessage()

          func (*GetUploadUrlResponse) Reset

          func (m *GetUploadUrlResponse) Reset()

          func (*GetUploadUrlResponse) String

          func (m *GetUploadUrlResponse) String() string

          func (*GetUploadUrlResponse) XXX_DiscardUnknown

          func (m *GetUploadUrlResponse) XXX_DiscardUnknown()

          func (*GetUploadUrlResponse) XXX_Marshal

          func (m *GetUploadUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*GetUploadUrlResponse) XXX_Merge

          func (dst *GetUploadUrlResponse) XXX_Merge(src proto.Message)

          func (*GetUploadUrlResponse) XXX_Size

          func (m *GetUploadUrlResponse) XXX_Size() int

          func (*GetUploadUrlResponse) XXX_Unmarshal

          func (m *GetUploadUrlResponse) XXX_Unmarshal(b []byte) error

          type LifecycleRule

          type LifecycleRule struct {
          	// After a file is uploaded, the number of days before it can be hidden.
          	DaysFromUploadingToHiding int32 `` /* 143-byte string literal not displayed */
          	// After a file is hidden, the number of days before it can be deleted.
          	DaysFromHidingToDeleting int32 `` /* 140-byte string literal not displayed */
          	// The rule applies to files whose names start with this prefix.
          	FileNamePrefix       string   `protobuf:"bytes,3,opt,name=file_name_prefix,json=fileNamePrefix,proto3" json:"file_name_prefix,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*LifecycleRule) Descriptor

          func (*LifecycleRule) Descriptor() ([]byte, []int)

          func (*LifecycleRule) GetDaysFromHidingToDeleting

          func (m *LifecycleRule) GetDaysFromHidingToDeleting() int32

          func (*LifecycleRule) GetDaysFromUploadingToHiding

          func (m *LifecycleRule) GetDaysFromUploadingToHiding() int32

          func (*LifecycleRule) GetFileNamePrefix

          func (m *LifecycleRule) GetFileNamePrefix() string

          func (*LifecycleRule) ProtoMessage

          func (*LifecycleRule) ProtoMessage()

          func (*LifecycleRule) Reset

          func (m *LifecycleRule) Reset()

          func (*LifecycleRule) String

          func (m *LifecycleRule) String() string

          func (*LifecycleRule) XXX_DiscardUnknown

          func (m *LifecycleRule) XXX_DiscardUnknown()

          func (*LifecycleRule) XXX_Marshal

          func (m *LifecycleRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*LifecycleRule) XXX_Merge

          func (dst *LifecycleRule) XXX_Merge(src proto.Message)

          func (*LifecycleRule) XXX_Size

          func (m *LifecycleRule) XXX_Size() int

          func (*LifecycleRule) XXX_Unmarshal

          func (m *LifecycleRule) XXX_Unmarshal(b []byte) error

          type ListBucketsRequest

          type ListBucketsRequest struct {
          	// The ID of your account.
          	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
          	// When specified, the result will be a list containing just this bucket, if
          	// it's present in the account, or no buckets if the account does not have a
          	// bucket with this ID.
          	BucketId string `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
          	// When specified, the result will be a list containing just this bucket, if
          	// it's present in the account, or no buckets if the account does not have a
          	// bucket with this ID.
          	BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
          	// If present, B2 will use it as a filter for bucket types returned in the
          	// list buckets response. If not present, only buckets with bucket types
          	// "allPublic", "allPrivate" and "snapshot" will be returned. A special
          	// filter value of ["all"] will return all bucket types.
          	//
          	// If present, it must be in the form of a json array of strings containing
          	// valid bucket types in quotes and separated by a comma. Valid bucket types
          	// include "allPrivate", "allPublic", "snapshot", and other values added in
          	// the future.
          	//
          	// A bad request error will be returned if "all" is used with other bucket
          	// types, this field is empty, or invalid bucket types are requested.
          	BucketTypes          []string `protobuf:"bytes,4,rep,name=bucket_types,json=bucketTypes,proto3" json:"bucket_types,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*ListBucketsRequest) Descriptor

          func (*ListBucketsRequest) Descriptor() ([]byte, []int)

          func (*ListBucketsRequest) GetAccountId

          func (m *ListBucketsRequest) GetAccountId() string

          func (*ListBucketsRequest) GetBucketId

          func (m *ListBucketsRequest) GetBucketId() string

          func (*ListBucketsRequest) GetBucketName

          func (m *ListBucketsRequest) GetBucketName() string

          func (*ListBucketsRequest) GetBucketTypes

          func (m *ListBucketsRequest) GetBucketTypes() []string

          func (*ListBucketsRequest) ProtoMessage

          func (*ListBucketsRequest) ProtoMessage()

          func (*ListBucketsRequest) Reset

          func (m *ListBucketsRequest) Reset()

          func (*ListBucketsRequest) String

          func (m *ListBucketsRequest) String() string

          func (*ListBucketsRequest) XXX_DiscardUnknown

          func (m *ListBucketsRequest) XXX_DiscardUnknown()

          func (*ListBucketsRequest) XXX_Marshal

          func (m *ListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ListBucketsRequest) XXX_Merge

          func (dst *ListBucketsRequest) XXX_Merge(src proto.Message)

          func (*ListBucketsRequest) XXX_Size

          func (m *ListBucketsRequest) XXX_Size() int

          func (*ListBucketsRequest) XXX_Unmarshal

          func (m *ListBucketsRequest) XXX_Unmarshal(b []byte) error

          type ListBucketsResponse

          type ListBucketsResponse struct {
          	Buckets              []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
          	XXX_unrecognized     []byte    `json:"-"`
          	XXX_sizecache        int32     `json:"-"`
          }

          func (*ListBucketsResponse) Descriptor

          func (*ListBucketsResponse) Descriptor() ([]byte, []int)

          func (*ListBucketsResponse) GetBuckets

          func (m *ListBucketsResponse) GetBuckets() []*Bucket

          func (*ListBucketsResponse) ProtoMessage

          func (*ListBucketsResponse) ProtoMessage()

          func (*ListBucketsResponse) Reset

          func (m *ListBucketsResponse) Reset()

          func (*ListBucketsResponse) String

          func (m *ListBucketsResponse) String() string

          func (*ListBucketsResponse) XXX_DiscardUnknown

          func (m *ListBucketsResponse) XXX_DiscardUnknown()

          func (*ListBucketsResponse) XXX_Marshal

          func (m *ListBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ListBucketsResponse) XXX_Merge

          func (dst *ListBucketsResponse) XXX_Merge(src proto.Message)

          func (*ListBucketsResponse) XXX_Size

          func (m *ListBucketsResponse) XXX_Size() int

          func (*ListBucketsResponse) XXX_Unmarshal

          func (m *ListBucketsResponse) XXX_Unmarshal(b []byte) error

          type ListFileVersionsRequest

          type ListFileVersionsRequest struct {
          	BucketId             string   `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
          	StartFileName        string   `protobuf:"bytes,2,opt,name=start_file_name,json=startFileName,proto3" json:"start_file_name,omitempty"`
          	StartFileId          string   `protobuf:"bytes,3,opt,name=start_file_id,json=startFileId,proto3" json:"start_file_id,omitempty"`
          	MaxFileCount         int32    `protobuf:"varint,4,opt,name=max_file_count,json=maxFileCount,proto3" json:"max_file_count,omitempty"`
          	Prefix               string   `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"`
          	Delimiter            string   `protobuf:"bytes,6,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*ListFileVersionsRequest) Descriptor

          func (*ListFileVersionsRequest) Descriptor() ([]byte, []int)

          func (*ListFileVersionsRequest) GetBucketId

          func (m *ListFileVersionsRequest) GetBucketId() string

          func (*ListFileVersionsRequest) GetDelimiter

          func (m *ListFileVersionsRequest) GetDelimiter() string

          func (*ListFileVersionsRequest) GetMaxFileCount

          func (m *ListFileVersionsRequest) GetMaxFileCount() int32

          func (*ListFileVersionsRequest) GetPrefix

          func (m *ListFileVersionsRequest) GetPrefix() string

          func (*ListFileVersionsRequest) GetStartFileId

          func (m *ListFileVersionsRequest) GetStartFileId() string

          func (*ListFileVersionsRequest) GetStartFileName

          func (m *ListFileVersionsRequest) GetStartFileName() string

          func (*ListFileVersionsRequest) ProtoMessage

          func (*ListFileVersionsRequest) ProtoMessage()

          func (*ListFileVersionsRequest) Reset

          func (m *ListFileVersionsRequest) Reset()

          func (*ListFileVersionsRequest) String

          func (m *ListFileVersionsRequest) String() string

          func (*ListFileVersionsRequest) XXX_DiscardUnknown

          func (m *ListFileVersionsRequest) XXX_DiscardUnknown()

          func (*ListFileVersionsRequest) XXX_Marshal

          func (m *ListFileVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ListFileVersionsRequest) XXX_Merge

          func (dst *ListFileVersionsRequest) XXX_Merge(src proto.Message)

          func (*ListFileVersionsRequest) XXX_Size

          func (m *ListFileVersionsRequest) XXX_Size() int

          func (*ListFileVersionsRequest) XXX_Unmarshal

          func (m *ListFileVersionsRequest) XXX_Unmarshal(b []byte) error

          type ListFileVersionsResponse

          type ListFileVersionsResponse struct {
          	Files                []*File  `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
          	NextFileName         string   `protobuf:"bytes,2,opt,name=next_file_name,json=nextFileName,proto3" json:"next_file_name,omitempty"`
          	NextFileId           string   `protobuf:"bytes,3,opt,name=next_file_id,json=nextFileId,proto3" json:"next_file_id,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*ListFileVersionsResponse) Descriptor

          func (*ListFileVersionsResponse) Descriptor() ([]byte, []int)

          func (*ListFileVersionsResponse) GetFiles

          func (m *ListFileVersionsResponse) GetFiles() []*File

          func (*ListFileVersionsResponse) GetNextFileId

          func (m *ListFileVersionsResponse) GetNextFileId() string

          func (*ListFileVersionsResponse) GetNextFileName

          func (m *ListFileVersionsResponse) GetNextFileName() string

          func (*ListFileVersionsResponse) ProtoMessage

          func (*ListFileVersionsResponse) ProtoMessage()

          func (*ListFileVersionsResponse) Reset

          func (m *ListFileVersionsResponse) Reset()

          func (*ListFileVersionsResponse) String

          func (m *ListFileVersionsResponse) String() string

          func (*ListFileVersionsResponse) XXX_DiscardUnknown

          func (m *ListFileVersionsResponse) XXX_DiscardUnknown()

          func (*ListFileVersionsResponse) XXX_Marshal

          func (m *ListFileVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ListFileVersionsResponse) XXX_Merge

          func (dst *ListFileVersionsResponse) XXX_Merge(src proto.Message)

          func (*ListFileVersionsResponse) XXX_Size

          func (m *ListFileVersionsResponse) XXX_Size() int

          func (*ListFileVersionsResponse) XXX_Unmarshal

          func (m *ListFileVersionsResponse) XXX_Unmarshal(b []byte) error

          type PyreServiceClient

          type PyreServiceClient interface {
          	// Used to log in to the B2 API. Returns an authorization token that can be
          	// used for account-level operations, and a URL that should be used as the
          	// base URL for subsequent API calls.
          	AuthorizeAccount(ctx context.Context, in *AuthorizeAccountRequest, opts ...grpc.CallOption) (*AuthorizeAccountResponse, error)
          	// Lists buckets associated with an account, in alphabetical order by bucket
          	// name.
          	ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error)
          	// Creates a new bucket. A bucket belongs to the account used to create it.
          	//
          	// Buckets can be named. The name must be globally unique. No account can use
          	// a bucket with the same name. Buckets are assigned a unique bucketId which
          	// is used when uploading, downloading, or deleting files.
          	//
          	// There is a limit of 100 buckets per account.
          	CreateBucket(ctx context.Context, in *Bucket, opts ...grpc.CallOption) (*Bucket, error)
          	// Deletes the bucket specified. Only buckets that contain no version of any
          	// files can be deleted.
          	DeleteBucket(ctx context.Context, in *Bucket, opts ...grpc.CallOption) (*Bucket, error)
          	GetUploadUrl(ctx context.Context, in *GetUploadUrlRequest, opts ...grpc.CallOption) (*GetUploadUrlResponse, error)
          	// Prepares for uploading the parts of a large file.
          	StartLargeFile(ctx context.Context, in *StartLargeFileRequest, opts ...grpc.CallOption) (*StartLargeFileResponse, error)
          	// Gets an URL to use for uploading parts of a large file.
          	GetUploadPartUrl(ctx context.Context, in *GetUploadPartUrlRequest, opts ...grpc.CallOption) (*GetUploadPartUrlResponse, error)
          	// Converts the parts that have been uploaded into a single B2 file.
          	FinishLargeFile(ctx context.Context, in *FinishLargeFileRequest, opts ...grpc.CallOption) (*FinishLargeFileResponse, error)
          	// Lists all of the versions of all of the files contained in one bucket, in
          	// alphabetical order by file name, and by reverse of date/time uploaded for
          	// versions of files with the same name.
          	ListFileVersions(ctx context.Context, in *ListFileVersionsRequest, opts ...grpc.CallOption) (*ListFileVersionsResponse, error)
          }

            PyreServiceClient is the client API for PyreService service.

            For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

            func NewPyreServiceClient

            func NewPyreServiceClient(cc *grpc.ClientConn) PyreServiceClient

            type PyreServiceServer

            type PyreServiceServer interface {
            	// Used to log in to the B2 API. Returns an authorization token that can be
            	// used for account-level operations, and a URL that should be used as the
            	// base URL for subsequent API calls.
            	AuthorizeAccount(context.Context, *AuthorizeAccountRequest) (*AuthorizeAccountResponse, error)
            	// Lists buckets associated with an account, in alphabetical order by bucket
            	// name.
            	ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
            	// Creates a new bucket. A bucket belongs to the account used to create it.
            	//
            	// Buckets can be named. The name must be globally unique. No account can use
            	// a bucket with the same name. Buckets are assigned a unique bucketId which
            	// is used when uploading, downloading, or deleting files.
            	//
            	// There is a limit of 100 buckets per account.
            	CreateBucket(context.Context, *Bucket) (*Bucket, error)
            	// Deletes the bucket specified. Only buckets that contain no version of any
            	// files can be deleted.
            	DeleteBucket(context.Context, *Bucket) (*Bucket, error)
            	GetUploadUrl(context.Context, *GetUploadUrlRequest) (*GetUploadUrlResponse, error)
            	// Prepares for uploading the parts of a large file.
            	StartLargeFile(context.Context, *StartLargeFileRequest) (*StartLargeFileResponse, error)
            	// Gets an URL to use for uploading parts of a large file.
            	GetUploadPartUrl(context.Context, *GetUploadPartUrlRequest) (*GetUploadPartUrlResponse, error)
            	// Converts the parts that have been uploaded into a single B2 file.
            	FinishLargeFile(context.Context, *FinishLargeFileRequest) (*FinishLargeFileResponse, error)
            	// Lists all of the versions of all of the files contained in one bucket, in
            	// alphabetical order by file name, and by reverse of date/time uploaded for
            	// versions of files with the same name.
            	ListFileVersions(context.Context, *ListFileVersionsRequest) (*ListFileVersionsResponse, error)
            }

              PyreServiceServer is the server API for PyreService service.

              type StartLargeFileRequest

              type StartLargeFileRequest struct {
              	BucketId             string            `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
              	FileName             string            `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
              	ContentType          string            `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
              	FileInfo             map[string]string `` /* 173-byte string literal not displayed */
              	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
              	XXX_unrecognized     []byte            `json:"-"`
              	XXX_sizecache        int32             `json:"-"`
              }

              func (*StartLargeFileRequest) Descriptor

              func (*StartLargeFileRequest) Descriptor() ([]byte, []int)

              func (*StartLargeFileRequest) GetBucketId

              func (m *StartLargeFileRequest) GetBucketId() string

              func (*StartLargeFileRequest) GetContentType

              func (m *StartLargeFileRequest) GetContentType() string

              func (*StartLargeFileRequest) GetFileInfo

              func (m *StartLargeFileRequest) GetFileInfo() map[string]string

              func (*StartLargeFileRequest) GetFileName

              func (m *StartLargeFileRequest) GetFileName() string

              func (*StartLargeFileRequest) ProtoMessage

              func (*StartLargeFileRequest) ProtoMessage()

              func (*StartLargeFileRequest) Reset

              func (m *StartLargeFileRequest) Reset()

              func (*StartLargeFileRequest) String

              func (m *StartLargeFileRequest) String() string

              func (*StartLargeFileRequest) XXX_DiscardUnknown

              func (m *StartLargeFileRequest) XXX_DiscardUnknown()

              func (*StartLargeFileRequest) XXX_Marshal

              func (m *StartLargeFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

              func (*StartLargeFileRequest) XXX_Merge

              func (dst *StartLargeFileRequest) XXX_Merge(src proto.Message)

              func (*StartLargeFileRequest) XXX_Size

              func (m *StartLargeFileRequest) XXX_Size() int

              func (*StartLargeFileRequest) XXX_Unmarshal

              func (m *StartLargeFileRequest) XXX_Unmarshal(b []byte) error

              type StartLargeFileResponse

              type StartLargeFileResponse struct {
              	FileId               string            `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
              	FileName             string            `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
              	AccountId            string            `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
              	BucketId             string            `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
              	ContentType          string            `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
              	FileInfo             map[string]string `` /* 173-byte string literal not displayed */
              	UploadTimestamp      int64             `protobuf:"varint,7,opt,name=upload_timestamp,json=uploadTimestamp,proto3" json:"upload_timestamp,omitempty"`
              	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
              	XXX_unrecognized     []byte            `json:"-"`
              	XXX_sizecache        int32             `json:"-"`
              }

              func (*StartLargeFileResponse) Descriptor

              func (*StartLargeFileResponse) Descriptor() ([]byte, []int)

              func (*StartLargeFileResponse) GetAccountId

              func (m *StartLargeFileResponse) GetAccountId() string

              func (*StartLargeFileResponse) GetBucketId

              func (m *StartLargeFileResponse) GetBucketId() string

              func (*StartLargeFileResponse) GetContentType

              func (m *StartLargeFileResponse) GetContentType() string

              func (*StartLargeFileResponse) GetFileId

              func (m *StartLargeFileResponse) GetFileId() string

              func (*StartLargeFileResponse) GetFileInfo

              func (m *StartLargeFileResponse) GetFileInfo() map[string]string

              func (*StartLargeFileResponse) GetFileName

              func (m *StartLargeFileResponse) GetFileName() string

              func (*StartLargeFileResponse) GetUploadTimestamp

              func (m *StartLargeFileResponse) GetUploadTimestamp() int64

              func (*StartLargeFileResponse) ProtoMessage

              func (*StartLargeFileResponse) ProtoMessage()

              func (*StartLargeFileResponse) Reset

              func (m *StartLargeFileResponse) Reset()

              func (*StartLargeFileResponse) String

              func (m *StartLargeFileResponse) String() string

              func (*StartLargeFileResponse) XXX_DiscardUnknown

              func (m *StartLargeFileResponse) XXX_DiscardUnknown()

              func (*StartLargeFileResponse) XXX_Marshal

              func (m *StartLargeFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

              func (*StartLargeFileResponse) XXX_Merge

              func (dst *StartLargeFileResponse) XXX_Merge(src proto.Message)

              func (*StartLargeFileResponse) XXX_Size

              func (m *StartLargeFileResponse) XXX_Size() int

              func (*StartLargeFileResponse) XXX_Unmarshal

              func (m *StartLargeFileResponse) XXX_Unmarshal(b []byte) error

              type UploadFileResponse

              type UploadFileResponse struct {
              	FileId               string            `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
              	FileName             string            `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
              	AccountId            string            `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
              	BucketId             string            `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
              	ContentLength        int32             `protobuf:"varint,5,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
              	ContentSha1          string            `protobuf:"bytes,6,opt,name=content_sha1,json=contentSha1,proto3" json:"content_sha1,omitempty"`
              	ContentType          string            `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
              	FileInfo             map[string]string `` /* 173-byte string literal not displayed */
              	Action               string            `protobuf:"bytes,9,opt,name=action,proto3" json:"action,omitempty"`
              	UploadTimestamp      int64             `protobuf:"varint,10,opt,name=upload_timestamp,json=uploadTimestamp,proto3" json:"upload_timestamp,omitempty"`
              	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
              	XXX_unrecognized     []byte            `json:"-"`
              	XXX_sizecache        int32             `json:"-"`
              }

              func (*UploadFileResponse) Descriptor

              func (*UploadFileResponse) Descriptor() ([]byte, []int)

              func (*UploadFileResponse) GetAccountId

              func (m *UploadFileResponse) GetAccountId() string

              func (*UploadFileResponse) GetAction

              func (m *UploadFileResponse) GetAction() string

              func (*UploadFileResponse) GetBucketId

              func (m *UploadFileResponse) GetBucketId() string

              func (*UploadFileResponse) GetContentLength

              func (m *UploadFileResponse) GetContentLength() int32

              func (*UploadFileResponse) GetContentSha1

              func (m *UploadFileResponse) GetContentSha1() string

              func (*UploadFileResponse) GetContentType

              func (m *UploadFileResponse) GetContentType() string

              func (*UploadFileResponse) GetFileId

              func (m *UploadFileResponse) GetFileId() string

              func (*UploadFileResponse) GetFileInfo

              func (m *UploadFileResponse) GetFileInfo() map[string]string

              func (*UploadFileResponse) GetFileName

              func (m *UploadFileResponse) GetFileName() string

              func (*UploadFileResponse) GetUploadTimestamp

              func (m *UploadFileResponse) GetUploadTimestamp() int64

              func (*UploadFileResponse) ProtoMessage

              func (*UploadFileResponse) ProtoMessage()

              func (*UploadFileResponse) Reset

              func (m *UploadFileResponse) Reset()

              func (*UploadFileResponse) String

              func (m *UploadFileResponse) String() string

              func (*UploadFileResponse) XXX_DiscardUnknown

              func (m *UploadFileResponse) XXX_DiscardUnknown()

              func (*UploadFileResponse) XXX_Marshal

              func (m *UploadFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

              func (*UploadFileResponse) XXX_Merge

              func (dst *UploadFileResponse) XXX_Merge(src proto.Message)

              func (*UploadFileResponse) XXX_Size

              func (m *UploadFileResponse) XXX_Size() int

              func (*UploadFileResponse) XXX_Unmarshal

              func (m *UploadFileResponse) XXX_Unmarshal(b []byte) error