Package com.google.storage.v2
Interface UpdateHmacKeyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateHmacKeyRequest,UpdateHmacKeyRequest.Builder
public interface UpdateHmacKeyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.FieldMaskUpdate mask for hmac_key.com.google.protobuf.FieldMaskOrBuilderUpdate mask for hmac_key.booleanRequired.booleanUpdate mask for hmac_key.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
-
hasHmacKey
boolean hasHmacKey()Required. The HMAC key to update. If present, the hmac_key's `id` field will be used to identify the key. Otherwise, the hmac_key's access_id and project fields will be used to identify the key.
.google.storage.v2.HmacKeyMetadata hmac_key = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the hmacKey field is set.
-
getHmacKey
HmacKeyMetadata getHmacKey()Required. The HMAC key to update. If present, the hmac_key's `id` field will be used to identify the key. Otherwise, the hmac_key's access_id and project fields will be used to identify the key.
.google.storage.v2.HmacKeyMetadata hmac_key = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The hmacKey.
-
getHmacKeyOrBuilder
HmacKeyMetadataOrBuilder getHmacKeyOrBuilder()Required. The HMAC key to update. If present, the hmac_key's `id` field will be used to identify the key. Otherwise, the hmac_key's access_id and project fields will be used to identify the key.
.google.storage.v2.HmacKeyMetadata hmac_key = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasUpdateMask
boolean hasUpdateMask()Update mask for hmac_key. Not specifying any fields will mean only the `state` field is updated to the value specified in `hmac_key`.
.google.protobuf.FieldMask update_mask = 3;- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()Update mask for hmac_key. Not specifying any fields will mean only the `state` field is updated to the value specified in `hmac_key`.
.google.protobuf.FieldMask update_mask = 3;- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Update mask for hmac_key. Not specifying any fields will mean only the `state` field is updated to the value specified in `hmac_key`.
.google.protobuf.FieldMask update_mask = 3;
-