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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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