blobstore

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package blobstore is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/blobstore/blobstore_service.proto

It has these top-level messages:

BlobstoreServiceError
CreateUploadURLRequest
CreateUploadURLResponse
DeleteBlobRequest
FetchDataRequest
FetchDataResponse
CloneBlobRequest
CloneBlobResponse
DecodeBlobKeyRequest
DecodeBlobKeyResponse
CreateEncodedGoogleStorageKeyRequest
CreateEncodedGoogleStorageKeyResponse

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_unrecognized []byte `json:"-"`
}

func (*BlobstoreServiceError) Descriptor added in v1.1.0

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

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 added in v1.1.0

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_unrecognized []byte `json:"-"`
}

func (*CloneBlobRequest) Descriptor added in v1.1.0

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

type CloneBlobResponse

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

func (*CloneBlobResponse) Descriptor added in v1.1.0

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

type CreateEncodedGoogleStorageKeyRequest

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

func (*CreateEncodedGoogleStorageKeyRequest) Descriptor added in v1.1.0

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

func (*CreateEncodedGoogleStorageKeyRequest) GetFilename

func (*CreateEncodedGoogleStorageKeyRequest) ProtoMessage

func (*CreateEncodedGoogleStorageKeyRequest) ProtoMessage()

func (*CreateEncodedGoogleStorageKeyRequest) Reset

func (*CreateEncodedGoogleStorageKeyRequest) String

type CreateEncodedGoogleStorageKeyResponse

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

func (*CreateEncodedGoogleStorageKeyResponse) Descriptor added in v1.1.0

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

func (*CreateEncodedGoogleStorageKeyResponse) GetBlobKey

func (*CreateEncodedGoogleStorageKeyResponse) ProtoMessage

func (*CreateEncodedGoogleStorageKeyResponse) ProtoMessage()

func (*CreateEncodedGoogleStorageKeyResponse) Reset

func (*CreateEncodedGoogleStorageKeyResponse) String

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_unrecognized          []byte  `json:"-"`
}

func (*CreateUploadURLRequest) Descriptor added in v1.1.0

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

type CreateUploadURLResponse

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

func (*CreateUploadURLResponse) Descriptor added in v1.1.0

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

type DecodeBlobKeyRequest

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

func (*DecodeBlobKeyRequest) Descriptor added in v1.1.0

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

type DecodeBlobKeyResponse

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

func (*DecodeBlobKeyResponse) Descriptor added in v1.1.0

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

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_unrecognized []byte   `json:"-"`
}

func (*DeleteBlobRequest) Descriptor added in v1.1.0

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

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_unrecognized []byte  `json:"-"`
}

func (*FetchDataRequest) Descriptor added in v1.1.0

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

type FetchDataResponse

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

func (*FetchDataResponse) Descriptor added in v1.1.0

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

Jump to

Keyboard shortcuts

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