Class RemoteRepositoryConfig.AptRepository.PublicRepository.Builder (1.46.0)

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

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

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepositoryBase()

public RemoteRepositoryConfig.AptRepository.PublicRepository.Builder clearRepositoryBase()

A common public repository base for Apt.

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

Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

This builder for chaining.

clearRepositoryPath()

public RemoteRepositoryConfig.AptRepository.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.AptRepository.PublicRepository.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getRepositoryBase()

public RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase getRepositoryBase()

A common public repository base for Apt.

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

Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase

The repositoryBase.

getRepositoryBaseValue()

public int getRepositoryBaseValue()

A common public repository base for Apt.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.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.AptRepository.PublicRepository other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRepositoryBase(RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase value)

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

A common public repository base for Apt.

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

Parameter
Name Description
value RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase

The repositoryBase to set.

Returns
Type Description
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

This builder for chaining.

setRepositoryBaseValue(int value)

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

A common public repository base for Apt.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.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.AptRepository.PublicRepository.Builder

This builder for chaining.

setRepositoryPath(String value)

public RemoteRepositoryConfig.AptRepository.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.AptRepository.PublicRepository.Builder

This builder for chaining.

setRepositoryPathBytes(ByteString value)

public RemoteRepositoryConfig.AptRepository.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.AptRepository.PublicRepository.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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