Class RemoteRepositoryConfig.AptRepository.PublicRepository (1.40.0)

public static final class RemoteRepositoryConfig.AptRepository.PublicRepository extends GeneratedMessageV3 implements RemoteRepositoryConfig.AptRepository.PublicRepositoryOrBuilder

Publicly available Apt repositories constructed from a common repository base and a custom repository path.

Protobuf type google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RemoteRepositoryConfig.AptRepository.PublicRepository

Static Fields

REPOSITORY_BASE_FIELD_NUMBER

public static final int REPOSITORY_BASE_FIELD_NUMBER
Field Value
Type Description
int

REPOSITORY_PATH_FIELD_NUMBER

public static final int REPOSITORY_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RemoteRepositoryConfig.AptRepository.PublicRepository getDefaultInstance()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository

getDescriptor()

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

newBuilder()

public static RemoteRepositoryConfig.AptRepository.PublicRepository.Builder newBuilder()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

newBuilder(RemoteRepositoryConfig.AptRepository.PublicRepository prototype)

public static RemoteRepositoryConfig.AptRepository.PublicRepository.Builder newBuilder(RemoteRepositoryConfig.AptRepository.PublicRepository prototype)
Parameter
Name Description
prototype RemoteRepositoryConfig.AptRepository.PublicRepository
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

parseDelimitedFrom(InputStream input)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RemoteRepositoryConfig.AptRepository.PublicRepository> parser()
Returns
Type Description
Parser<PublicRepository>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RemoteRepositoryConfig.AptRepository.PublicRepository getDefaultInstanceForType()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository

getParserForType()

public Parser<RemoteRepositoryConfig.AptRepository.PublicRepository> getParserForType()
Returns
Type Description
Parser<PublicRepository>
Overrides

getRepositoryBase()

public RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase getRepositoryBase()

A common public repository base for Apt.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase repository_base = 1;

Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase

The repositoryBase.

getRepositoryBaseValue()

public int getRepositoryBaseValue()

A common public repository base for Apt.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase repository_base = 1;

Returns
Type Description
int

The enum numeric value on the wire for repositoryBase.

getRepositoryPath()

public String getRepositoryPath()

A custom field to define a path to a specific repository from the base.

string repository_path = 2;

Returns
Type Description
String

The repositoryPath.

getRepositoryPathBytes()

public ByteString getRepositoryPathBytes()

A custom field to define a path to a specific repository from the base.

string repository_path = 2;

Returns
Type Description
ByteString

The bytes for repositoryPath.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 RemoteRepositoryConfig.AptRepository.PublicRepository.Builder newBuilderForType()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoteRepositoryConfig.AptRepository.PublicRepository.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RemoteRepositoryConfig.AptRepository.PublicRepository.Builder toBuilder()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException