public final class RepoId extends GeneratedMessageV3 implements RepoIdOrBuilder
A unique identifier for a cloud repo.
Protobuf type google.devtools.source.v1.RepoId
Static Fields
public static final int PROJECT_REPO_ID_FIELD_NUMBER
Field Value
public static final int UID_FIELD_NUMBER
Field Value
Static Methods
public static RepoId getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static RepoId.Builder newBuilder()
Returns
public static RepoId.Builder newBuilder(RepoId prototype)
Parameter
Name | Description |
prototype | RepoId
|
Returns
public static RepoId parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RepoId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RepoId parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static RepoId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RepoId parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static RepoId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RepoId parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RepoId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RepoId parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RepoId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RepoId parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static RepoId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<RepoId> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public RepoId getDefaultInstanceForType()
Returns
public RepoId.IdCase getIdCase()
Returns
public Parser<RepoId> getParserForType()
Returns
Overrides
public ProjectRepoId getProjectRepoId()
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
Returns
public ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder()
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
Returns
public int getSerializedSize()
Returns
Overrides
A server-assigned, globally unique identifier.
string uid = 2;
Returns
public ByteString getUidBytes()
A server-assigned, globally unique identifier.
string uid = 2;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasProjectRepoId()
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.
|
A server-assigned, globally unique identifier.
string uid = 2;
Returns
Type | Description |
boolean | Whether the uid field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RepoId.Builder newBuilderForType()
Returns
protected RepoId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public RepoId.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions