Class RemoteRepositoryConfig.DockerRepository.Builder (1.30.0)

public static final class RemoteRepositoryConfig.DockerRepository.Builder extends GeneratedMessageV3.Builder<RemoteRepositoryConfig.DockerRepository.Builder> implements RemoteRepositoryConfig.DockerRepositoryOrBuilder

Configuration for a Docker remote repository.

Protobuf type google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoteRepositoryConfig.DockerRepository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RemoteRepositoryConfig.DockerRepository.Builder
Overrides

clearPublicRepository()

public RemoteRepositoryConfig.DockerRepository.Builder clearPublicRepository()

One of the publicly available Docker repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository public_repository = 1;

Returns
TypeDescription
RemoteRepositoryConfig.DockerRepository.Builder

This builder for chaining.

clearUpstream()

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPublicRepository()

public RemoteRepositoryConfig.DockerRepository.PublicRepository getPublicRepository()

One of the publicly available Docker repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository public_repository = 1;

Returns
TypeDescription
RemoteRepositoryConfig.DockerRepository.PublicRepository

The publicRepository.

getPublicRepositoryValue()

public int getPublicRepositoryValue()

One of the publicly available Docker repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository public_repository = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for publicRepository.

getUpstreamCase()

public RemoteRepositoryConfig.DockerRepository.UpstreamCase getUpstreamCase()
Returns
TypeDescription
RemoteRepositoryConfig.DockerRepository.UpstreamCase

hasPublicRepository()

public boolean hasPublicRepository()

One of the publicly available Docker repositories supported by Artifact Registry.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPublicRepository(RemoteRepositoryConfig.DockerRepository.PublicRepository value)

public RemoteRepositoryConfig.DockerRepository.Builder setPublicRepository(RemoteRepositoryConfig.DockerRepository.PublicRepository value)

One of the publicly available Docker repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository public_repository = 1;

Parameter
NameDescription
valueRemoteRepositoryConfig.DockerRepository.PublicRepository

The publicRepository to set.

Returns
TypeDescription
RemoteRepositoryConfig.DockerRepository.Builder

This builder for chaining.

setPublicRepositoryValue(int value)

public RemoteRepositoryConfig.DockerRepository.Builder setPublicRepositoryValue(int value)

One of the publicly available Docker repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository public_repository = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
RemoteRepositoryConfig.DockerRepository.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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