Class RemoteRepositoryConfig.AptRepository.PublicRepository (1.38.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
TypeDescription
int

REPOSITORY_PATH_FIELD_NUMBER

public static final int REPOSITORY_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RemoteRepositoryConfig.AptRepository.PublicRepository getDefaultInstance()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RemoteRepositoryConfig.AptRepository.PublicRepository.Builder newBuilder()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

newBuilder(RemoteRepositoryConfig.AptRepository.PublicRepository prototype)

public static RemoteRepositoryConfig.AptRepository.PublicRepository.Builder newBuilder(RemoteRepositoryConfig.AptRepository.PublicRepository prototype)
Parameter
NameDescription
prototypeRemoteRepositoryConfig.AptRepository.PublicRepository
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

parseDelimitedFrom(InputStream input)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.AptRepository.PublicRepository parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RemoteRepositoryConfig.AptRepository.PublicRepository getDefaultInstanceForType()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository

getParserForType()

public Parser<RemoteRepositoryConfig.AptRepository.PublicRepository> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for repositoryPath.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RemoteRepositoryConfig.AptRepository.PublicRepository.Builder newBuilderForType()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoteRepositoryConfig.AptRepository.PublicRepository.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RemoteRepositoryConfig.AptRepository.PublicRepository.Builder toBuilder()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException