public static final class UpdateRepositoryRequest.Builder extends GeneratedMessageV3.Builder<UpdateRepositoryRequest.Builder> implements UpdateRepositoryRequestOrBuilder
The request to update a repository.
Protobuf type google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
Methods
public UpdateRepositoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateRepositoryRequest build()
Returns
public UpdateRepositoryRequest buildPartial()
Returns
public UpdateRepositoryRequest.Builder clear()
Returns
Overrides
public UpdateRepositoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UpdateRepositoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UpdateRepositoryRequest.Builder clearRepository()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Returns
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
public UpdateRepositoryRequest.Builder clone()
Returns
Overrides
public UpdateRepositoryRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Repository getRepository()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Returns
public Repository.Builder getRepositoryBuilder()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Returns
public RepositoryOrBuilder getRepositoryOrBuilder()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Returns
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
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
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
public boolean hasRepository()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Returns
Type | Description |
boolean | Whether the repository field is set.
|
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
Type | Description |
boolean | Whether the updateMask field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateRepositoryRequest.Builder mergeFrom(UpdateRepositoryRequest other)
Parameter
Returns
public UpdateRepositoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdateRepositoryRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public UpdateRepositoryRequest.Builder mergeRepository(Repository value)
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Parameter
Returns
public final UpdateRepositoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public UpdateRepositoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateRepositoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public UpdateRepositoryRequest.Builder setRepository(Repository value)
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Parameter
Returns
public UpdateRepositoryRequest.Builder setRepository(Repository.Builder builderForValue)
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Parameter
Returns
public final UpdateRepositoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns