public static final class RepoId.Builder extends GeneratedMessage.Builder<RepoId.Builder> implements RepoIdOrBuilderA unique identifier for a Cloud Repo.
Protobuf type grafeas.v1.RepoId
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RepoId.BuilderImplements
RepoIdOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RepoId build()| Returns | |
|---|---|
| Type | Description |
RepoId |
|
buildPartial()
public RepoId buildPartial()| Returns | |
|---|---|
| Type | Description |
RepoId |
|
clear()
public RepoId.Builder clear()| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
clearId()
public RepoId.Builder clearId()| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
clearProjectRepoId()
public RepoId.Builder clearProjectRepoId()A combination of a project ID and a repo name.
.grafeas.v1.ProjectRepoId project_repo_id = 1;
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
clearUid()
public RepoId.Builder clearUid()A server-assigned, globally unique identifier.
string uid = 2;
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RepoId getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RepoId |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIdCase()
public RepoId.IdCase getIdCase()| Returns | |
|---|---|
| Type | Description |
RepoId.IdCase |
|
getProjectRepoId()
public ProjectRepoId getProjectRepoId()A combination of a project ID and a repo name.
.grafeas.v1.ProjectRepoId project_repo_id = 1;
| Returns | |
|---|---|
| Type | Description |
ProjectRepoId |
The projectRepoId. |
getProjectRepoIdBuilder()
public ProjectRepoId.Builder getProjectRepoIdBuilder()A combination of a project ID and a repo name.
.grafeas.v1.ProjectRepoId project_repo_id = 1;
| Returns | |
|---|---|
| Type | Description |
ProjectRepoId.Builder |
|
getProjectRepoIdOrBuilder()
public ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder()A combination of a project ID and a repo name.
.grafeas.v1.ProjectRepoId project_repo_id = 1;
| Returns | |
|---|---|
| Type | Description |
ProjectRepoIdOrBuilder |
|
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.v1.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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RepoId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RepoId.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
mergeFrom(RepoId other)
public RepoId.Builder mergeFrom(RepoId other)| Parameter | |
|---|---|
| Name | Description |
other |
RepoId |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
mergeProjectRepoId(ProjectRepoId value)
public RepoId.Builder mergeProjectRepoId(ProjectRepoId value)A combination of a project ID and a repo name.
.grafeas.v1.ProjectRepoId project_repo_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ProjectRepoId |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
setProjectRepoId(ProjectRepoId value)
public RepoId.Builder setProjectRepoId(ProjectRepoId value)A combination of a project ID and a repo name.
.grafeas.v1.ProjectRepoId project_repo_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ProjectRepoId |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
setProjectRepoId(ProjectRepoId.Builder builderForValue)
public RepoId.Builder setProjectRepoId(ProjectRepoId.Builder builderForValue)A combination of a project ID and a repo name.
.grafeas.v1.ProjectRepoId project_repo_id = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProjectRepoId.Builder |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
|
setUid(String value)
public RepoId.Builder setUid(String value)A server-assigned, globally unique identifier.
string uid = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uid to set. |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public RepoId.Builder setUidBytes(ByteString value)A server-assigned, globally unique identifier.
string uid = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uid to set. |
| Returns | |
|---|---|
| Type | Description |
RepoId.Builder |
This builder for chaining. |