Class RepoId (2.13.0)

  public 
  
 final 
  
 class 
 RepoId 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 RepoIdOrBuilder 
 

A unique identifier for a Cloud Repo.

Protobuf type grafeas.v1.RepoId

Implements

RepoIdOrBuilder

Static Fields

PROJECT_REPO_ID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 PROJECT_REPO_ID_FIELD_NUMBER 
 
Field Value
Type Description
int

UID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 UID_FIELD_NUMBER 
 
Field Value
Type Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 RepoId 
  
 getDefaultInstance 
 () 
 
Returns
Type Description
RepoId

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 RepoId 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type Description
RepoId.Builder

newBuilder(RepoId prototype)

  public 
  
 static 
  
 RepoId 
 . 
 Builder 
  
 newBuilder 
 ( 
 RepoId 
  
 prototype 
 ) 
 
Parameter
Name Description
prototype RepoId
Returns
Type Description
RepoId.Builder

parseDelimitedFrom(InputStream input)

  public 
  
 static 
  
 RepoId 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name Description
input InputStream
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 RepoId 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(byte[] data)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name Description
data byte []
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name Description
data byte []
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name Description
data ByteString
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(InputStream input)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name Description
input InputStream
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 RepoId 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepoId
Exceptions
Type Description
InvalidProtocolBufferException

parser()

  public 
  
 static 
  
 Parser<RepoId> 
  
 parser 
 () 
 
Returns
Type Description
Parser < RepoId >

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

  public 
  
 RepoId 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type Description
RepoId

getIdCase()

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

getParserForType()

  public 
  
 Parser<RepoId> 
  
 getParserForType 
 () 
 
Returns
Type Description
Parser < RepoId >
Overrides

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.

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

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type Description
int
Overrides

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.

getUnknownFields()

  public 
  
 final 
  
 UnknownFieldSet 
  
 getUnknownFields 
 () 
 
Returns
Type Description
UnknownFieldSet
Overrides

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.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 RepoId 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RepoId.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException
Create a Mobile Website
View Site in Mobile | Classic
Share by: