Interface UpdateKeyRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    UpdateKeyRequest, UpdateKeyRequest.Builder

    public interface UpdateKeyRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Key getKey()
      Required.
      KeyOrBuilder getKeyOrBuilder()
      Required.
      com.google.protobuf.FieldMask getUpdateMask()
      The field mask specifies which fields to be updated as part of this request.
      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
      The field mask specifies which fields to be updated as part of this request.
      boolean hasKey()
      Required.
      boolean hasUpdateMask()
      The field mask specifies which fields to be updated as part of this request.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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;