@java.lang.Override public com.google.cloud.kms.v1.CreateKeyRingRequest getDefaultInstanceForType() { return com.google.cloud.kms.v1.CreateKeyRingRequest.getDefaultInstance(); }
/** * * * <pre> * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * Required. It must be unique within a location and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * </pre> * * <code>string key_ring_id = 2;</code> */ public Builder clearKeyRingId() { keyRingId_ = getDefaultInstance().getKeyRingId(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.kms.v1.CreateKeyRingRequest other) { if (other == com.google.cloud.kms.v1.CreateKeyRingRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getKeyRingId().isEmpty()) { keyRingId_ = other.keyRingId_; onChanged(); } if (other.hasKeyRing()) { mergeKeyRing(other.getKeyRing()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.kms.v1.CreateKeyRingRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(
@java.lang.Override public com.google.cloud.kms.v1.CreateKeyRingRequest getDefaultInstanceForType() { return com.google.cloud.kms.v1.CreateKeyRingRequest.getDefaultInstance(); }
/** * * * <pre> * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * Required. It must be unique within a location and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * </pre> * * <code>string key_ring_id = 2;</code> */ public Builder clearKeyRingId() { keyRingId_ = getDefaultInstance().getKeyRingId(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.kms.v1.CreateKeyRingRequest other) { if (other == com.google.cloud.kms.v1.CreateKeyRingRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getKeyRingId().isEmpty()) { keyRingId_ = other.keyRingId_; onChanged(); } if (other.hasKeyRing()) { mergeKeyRing(other.getKeyRing()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.kms.v1.CreateKeyRingRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(