Class ZipInfo.Builder (2.78.0)

publicstaticfinalclass ZipInfo.BuilderextendsGeneratedMessageV3.Builder<ZipInfo.Builder>implementsZipInfoOrBuilder

The zip file information for a zip deployment.

Protobuf type google.appengine.v1.ZipInfo

Implements

ZipInfoOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicZipInfo.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ZipInfo.Builder
Overrides

build()

publicZipInfobuild()
Returns
Type Description
ZipInfo

buildPartial()

publicZipInfobuildPartial()
Returns
Type Description
ZipInfo

clear()

publicZipInfo.Builderclear()
Returns
Type Description
ZipInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicZipInfo.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ZipInfo.Builder
Overrides

clearFilesCount()

publicZipInfo.BuilderclearFilesCount()

An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.

int32 files_count = 4;

Returns
Type Description
ZipInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicZipInfo.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ZipInfo.Builder
Overrides

clearSourceUrl()

publicZipInfo.BuilderclearSourceUrl()

URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.

string source_url = 3;

Returns
Type Description
ZipInfo.Builder

This builder for chaining.

clone()

publicZipInfo.Builderclone()
Returns
Type Description
ZipInfo.Builder
Overrides

getDefaultInstanceForType()

publicZipInfogetDefaultInstanceForType()
Returns
Type Description
ZipInfo

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilesCount()

publicintgetFilesCount()

An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.

int32 files_count = 4;

Returns
Type Description
int

The filesCount.

getSourceUrl()

publicStringgetSourceUrl()

URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.

string source_url = 3;

Returns
Type Description
String

The sourceUrl.

getSourceUrlBytes()

publicByteStringgetSourceUrlBytes()

URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.

string source_url = 3;

Returns
Type Description
ByteString

The bytes for sourceUrl.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ZipInfo other)

publicZipInfo.BuildermergeFrom(ZipInfoother)
Parameter
Name Description
other ZipInfo
Returns
Type Description
ZipInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicZipInfo.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ZipInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicZipInfo.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ZipInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalZipInfo.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ZipInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicZipInfo.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ZipInfo.Builder
Overrides

setFilesCount(int value)

publicZipInfo.BuildersetFilesCount(intvalue)

An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.

int32 files_count = 4;

Parameter
Name Description
value int

The filesCount to set.

Returns
Type Description
ZipInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicZipInfo.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ZipInfo.Builder
Overrides

setSourceUrl(String value)

publicZipInfo.BuildersetSourceUrl(Stringvalue)

URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.

string source_url = 3;

Parameter
Name Description
value String

The sourceUrl to set.

Returns
Type Description
ZipInfo.Builder

This builder for chaining.

setSourceUrlBytes(ByteString value)

publicZipInfo.BuildersetSourceUrlBytes(ByteStringvalue)

URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.

string source_url = 3;

Parameter
Name Description
value ByteString

The bytes for sourceUrl to set.

Returns
Type Description
ZipInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalZipInfo.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ZipInfo.Builder
Overrides

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年10月30日 UTC.