- 2.48.0 (latest)
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
public static final class FileInfo.Builder extends GeneratedMessageV3.Builder<FileInfo.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FileInfo.BuilderImplements
FileInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FileInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FileInfo.Builder |
build()
public FileInfo build()
Type | Description |
FileInfo |
buildPartial()
public FileInfo buildPartial()
Type | Description |
FileInfo |
clear()
public FileInfo.Builder clear()
Type | Description |
FileInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public FileInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
FileInfo.Builder |
clearMimeType()
public FileInfo.Builder clearMimeType()
The MIME type of the file. Defaults to the value from Google Cloud Storage.
string mime_type = 3;
Type | Description |
FileInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FileInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
FileInfo.Builder |
clearSha1Sum()
public FileInfo.Builder clearSha1Sum()
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
Type | Description |
FileInfo.Builder | This builder for chaining. |
clearSourceUrl()
public FileInfo.Builder clearSourceUrl()
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;
Type | Description |
FileInfo.Builder | This builder for chaining. |
clone()
public FileInfo.Builder clone()
Type | Description |
FileInfo.Builder |
getDefaultInstanceForType()
public FileInfo getDefaultInstanceForType()
Type | Description |
FileInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMimeType()
public String getMimeType()
The MIME type of the file. Defaults to the value from Google Cloud Storage.
string mime_type = 3;
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;
Type | Description |
ByteString | The bytes for mimeType. |
getSha1Sum()
public String getSha1Sum()
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
Type | Description |
String | The sha1Sum. |
getSha1SumBytes()
public ByteString getSha1SumBytes()
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
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;
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;
Type | Description |
ByteString | The bytes for sourceUrl. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(FileInfo other)
public FileInfo.Builder mergeFrom(FileInfo other)
Name | Description |
other | FileInfo |
Type | Description |
FileInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FileInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FileInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public FileInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
FileInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FileInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FileInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FileInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FileInfo.Builder |
setMimeType(String value)
public FileInfo.Builder setMimeType(String value)
The MIME type of the file. Defaults to the value from Google Cloud Storage.
string mime_type = 3;
Name | Description |
value | String The mimeType to set. |
Type | Description |
FileInfo.Builder | This builder for chaining. |
setMimeTypeBytes(ByteString value)
public FileInfo.Builder setMimeTypeBytes(ByteString value)
The MIME type of the file. Defaults to the value from Google Cloud Storage.
string mime_type = 3;
Name | Description |
value | ByteString The bytes for mimeType to set. |
Type | Description |
FileInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FileInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
FileInfo.Builder |
setSha1Sum(String value)
public FileInfo.Builder setSha1Sum(String value)
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
Name | Description |
value | String The sha1Sum to set. |
Type | Description |
FileInfo.Builder | This builder for chaining. |
setSha1SumBytes(ByteString value)
public FileInfo.Builder setSha1SumBytes(ByteString value)
The SHA1 hash of the file, in hex.
string sha1_sum = 2;
Name | Description |
value | ByteString The bytes for sha1Sum to set. |
Type | Description |
FileInfo.Builder | This builder for chaining. |
setSourceUrl(String value)
public FileInfo.Builder setSourceUrl(String value)
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;
Name | Description |
value | String The sourceUrl to set. |
Type | Description |
FileInfo.Builder | This builder for chaining. |
setSourceUrlBytes(ByteString value)
public FileInfo.Builder setSourceUrlBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for sourceUrl to set. |
Type | Description |
FileInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FileInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FileInfo.Builder |