public final class ProjectRepoId extends GeneratedMessageV3 implements ProjectRepoIdOrBuilder
Selects a repo using a Google Cloud Platform project ID (e.g.,
winged-cargo-31) and a repo name within that project.
Protobuf type grafeas.v1beta1.source.ProjectRepoId
Static Fields
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value
REPO_NAME_FIELD_NUMBER
public static final int REPO_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ProjectRepoId getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ProjectRepoId.Builder newBuilder()
Returns
newBuilder(ProjectRepoId prototype)
public static ProjectRepoId.Builder newBuilder(ProjectRepoId prototype)
Parameter
Returns
public static ProjectRepoId parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProjectRepoId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ProjectRepoId parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProjectRepoId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ProjectRepoId parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProjectRepoId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProjectRepoId parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ProjectRepoId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProjectRepoId parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProjectRepoId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ProjectRepoId parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProjectRepoId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ProjectRepoId> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ProjectRepoId getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ProjectRepoId> getParserForType()
Returns
Overrides
getProjectId()
public String getProjectId()
The ID of the project.
string project_id = 1;
Returns
Type | Description |
String | The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
The ID of the project.
string project_id = 1;
Returns
getRepoName()
public String getRepoName()
The name of the repo. Leave empty for the default repo.
string repo_name = 2;
Returns
Type | Description |
String | The repoName.
|
getRepoNameBytes()
public ByteString getRepoNameBytes()
The name of the repo. Leave empty for the default repo.
string repo_name = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ProjectRepoId.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProjectRepoId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ProjectRepoId.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions