blobstore

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 4 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",
	}
	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,
	}
)

Enum value maps for BlobstoreServiceError_ErrorCode.

View Source
var File_blobstore_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlobstoreServiceError

type BlobstoreServiceError struct {
	// contains filtered or unexported fields
}

func (*BlobstoreServiceError) Descriptor deprecated

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

Deprecated: Use BlobstoreServiceError.ProtoReflect.Descriptor instead.

func (*BlobstoreServiceError) ProtoMessage

func (*BlobstoreServiceError) ProtoMessage()

func (*BlobstoreServiceError) ProtoReflect added in v2.0.4

func (x *BlobstoreServiceError) ProtoReflect() protoreflect.Message

func (*BlobstoreServiceError) Reset

func (x *BlobstoreServiceError) Reset()

func (*BlobstoreServiceError) String

func (x *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) Descriptor added in v2.0.4

func (BlobstoreServiceError_ErrorCode) Enum

func (BlobstoreServiceError_ErrorCode) EnumDescriptor deprecated

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

Deprecated: Use BlobstoreServiceError_ErrorCode.Descriptor instead.

func (BlobstoreServiceError_ErrorCode) Number added in v2.0.4

func (BlobstoreServiceError_ErrorCode) String

func (BlobstoreServiceError_ErrorCode) Type added in v2.0.4

func (*BlobstoreServiceError_ErrorCode) UnmarshalJSON deprecated

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

Deprecated: Do not use.

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"`
	// contains filtered or unexported fields
}

func (*CloneBlobRequest) Descriptor deprecated

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

Deprecated: Use CloneBlobRequest.ProtoReflect.Descriptor instead.

func (*CloneBlobRequest) GetBlobKey

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

func (*CloneBlobRequest) GetMimeType

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

func (*CloneBlobRequest) GetTargetAppId

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

func (*CloneBlobRequest) ProtoMessage

func (*CloneBlobRequest) ProtoMessage()

func (*CloneBlobRequest) ProtoReflect added in v2.0.4

func (x *CloneBlobRequest) ProtoReflect() protoreflect.Message

func (*CloneBlobRequest) Reset

func (x *CloneBlobRequest) Reset()

func (*CloneBlobRequest) String

func (x *CloneBlobRequest) String() string

type CloneBlobResponse

type CloneBlobResponse struct {
	BlobKey []byte `protobuf:"bytes,1,req,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CloneBlobResponse) Descriptor deprecated

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

Deprecated: Use CloneBlobResponse.ProtoReflect.Descriptor instead.

func (*CloneBlobResponse) GetBlobKey

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

func (*CloneBlobResponse) ProtoMessage

func (*CloneBlobResponse) ProtoMessage()

func (*CloneBlobResponse) ProtoReflect added in v2.0.4

func (x *CloneBlobResponse) ProtoReflect() protoreflect.Message

func (*CloneBlobResponse) Reset

func (x *CloneBlobResponse) Reset()

func (*CloneBlobResponse) String

func (x *CloneBlobResponse) String() string

type CreateEncodedGoogleStorageKeyRequest

type CreateEncodedGoogleStorageKeyRequest struct {
	Filename *string `protobuf:"bytes,1,req,name=filename" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEncodedGoogleStorageKeyRequest) Descriptor deprecated

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

Deprecated: Use CreateEncodedGoogleStorageKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateEncodedGoogleStorageKeyRequest) GetFilename

func (*CreateEncodedGoogleStorageKeyRequest) ProtoMessage

func (*CreateEncodedGoogleStorageKeyRequest) ProtoMessage()

func (*CreateEncodedGoogleStorageKeyRequest) ProtoReflect added in v2.0.4

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"`
	// contains filtered or unexported fields
}

func (*CreateEncodedGoogleStorageKeyResponse) Descriptor deprecated

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

Deprecated: Use CreateEncodedGoogleStorageKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateEncodedGoogleStorageKeyResponse) GetBlobKey

func (*CreateEncodedGoogleStorageKeyResponse) ProtoMessage

func (*CreateEncodedGoogleStorageKeyResponse) ProtoMessage()

func (*CreateEncodedGoogleStorageKeyResponse) ProtoReflect added in v2.0.4

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"`
	// contains filtered or unexported fields
}

func (*CreateUploadURLRequest) Descriptor deprecated

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

Deprecated: Use CreateUploadURLRequest.ProtoReflect.Descriptor instead.

func (*CreateUploadURLRequest) GetGsBucketName

func (x *CreateUploadURLRequest) GetGsBucketName() string

func (*CreateUploadURLRequest) GetMaxUploadSizeBytes

func (x *CreateUploadURLRequest) GetMaxUploadSizeBytes() int64

func (*CreateUploadURLRequest) GetMaxUploadSizePerBlobBytes

func (x *CreateUploadURLRequest) GetMaxUploadSizePerBlobBytes() int64

func (*CreateUploadURLRequest) GetSuccessPath

func (x *CreateUploadURLRequest) GetSuccessPath() string

func (*CreateUploadURLRequest) GetUrlExpiryTimeSeconds

func (x *CreateUploadURLRequest) GetUrlExpiryTimeSeconds() int32

func (*CreateUploadURLRequest) ProtoMessage

func (*CreateUploadURLRequest) ProtoMessage()

func (*CreateUploadURLRequest) ProtoReflect added in v2.0.4

func (x *CreateUploadURLRequest) ProtoReflect() protoreflect.Message

func (*CreateUploadURLRequest) Reset

func (x *CreateUploadURLRequest) Reset()

func (*CreateUploadURLRequest) String

func (x *CreateUploadURLRequest) String() string

type CreateUploadURLResponse

type CreateUploadURLResponse struct {
	Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUploadURLResponse) Descriptor deprecated

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

Deprecated: Use CreateUploadURLResponse.ProtoReflect.Descriptor instead.

func (*CreateUploadURLResponse) GetUrl

func (x *CreateUploadURLResponse) GetUrl() string

func (*CreateUploadURLResponse) ProtoMessage

func (*CreateUploadURLResponse) ProtoMessage()

func (*CreateUploadURLResponse) ProtoReflect added in v2.0.4

func (x *CreateUploadURLResponse) ProtoReflect() protoreflect.Message

func (*CreateUploadURLResponse) Reset

func (x *CreateUploadURLResponse) Reset()

func (*CreateUploadURLResponse) String

func (x *CreateUploadURLResponse) String() string

type DecodeBlobKeyRequest

type DecodeBlobKeyRequest struct {
	BlobKey []string `protobuf:"bytes,1,rep,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeBlobKeyRequest) Descriptor deprecated

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

Deprecated: Use DecodeBlobKeyRequest.ProtoReflect.Descriptor instead.

func (*DecodeBlobKeyRequest) GetBlobKey

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

func (*DecodeBlobKeyRequest) ProtoMessage

func (*DecodeBlobKeyRequest) ProtoMessage()

func (*DecodeBlobKeyRequest) ProtoReflect added in v2.0.4

func (x *DecodeBlobKeyRequest) ProtoReflect() protoreflect.Message

func (*DecodeBlobKeyRequest) Reset

func (x *DecodeBlobKeyRequest) Reset()

func (*DecodeBlobKeyRequest) String

func (x *DecodeBlobKeyRequest) String() string

type DecodeBlobKeyResponse

type DecodeBlobKeyResponse struct {
	Decoded []string `protobuf:"bytes,1,rep,name=decoded" json:"decoded,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeBlobKeyResponse) Descriptor deprecated

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

Deprecated: Use DecodeBlobKeyResponse.ProtoReflect.Descriptor instead.

func (*DecodeBlobKeyResponse) GetDecoded

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

func (*DecodeBlobKeyResponse) ProtoMessage

func (*DecodeBlobKeyResponse) ProtoMessage()

func (*DecodeBlobKeyResponse) ProtoReflect added in v2.0.4

func (x *DecodeBlobKeyResponse) ProtoReflect() protoreflect.Message

func (*DecodeBlobKeyResponse) Reset

func (x *DecodeBlobKeyResponse) Reset()

func (*DecodeBlobKeyResponse) String

func (x *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"`
	// contains filtered or unexported fields
}

func (*DeleteBlobRequest) Descriptor deprecated

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

Deprecated: Use DeleteBlobRequest.ProtoReflect.Descriptor instead.

func (*DeleteBlobRequest) GetBlobKey

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

func (*DeleteBlobRequest) GetToken

func (x *DeleteBlobRequest) GetToken() string

func (*DeleteBlobRequest) ProtoMessage

func (*DeleteBlobRequest) ProtoMessage()

func (*DeleteBlobRequest) ProtoReflect added in v2.0.4

func (x *DeleteBlobRequest) ProtoReflect() protoreflect.Message

func (*DeleteBlobRequest) Reset

func (x *DeleteBlobRequest) Reset()

func (*DeleteBlobRequest) String

func (x *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"`
	// contains filtered or unexported fields
}

func (*FetchDataRequest) Descriptor deprecated

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

Deprecated: Use FetchDataRequest.ProtoReflect.Descriptor instead.

func (*FetchDataRequest) GetBlobKey

func (x *FetchDataRequest) GetBlobKey() string

func (*FetchDataRequest) GetEndIndex

func (x *FetchDataRequest) GetEndIndex() int64

func (*FetchDataRequest) GetStartIndex

func (x *FetchDataRequest) GetStartIndex() int64

func (*FetchDataRequest) ProtoMessage

func (*FetchDataRequest) ProtoMessage()

func (*FetchDataRequest) ProtoReflect added in v2.0.4

func (x *FetchDataRequest) ProtoReflect() protoreflect.Message

func (*FetchDataRequest) Reset

func (x *FetchDataRequest) Reset()

func (*FetchDataRequest) String

func (x *FetchDataRequest) String() string

type FetchDataResponse

type FetchDataResponse struct {
	Data []byte `protobuf:"bytes,1000,req,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchDataResponse) Descriptor deprecated

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

Deprecated: Use FetchDataResponse.ProtoReflect.Descriptor instead.

func (*FetchDataResponse) GetData

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

func (*FetchDataResponse) ProtoMessage

func (*FetchDataResponse) ProtoMessage()

func (*FetchDataResponse) ProtoReflect added in v2.0.4

func (x *FetchDataResponse) ProtoReflect() protoreflect.Message

func (*FetchDataResponse) Reset

func (x *FetchDataResponse) Reset()

func (*FetchDataResponse) String

func (x *FetchDataResponse) String() string

Jump to

Keyboard shortcuts

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