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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ZipInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public ZipInfo buildPartial()
Returns
clear()
public ZipInfo.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ZipInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ZipInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ZipInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ZipInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ZipInfo other)
public ZipInfo.Builder mergeFrom(ZipInfo other)
Parameter
Returns
public ZipInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ZipInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ZipInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ZipInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ZipInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ZipInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides