Send feedback
Class FileInfo (2.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.34.0 keyboard_arrow_down
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)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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.
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]