public static final class RepoId.Builder extends GeneratedMessageV3.Builder<RepoId.Builder> implements RepoIdOrBuilder
A unique identifier for a cloud repo.
Protobuf type google.devtools.source.v1.RepoId
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public RepoId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
Returns
public RepoId buildPartial()
Returns
public RepoId.Builder clear()
Returns
Overrides
public RepoId.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public RepoId.Builder clearId()
Returns
public RepoId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public RepoId.Builder clearProjectRepoId()
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
Returns
public RepoId.Builder clearUid()
A server-assigned, globally unique identifier.
string uid = 2;
Returns
public RepoId.Builder clone()
Returns
Overrides
public RepoId getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public RepoId.IdCase getIdCase()
Returns
public ProjectRepoId getProjectRepoId()
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
Returns
public ProjectRepoId.Builder getProjectRepoIdBuilder()
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
A server-assigned, globally unique identifier.
string uid = 2;
Returns
public ByteString getUidBytes()
A server-assigned, globally unique identifier.
string uid = 2;
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RepoId.Builder mergeFrom(RepoId other)
Parameter
Returns
public RepoId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RepoId.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public RepoId.Builder mergeProjectRepoId(ProjectRepoId value)
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
Parameter
Returns
public final RepoId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public RepoId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RepoId.Builder setProjectRepoId(ProjectRepoId value)
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
Parameter
Returns
public RepoId.Builder setProjectRepoId(ProjectRepoId.Builder builderForValue)
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
Parameter
Returns
public RepoId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public RepoId.Builder setUid(String value)
A server-assigned, globally unique identifier.
string uid = 2;
Parameter
Name | Description |
value | String
The uid to set.
|
Returns
public RepoId.Builder setUidBytes(ByteString value)
A server-assigned, globally unique identifier.
string uid = 2;
Parameter
Name | Description |
value | ByteString
The bytes for uid to set.
|
Returns
public final RepoId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides