Package io.grafeas.v1beta1.source
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 Modifier and Type Method Description AliasContext
getAliasContext()
An alias, which may be a branch or tag.AliasContextOrBuilder
getAliasContextOrBuilder()
An alias, which may be a branch or tag.RepoId
getRepoId()
The ID of the repo.RepoIdOrBuilder
getRepoIdOrBuilder()
The ID of the repo.CloudRepoSourceContext.RevisionCase
getRevisionCase()
String
getRevisionId()
A revision ID.com.google.protobuf.ByteString
getRevisionIdBytes()
A revision ID.boolean
hasAliasContext()
An alias, which may be a branch or tag.boolean
hasRepoId()
The ID of the repo.-
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.
.grafeas.v1beta1.source.RepoId repo_id = 1;
- Returns:
- Whether the repoId field is set.
-
getRepoId
RepoId getRepoId()
The ID of the repo.
.grafeas.v1beta1.source.RepoId repo_id = 1;
- Returns:
- The repoId.
-
getRepoIdOrBuilder
RepoIdOrBuilder getRepoIdOrBuilder()
The ID of the repo.
.grafeas.v1beta1.source.RepoId repo_id = 1;
-
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.
-
hasAliasContext
boolean hasAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 3;
- Returns:
- Whether the aliasContext field is set.
-
getAliasContext
AliasContext getAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 3;
- Returns:
- The aliasContext.
-
getAliasContextOrBuilder
AliasContextOrBuilder getAliasContextOrBuilder()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 3;
-
getRevisionCase
CloudRepoSourceContext.RevisionCase getRevisionCase()
-
-