Package Classes (1.8.0) Stay organized with collections Save and categorize content based on your preferences.
Summary of entries of Classes for source.
Classes
AliasContext
An alias to a repo revision.
Kind
The type of an Alias.
CloudRepoSourceContext
A CloudRepoSourceContext denotes a particular revision in acloud repo (a repo hosted by the Google Cloud Platform).
This message hasoneof_ fields (mutually exclusive fields).For each oneof, at most one member field can be set at the same time.Setting any member of the oneof automatically clears all othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
CloudWorkspaceId
A CloudWorkspaceId is a unique identifier for a cloudworkspace. A cloud workspace is a place associated with a repowhere modified files can be stored before they are committed.
CloudWorkspaceSourceContext
A CloudWorkspaceSourceContext denotes a workspace at aparticular snapshot.
ExtendedSourceContext
An ExtendedSourceContext is a SourceContext combined withadditional details describing the context.
LabelsEntry
The abstract base class for a message.
GerritSourceContext
A SourceContext referring to a Gerrit project.
This message hasoneof_ fields (mutually exclusive fields).For each oneof, at most one member field can be set at the same time.Setting any member of the oneof automatically clears all othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
GitSourceContext
A GitSourceContext denotes a particular revision in a thirdparty Git repository (e.g. GitHub).
ProjectRepoId
Selects a repo using a Google Cloud Platform project ID(e.g. winged-cargo-31) and a repo name within that project.
RepoId
A unique identifier for a cloud repo.
This message hasoneof_ fields (mutually exclusive fields).For each oneof, at most one member field can be set at the same time.Setting any member of the oneof automatically clears all othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SourceContext
A SourceContext is a reference to a tree of files. ASourceContext together with a path point to a unique revision ofa single file or directory.
This message hasoneof_ fields (mutually exclusive fields).For each oneof, at most one member field can be set at the same time.Setting any member of the oneof automatically clears all othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.