Class RemoteRepositoryConfig.YumRepository.Builder (1.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpstream()

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getUpstreamCase()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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