Class RemoteRepositoryConfig.AptRepository.Builder (1.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoteRepositoryConfig.AptRepository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder
Overrides

build()

public RemoteRepositoryConfig.AptRepository build()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository

buildPartial()

public RemoteRepositoryConfig.AptRepository buildPartial()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository

clear()

public RemoteRepositoryConfig.AptRepository.Builder clear()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RemoteRepositoryConfig.AptRepository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoteRepositoryConfig.AptRepository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder

clearUpstream()

public RemoteRepositoryConfig.AptRepository.Builder clearUpstream()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder

clone()

public RemoteRepositoryConfig.AptRepository.Builder clone()
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepositoryOrBuilder

getUpstreamCase()

public RemoteRepositoryConfig.AptRepository.UpstreamCase getUpstreamCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the publicRepository field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RemoteRepositoryConfig.AptRepository other)

public RemoteRepositoryConfig.AptRepository.Builder mergeFrom(RemoteRepositoryConfig.AptRepository other)
Parameter
NameDescription
otherRemoteRepositoryConfig.AptRepository
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RemoteRepositoryConfig.AptRepository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RemoteRepositoryConfig.AptRepository.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.AptRepository.PublicRepository
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoteRepositoryConfig.AptRepository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RemoteRepositoryConfig.AptRepository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.AptRepository.PublicRepository
Returns
TypeDescription
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
NameDescription
builderForValueRemoteRepositoryConfig.AptRepository.PublicRepository.Builder
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder

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

public RemoteRepositoryConfig.AptRepository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoteRepositoryConfig.AptRepository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.Builder
Overrides