Package com.google.devtools.source.v1
Interface CloudRepoSourceContextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CloudRepoSourceContext,CloudRepoSourceContext.Builder
public interface CloudRepoSourceContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AliasContextgetAliasContext()An alias, which may be a branch or tag.AliasContextOrBuildergetAliasContextOrBuilder()An alias, which may be a branch or tag.StringgetAliasName()Deprecated.google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated.com.google.protobuf.ByteStringgetAliasNameBytes()Deprecated.google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated.RepoIdgetRepoId()The ID of the repo.RepoIdOrBuildergetRepoIdOrBuilder()The ID of the repo.CloudRepoSourceContext.RevisionCasegetRevisionCase()StringgetRevisionId()A revision ID.com.google.protobuf.ByteStringgetRevisionIdBytes()A revision ID.booleanhasAliasContext()An alias, which may be a branch or tag.booleanhasAliasName()Deprecated.google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated.booleanhasRepoId()The ID of the repo.booleanhasRevisionId()A revision ID.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRepoId
boolean hasRepoId()
The ID of the repo.
.google.devtools.source.v1.RepoId repo_id = 1;- Returns:
- Whether the repoId field is set.
-
getRepoId
RepoId getRepoId()
The ID of the repo.
.google.devtools.source.v1.RepoId repo_id = 1;- Returns:
- The repoId.
-
getRepoIdOrBuilder
RepoIdOrBuilder getRepoIdOrBuilder()
The ID of the repo.
.google.devtools.source.v1.RepoId repo_id = 1;
-
hasRevisionId
boolean hasRevisionId()
A revision ID.
string revision_id = 2;- Returns:
- Whether the revisionId field is set.
-
getRevisionId
String getRevisionId()
A revision ID.
string revision_id = 2;- Returns:
- The revisionId.
-
getRevisionIdBytes
com.google.protobuf.ByteString getRevisionIdBytes()
A revision ID.
string revision_id = 2;- Returns:
- The bytes for revisionId.
-
hasAliasName
@Deprecated boolean hasAliasName()
Deprecated.google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=95The name of an alias (branch, tag, etc.).
string alias_name = 3 [deprecated = true];- Returns:
- Whether the aliasName field is set.
-
getAliasName
@Deprecated String getAliasName()
Deprecated.google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=95The name of an alias (branch, tag, etc.).
string alias_name = 3 [deprecated = true];- Returns:
- The aliasName.
-
getAliasNameBytes
@Deprecated com.google.protobuf.ByteString getAliasNameBytes()
Deprecated.google.devtools.source.v1.CloudRepoSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=95The name of an alias (branch, tag, etc.).
string alias_name = 3 [deprecated = true];- Returns:
- The bytes for aliasName.
-
hasAliasContext
boolean hasAliasContext()
An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 4;- Returns:
- Whether the aliasContext field is set.
-
getAliasContext
AliasContext getAliasContext()
An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 4;- Returns:
- The aliasContext.
-
getAliasContextOrBuilder
AliasContextOrBuilder getAliasContextOrBuilder()
An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 4;
-
getRevisionCase
CloudRepoSourceContext.RevisionCase getRevisionCase()
-
-