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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public RepoId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RepoId buildPartial()
public RepoId.Builder clear()
Overrides
public RepoId.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RepoId.Builder clearId()
public RepoId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RepoId.Builder clearProjectRepoId()
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
public RepoId.Builder clearUid()
A server-assigned, globally unique identifier.
string uid = 2;
public RepoId.Builder clone()
Overrides
public RepoId getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RepoId.IdCase getIdCase()
public ProjectRepoId getProjectRepoId()
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
public ProjectRepoId.Builder getProjectRepoIdBuilder()
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
public ProjectRepoIdOrBuilder getProjectRepoIdOrBuilder()
A combination of a project ID and a repo name.
.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
A server-assigned, globally unique identifier.
string uid = 2;
Returns |
---|
Type | Description |
String | The uid.
|
public ByteString getUidBytes()
A server-assigned, globally unique identifier.
string uid = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for uid.
|
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()
Overrides
public final boolean isInitialized()
Overrides
public RepoId.Builder mergeFrom(RepoId other)
Parameter |
---|
Name | Description |
other | RepoId
|
public RepoId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RepoId.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
public final RepoId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RepoId.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
public RepoId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
public final RepoId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides