Package com.google.api.apikeys.v2
Interface UpdateKeyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateKeyRequest,UpdateKeyRequest.Builder
@Generated
public interface UpdateKeyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Required.Required.com.google.protobuf.FieldMaskThe field mask specifies which fields to be updated as part of this request.com.google.protobuf.FieldMaskOrBuilderThe field mask specifies which fields to be updated as part of this request.booleanhasKey()Required.booleanThe field mask specifies which fields to be updated as part of this request.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
-
hasKey
boolean hasKey()Required. Set the `name` field to the resource name of the API key to be updated. You can update only the `display_name`, `restrictions`, and `annotations` fields.
.google.api.apikeys.v2.Key key = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the key field is set.
-
getKey
Key getKey()Required. Set the `name` field to the resource name of the API key to be updated. You can update only the `display_name`, `restrictions`, and `annotations` fields.
.google.api.apikeys.v2.Key key = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The key.
-
getKeyOrBuilder
KeyOrBuilder getKeyOrBuilder()Required. Set the `name` field to the resource name of the API key to be updated. You can update only the `display_name`, `restrictions`, and `annotations` fields.
.google.api.apikeys.v2.Key key = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasUpdateMask
boolean hasUpdateMask()The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name`, `restrictions`, and `annotations`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value "*", the service treats it equivalent to replace all allowed mutable fields.
.google.protobuf.FieldMask update_mask = 2;- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name`, `restrictions`, and `annotations`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value "*", the service treats it equivalent to replace all allowed mutable fields.
.google.protobuf.FieldMask update_mask = 2;- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name`, `restrictions`, and `annotations`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value "*", the service treats it equivalent to replace all allowed mutable fields.
.google.protobuf.FieldMask update_mask = 2;
-