Class Repository.DockerRepositoryConfig.Builder (1.36.0)

public static final class Repository.DockerRepositoryConfig.Builder extends GeneratedMessageV3.Builder<Repository.DockerRepositoryConfig.Builder> implements Repository.DockerRepositoryConfigOrBuilder

DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type.

Protobuf type google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Repository.DockerRepositoryConfig build()
Returns
TypeDescription
Repository.DockerRepositoryConfig

buildPartial()

public Repository.DockerRepositoryConfig buildPartial()
Returns
TypeDescription
Repository.DockerRepositoryConfig

clear()

public Repository.DockerRepositoryConfig.Builder clear()
Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Repository.DockerRepositoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder
Overrides

clearImmutableTags()

public Repository.DockerRepositoryConfig.Builder clearImmutableTags()

The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.

bool immutable_tags = 1;

Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Repository.DockerRepositoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder
Overrides

clone()

public Repository.DockerRepositoryConfig.Builder clone()
Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder
Overrides

getDefaultInstanceForType()

public Repository.DockerRepositoryConfig getDefaultInstanceForType()
Returns
TypeDescription
Repository.DockerRepositoryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImmutableTags()

public boolean getImmutableTags()

The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.

bool immutable_tags = 1;

Returns
TypeDescription
boolean

The immutableTags.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Repository.DockerRepositoryConfig other)

public Repository.DockerRepositoryConfig.Builder mergeFrom(Repository.DockerRepositoryConfig other)
Parameter
NameDescription
otherRepository.DockerRepositoryConfig
Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Repository.DockerRepositoryConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Repository.DockerRepositoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setImmutableTags(boolean value)

public Repository.DockerRepositoryConfig.Builder setImmutableTags(boolean value)

The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.

bool immutable_tags = 1;

Parameter
NameDescription
valueboolean

The immutableTags to set.

Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Repository.DockerRepositoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Repository.DockerRepositoryConfig.Builder
Overrides