Class RepoId (1.5.0)

public final class RepoId extends GeneratedMessageV3 implements RepoIdOrBuilder

A unique identifier for a cloud repo.

Protobuf type google.devtools.source.v1.RepoId

Implements

RepoIdOrBuilder

Static Fields

PROJECT_REPO_ID_FIELD_NUMBER

public static final int PROJECT_REPO_ID_FIELD_NUMBER
Field Value
TypeDescription
int

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RepoId getDefaultInstance()
Returns
TypeDescription
RepoId

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RepoId.Builder newBuilder()
Returns
TypeDescription
RepoId.Builder

newBuilder(RepoId prototype)

public static RepoId.Builder newBuilder(RepoId prototype)
Parameter
NameDescription
prototypeRepoId
Returns
TypeDescription
RepoId.Builder

parseDelimitedFrom(InputStream input)

public static RepoId parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepoId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RepoId parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RepoId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RepoId parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RepoId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RepoId parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RepoId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RepoId parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepoId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RepoId parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepoId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepoId
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RepoId> parser()
Returns
TypeDescription
Parser<RepoId>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RepoId getDefaultInstanceForType()
Returns
TypeDescription
RepoId

getIdCase()

public RepoId.IdCase getIdCase()
Returns
TypeDescription
RepoId.IdCase

getParserForType()

public Parser<RepoId> getParserForType()
Returns
TypeDescription
Parser<RepoId>
Overrides

getProjectRepoId()

public ProjectRepoId getProjectRepoId()

A combination of a project ID and a repo name.

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

Returns
TypeDescription
ProjectRepoId

The projectRepoId.

getProjectRepoIdOrBuilder()

public ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder()

A combination of a project ID and a repo name.

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

Returns
TypeDescription
ProjectRepoIdOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUid()

public String getUid()

A server-assigned, globally unique identifier.

string uid = 2;

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

A server-assigned, globally unique identifier.

string uid = 2;

Returns
TypeDescription
ByteString

The bytes for uid.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasProjectRepoId()

public boolean hasProjectRepoId()

A combination of a project ID and a repo name.

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

Returns
TypeDescription
boolean

Whether the projectRepoId field is set.

hasUid()

public boolean hasUid()

A server-assigned, globally unique identifier.

string uid = 2;

Returns
TypeDescription
boolean

Whether the uid field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RepoId.Builder newBuilderForType()
Returns
TypeDescription
RepoId.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepoId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RepoId.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RepoId.Builder toBuilder()
Returns
TypeDescription
RepoId.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException