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
Static Fields
CLOUD_BUILD_OPTIONS_FIELD_NUMBER
public static final int CLOUD_BUILD_OPTIONS_FIELD_NUMBER
Field Value
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER
Field Value
FILES_FIELD_NUMBER
public static final int FILES_FIELD_NUMBER
Field Value
ZIP_FIELD_NUMBER
public static final int ZIP_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Deployment getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Deployment.Builder newBuilder()
Returns
newBuilder(Deployment prototype)
public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
Returns
public static Deployment parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Deployment parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Deployment parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Deployment parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Deployment parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Deployment parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Deployment> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
Returns
getFiles()
public Map<String,FileInfo> getFiles()
Returns
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
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;
Returns
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;
Parameters
Returns
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
Returns
getParserForType()
public Parser<Deployment> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns
getZipOrBuilder()
public ZipInfoOrBuilder getZipOrBuilder()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Deployment.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Deployment.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions