- 0.55.0 (latest)
- 0.53.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class UpdateRepositoryRequest.Builder extends GeneratedMessage.Builder<UpdateRepositoryRequest.Builder> implements UpdateRepositoryRequestOrBuilderUpdateRepositoryRequest is the request to update a repository.
Protobuf type google.cloud.securesourcemanager.v1.UpdateRepositoryRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateRepositoryRequest.BuilderImplements
UpdateRepositoryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateRepositoryRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest |
|
buildPartial()
public UpdateRepositoryRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest |
|
clear()
public UpdateRepositoryRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
clearRepository()
public UpdateRepositoryRequest.Builder clearRepository()Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
clearUpdateMask()
public UpdateRepositoryRequest.Builder clearUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
clearValidateOnly()
public UpdateRepositoryRequest.Builder clearValidateOnly()Optional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UpdateRepositoryRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRepository()
public Repository getRepository()Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Repository |
The repository. |
getRepositoryBuilder()
public Repository.Builder getRepositoryBuilder()Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Repository.Builder |
|
getRepositoryOrBuilder()
public RepositoryOrBuilder getRepositoryOrBuilder()Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RepositoryOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
getValidateOnly()
public boolean getValidateOnly()Optional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasRepository()
public boolean hasRepository()Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the repository field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateRepositoryRequest other)
public UpdateRepositoryRequest.Builder mergeFrom(UpdateRepositoryRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateRepositoryRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateRepositoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateRepositoryRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
mergeRepository(Repository value)
public UpdateRepositoryRequest.Builder mergeRepository(Repository value)Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Repository |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateRepositoryRequest.Builder mergeUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
setRepository(Repository value)
public UpdateRepositoryRequest.Builder setRepository(Repository value)Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Repository |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
setRepository(Repository.Builder builderForValue)
public UpdateRepositoryRequest.Builder setRepository(Repository.Builder builderForValue)Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Repository.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateRepositoryRequest.Builder setUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateRepositoryRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
|
setValidateOnly(boolean value)
public UpdateRepositoryRequest.Builder setValidateOnly(boolean value)Optional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateRepositoryRequest.Builder |
This builder for chaining. |