Class RemoteRepositoryConfig.YumRepository.Builder (1.45.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

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

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

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

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

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