File: //snap/google-cloud-cli/394/lib/third_party/google/cloud/appengine_v1alpha/proto/deploy_pb2.py
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/appengine_v1alpha/proto/deploy.proto
from cloudsdk.google.protobuf import descriptor as _descriptor
from cloudsdk.google.protobuf import message as _message
from cloudsdk.google.protobuf import reflection as _reflection
from cloudsdk.google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from cloudsdk.google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='google/cloud/appengine_v1alpha/proto/deploy.proto',
package='google.appengine.v1alpha',
syntax='proto3',
serialized_options=b'\n\034com.google.appengine.v1alphaB\013DeployProtoP\001ZAgoogle.golang.org/genproto/googleapis/appengine/v1alpha;appengine',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n1google/cloud/appengine_v1alpha/proto/deploy.proto\x12\x18google.appengine.v1alpha\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/api/annotations.proto\"\x88\x03\n\nDeployment\x12>\n\x05\x66iles\x18\x01 \x03(\x0b\x32/.google.appengine.v1alpha.Deployment.FilesEntry\x12:\n\tcontainer\x18\x02 \x01(\x0b\x32\'.google.appengine.v1alpha.ContainerInfo\x12.\n\x03zip\x18\x03 \x01(\x0b\x32!.google.appengine.v1alpha.ZipInfo\x12\x32\n\x05\x62uild\x18\x05 \x01(\x0b\x32#.google.appengine.v1alpha.BuildInfo\x12H\n\x13\x63loud_build_options\x18\x06 \x01(\x0b\x32+.google.appengine.v1alpha.CloudBuildOptions\x1aP\n\nFilesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".google.appengine.v1alpha.FileInfo:\x02\x38\x01\"C\n\x08\x46ileInfo\x12\x12\n\nsource_url\x18\x01 \x01(\t\x12\x10\n\x08sha1_sum\x18\x02 \x01(\t\x12\x11\n\tmime_type\x18\x03 \x01(\t\"\x1e\n\rContainerInfo\x12\r\n\x05image\x18\x01 \x01(\t\"#\n\tBuildInfo\x12\x16\n\x0e\x63loud_build_id\x18\x01 \x01(\t\"b\n\x11\x43loudBuildOptions\x12\x15\n\rapp_yaml_path\x18\x01 \x01(\t\x12\x36\n\x13\x63loud_build_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"2\n\x07ZipInfo\x12\x12\n\nsource_url\x18\x03 \x01(\t\x12\x13\n\x0b\x66iles_count\x18\x04 \x01(\x05\x42p\n\x1c\x63om.google.appengine.v1alphaB\x0b\x44\x65ployProtoP\x01ZAgoogle.golang.org/genproto/googleapis/appengine/v1alpha;appengineb\x06proto3'
,
dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,])
_DEPLOYMENT_FILESENTRY = _descriptor.Descriptor(
name='FilesEntry',
full_name='google.appengine.v1alpha.Deployment.FilesEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='google.appengine.v1alpha.Deployment.FilesEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='value', full_name='google.appengine.v1alpha.Deployment.FilesEntry.value', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=b'8\001',
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=454,
serialized_end=534,
)
_DEPLOYMENT = _descriptor.Descriptor(
name='Deployment',
full_name='google.appengine.v1alpha.Deployment',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='files', full_name='google.appengine.v1alpha.Deployment.files', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='container', full_name='google.appengine.v1alpha.Deployment.container', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='zip', full_name='google.appengine.v1alpha.Deployment.zip', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='build', full_name='google.appengine.v1alpha.Deployment.build', index=3,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='cloud_build_options', full_name='google.appengine.v1alpha.Deployment.cloud_build_options', index=4,
number=6, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_DEPLOYMENT_FILESENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=142,
serialized_end=534,
)
_FILEINFO = _descriptor.Descriptor(
name='FileInfo',
full_name='google.appengine.v1alpha.FileInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='source_url', full_name='google.appengine.v1alpha.FileInfo.source_url', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='sha1_sum', full_name='google.appengine.v1alpha.FileInfo.sha1_sum', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='mime_type', full_name='google.appengine.v1alpha.FileInfo.mime_type', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=536,
serialized_end=603,
)
_CONTAINERINFO = _descriptor.Descriptor(
name='ContainerInfo',
full_name='google.appengine.v1alpha.ContainerInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='image', full_name='google.appengine.v1alpha.ContainerInfo.image', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=605,
serialized_end=635,
)
_BUILDINFO = _descriptor.Descriptor(
name='BuildInfo',
full_name='google.appengine.v1alpha.BuildInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='cloud_build_id', full_name='google.appengine.v1alpha.BuildInfo.cloud_build_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=637,
serialized_end=672,
)
_CLOUDBUILDOPTIONS = _descriptor.Descriptor(
name='CloudBuildOptions',
full_name='google.appengine.v1alpha.CloudBuildOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='app_yaml_path', full_name='google.appengine.v1alpha.CloudBuildOptions.app_yaml_path', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='cloud_build_timeout', full_name='google.appengine.v1alpha.CloudBuildOptions.cloud_build_timeout', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=674,
serialized_end=772,
)
_ZIPINFO = _descriptor.Descriptor(
name='ZipInfo',
full_name='google.appengine.v1alpha.ZipInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='source_url', full_name='google.appengine.v1alpha.ZipInfo.source_url', index=0,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='files_count', full_name='google.appengine.v1alpha.ZipInfo.files_count', index=1,
number=4, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=774,
serialized_end=824,
)
_DEPLOYMENT_FILESENTRY.fields_by_name['value'].message_type = _FILEINFO
_DEPLOYMENT_FILESENTRY.containing_type = _DEPLOYMENT
_DEPLOYMENT.fields_by_name['files'].message_type = _DEPLOYMENT_FILESENTRY
_DEPLOYMENT.fields_by_name['container'].message_type = _CONTAINERINFO
_DEPLOYMENT.fields_by_name['zip'].message_type = _ZIPINFO
_DEPLOYMENT.fields_by_name['build'].message_type = _BUILDINFO
_DEPLOYMENT.fields_by_name['cloud_build_options'].message_type = _CLOUDBUILDOPTIONS
_CLOUDBUILDOPTIONS.fields_by_name['cloud_build_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
DESCRIPTOR.message_types_by_name['Deployment'] = _DEPLOYMENT
DESCRIPTOR.message_types_by_name['FileInfo'] = _FILEINFO
DESCRIPTOR.message_types_by_name['ContainerInfo'] = _CONTAINERINFO
DESCRIPTOR.message_types_by_name['BuildInfo'] = _BUILDINFO
DESCRIPTOR.message_types_by_name['CloudBuildOptions'] = _CLOUDBUILDOPTIONS
DESCRIPTOR.message_types_by_name['ZipInfo'] = _ZIPINFO
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Deployment = _reflection.GeneratedProtocolMessageType('Deployment', (_message.Message,), {
'FilesEntry' : _reflection.GeneratedProtocolMessageType('FilesEntry', (_message.Message,), {
'DESCRIPTOR' : _DEPLOYMENT_FILESENTRY,
'__module__' : 'google.cloud.appengine_v1alpha.proto.deploy_pb2'
# @@protoc_insertion_point(class_scope:google.appengine.v1alpha.Deployment.FilesEntry)
})
,
'DESCRIPTOR' : _DEPLOYMENT,
'__module__' : 'google.cloud.appengine_v1alpha.proto.deploy_pb2'
,
'__doc__': """Code and application artifacts used to deploy a version to App Engine.
Attributes:
files:
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.
container:
The Docker image for the container that runs the version. Only
applicable for instances running in the App Engine flexible
environment.
zip:
The zip file for this deployment, if this is a zip deployment.
build:
Google Cloud Build build information. Only applicable for
instances running in the App Engine flexible environment.
cloud_build_options:
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.
""",
# @@protoc_insertion_point(class_scope:google.appengine.v1alpha.Deployment)
})
_sym_db.RegisterMessage(Deployment)
_sym_db.RegisterMessage(Deployment.FilesEntry)
FileInfo = _reflection.GeneratedProtocolMessageType('FileInfo', (_message.Message,), {
'DESCRIPTOR' : _FILEINFO,
'__module__' : 'google.cloud.appengine_v1alpha.proto.deploy_pb2'
,
'__doc__': """Single source file that is part of the version to be deployed. Each
source file that is deployed must be specified separately.
Attributes:
source_url:
URL source to use to fetch this file. Must be a URL to a
resource in Google Cloud Storage in the form
‘http(s)://storage.googleapis.com/<bucket>/<object>’.
sha1_sum:
The SHA1 hash of the file, in hex.
mime_type:
The MIME type of the file. Defaults to the value from Google
Cloud Storage.
""",
# @@protoc_insertion_point(class_scope:google.appengine.v1alpha.FileInfo)
})
_sym_db.RegisterMessage(FileInfo)
ContainerInfo = _reflection.GeneratedProtocolMessageType('ContainerInfo', (_message.Message,), {
'DESCRIPTOR' : _CONTAINERINFO,
'__module__' : 'google.cloud.appengine_v1alpha.proto.deploy_pb2'
,
'__doc__': """Docker image that is used to create a container and start a VM
instance for the version that you deploy. Only applicable for
instances running in the App Engine flexible environment.
Attributes:
image:
URI to the hosted container image in Google Container
Registry. The URI must be fully qualified and include a tag or
digest. Examples: “gcr.io/my-project/image:tag” or “gcr.io/my-
project/image@digest”
""",
# @@protoc_insertion_point(class_scope:google.appengine.v1alpha.ContainerInfo)
})
_sym_db.RegisterMessage(ContainerInfo)
BuildInfo = _reflection.GeneratedProtocolMessageType('BuildInfo', (_message.Message,), {
'DESCRIPTOR' : _BUILDINFO,
'__module__' : 'google.cloud.appengine_v1alpha.proto.deploy_pb2'
,
'__doc__': """Google Cloud Build information.
Attributes:
cloud_build_id:
The Google Cloud Build id. Example:
“f966068f-08b2-42c8-bdfe-74137dff2bf9”
""",
# @@protoc_insertion_point(class_scope:google.appengine.v1alpha.BuildInfo)
})
_sym_db.RegisterMessage(BuildInfo)
CloudBuildOptions = _reflection.GeneratedProtocolMessageType('CloudBuildOptions', (_message.Message,), {
'DESCRIPTOR' : _CLOUDBUILDOPTIONS,
'__module__' : 'google.cloud.appengine_v1alpha.proto.deploy_pb2'
,
'__doc__': """Options for the build operations performed as a part of the version
deployment. Only applicable for App Engine flexible environment when
creating a version using source code directly.
Attributes:
app_yaml_path:
Path to the yaml file used in deployment, used to determine
runtime configuration details. Required for flexible
environment builds. See https://cloud.google.com/appengine/do
cs/standard/python/config/appref for more details.
cloud_build_timeout:
The Cloud Build timeout used as part of any dependent builds
performed by version creation. Defaults to 10 minutes.
""",
# @@protoc_insertion_point(class_scope:google.appengine.v1alpha.CloudBuildOptions)
})
_sym_db.RegisterMessage(CloudBuildOptions)
ZipInfo = _reflection.GeneratedProtocolMessageType('ZipInfo', (_message.Message,), {
'DESCRIPTOR' : _ZIPINFO,
'__module__' : 'google.cloud.appengine_v1alpha.proto.deploy_pb2'
,
'__doc__': """The zip file information for a zip deployment.
Attributes:
source_url:
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>’.
files_count:
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.
""",
# @@protoc_insertion_point(class_scope:google.appengine.v1alpha.ZipInfo)
})
_sym_db.RegisterMessage(ZipInfo)
DESCRIPTOR._options = None
_DEPLOYMENT_FILESENTRY._options = None
# @@protoc_insertion_point(module_scope)