Class UpdateRepositoryRequest
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.4.0keyboard_arrow_down
public final class UpdateRepositoryRequest extends GeneratedMessageV3 implements UpdateRepositoryRequestOrBuilder
The request to update a repository.
Protobuf type google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
Fields
public static final int REPOSITORY_FIELD_NUMBER
Field Value
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public static UpdateRepositoryRequest getDefaultInstance ()
Returns
public UpdateRepositoryRequest getDefaultInstanceForType ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public Parser<UpdateRepositoryRequest> getParserForType ()
Returns
Overrides
public Repository getRepository ()
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 int getSerializedSize ()
Returns
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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 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.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public static UpdateRepositoryRequest . Builder newBuilder ()
Returns
public static UpdateRepositoryRequest . Builder newBuilder ( UpdateRepositoryRequest prototype )
Parameter
Returns
public UpdateRepositoryRequest . Builder newBuilderForType ()
Returns
protected UpdateRepositoryRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public static UpdateRepositoryRequest parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<UpdateRepositoryRequest> parser ()
Returns
public UpdateRepositoryRequest . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]