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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The repositoryBase to set.

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

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

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

The repositoryPath to set.

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

The bytes for repositoryPath to set.

Returns
TypeDescription
RemoteRepositoryConfig.AptRepository.PublicRepository.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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