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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

The bytes for repositoryPath.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RemoteRepositoryConfig.YumRepository.PublicRepository other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The repositoryBase to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The repositoryPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for repositoryPath to set.

Returns
TypeDescription
RemoteRepositoryConfig.YumRepository.PublicRepository.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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