Class RemoteRepositoryConfig.YumRepository.PublicRepository.Builder (1.51.0)

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

Publicly available Yum repositories constructed from a common repository base and a custom repository path.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepositoryBase()

public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder clearRepositoryBase()

A common public repository base for Yum.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase repository_base = 1;

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

This builder for chaining.

clearRepositoryPath()

public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder clearRepositoryPath()

A custom field to define a path to a specific repository from the base.

string repository_path = 2;

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getRepositoryBase()

public RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase getRepositoryBase()

A common public repository base for Yum.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase repository_base = 1;

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase

The repositoryBase.

getRepositoryBaseValue()

public int getRepositoryBaseValue()

A common public repository base for Yum.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase repository_base = 1;

Returns
Type Description
int

The enum numeric value on the wire for repositoryBase.

getRepositoryPath()

public String getRepositoryPath()

A custom field to define a path to a specific repository from the base.

string repository_path = 2;

Returns
Type Description
String

The repositoryPath.

getRepositoryPathBytes()

public ByteString getRepositoryPathBytes()

A custom field to define a path to a specific repository from the base.

string repository_path = 2;

Returns
Type Description
ByteString

The bytes for repositoryPath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoteRepositoryConfig.YumRepository.PublicRepository other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRepositoryBase(RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase value)

public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder setRepositoryBase(RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase value)

A common public repository base for Yum.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase repository_base = 1;

Parameter
Name Description
value RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase

The repositoryBase to set.

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

This builder for chaining.

setRepositoryBaseValue(int value)

public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder setRepositoryBaseValue(int value)

A common public repository base for Yum.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase repository_base = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for repositoryBase to set.

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

This builder for chaining.

setRepositoryPath(String value)

public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder setRepositoryPath(String value)

A custom field to define a path to a specific repository from the base.

string repository_path = 2;

Parameter
Name Description
value String

The repositoryPath to set.

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

This builder for chaining.

setRepositoryPathBytes(ByteString value)

public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder setRepositoryPathBytes(ByteString value)

A custom field to define a path to a specific repository from the base.

string repository_path = 2;

Parameter
Name Description
value ByteString

The bytes for repositoryPath to set.

Returns
Type Description
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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