Class ZipInfo.Builder (2.52.0)

public static final class ZipInfo.Builder extends GeneratedMessageV3.Builder<ZipInfo.Builder> implements ZipInfoOrBuilder

The zip file information for a zip deployment.

Protobuf type google.appengine.v1.ZipInfo

Implements

ZipInfoOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ZipInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ZipInfo.Builder
Overrides

build()

public ZipInfo build()
Returns
Type Description
ZipInfo

buildPartial()

public ZipInfo buildPartial()
Returns
Type Description
ZipInfo

clear()

public ZipInfo.Builder clear()
Returns
Type Description
ZipInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ZipInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ZipInfo.Builder
Overrides

clearFilesCount()

public ZipInfo.Builder clearFilesCount()

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)

public ZipInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ZipInfo.Builder
Overrides

clearSourceUrl()

public ZipInfo.Builder clearSourceUrl()

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()

public ZipInfo.Builder clone()
Returns
Type Description
ZipInfo.Builder
Overrides

getDefaultInstanceForType()

public ZipInfo getDefaultInstanceForType()
Returns
Type Description
ZipInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilesCount()

public int getFilesCount()

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()

public String getSourceUrl()

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()

public ByteString getSourceUrlBytes()

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()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ZipInfo other)

public ZipInfo.Builder mergeFrom(ZipInfo other)
Parameter
Name Description
other ZipInfo
Returns
Type Description
ZipInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ZipInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ZipInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ZipInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ZipInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ZipInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ZipInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ZipInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ZipInfo.Builder
Overrides

setFilesCount(int value)

public ZipInfo.Builder setFilesCount(int value)

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)

public ZipInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ZipInfo.Builder
Overrides

setSourceUrl(String value)

public ZipInfo.Builder setSourceUrl(String value)

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)

public ZipInfo.Builder setSourceUrlBytes(ByteString value)

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)

public final ZipInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ZipInfo.Builder
Overrides