Class ZipInfo.Builder (2.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ZipInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ZipInfo.Builder
Overrides

build()

public ZipInfo build()
Returns
TypeDescription
ZipInfo

buildPartial()

public ZipInfo buildPartial()
Returns
TypeDescription
ZipInfo

clear()

public ZipInfo.Builder clear()
Returns
TypeDescription
ZipInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ZipInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ZipInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ZipInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ZipInfo.Builder

This builder for chaining.

clone()

public ZipInfo.Builder clone()
Returns
TypeDescription
ZipInfo.Builder
Overrides

getDefaultInstanceForType()

public ZipInfo getDefaultInstanceForType()
Returns
TypeDescription
ZipInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sourceUrl.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ZipInfo other)

public ZipInfo.Builder mergeFrom(ZipInfo other)
Parameter
NameDescription
otherZipInfo
Returns
TypeDescription
ZipInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ZipInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ZipInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ZipInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ZipInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ZipInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ZipInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ZipInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The filesCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sourceUrl to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sourceUrl to set.

Returns
TypeDescription
ZipInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ZipInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ZipInfo.Builder
Overrides