public final class RepoId extends GeneratedMessageV3 implements RepoIdOrBuilder
A unique identifier for a Cloud Repo.
Protobuf type grafeas.v1beta1.source.RepoId
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PROJECT_REPO_ID_FIELD_NUMBER
public static final int PROJECT_REPO_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RepoId getDefaultInstance()
Returns |
Type |
Description |
RepoId |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RepoId.Builder newBuilder()
newBuilder(RepoId prototype)
public static RepoId.Builder newBuilder(RepoId prototype)
Parameter |
Name |
Description |
prototype |
RepoId
|
public static RepoId parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
RepoId |
|
public static RepoId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
RepoId |
|
parseFrom(byte[] data)
public static RepoId parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
RepoId |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
RepoId |
|
parseFrom(ByteString data)
public static RepoId parseFrom(ByteString data)
Returns |
Type |
Description |
RepoId |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
RepoId |
|
public static RepoId parseFrom(CodedInputStream input)
Returns |
Type |
Description |
RepoId |
|
public static RepoId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
RepoId |
|
public static RepoId parseFrom(InputStream input)
Returns |
Type |
Description |
RepoId |
|
public static RepoId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
RepoId |
|
parseFrom(ByteBuffer data)
public static RepoId parseFrom(ByteBuffer data)
Returns |
Type |
Description |
RepoId |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
RepoId |
|
parser()
public static Parser<RepoId> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RepoId getDefaultInstanceForType()
Returns |
Type |
Description |
RepoId |
|
getIdCase()
public RepoId.IdCase getIdCase()
getParserForType()
public Parser<RepoId> getParserForType()
Overrides
getProjectRepoId()
public ProjectRepoId getProjectRepoId()
A combination of a project ID and a repo name.
.grafeas.v1beta1.source.ProjectRepoId project_repo_id = 1;
getProjectRepoIdOrBuilder()
public ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder()
A combination of a project ID and a repo name.
.grafeas.v1beta1.source.ProjectRepoId project_repo_id = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUid()
A server-assigned, globally unique identifier.
string uid = 2;
Returns |
Type |
Description |
String |
The uid.
|
getUidBytes()
public ByteString getUidBytes()
A server-assigned, globally unique identifier.
string uid = 2;
Returns |
Type |
Description |
ByteString |
The bytes for uid.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasProjectRepoId()
public boolean hasProjectRepoId()
A combination of a project ID and a repo name.
.grafeas.v1beta1.source.ProjectRepoId project_repo_id = 1;
Returns |
Type |
Description |
boolean |
Whether the projectRepoId field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RepoId.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RepoId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RepoId.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides