Class RepoId.Builder (2.47.0)

  public 
  
 static 
  
 final 
  
 class 
 RepoId 
 . 
 Builder 
  
 extends 
  
 GeneratedMessageV3 
 . 
 Builder<RepoId 
 . 
 Builder 
>  
 implements 
  
 RepoIdOrBuilder 
 

A unique identifier for a Cloud Repo.

Protobuf type grafeas.v1.RepoId

Implements

RepoIdOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

  public 
  
 RepoId 
  
 build 
 () 
 
Returns
Type
Description

buildPartial()

  public 
  
 RepoId 
  
 buildPartial 
 () 
 
Returns
Type
Description

clear()

  public 
  
 RepoId 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type
Description
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearId()

  public 
  
 RepoId 
 . 
 Builder 
  
 clearId 
 () 
 
Returns
Type
Description

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clearUid()

  public 
  
 RepoId 
 . 
 Builder 
  
 clearUid 
 () 
 

A server-assigned, globally unique identifier.

string uid = 2;

Returns
Type
Description

This builder for chaining.

clone()

  public 
  
 RepoId 
 . 
 Builder 
  
 clone 
 () 
 
Returns
Type
Description
Overrides

getDefaultInstanceForType()

  public 
  
 RepoId 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDescriptorForType()

  public 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptorForType 
 () 
 
Returns
Type
Description
Overrides

getIdCase()

  public 
  
 RepoId 
 . 
 IdCase 
  
 getIdCase 
 () 
 
Returns
Type
Description

getProjectRepoId()

  public 
  
 ProjectRepoId 
  
 getProjectRepoId 
 () 
 

A combination of a project ID and a repo name.

.grafeas.v1.ProjectRepoId project_repo_id = 1;

Returns
Type
Description

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

getProjectRepoIdOrBuilder()

  public 
  
 ProjectRepoIdOrBuilder 
  
 getProjectRepoIdOrBuilder 
 () 
 

A combination of a project ID and a repo name.

.grafeas.v1.ProjectRepoId project_repo_id = 1;

Returns
Type
Description

getUid()

  public 
  
 String 
  
 getUid 
 () 
 

A server-assigned, globally unique identifier.

string uid = 2;

Returns
Type
Description

The uid.

getUidBytes()

  public 
  
 ByteString 
  
 getUidBytes 
 () 
 

A server-assigned, globally unique identifier.

string uid = 2;

Returns
Type
Description

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

Whether the projectRepoId field is set.

hasUid()

  public 
  
 boolean 
  
 hasUid 
 () 
 

A server-assigned, globally unique identifier.

string uid = 2;

Returns
Type
Description

Whether the uid field is set.

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 RepoId 
 . 
 Builder 
  
 mergeFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Overrides
Exceptions
Type
Description

mergeFrom(Message other)

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

mergeFrom(RepoId other)

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

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
Returns
Type
Description

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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
Returns
Type
Description

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
Returns
Type
Description

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

  public 
  
 RepoId 
 . 
 Builder 
  
 setRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 int 
  
 index 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
index
int
value
Returns
Type
Description
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

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 RepoId 
 . 
 Builder 
  
 setUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
Overrides
Design a Mobile Site
View Site in Mobile | Classic
Share by: