Class RemoteRepositoryConfig.YumRepository.Builder (1.53.0)

public static final class RemoteRepositoryConfig.YumRepository.Builder extends GeneratedMessageV3.Builder<RemoteRepositoryConfig.YumRepository.Builder> implements RemoteRepositoryConfig.YumRepositoryOrBuilder

Configuration for a Yum remote repository.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearCustomRepository()

public RemoteRepositoryConfig.YumRepository.Builder clearCustomRepository()

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository custom_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.YumRepository.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPublicRepository()

public RemoteRepositoryConfig.YumRepository.Builder clearPublicRepository()

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

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

Returns
Type Description
RemoteRepositoryConfig.YumRepository.Builder

clearUpstream()

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

clone()

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

getCustomRepository()

public RemoteRepositoryConfig.YumRepository.CustomRepository getCustomRepository()

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository custom_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.YumRepository.CustomRepository

The customRepository.

getCustomRepositoryBuilder()

public RemoteRepositoryConfig.YumRepository.CustomRepository.Builder getCustomRepositoryBuilder()

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository custom_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.YumRepository.CustomRepository.Builder

getCustomRepositoryOrBuilder()

public RemoteRepositoryConfig.YumRepository.CustomRepositoryOrBuilder getCustomRepositoryOrBuilder()

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository custom_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.YumRepository.CustomRepositoryOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPublicRepository()

public RemoteRepositoryConfig.YumRepository.PublicRepository getPublicRepository()

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

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

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository

The publicRepository.

getPublicRepositoryBuilder()

public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder getPublicRepositoryBuilder()

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

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

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

getPublicRepositoryOrBuilder()

public RemoteRepositoryConfig.YumRepository.PublicRepositoryOrBuilder getPublicRepositoryOrBuilder()

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

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

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepositoryOrBuilder

getUpstreamCase()

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

hasCustomRepository()

public boolean hasCustomRepository()

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository custom_repository = 3;

Returns
Type Description
boolean

Whether the customRepository field is set.

hasPublicRepository()

public boolean hasPublicRepository()

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

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.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

mergeCustomRepository(RemoteRepositoryConfig.YumRepository.CustomRepository value)

public RemoteRepositoryConfig.YumRepository.Builder mergeCustomRepository(RemoteRepositoryConfig.YumRepository.CustomRepository value)

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository custom_repository = 3;

Parameter
Name Description
value RemoteRepositoryConfig.YumRepository.CustomRepository
Returns
Type Description
RemoteRepositoryConfig.YumRepository.Builder

mergeFrom(RemoteRepositoryConfig.YumRepository other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePublicRepository(RemoteRepositoryConfig.YumRepository.PublicRepository value)

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

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

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomRepository(RemoteRepositoryConfig.YumRepository.CustomRepository value)

public RemoteRepositoryConfig.YumRepository.Builder setCustomRepository(RemoteRepositoryConfig.YumRepository.CustomRepository value)

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository custom_repository = 3;

Parameter
Name Description
value RemoteRepositoryConfig.YumRepository.CustomRepository
Returns
Type Description
RemoteRepositoryConfig.YumRepository.Builder

setCustomRepository(RemoteRepositoryConfig.YumRepository.CustomRepository.Builder builderForValue)

public RemoteRepositoryConfig.YumRepository.Builder setCustomRepository(RemoteRepositoryConfig.YumRepository.CustomRepository.Builder builderForValue)

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository custom_repository = 3;

Parameter
Name Description
builderForValue RemoteRepositoryConfig.YumRepository.CustomRepository.Builder
Returns
Type Description
RemoteRepositoryConfig.YumRepository.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPublicRepository(RemoteRepositoryConfig.YumRepository.PublicRepository value)

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

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

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

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

setPublicRepository(RemoteRepositoryConfig.YumRepository.PublicRepository.Builder builderForValue)

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

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

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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