Class UpdateRepositoryRequest.Builder (1.30.0)

public static final class UpdateRepositoryRequest.Builder extends GeneratedMessageV3.Builder<UpdateRepositoryRequest.Builder> implements UpdateRepositoryRequestOrBuilder

The request to update a repository.

Protobuf type google.devtools.artifactregistry.v1.UpdateRepositoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateRepositoryRequest build()
Returns
TypeDescription
UpdateRepositoryRequest

buildPartial()

public UpdateRepositoryRequest buildPartial()
Returns
TypeDescription
UpdateRepositoryRequest

clear()

public UpdateRepositoryRequest.Builder clear()
Returns
TypeDescription
UpdateRepositoryRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepository()

public UpdateRepositoryRequest.Builder clearRepository()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1.Repository repository = 1;

Returns
TypeDescription
UpdateRepositoryRequest.Builder

clearUpdateMask()

public UpdateRepositoryRequest.Builder clearUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateRepositoryRequest.Builder

clone()

public UpdateRepositoryRequest.Builder clone()
Returns
TypeDescription
UpdateRepositoryRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateRepositoryRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateRepositoryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRepository()

public Repository getRepository()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1.Repository repository = 1;

Returns
TypeDescription
Repository

The repository.

getRepositoryBuilder()

public Repository.Builder getRepositoryBuilder()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1.Repository repository = 1;

Returns
TypeDescription
Repository.Builder

getRepositoryOrBuilder()

public RepositoryOrBuilder getRepositoryOrBuilder()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1.Repository repository = 1;

Returns
TypeDescription
RepositoryOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasRepository()

public boolean hasRepository()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1.Repository repository = 1;

Returns
TypeDescription
boolean

Whether the repository field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateRepositoryRequest other)

public UpdateRepositoryRequest.Builder mergeFrom(UpdateRepositoryRequest other)
Parameter
NameDescription
otherUpdateRepositoryRequest
Returns
TypeDescription
UpdateRepositoryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRepository(Repository value)

public UpdateRepositoryRequest.Builder mergeRepository(Repository value)

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1.Repository repository = 1;

Parameter
NameDescription
valueRepository
Returns
TypeDescription
UpdateRepositoryRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateRepositoryRequest.Builder mergeUpdateMask(FieldMask value)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRepositoryRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRepository(Repository value)

public UpdateRepositoryRequest.Builder setRepository(Repository value)

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1.Repository repository = 1;

Parameter
NameDescription
valueRepository
Returns
TypeDescription
UpdateRepositoryRequest.Builder

setRepository(Repository.Builder builderForValue)

public UpdateRepositoryRequest.Builder setRepository(Repository.Builder builderForValue)

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1.Repository repository = 1;

Parameter
NameDescription
builderForValueRepository.Builder
Returns
TypeDescription
UpdateRepositoryRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateRepositoryRequest.Builder setUpdateMask(FieldMask value)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRepositoryRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRepositoryRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateRepositoryRequest.Builder