public final class RepoId extends GeneratedMessage implements RepoIdOrBuilderA unique identifier for a Cloud Repo.
Protobuf type grafeas.v1beta1.source.RepoId
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RepoIdImplements
RepoIdOrBuilderStatic 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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static RepoId.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
newBuilder(RepoId prototype)
public static RepoId.Builder newBuilder(RepoId prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
RepoId |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
parseDelimitedFrom(InputStream input)
public static RepoId parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RepoId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static RepoId parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static RepoId parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static RepoId parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static RepoId parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static RepoId parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RepoId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RepoId |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<RepoId> parser()| Returns | |
|---|---|
| Type | Description |
Parser<RepoId> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public RepoId getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RepoId |
|
getIdCase()
public RepoId.IdCase getIdCase()| Returns | |
|---|---|
| Type | Description |
RepoId.IdCase |
|
getParserForType()
public Parser<RepoId> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<RepoId> |
|
getProjectRepoId()
public ProjectRepoId getProjectRepoId()A combination of a project ID and a repo name.
.grafeas.v1beta1.source.ProjectRepoId project_repo_id = 1;
| Returns | |
|---|---|
| Type | Description |
ProjectRepoId |
The projectRepoId. |
getProjectRepoIdOrBuilder()
public ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder()A combination of a project ID and a repo name.
.grafeas.v1beta1.source.ProjectRepoId project_repo_id = 1;
| Returns | |
|---|---|
| Type | Description |
ProjectRepoIdOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getUid()
public String 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. |
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. |
hasUid()
public boolean hasUid()A server-assigned, globally unique identifier.
string uid = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the uid field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public RepoId.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RepoId.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
toBuilder()
public RepoId.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|