Class RepoId (1.49.0)

publicfinalclass RepoIdextendsGeneratedMessageV3implementsRepoIdOrBuilder

A unique identifier for a cloud repo.

Protobuf type google.devtools.source.v1.RepoId

Implements

RepoIdOrBuilder

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

publicstaticfinalintPROJECT_REPO_ID_FIELD_NUMBER
Field Value
Type Description
int

UID_FIELD_NUMBER

publicstaticfinalintUID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticRepoIdgetDefaultInstance()
Returns
Type Description
RepoId

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticRepoId.BuildernewBuilder()
Returns
Type Description
RepoId.Builder

newBuilder(RepoId prototype)

publicstaticRepoId.BuildernewBuilder(RepoIdprototype)
Parameter
Name Description
prototype RepoId
Returns
Type Description
RepoId.Builder

parseDelimitedFrom(InputStream input)

publicstaticRepoIdparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRepoIdparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticRepoIdparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticRepoIdparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticRepoIdparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticRepoIdparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticRepoIdparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRepoIdparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticRepoIdparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRepoIdparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticRepoIdparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticRepoIdparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<RepoId>parser()
Returns
Type Description
Parser<RepoId>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicRepoIdgetDefaultInstanceForType()
Returns
Type Description
RepoId

getIdCase()

publicRepoId.IdCasegetIdCase()
Returns
Type Description
RepoId.IdCase

getParserForType()

publicParser<RepoId>getParserForType()
Returns
Type Description
Parser<RepoId>
Overrides

getProjectRepoId()

publicProjectRepoIdgetProjectRepoId()

A combination of a project ID and a repo name.

.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;

Returns
Type Description
ProjectRepoId

The projectRepoId.

getProjectRepoIdOrBuilder()

publicProjectRepoIdOrBuildergetProjectRepoIdOrBuilder()

A combination of a project ID and a repo name.

.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;

Returns
Type Description
ProjectRepoIdOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUid()

publicStringgetUid()

A server-assigned, globally unique identifier.

string uid = 2;

Returns
Type Description
String

The uid.

getUidBytes()

publicByteStringgetUidBytes()

A server-assigned, globally unique identifier.

string uid = 2;

Returns
Type Description
ByteString

The bytes for uid.

hasProjectRepoId()

publicbooleanhasProjectRepoId()

A combination of a project ID and a repo name.

.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;

Returns
Type Description
boolean

Whether the projectRepoId field is set.

hasUid()

publicbooleanhasUid()

A server-assigned, globally unique identifier.

string uid = 2;

Returns
Type Description
boolean

Whether the uid field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicRepoId.BuildernewBuilderForType()
Returns
Type Description
RepoId.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedRepoId.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RepoId.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicRepoId.BuildertoBuilder()
Returns
Type Description
RepoId.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.