public final class RepoId extends GeneratedMessageV3 implements RepoIdOrBuilder
A unique identifier for a Cloud Repo.
Protobuf type grafeas.v1beta1.source.RepoId
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()
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)
public static RepoId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RepoId parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RepoId parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(CodedInputStream input)
public static RepoId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(InputStream input)
public static RepoId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RepoId parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
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()
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)
Overrides
toBuilder()
public RepoId.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides