Send feedback
Class UpdateRepositoryRequest.Builder (1.2.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.2.4 keyboard_arrow_down
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
public static final Descriptors . Descriptor getDescriptor ()
Returns
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.v1.Repository repository = 1;
Returns
public UpdateRepositoryRequest . Builder clearUpdateMask ()
Returns
public UpdateRepositoryRequest . Builder clone ()
Returns
Overrides
public UpdateRepositoryRequest getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public Repository getRepository ()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1.Repository repository = 1;
Returns
public Repository . Builder getRepositoryBuilder ()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1.Repository repository = 1;
Returns
public RepositoryOrBuilder getRepositoryOrBuilder ()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1.Repository repository = 1;
Returns
public FieldMask getUpdateMask ()
Returns
public FieldMask . Builder getUpdateMaskBuilder ()
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
Returns
public boolean hasRepository ()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1.Repository repository = 1;
Returns
Type Description boolean Whether the repository field is set.
public boolean hasUpdateMask ()
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.v1.Repository repository = 1;
Parameter
Returns
public final UpdateRepositoryRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public UpdateRepositoryRequest . Builder mergeUpdateMask ( FieldMask value )
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.v1.Repository repository = 1;
Parameter
Returns
public UpdateRepositoryRequest . Builder setRepository ( Repository . Builder builderForValue )
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1.Repository repository = 1;
Parameter
Returns
public final UpdateRepositoryRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public UpdateRepositoryRequest . Builder setUpdateMask ( FieldMask value )
Parameter
Returns
public UpdateRepositoryRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
Parameter
Name Description builderForValue Builder
Returns
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]