public final class FileInfo extends GeneratedMessageV3 implements FileInfoOrBuilder
Single source file that is part of the version to be deployed. Each source
file that is deployed must be specified separately.
Protobuf type google.appengine.v1.FileInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SHA1_SUM_FIELD_NUMBER
public static final int SHA1_SUM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_URL_FIELD_NUMBER
public static final int SOURCE_URL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static FileInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FileInfo.Builder newBuilder()
newBuilder(FileInfo prototype)
public static FileInfo.Builder newBuilder(FileInfo prototype)
Parameter |
---|
Name | Description |
prototype | FileInfo
|
public static FileInfo parseDelimitedFrom(InputStream input)
public static FileInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FileInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FileInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileInfo parseFrom(CodedInputStream input)
public static FileInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileInfo parseFrom(InputStream input)
public static FileInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FileInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FileInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public FileInfo getDefaultInstanceForType()
getMimeType()
public String getMimeType()
The MIME type of the file.
Defaults to the value from Google Cloud Storage.
string mime_type = 3;
Returns |
---|
Type | Description |
String | The mimeType.
|
getMimeTypeBytes()
public ByteString getMimeTypeBytes()
The MIME type of the file.
Defaults to the value from Google Cloud Storage.
string mime_type = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for mimeType.
|
getParserForType()
public Parser<FileInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSha1Sum()
public String getSha1Sum()
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
Returns |
---|
Type | Description |
String | The sha1Sum.
|
getSha1SumBytes()
public ByteString getSha1SumBytes()
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for sha1Sum.
|
getSourceUrl()
public 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 |
---|
Type | Description |
String | The sourceUrl.
|
getSourceUrlBytes()
public 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 |
---|
Type | Description |
ByteString | The bytes for sourceUrl.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FileInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FileInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public FileInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides