Class SourceContext (1.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.60.0 (latest)
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
publicfinalclass SourceContextextendsGeneratedMessageV3implementsSourceContextOrBuilderA SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
Protobuf type google.devtools.source.v1.SourceContext
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SourceContextImplements
SourceContextOrBuilderInherited Members
Static Fields
CLOUD_REPO_FIELD_NUMBER
publicstaticfinalintCLOUD_REPO_FIELD_NUMBERCLOUD_WORKSPACE_FIELD_NUMBER
publicstaticfinalintCLOUD_WORKSPACE_FIELD_NUMBERGERRIT_FIELD_NUMBER
publicstaticfinalintGERRIT_FIELD_NUMBERGIT_FIELD_NUMBER
publicstaticfinalintGIT_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticSourceContextgetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticSourceContext.BuildernewBuilder()newBuilder(SourceContext prototype)
publicstaticSourceContext.BuildernewBuilder(SourceContextprototype)parseDelimitedFrom(InputStream input)
publicstaticSourceContextparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticSourceContextparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticSourceContextparseFrom(byte[]data)byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceContextparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)byte[]parseFrom(ByteString data)
publicstaticSourceContextparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceContextparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticSourceContextparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticSourceContextparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticSourceContextparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticSourceContextparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticSourceContextparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceContextparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<SourceContext>parser()Methods
equals(Object obj)
publicbooleanequals(Objectobj)getCloudRepo()
publicCloudRepoSourceContextgetCloudRepo()A SourceContext referring to a revision in a cloud repo.
.google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;
The cloudRepo.
getCloudRepoOrBuilder()
publicCloudRepoSourceContextOrBuildergetCloudRepoOrBuilder()A SourceContext referring to a revision in a cloud repo.
.google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;
getCloudWorkspace()
publicCloudWorkspaceSourceContextgetCloudWorkspace()A SourceContext referring to a snapshot in a cloud workspace.
.google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;
The cloudWorkspace.
getCloudWorkspaceOrBuilder()
publicCloudWorkspaceSourceContextOrBuildergetCloudWorkspaceOrBuilder()A SourceContext referring to a snapshot in a cloud workspace.
.google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;
getContextCase()
publicSourceContext.ContextCasegetContextCase()getDefaultInstanceForType()
publicSourceContextgetDefaultInstanceForType()getGerrit()
publicGerritSourceContextgetGerrit()A SourceContext referring to a Gerrit project.
.google.devtools.source.v1.GerritSourceContext gerrit = 3;
The gerrit.
getGerritOrBuilder()
publicGerritSourceContextOrBuildergetGerritOrBuilder()A SourceContext referring to a Gerrit project.
.google.devtools.source.v1.GerritSourceContext gerrit = 3;
getGit()
publicGitSourceContextgetGit()A SourceContext referring to any third party Git repo (e.g. GitHub).
.google.devtools.source.v1.GitSourceContext git = 6;
The git.
getGitOrBuilder()
publicGitSourceContextOrBuildergetGitOrBuilder()A SourceContext referring to any third party Git repo (e.g. GitHub).
.google.devtools.source.v1.GitSourceContext git = 6;
getParserForType()
publicParser<SourceContext>getParserForType()getSerializedSize()
publicintgetSerializedSize()getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()hasCloudRepo()
publicbooleanhasCloudRepo()A SourceContext referring to a revision in a cloud repo.
.google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;
Whether the cloudRepo field is set.
hasCloudWorkspace()
publicbooleanhasCloudWorkspace()A SourceContext referring to a snapshot in a cloud workspace.
.google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;
Whether the cloudWorkspace field is set.
hasGerrit()
publicbooleanhasGerrit()A SourceContext referring to a Gerrit project.
.google.devtools.source.v1.GerritSourceContext gerrit = 3;
Whether the gerrit field is set.
hasGit()
publicbooleanhasGit()A SourceContext referring to any third party Git repo (e.g. GitHub).
.google.devtools.source.v1.GitSourceContext git = 6;
Whether the git field is set.
hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicSourceContext.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedSourceContext.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicSourceContext.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)