Interface UpdateRepositoryRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateRepositoryRequest,UpdateRepositoryRequest.Builder
@Generated
public interface UpdateRepositoryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.FieldMaskOptional.com.google.protobuf.FieldMaskOrBuilderOptional.booleanOptional.booleanRequired.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUpdateMask
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:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.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:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.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]; -
hasRepository
boolean hasRepository()Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the repository field is set.
-
getRepository
Repository getRepository()Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The repository.
-
getRepositoryOrBuilder
RepositoryOrBuilder getRepositoryOrBuilder()Required. The repository being updated.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; -
getValidateOnly
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:
- The validateOnly.
-