blobstore

package
v1.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlobstoreServiceError_ErrorCode_name = map[int32]string{
	0: "OK",
	1: "INTERNAL_ERROR",
	2: "URL_TOO_LONG",
	3: "PERMISSION_DENIED",
	4: "BLOB_NOT_FOUND",
	5: "DATA_INDEX_OUT_OF_RANGE",
	6: "BLOB_FETCH_SIZE_TOO_LARGE",
	8: "ARGUMENT_OUT_OF_RANGE",
	9: "INVALID_BLOB_KEY",
}
View Source
var BlobstoreServiceError_ErrorCode_value = map[string]int32{
	"OK":                        0,
	"INTERNAL_ERROR":            1,
	"URL_TOO_LONG":              2,
	"PERMISSION_DENIED":         3,
	"BLOB_NOT_FOUND":            4,
	"DATA_INDEX_OUT_OF_RANGE":   5,
	"BLOB_FETCH_SIZE_TOO_LARGE": 6,
	"ARGUMENT_OUT_OF_RANGE":     8,
	"INVALID_BLOB_KEY":          9,
}

Functions

This section is empty.

Types

type BlobstoreServiceError

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

func (*BlobstoreServiceError) Descriptor

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

func (*BlobstoreServiceError) ProtoMessage

func (*BlobstoreServiceError) ProtoMessage()

func (*BlobstoreServiceError) Reset

func (m *BlobstoreServiceError) Reset()

func (*BlobstoreServiceError) String

func (m *BlobstoreServiceError) String() string

func (*BlobstoreServiceError) XXX_DiscardUnknown

func (m *BlobstoreServiceError) XXX_DiscardUnknown()

func (*BlobstoreServiceError) XXX_Marshal

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

func (*BlobstoreServiceError) XXX_Merge

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

func (*BlobstoreServiceError) XXX_Size

func (m *BlobstoreServiceError) XXX_Size() int

func (*BlobstoreServiceError) XXX_Unmarshal

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

type BlobstoreServiceError_ErrorCode

type BlobstoreServiceError_ErrorCode int32
const (
	BlobstoreServiceError_OK                        BlobstoreServiceError_ErrorCode = 0
	BlobstoreServiceError_INTERNAL_ERROR            BlobstoreServiceError_ErrorCode = 1
	BlobstoreServiceError_URL_TOO_LONG              BlobstoreServiceError_ErrorCode = 2
	BlobstoreServiceError_PERMISSION_DENIED         BlobstoreServiceError_ErrorCode = 3
	BlobstoreServiceError_BLOB_NOT_FOUND            BlobstoreServiceError_ErrorCode = 4
	BlobstoreServiceError_DATA_INDEX_OUT_OF_RANGE   BlobstoreServiceError_ErrorCode = 5
	BlobstoreServiceError_BLOB_FETCH_SIZE_TOO_LARGE BlobstoreServiceError_ErrorCode = 6
	BlobstoreServiceError_ARGUMENT_OUT_OF_RANGE     BlobstoreServiceError_ErrorCode = 8
	BlobstoreServiceError_INVALID_BLOB_KEY          BlobstoreServiceError_ErrorCode = 9
)

func (BlobstoreServiceError_ErrorCode) Enum

func (BlobstoreServiceError_ErrorCode) EnumDescriptor

func (BlobstoreServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)

func (BlobstoreServiceError_ErrorCode) String

func (*BlobstoreServiceError_ErrorCode) UnmarshalJSON

func (x *BlobstoreServiceError_ErrorCode) UnmarshalJSON(data []byte) error

type CloneBlobRequest

type CloneBlobRequest struct {
	BlobKey              []byte   `protobuf:"bytes,1,req,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	MimeType             []byte   `protobuf:"bytes,2,req,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
	TargetAppId          []byte   `protobuf:"bytes,3,req,name=target_app_id,json=targetAppId" json:"target_app_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloneBlobRequest) Descriptor

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

func (*CloneBlobRequest) GetBlobKey

func (m *CloneBlobRequest) GetBlobKey() []byte

func (*CloneBlobRequest) GetMimeType

func (m *CloneBlobRequest) GetMimeType() []byte

func (*CloneBlobRequest) GetTargetAppId

func (m *CloneBlobRequest) GetTargetAppId() []byte

func (*CloneBlobRequest) ProtoMessage

func (*CloneBlobRequest) ProtoMessage()

func (*CloneBlobRequest) Reset

func (m *CloneBlobRequest) Reset()

func (*CloneBlobRequest) String

func (m *CloneBlobRequest) String() string

func (*CloneBlobRequest) XXX_DiscardUnknown

func (m *CloneBlobRequest) XXX_DiscardUnknown()

func (*CloneBlobRequest) XXX_Marshal

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

func (*CloneBlobRequest) XXX_Merge

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

func (*CloneBlobRequest) XXX_Size

func (m *CloneBlobRequest) XXX_Size() int

func (*CloneBlobRequest) XXX_Unmarshal

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

type CloneBlobResponse

type CloneBlobResponse struct {
	BlobKey              []byte   `protobuf:"bytes,1,req,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloneBlobResponse) Descriptor

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

func (*CloneBlobResponse) GetBlobKey

func (m *CloneBlobResponse) GetBlobKey() []byte

func (*CloneBlobResponse) ProtoMessage

func (*CloneBlobResponse) ProtoMessage()

func (*CloneBlobResponse) Reset

func (m *CloneBlobResponse) Reset()

func (*CloneBlobResponse) String

func (m *CloneBlobResponse) String() string

func (*CloneBlobResponse) XXX_DiscardUnknown

func (m *CloneBlobResponse) XXX_DiscardUnknown()

func (*CloneBlobResponse) XXX_Marshal

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

func (*CloneBlobResponse) XXX_Merge

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

func (*CloneBlobResponse) XXX_Size

func (m *CloneBlobResponse) XXX_Size() int

func (*CloneBlobResponse) XXX_Unmarshal

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

type CreateEncodedGoogleStorageKeyRequest

type CreateEncodedGoogleStorageKeyRequest struct {
	Filename             *string  `protobuf:"bytes,1,req,name=filename" json:"filename,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateEncodedGoogleStorageKeyRequest) Descriptor

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

func (*CreateEncodedGoogleStorageKeyRequest) GetFilename

func (*CreateEncodedGoogleStorageKeyRequest) ProtoMessage

func (*CreateEncodedGoogleStorageKeyRequest) ProtoMessage()

func (*CreateEncodedGoogleStorageKeyRequest) Reset

func (*CreateEncodedGoogleStorageKeyRequest) String

func (*CreateEncodedGoogleStorageKeyRequest) XXX_DiscardUnknown

func (m *CreateEncodedGoogleStorageKeyRequest) XXX_DiscardUnknown()

func (*CreateEncodedGoogleStorageKeyRequest) XXX_Marshal

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

func (*CreateEncodedGoogleStorageKeyRequest) XXX_Merge

func (*CreateEncodedGoogleStorageKeyRequest) XXX_Size

func (*CreateEncodedGoogleStorageKeyRequest) XXX_Unmarshal

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

type CreateEncodedGoogleStorageKeyResponse

type CreateEncodedGoogleStorageKeyResponse struct {
	BlobKey              *string  `protobuf:"bytes,1,req,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateEncodedGoogleStorageKeyResponse) Descriptor

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

func (*CreateEncodedGoogleStorageKeyResponse) GetBlobKey

func (*CreateEncodedGoogleStorageKeyResponse) ProtoMessage

func (*CreateEncodedGoogleStorageKeyResponse) ProtoMessage()

func (*CreateEncodedGoogleStorageKeyResponse) Reset

func (*CreateEncodedGoogleStorageKeyResponse) String

func (*CreateEncodedGoogleStorageKeyResponse) XXX_DiscardUnknown

func (m *CreateEncodedGoogleStorageKeyResponse) XXX_DiscardUnknown()

func (*CreateEncodedGoogleStorageKeyResponse) XXX_Marshal

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

func (*CreateEncodedGoogleStorageKeyResponse) XXX_Merge

func (*CreateEncodedGoogleStorageKeyResponse) XXX_Size

func (*CreateEncodedGoogleStorageKeyResponse) XXX_Unmarshal

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

type CreateUploadURLRequest

type CreateUploadURLRequest struct {
	SuccessPath               *string  `protobuf:"bytes,1,req,name=success_path,json=successPath" json:"success_path,omitempty"`
	MaxUploadSizeBytes        *int64   `protobuf:"varint,2,opt,name=max_upload_size_bytes,json=maxUploadSizeBytes" json:"max_upload_size_bytes,omitempty"`
	MaxUploadSizePerBlobBytes *int64   `` /* 138-byte string literal not displayed */
	GsBucketName              *string  `protobuf:"bytes,4,opt,name=gs_bucket_name,json=gsBucketName" json:"gs_bucket_name,omitempty"`
	UrlExpiryTimeSeconds      *int32   `protobuf:"varint,5,opt,name=url_expiry_time_seconds,json=urlExpiryTimeSeconds" json:"url_expiry_time_seconds,omitempty"`
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*CreateUploadURLRequest) Descriptor

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

func (*CreateUploadURLRequest) GetGsBucketName

func (m *CreateUploadURLRequest) GetGsBucketName() string

func (*CreateUploadURLRequest) GetMaxUploadSizeBytes

func (m *CreateUploadURLRequest) GetMaxUploadSizeBytes() int64

func (*CreateUploadURLRequest) GetMaxUploadSizePerBlobBytes

func (m *CreateUploadURLRequest) GetMaxUploadSizePerBlobBytes() int64

func (*CreateUploadURLRequest) GetSuccessPath

func (m *CreateUploadURLRequest) GetSuccessPath() string

func (*CreateUploadURLRequest) GetUrlExpiryTimeSeconds

func (m *CreateUploadURLRequest) GetUrlExpiryTimeSeconds() int32

func (*CreateUploadURLRequest) ProtoMessage

func (*CreateUploadURLRequest) ProtoMessage()

func (*CreateUploadURLRequest) Reset

func (m *CreateUploadURLRequest) Reset()

func (*CreateUploadURLRequest) String

func (m *CreateUploadURLRequest) String() string

func (*CreateUploadURLRequest) XXX_DiscardUnknown

func (m *CreateUploadURLRequest) XXX_DiscardUnknown()

func (*CreateUploadURLRequest) XXX_Marshal

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

func (*CreateUploadURLRequest) XXX_Merge

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

func (*CreateUploadURLRequest) XXX_Size

func (m *CreateUploadURLRequest) XXX_Size() int

func (*CreateUploadURLRequest) XXX_Unmarshal

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

type CreateUploadURLResponse

type CreateUploadURLResponse struct {
	Url                  *string  `protobuf:"bytes,1,req,name=url" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateUploadURLResponse) Descriptor

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

func (*CreateUploadURLResponse) GetUrl

func (m *CreateUploadURLResponse) GetUrl() string

func (*CreateUploadURLResponse) ProtoMessage

func (*CreateUploadURLResponse) ProtoMessage()

func (*CreateUploadURLResponse) Reset

func (m *CreateUploadURLResponse) Reset()

func (*CreateUploadURLResponse) String

func (m *CreateUploadURLResponse) String() string

func (*CreateUploadURLResponse) XXX_DiscardUnknown

func (m *CreateUploadURLResponse) XXX_DiscardUnknown()

func (*CreateUploadURLResponse) XXX_Marshal

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

func (*CreateUploadURLResponse) XXX_Merge

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

func (*CreateUploadURLResponse) XXX_Size

func (m *CreateUploadURLResponse) XXX_Size() int

func (*CreateUploadURLResponse) XXX_Unmarshal

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

type DecodeBlobKeyRequest

type DecodeBlobKeyRequest struct {
	BlobKey              []string `protobuf:"bytes,1,rep,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecodeBlobKeyRequest) Descriptor

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

func (*DecodeBlobKeyRequest) GetBlobKey

func (m *DecodeBlobKeyRequest) GetBlobKey() []string

func (*DecodeBlobKeyRequest) ProtoMessage

func (*DecodeBlobKeyRequest) ProtoMessage()

func (*DecodeBlobKeyRequest) Reset

func (m *DecodeBlobKeyRequest) Reset()

func (*DecodeBlobKeyRequest) String

func (m *DecodeBlobKeyRequest) String() string

func (*DecodeBlobKeyRequest) XXX_DiscardUnknown

func (m *DecodeBlobKeyRequest) XXX_DiscardUnknown()

func (*DecodeBlobKeyRequest) XXX_Marshal

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

func (*DecodeBlobKeyRequest) XXX_Merge

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

func (*DecodeBlobKeyRequest) XXX_Size

func (m *DecodeBlobKeyRequest) XXX_Size() int

func (*DecodeBlobKeyRequest) XXX_Unmarshal

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

type DecodeBlobKeyResponse

type DecodeBlobKeyResponse struct {
	Decoded              []string `protobuf:"bytes,1,rep,name=decoded" json:"decoded,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecodeBlobKeyResponse) Descriptor

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

func (*DecodeBlobKeyResponse) GetDecoded

func (m *DecodeBlobKeyResponse) GetDecoded() []string

func (*DecodeBlobKeyResponse) ProtoMessage

func (*DecodeBlobKeyResponse) ProtoMessage()

func (*DecodeBlobKeyResponse) Reset

func (m *DecodeBlobKeyResponse) Reset()

func (*DecodeBlobKeyResponse) String

func (m *DecodeBlobKeyResponse) String() string

func (*DecodeBlobKeyResponse) XXX_DiscardUnknown

func (m *DecodeBlobKeyResponse) XXX_DiscardUnknown()

func (*DecodeBlobKeyResponse) XXX_Marshal

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

func (*DecodeBlobKeyResponse) XXX_Merge

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

func (*DecodeBlobKeyResponse) XXX_Size

func (m *DecodeBlobKeyResponse) XXX_Size() int

func (*DecodeBlobKeyResponse) XXX_Unmarshal

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

type DeleteBlobRequest

type DeleteBlobRequest struct {
	BlobKey              []string `protobuf:"bytes,1,rep,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	Token                *string  `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteBlobRequest) Descriptor

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

func (*DeleteBlobRequest) GetBlobKey

func (m *DeleteBlobRequest) GetBlobKey() []string

func (*DeleteBlobRequest) GetToken

func (m *DeleteBlobRequest) GetToken() string

func (*DeleteBlobRequest) ProtoMessage

func (*DeleteBlobRequest) ProtoMessage()

func (*DeleteBlobRequest) Reset

func (m *DeleteBlobRequest) Reset()

func (*DeleteBlobRequest) String

func (m *DeleteBlobRequest) String() string

func (*DeleteBlobRequest) XXX_DiscardUnknown

func (m *DeleteBlobRequest) XXX_DiscardUnknown()

func (*DeleteBlobRequest) XXX_Marshal

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

func (*DeleteBlobRequest) XXX_Merge

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

func (*DeleteBlobRequest) XXX_Size

func (m *DeleteBlobRequest) XXX_Size() int

func (*DeleteBlobRequest) XXX_Unmarshal

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

type FetchDataRequest

type FetchDataRequest struct {
	BlobKey              *string  `protobuf:"bytes,1,req,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	StartIndex           *int64   `protobuf:"varint,2,req,name=start_index,json=startIndex" json:"start_index,omitempty"`
	EndIndex             *int64   `protobuf:"varint,3,req,name=end_index,json=endIndex" json:"end_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FetchDataRequest) Descriptor

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

func (*FetchDataRequest) GetBlobKey

func (m *FetchDataRequest) GetBlobKey() string

func (*FetchDataRequest) GetEndIndex

func (m *FetchDataRequest) GetEndIndex() int64

func (*FetchDataRequest) GetStartIndex

func (m *FetchDataRequest) GetStartIndex() int64

func (*FetchDataRequest) ProtoMessage

func (*FetchDataRequest) ProtoMessage()

func (*FetchDataRequest) Reset

func (m *FetchDataRequest) Reset()

func (*FetchDataRequest) String

func (m *FetchDataRequest) String() string

func (*FetchDataRequest) XXX_DiscardUnknown

func (m *FetchDataRequest) XXX_DiscardUnknown()

func (*FetchDataRequest) XXX_Marshal

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

func (*FetchDataRequest) XXX_Merge

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

func (*FetchDataRequest) XXX_Size

func (m *FetchDataRequest) XXX_Size() int

func (*FetchDataRequest) XXX_Unmarshal

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

type FetchDataResponse

type FetchDataResponse struct {
	Data                 []byte   `protobuf:"bytes,1000,req,name=data" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FetchDataResponse) Descriptor

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

func (*FetchDataResponse) GetData

func (m *FetchDataResponse) GetData() []byte

func (*FetchDataResponse) ProtoMessage

func (*FetchDataResponse) ProtoMessage()

func (*FetchDataResponse) Reset

func (m *FetchDataResponse) Reset()

func (*FetchDataResponse) String

func (m *FetchDataResponse) String() string

func (*FetchDataResponse) XXX_DiscardUnknown

func (m *FetchDataResponse) XXX_DiscardUnknown()

func (*FetchDataResponse) XXX_Marshal

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

func (*FetchDataResponse) XXX_Merge

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

func (*FetchDataResponse) XXX_Size

func (m *FetchDataResponse) XXX_Size() int

func (*FetchDataResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL