Class RemoteRepositoryConfig.AptRepository.Builder (1.47.0)

public static final class RemoteRepositoryConfig.AptRepository.Builder extends GeneratedMessageV3.Builder<RemoteRepositoryConfig.AptRepository.Builder> implements RemoteRepositoryConfig.AptRepositoryOrBuilder

Configuration for an Apt remote repository.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoteRepositoryConfig.AptRepository build()
Returns
Type Description
RemoteRepositoryConfig.AptRepository

buildPartial()

public RemoteRepositoryConfig.AptRepository buildPartial()
Returns
Type Description
RemoteRepositoryConfig.AptRepository

clear()

public RemoteRepositoryConfig.AptRepository.Builder clear()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPublicRepository()

public RemoteRepositoryConfig.AptRepository.Builder clearPublicRepository()

One of the publicly available Apt repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;

Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder

clearUpstream()

public RemoteRepositoryConfig.AptRepository.Builder clearUpstream()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder

clone()

public RemoteRepositoryConfig.AptRepository.Builder clone()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPublicRepository()

public RemoteRepositoryConfig.AptRepository.PublicRepository getPublicRepository()

One of the publicly available Apt repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;

Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository

The publicRepository.

getPublicRepositoryBuilder()

public RemoteRepositoryConfig.AptRepository.PublicRepository.Builder getPublicRepositoryBuilder()

One of the publicly available Apt repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;

Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

getPublicRepositoryOrBuilder()

public RemoteRepositoryConfig.AptRepository.PublicRepositoryOrBuilder getPublicRepositoryOrBuilder()

One of the publicly available Apt repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;

Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepositoryOrBuilder

getUpstreamCase()

public RemoteRepositoryConfig.AptRepository.UpstreamCase getUpstreamCase()
Returns
Type Description
RemoteRepositoryConfig.AptRepository.UpstreamCase

hasPublicRepository()

public boolean hasPublicRepository()

One of the publicly available Apt repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;

Returns
Type Description
boolean

Whether the publicRepository field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoteRepositoryConfig.AptRepository other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository value)

public RemoteRepositoryConfig.AptRepository.Builder mergePublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository value)

One of the publicly available Apt repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;

Parameter
Name Description
value RemoteRepositoryConfig.AptRepository.PublicRepository
Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository value)

public RemoteRepositoryConfig.AptRepository.Builder setPublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository value)

One of the publicly available Apt repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;

Parameter
Name Description
value RemoteRepositoryConfig.AptRepository.PublicRepository
Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder

setPublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository.Builder builderForValue)

public RemoteRepositoryConfig.AptRepository.Builder setPublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository.Builder builderForValue)

One of the publicly available Apt repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;

Parameter
Name Description
builderForValue RemoteRepositoryConfig.AptRepository.PublicRepository.Builder
Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder

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

public RemoteRepositoryConfig.AptRepository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoteRepositoryConfig.AptRepository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder
Overrides