public final class Deployment extends GeneratedMessageV3 implements DeploymentOrBuilder
Code and application artifacts used to deploy a version to App Engine.
Protobuf type google.appengine.v1.Deployment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CLOUD_BUILD_OPTIONS_FIELD_NUMBER
public static final int CLOUD_BUILD_OPTIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FILES_FIELD_NUMBER
public static final int FILES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ZIP_FIELD_NUMBER
public static final int ZIP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Deployment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Deployment.Builder newBuilder()
newBuilder(Deployment prototype)
public static Deployment.Builder newBuilder(Deployment prototype)
public static Deployment parseDelimitedFrom(InputStream input)
public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Deployment parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Deployment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(CodedInputStream input)
public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(InputStream input)
public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Deployment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Deployment> parser()
Methods
containsFiles(String key)
public boolean containsFiles(String key)
Manifest of the files stored in Google Cloud Storage that are included
as part of this version. All files must be readable using the
credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCloudBuildOptions()
public CloudBuildOptions getCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this
deployment.
These options will only be used if a new build is created, such as when
deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;
getCloudBuildOptionsOrBuilder()
public CloudBuildOptionsOrBuilder getCloudBuildOptionsOrBuilder()
Options for any Google Cloud Build builds created as a part of this
deployment.
These options will only be used if a new build is created, such as when
deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;
getContainer()
public ContainerInfo getContainer()
The Docker image for the container that runs the version.
Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;
getContainerOrBuilder()
public ContainerInfoOrBuilder getContainerOrBuilder()
The Docker image for the container that runs the version.
Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
getFiles()
public Map<String,FileInfo> getFiles()
getFilesCount()
public int getFilesCount()
Manifest of the files stored in Google Cloud Storage that are included
as part of this version. All files must be readable using the
credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;
Returns |
---|
Type | Description |
int | |
getFilesMap()
public Map<String,FileInfo> getFilesMap()
Manifest of the files stored in Google Cloud Storage that are included
as part of this version. All files must be readable using the
credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;
getFilesOrDefault(String key, FileInfo defaultValue)
public FileInfo getFilesOrDefault(String key, FileInfo defaultValue)
Manifest of the files stored in Google Cloud Storage that are included
as part of this version. All files must be readable using the
credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;
getFilesOrThrow(String key)
public FileInfo getFilesOrThrow(String key)
Manifest of the files stored in Google Cloud Storage that are included
as part of this version. All files must be readable using the
credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;
Parameter |
---|
Name | Description |
key | String
|
getParserForType()
public Parser<Deployment> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns |
---|
Type | Description |
ZipInfo | The zip.
|
getZipOrBuilder()
public ZipInfoOrBuilder getZipOrBuilder()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
hasCloudBuildOptions()
public boolean hasCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this
deployment.
These options will only be used if a new build is created, such as when
deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;
Returns |
---|
Type | Description |
boolean | Whether the cloudBuildOptions field is set.
|
hasContainer()
public boolean hasContainer()
The Docker image for the container that runs the version.
Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;
Returns |
---|
Type | Description |
boolean | Whether the container field is set.
|
hasZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns |
---|
Type | Description |
boolean | Whether the zip field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Deployment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Deployment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides