Package com.google.appengine.v1
Interface FileInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FileInfo
,FileInfo.Builder
public interface FileInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getMimeType()
The MIME type of the file.com.google.protobuf.ByteString
getMimeTypeBytes()
The MIME type of the file.String
getSha1Sum()
The SHA1 hash of the file, in hex.com.google.protobuf.ByteString
getSha1SumBytes()
The SHA1 hash of the file, in hex.String
getSourceUrl()
URL source to use to fetch this file.com.google.protobuf.ByteString
getSourceUrlBytes()
URL source to use to fetch this file.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSourceUrl
String getSourceUrl()
URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
string source_url = 1;
- Returns:
- The sourceUrl.
-
getSourceUrlBytes
com.google.protobuf.ByteString getSourceUrlBytes()
URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
string source_url = 1;
- Returns:
- The bytes for sourceUrl.
-
getSha1Sum
String getSha1Sum()
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
- Returns:
- The sha1Sum.
-
getSha1SumBytes
com.google.protobuf.ByteString getSha1SumBytes()
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
- Returns:
- The bytes for sha1Sum.
-
getMimeType
String getMimeType()
The MIME type of the file. Defaults to the value from Google Cloud Storage.
string mime_type = 3;
- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()
The MIME type of the file. Defaults to the value from Google Cloud Storage.
string mime_type = 3;
- Returns:
- The bytes for mimeType.
-
-