Class RepoId.Builder (1.44.0)

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

Implements

RepoIdOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RepoId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RepoId.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public RepoId.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RepoId.Builder
Overrides

clearId()

public RepoId.Builder clearId()
Returns
Type Description
RepoId.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RepoId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RepoId.Builder
Overrides

clearProjectRepoId()

public RepoId.Builder clearProjectRepoId()

A combination of a project ID and a repo name.

.google.devtools.source.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.

clone()

public RepoId.Builder clone()
Returns
Type Description
RepoId.Builder
Overrides

getDefaultInstanceForType()

public RepoId getDefaultInstanceForType()
Returns
Type Description
RepoId

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIdCase()

public RepoId.IdCase getIdCase()
Returns
Type Description
RepoId.IdCase

getProjectRepoId()

public ProjectRepoId getProjectRepoId()

A combination of a project ID and a repo name.

.google.devtools.source.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.

.google.devtools.source.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.

.google.devtools.source.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.

.google.devtools.source.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RepoId other)

public RepoId.Builder mergeFrom(RepoId other)
Parameter
Name Description
other RepoId
Returns
Type Description
RepoId.Builder

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RepoId.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RepoId.Builder
Overrides

mergeProjectRepoId(ProjectRepoId value)

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
Name Description
value ProjectRepoId
Returns
Type Description
RepoId.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RepoId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RepoId.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RepoId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RepoId.Builder
Overrides

setProjectRepoId(ProjectRepoId value)

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
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.

.google.devtools.source.v1.ProjectRepoId project_repo_id = 1;

Parameter
Name Description
builderForValue ProjectRepoId.Builder
Returns
Type Description
RepoId.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RepoId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RepoId.Builder
Overrides

setUid(String value)

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
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 ByteString

The bytes for uid to set.

Returns
Type Description
RepoId.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RepoId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RepoId.Builder
Overrides