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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ZipInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public ZipInfo buildPartial()
clear()
public ZipInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ZipInfo.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ZipInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public ZipInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public ZipInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ZipInfo other)
public ZipInfo.Builder mergeFrom(ZipInfo other)
Parameter |
---|
Name | Description |
other | ZipInfo
|
public ZipInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ZipInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ZipInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ZipInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ZipInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ZipInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides