Package com.google.appengine.v1
Class Deployment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
- com.google.appengine.v1.Deployment.Builder
-
- All Implemented Interfaces:
DeploymentOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Deployment
public static final class Deployment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder
Code and application artifacts used to deploy a version to App Engine.
Protobuf typegoogle.appengine.v1.Deployment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Deployment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Deployment
build()
Deployment
buildPartial()
Deployment.Builder
clear()
Deployment.Builder
clearCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this deployment.Deployment.Builder
clearContainer()
The Docker image for the container that runs the version.Deployment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Deployment.Builder
clearFiles()
Deployment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Deployment.Builder
clearZip()
The zip file for this deployment, if this is a zip deployment.Deployment.Builder
clone()
boolean
containsFiles(String key)
Manifest of the files stored in Google Cloud Storage that are included as part of this version.CloudBuildOptions
getCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this deployment.CloudBuildOptions.Builder
getCloudBuildOptionsBuilder()
Options for any Google Cloud Build builds created as a part of this deployment.CloudBuildOptionsOrBuilder
getCloudBuildOptionsOrBuilder()
Options for any Google Cloud Build builds created as a part of this deployment.ContainerInfo
getContainer()
The Docker image for the container that runs the version.ContainerInfo.Builder
getContainerBuilder()
The Docker image for the container that runs the version.ContainerInfoOrBuilder
getContainerOrBuilder()
The Docker image for the container that runs the version.Deployment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,FileInfo>
getFiles()
Deprecated.int
getFilesCount()
Manifest of the files stored in Google Cloud Storage that are included as part of this version.Map<String,FileInfo>
getFilesMap()
Manifest of the files stored in Google Cloud Storage that are included as part of this version.FileInfo
getFilesOrDefault(String key, FileInfo defaultValue)
Manifest of the files stored in Google Cloud Storage that are included as part of this version.FileInfo
getFilesOrThrow(String key)
Manifest of the files stored in Google Cloud Storage that are included as part of this version.Map<String,FileInfo>
getMutableFiles()
Deprecated.ZipInfo
getZip()
The zip file for this deployment, if this is a zip deployment.ZipInfo.Builder
getZipBuilder()
The zip file for this deployment, if this is a zip deployment.ZipInfoOrBuilder
getZipOrBuilder()
The zip file for this deployment, if this is a zip deployment.boolean
hasCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this deployment.boolean
hasContainer()
The Docker image for the container that runs the version.boolean
hasZip()
The zip file for this deployment, if this is a zip deployment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Deployment.Builder
mergeCloudBuildOptions(CloudBuildOptions value)
Options for any Google Cloud Build builds created as a part of this deployment.Deployment.Builder
mergeContainer(ContainerInfo value)
The Docker image for the container that runs the version.Deployment.Builder
mergeFrom(Deployment other)
Deployment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deployment.Builder
mergeFrom(com.google.protobuf.Message other)
Deployment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Deployment.Builder
mergeZip(ZipInfo value)
The zip file for this deployment, if this is a zip deployment.Deployment.Builder
putAllFiles(Map<String,FileInfo> values)
Manifest of the files stored in Google Cloud Storage that are included as part of this version.Deployment.Builder
putFiles(String key, FileInfo value)
Manifest of the files stored in Google Cloud Storage that are included as part of this version.Deployment.Builder
removeFiles(String key)
Manifest of the files stored in Google Cloud Storage that are included as part of this version.Deployment.Builder
setCloudBuildOptions(CloudBuildOptions value)
Options for any Google Cloud Build builds created as a part of this deployment.Deployment.Builder
setCloudBuildOptions(CloudBuildOptions.Builder builderForValue)
Options for any Google Cloud Build builds created as a part of this deployment.Deployment.Builder
setContainer(ContainerInfo value)
The Docker image for the container that runs the version.Deployment.Builder
setContainer(ContainerInfo.Builder builderForValue)
The Docker image for the container that runs the version.Deployment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Deployment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Deployment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Deployment.Builder
setZip(ZipInfo value)
The zip file for this deployment, if this is a zip deployment.Deployment.Builder
setZip(ZipInfo.Builder builderForValue)
The zip file for this deployment, if this is a zip deployment.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
clear
public Deployment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
getDefaultInstanceForType
public Deployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Deployment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Deployment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Deployment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
setField
public Deployment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
clearField
public Deployment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
clearOneof
public Deployment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
setRepeatedField
public Deployment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
addRepeatedField
public Deployment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(Deployment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
- Throws:
IOException
-
getFilesCount
public int getFilesCount()
Description copied from interface:DeploymentOrBuilder
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;
- Specified by:
getFilesCount
in interfaceDeploymentOrBuilder
-
containsFiles
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;
- Specified by:
containsFiles
in interfaceDeploymentOrBuilder
-
getFiles
@Deprecated public Map<String,FileInfo> getFiles()
Deprecated.UsegetFilesMap()
instead.- Specified by:
getFiles
in interfaceDeploymentOrBuilder
-
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;
- Specified by:
getFilesMap
in interfaceDeploymentOrBuilder
-
getFilesOrDefault
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;
- Specified by:
getFilesOrDefault
in interfaceDeploymentOrBuilder
-
getFilesOrThrow
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;
- Specified by:
getFilesOrThrow
in interfaceDeploymentOrBuilder
-
clearFiles
public Deployment.Builder clearFiles()
-
removeFiles
public Deployment.Builder removeFiles(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;
-
getMutableFiles
@Deprecated public Map<String,FileInfo> getMutableFiles()
Deprecated.Use alternate mutation accessors instead.
-
putFiles
public Deployment.Builder putFiles(String key, FileInfo value)
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;
-
putAllFiles
public Deployment.Builder putAllFiles(Map<String,FileInfo> values)
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;
-
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;
- Specified by:
hasContainer
in interfaceDeploymentOrBuilder
- Returns:
- Whether the container field is set.
-
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;
- Specified by:
getContainer
in interfaceDeploymentOrBuilder
- Returns:
- The container.
-
setContainer
public Deployment.Builder setContainer(ContainerInfo value)
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;
-
setContainer
public Deployment.Builder setContainer(ContainerInfo.Builder builderForValue)
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;
-
mergeContainer
public Deployment.Builder mergeContainer(ContainerInfo value)
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;
-
clearContainer
public Deployment.Builder clearContainer()
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;
-
getContainerBuilder
public ContainerInfo.Builder getContainerBuilder()
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;
- Specified by:
getContainerOrBuilder
in interfaceDeploymentOrBuilder
-
hasZip
public boolean hasZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
- Specified by:
hasZip
in interfaceDeploymentOrBuilder
- Returns:
- Whether the zip field is set.
-
getZip
public ZipInfo getZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
- Specified by:
getZip
in interfaceDeploymentOrBuilder
- Returns:
- The zip.
-
setZip
public Deployment.Builder setZip(ZipInfo value)
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
setZip
public Deployment.Builder setZip(ZipInfo.Builder builderForValue)
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
mergeZip
public Deployment.Builder mergeZip(ZipInfo value)
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
clearZip
public Deployment.Builder clearZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
getZipBuilder
public ZipInfo.Builder getZipBuilder()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
getZipOrBuilder
public ZipInfoOrBuilder getZipOrBuilder()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
- Specified by:
getZipOrBuilder
in interfaceDeploymentOrBuilder
-
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;
- Specified by:
hasCloudBuildOptions
in interfaceDeploymentOrBuilder
- Returns:
- Whether the cloudBuildOptions field is set.
-
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;
- Specified by:
getCloudBuildOptions
in interfaceDeploymentOrBuilder
- Returns:
- The cloudBuildOptions.
-
setCloudBuildOptions
public Deployment.Builder setCloudBuildOptions(CloudBuildOptions value)
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;
-
setCloudBuildOptions
public Deployment.Builder setCloudBuildOptions(CloudBuildOptions.Builder builderForValue)
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;
-
mergeCloudBuildOptions
public Deployment.Builder mergeCloudBuildOptions(CloudBuildOptions value)
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;
-
clearCloudBuildOptions
public Deployment.Builder clearCloudBuildOptions()
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;
-
getCloudBuildOptionsBuilder
public CloudBuildOptions.Builder getCloudBuildOptionsBuilder()
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;
- Specified by:
getCloudBuildOptionsOrBuilder
in interfaceDeploymentOrBuilder
-
setUnknownFields
public final Deployment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
mergeUnknownFields
public final Deployment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
-