@Override public Map<String, String> extract(UpdateCryptoKeyRequest request) { ImmutableMap.Builder<String, String> params = ImmutableMap.builder(); params.put("crypto_key.name", String.valueOf(request.getCryptoKey().getName())); return params.build(); } })
/** * * * <pre> * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasPrimary()) { hash = (37 * hash) + PRIMARY_FIELD_NUMBER;
public Builder mergeFrom(com.google.cloud.kms.v1.CryptoKey other) { if (other == com.google.cloud.kms.v1.CryptoKey.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged();
@Override public Map<String, String> extract(UpdateCryptoKeyRequest request) { ImmutableMap.Builder<String, String> params = ImmutableMap.builder(); params.put("crypto_key.name", String.valueOf(request.getCryptoKey().getName())); return params.build(); } })
/** * * * <pre> * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasPrimary()) { hash = (37 * hash) + PRIMARY_FIELD_NUMBER;
public Builder mergeFrom(com.google.cloud.kms.v1.CryptoKey other) { if (other == com.google.cloud.kms.v1.CryptoKey.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged();