diff --git a/java-essential-contacts/README.md b/java-essential-contacts/README.md
index 46b99d24989c..01847092a3a9 100644
--- a/java-essential-contacts/README.md
+++ b/java-essential-contacts/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
- * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
@@ -98,11 +98,11 @@ public java.lang.String getName() {
*
*
* - * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
@@ -127,11 +127,11 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The email.
*/
@@ -151,11 +151,11 @@ public java.lang.String getEmail() {
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for email.
*/
@@ -195,12 +195,12 @@ public com.google.cloud.essentialcontacts.v1.NotificationCategory convert(
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return A list containing the notificationCategorySubscriptions.
@@ -216,12 +216,12 @@ public com.google.cloud.essentialcontacts.v1.NotificationCategory convert(
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The count of notificationCategorySubscriptions.
@@ -234,12 +234,12 @@ public int getNotificationCategorySubscriptionsCount() {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param index The index of the element to return.
@@ -255,12 +255,12 @@ public int getNotificationCategorySubscriptionsCount() {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return A list containing the enum numeric values on the wire for
@@ -274,12 +274,12 @@ public java.util.List- * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param index The index of the value to return.
@@ -301,13 +301,13 @@ public int getNotificationCategorySubscriptionsValue(int index) {
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @return The languageTag.
*/
@@ -327,13 +327,13 @@ public java.lang.String getLanguageTag() {
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for languageTag.
*/
@@ -966,11 +966,11 @@ public Builder mergeFrom(
*
*
* - * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
@@ -989,11 +989,11 @@ public java.lang.String getName() {
*
*
* - * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
@@ -1012,11 +1012,11 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* - * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @param value The name to set.
* @return This builder for chaining.
@@ -1034,11 +1034,11 @@ public Builder setName(java.lang.String value) {
*
*
* - * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return This builder for chaining.
*/
@@ -1052,11 +1052,11 @@ public Builder clearName() {
*
*
* - * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @param value The bytes for name to set.
* @return This builder for chaining.
@@ -1077,11 +1077,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The email.
*/
@@ -1100,11 +1100,11 @@ public java.lang.String getEmail() {
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for email.
*/
@@ -1123,11 +1123,11 @@ public com.google.protobuf.ByteString getEmailBytes() {
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @param value The email to set.
* @return This builder for chaining.
@@ -1145,11 +1145,11 @@ public Builder setEmail(java.lang.String value) {
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return This builder for chaining.
*/
@@ -1163,11 +1163,11 @@ public Builder clearEmail() {
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @param value The bytes for email to set.
* @return This builder for chaining.
@@ -1197,12 +1197,12 @@ private void ensureNotificationCategorySubscriptionsIsMutable() {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return A list containing the notificationCategorySubscriptions.
@@ -1217,12 +1217,12 @@ private void ensureNotificationCategorySubscriptionsIsMutable() {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The count of notificationCategorySubscriptions.
@@ -1234,12 +1234,12 @@ public int getNotificationCategorySubscriptionsCount() {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param index The index of the element to return.
@@ -1254,12 +1254,12 @@ public int getNotificationCategorySubscriptionsCount() {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param index The index to set the value at.
@@ -1280,12 +1280,12 @@ public Builder setNotificationCategorySubscriptions(
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param value The notificationCategorySubscriptions to add.
@@ -1305,12 +1305,12 @@ public Builder addNotificationCategorySubscriptions(
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param values The notificationCategorySubscriptions to add.
@@ -1330,12 +1330,12 @@ public Builder addAllNotificationCategorySubscriptions(
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return This builder for chaining.
@@ -1350,12 +1350,12 @@ public Builder clearNotificationCategorySubscriptions() {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return A list containing the enum numeric values on the wire for
@@ -1368,12 +1368,12 @@ public java.util.List- * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param index The index of the value to return.
@@ -1387,12 +1387,12 @@ public int getNotificationCategorySubscriptionsValue(int index) {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param index The index to set the value at.
@@ -1409,12 +1409,12 @@ public Builder setNotificationCategorySubscriptionsValue(int index, int value) {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param value The enum numeric value on the wire for notificationCategorySubscriptions to add.
@@ -1430,12 +1430,12 @@ public Builder addNotificationCategorySubscriptionsValue(int value) {
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param values The enum numeric values on the wire for notificationCategorySubscriptions to
@@ -1457,13 +1457,13 @@ public Builder addAllNotificationCategorySubscriptionsValue(
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @return The languageTag.
*/
@@ -1482,13 +1482,13 @@ public java.lang.String getLanguageTag() {
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for languageTag.
*/
@@ -1507,13 +1507,13 @@ public com.google.protobuf.ByteString getLanguageTagBytes() {
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @param value The languageTag to set.
* @return This builder for chaining.
@@ -1531,13 +1531,13 @@ public Builder setLanguageTag(java.lang.String value) {
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @return This builder for chaining.
*/
@@ -1551,13 +1551,13 @@ public Builder clearLanguageTag() {
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @param value The bytes for languageTag to set.
* @return This builder for chaining.
diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/ContactOrBuilder.java b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/ContactOrBuilder.java
index c5d5d1012c02..1c4c51f5f075 100644
--- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/ContactOrBuilder.java
+++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/ContactOrBuilder.java
@@ -27,11 +27,11 @@ public interface ContactOrBuilder
*
*
* - * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
@@ -40,11 +40,11 @@ public interface ContactOrBuilder
*
*
* - * The identifier for the contact. + * Output only. The identifier for the contact. * Format: {resource_type}/{resource_id}/contacts/{contact_id} ** - *
string name = 1;
+ * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
@@ -54,11 +54,11 @@ public interface ContactOrBuilder
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The email.
*/
@@ -67,11 +67,11 @@ public interface ContactOrBuilder
*
*
* - * Required. The email address to send notifications to. This does not need to - * be a Google account. + * Required. The email address to send notifications to. The email address + * does not need to be a Google Account. ** - *
string email = 2;
+ * string email = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for email.
*/
@@ -81,12 +81,12 @@ public interface ContactOrBuilder
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return A list containing the notificationCategorySubscriptions.
@@ -97,12 +97,12 @@ public interface ContactOrBuilder
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The count of notificationCategorySubscriptions.
@@ -112,12 +112,12 @@ public interface ContactOrBuilder
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param index The index of the element to return.
@@ -129,12 +129,12 @@ com.google.cloud.essentialcontacts.v1.NotificationCategory getNotificationCatego
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return A list containing the enum numeric values on the wire for
@@ -145,12 +145,12 @@ com.google.cloud.essentialcontacts.v1.NotificationCategory getNotificationCatego
*
*
* - * The categories of notifications that the contact will receive + * Required. The categories of notifications that the contact will receive * communications for. ** *
- * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3;
+ * repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];
*
*
* @param index The index of the value to return.
@@ -163,13 +163,13 @@ com.google.cloud.essentialcontacts.v1.NotificationCategory getNotificationCatego
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @return The languageTag.
*/
@@ -178,13 +178,13 @@ com.google.cloud.essentialcontacts.v1.NotificationCategory getNotificationCatego
*
*
* - * The preferred language for notifications, as a ISO 639-1 language code. See - * [Supported + * Required. The preferred language for notifications, as a ISO 639-1 language + * code. See [Supported * languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) * for a list of supported languages. ** - *
string language_tag = 4;
+ * string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for languageTag.
*/
diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/Service.java b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/Service.java
index 157de2ef83aa..21b6edc26f1b 100644
--- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/Service.java
+++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/Service.java
@@ -84,108 +84,109 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "-google/cloud/essentialcontacts/v1/enums"
+ ".proto\032\033google/protobuf/empty.proto\032 goo"
+ "gle/protobuf/field_mask.proto\032\037google/pr"
- + "otobuf/timestamp.proto\"\321\003\n\007Contact\022\014\n\004na"
- + "me\030\001 \001(\t\022\r\n\005email\030\002 \001(\t\022d\n#notification_"
- + "category_subscriptions\030\003 \003(\01627.google.cl"
- + "oud.essentialcontacts.v1.NotificationCat"
- + "egory\022\024\n\014language_tag\030\004 \001(\t\022L\n\020validatio"
- + "n_state\030\010 \001(\01622.google.cloud.essentialco"
- + "ntacts.v1.ValidationState\0221\n\rvalidate_ti"
- + "me\030\t \001(\0132\032.google.protobuf.Timestamp:\253\001\352"
- + "A\247\001\n(essentialcontacts.googleapis.com/Co"
- + "ntact\022%projects/{project}/contacts/{cont"
- + "act}\022#folders/{folder}/contacts/{contact"
- + "}\022/organizations/{organization}/contacts"
- + "/{contact}\"\213\001\n\023ListContactsRequest\022A\n\006pa"
- + "rent\030\001 \001(\tB1\342A\001\002\372A*\022(essentialcontacts.g"
- + "oogleapis.com/Contact\022\027\n\tpage_size\030\002 \001(\005"
- + "B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"m\n\024List"
- + "ContactsResponse\022<\n\010contacts\030\001 \003(\0132*.goo"
- + "gle.cloud.essentialcontacts.v1.Contact\022\027"
- + "\n\017next_page_token\030\002 \001(\t\"T\n\021GetContactReq"
- + "uest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(essentialco"
- + "ntacts.googleapis.com/Contact\"W\n\024DeleteC"
- + "ontactRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(es"
- + "sentialcontacts.googleapis.com/Contact\"\234"
- + "\001\n\024CreateContactRequest\022A\n\006parent\030\001 \001(\tB"
- + "1\342A\001\002\372A*\022(essentialcontacts.googleapis.c"
- + "om/Contact\022A\n\007contact\030\002 \001(\0132*.google.clo"
- + "ud.essentialcontacts.v1.ContactB\004\342A\001\002\"\220\001"
- + "\n\024UpdateContactRequest\022A\n\007contact\030\002 \001(\0132"
- + "*.google.cloud.essentialcontacts.v1.Cont"
- + "actB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.google."
- + "protobuf.FieldMaskB\004\342A\001\001\"\350\001\n\026ComputeCont"
- + "actsRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(es"
- + "sentialcontacts.googleapis.com/Contact\022X"
- + "\n\027notification_categories\030\006 \003(\01627.google"
- + ".cloud.essentialcontacts.v1.Notification"
- + "Category\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n\npag"
- + "e_token\030\004 \001(\tB\004\342A\001\001\"p\n\027ComputeContactsRe"
- + "sponse\022<\n\010contacts\030\001 \003(\0132*.google.cloud."
- + "essentialcontacts.v1.Contact\022\027\n\017next_pag"
- + "e_token\030\002 \001(\t\"\200\002\n\026SendTestMessageRequest"
- + "\022C\n\010contacts\030\001 \003(\tB1\342A\001\002\372A*\n(essentialco"
- + "ntacts.googleapis.com/Contact\022C\n\010resourc"
- + "e\030\002 \001(\tB1\342A\001\002\372A*\022(essentialcontacts.goog"
- + "leapis.com/Contact\022\\\n\025notification_categ"
- + "ory\030\003 \001(\01627.google.cloud.essentialcontac"
- + "ts.v1.NotificationCategoryB\004\342A\001\0022\313\017\n\030Ess"
- + "entialContactsService\022\230\002\n\rCreateContact\022"
- + "7.google.cloud.essentialcontacts.v1.Crea"
- + "teContactRequest\032*.google.cloud.essentia"
- + "lcontacts.v1.Contact\"\241\001\332A\016parent,contact"
- + "\202\323\344\223\002\211\001\" /v1/{parent=projects/*}/contact"
- + "s:\007contactZ*\"\037/v1/{parent=folders/*}/con"
- + "tacts:\007contactZ0\"%/v1/{parent=organizati"
- + "ons/*}/contacts:\007contact\022\265\002\n\rUpdateConta"
- + "ct\0227.google.cloud.essentialcontacts.v1.U"
- + "pdateContactRequest\032*.google.cloud.essen"
- + "tialcontacts.v1.Contact\"\276\001\332A\023contact,upd"
- + "ate_mask\202\323\344\223\002\241\0012(/v1/{contact.name=proje"
- + "cts/*/contacts/*}:\007contactZ22\'/v1/{conta"
- + "ct.name=folders/*/contacts/*}:\007contactZ8"
- + "2-/v1/{contact.name=organizations/*/cont"
- + "acts/*}:\007contact\022\376\001\n\014ListContacts\0226.goog"
+ + "otobuf/timestamp.proto\"\351\003\n\007Contact\022\022\n\004na"
+ + "me\030\001 \001(\tB\004\342A\001\003\022\023\n\005email\030\002 \001(\tB\004\342A\001\002\022j\n#n"
+ + "otification_category_subscriptions\030\003 \003(\016"
+ + "27.google.cloud.essentialcontacts.v1.Not"
+ + "ificationCategoryB\004\342A\001\002\022\032\n\014language_tag\030"
+ + "\004 \001(\tB\004\342A\001\002\022L\n\020validation_state\030\010 \001(\01622."
+ + "google.cloud.essentialcontacts.v1.Valida"
+ + "tionState\0221\n\rvalidate_time\030\t \001(\0132\032.googl"
+ + "e.protobuf.Timestamp:\253\001\352A\247\001\n(essentialco"
+ + "ntacts.googleapis.com/Contact\022%projects/"
+ + "{project}/contacts/{contact}\022#folders/{f"
+ + "older}/contacts/{contact}\022/organizations"
+ + "/{organization}/contacts/{contact}\"\213\001\n\023L"
+ + "istContactsRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002"
+ + "\372A*\022(essentialcontacts.googleapis.com/Co"
+ + "ntact\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_t"
+ + "oken\030\003 \001(\tB\004\342A\001\001\"m\n\024ListContactsResponse"
+ + "\022<\n\010contacts\030\001 \003(\0132*.google.cloud.essent"
+ + "ialcontacts.v1.Contact\022\027\n\017next_page_toke"
+ + "n\030\002 \001(\t\"T\n\021GetContactRequest\022?\n\004name\030\001 \001"
+ + "(\tB1\342A\001\002\372A*\n(essentialcontacts.googleapi"
+ + "s.com/Contact\"W\n\024DeleteContactRequest\022?\n"
+ + "\004name\030\001 \001(\tB1\342A\001\002\372A*\n(essentialcontacts."
+ + "googleapis.com/Contact\"\234\001\n\024CreateContact"
+ + "Request\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(essent"
+ + "ialcontacts.googleapis.com/Contact\022A\n\007co"
+ + "ntact\030\002 \001(\0132*.google.cloud.essentialcont"
+ + "acts.v1.ContactB\004\342A\001\002\"\220\001\n\024UpdateContactR"
+ + "equest\022A\n\007contact\030\002 \001(\0132*.google.cloud.e"
+ + "ssentialcontacts.v1.ContactB\004\342A\001\002\0225\n\013upd"
+ + "ate_mask\030\003 \001(\0132\032.google.protobuf.FieldMa"
+ + "skB\004\342A\001\001\"\350\001\n\026ComputeContactsRequest\022A\n\006p"
+ + "arent\030\001 \001(\tB1\342A\001\002\372A*\022(essentialcontacts."
+ + "googleapis.com/Contact\022X\n\027notification_c"
+ + "ategories\030\006 \003(\01627.google.cloud.essential"
+ + "contacts.v1.NotificationCategory\022\027\n\tpage"
+ + "_size\030\003 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\004 \001(\tB\004\342"
+ + "A\001\001\"p\n\027ComputeContactsResponse\022<\n\010contac"
+ + "ts\030\001 \003(\0132*.google.cloud.essentialcontact"
+ + "s.v1.Contact\022\027\n\017next_page_token\030\002 \001(\t\"\200\002"
+ + "\n\026SendTestMessageRequest\022C\n\010contacts\030\001 \003"
+ + "(\tB1\342A\001\002\372A*\n(essentialcontacts.googleapi"
+ + "s.com/Contact\022C\n\010resource\030\002 \001(\tB1\342A\001\002\372A*"
+ + "\022(essentialcontacts.googleapis.com/Conta"
+ + "ct\022\\\n\025notification_category\030\003 \001(\01627.goog"
+ + "le.cloud.essentialcontacts.v1.Notificati"
+ + "onCategoryB\004\342A\001\0022\313\017\n\030EssentialContactsSe"
+ + "rvice\022\230\002\n\rCreateContact\0227.google.cloud.e"
+ + "ssentialcontacts.v1.CreateContactRequest"
+ + "\032*.google.cloud.essentialcontacts.v1.Con"
+ + "tact\"\241\001\332A\016parent,contact\202\323\344\223\002\211\001\" /v1/{pa"
+ + "rent=projects/*}/contacts:\007contactZ*\"\037/v"
+ + "1/{parent=folders/*}/contacts:\007contactZ0"
+ + "\"%/v1/{parent=organizations/*}/contacts:"
+ + "\007contact\022\265\002\n\rUpdateContact\0227.google.clou"
+ + "d.essentialcontacts.v1.UpdateContactRequ"
+ + "est\032*.google.cloud.essentialcontacts.v1."
+ + "Contact\"\276\001\332A\023contact,update_mask\202\323\344\223\002\241\0012"
+ + "(/v1/{contact.name=projects/*/contacts/*"
+ + "}:\007contactZ22\'/v1/{contact.name=folders/"
+ + "*/contacts/*}:\007contactZ82-/v1/{contact.n"
+ + "ame=organizations/*/contacts/*}:\007contact"
+ + "\022\376\001\n\014ListContacts\0226.google.cloud.essenti"
+ + "alcontacts.v1.ListContactsRequest\0327.goog"
+ "le.cloud.essentialcontacts.v1.ListContac"
- + "tsRequest\0327.google.cloud.essentialcontac"
- + "ts.v1.ListContactsResponse\"}\332A\006parent\202\323\344"
- + "\223\002n\022 /v1/{parent=projects/*}/contactsZ!\022"
- + "\037/v1/{parent=folders/*}/contactsZ\'\022%/v1/"
- + "{parent=organizations/*}/contacts\022\353\001\n\nGe"
- + "tContact\0224.google.cloud.essentialcontact"
- + "s.v1.GetContactRequest\032*.google.cloud.es"
- + "sentialcontacts.v1.Contact\"{\332A\004name\202\323\344\223\002"
- + "n\022 /v1/{name=projects/*/contacts/*}Z!\022\037/"
- + "v1/{name=folders/*/contacts/*}Z\'\022%/v1/{n"
- + "ame=organizations/*/contacts/*}\022\335\001\n\rDele"
- + "teContact\0227.google.cloud.essentialcontac"
- + "ts.v1.DeleteContactRequest\032\026.google.prot"
- + "obuf.Empty\"{\332A\004name\202\323\344\223\002n* /v1/{name=pro"
- + "jects/*/contacts/*}Z!*\037/v1/{name=folders"
- + "/*/contacts/*}Z\'*%/v1/{name=organization"
- + "s/*/contacts/*}\022\230\002\n\017ComputeContacts\0229.go"
- + "ogle.cloud.essentialcontacts.v1.ComputeC"
- + "ontactsRequest\032:.google.cloud.essentialc"
- + "ontacts.v1.ComputeContactsResponse\"\215\001\202\323\344"
- + "\223\002\206\001\022(/v1/{parent=projects/*}/contacts:c"
- + "omputeZ)\022\'/v1/{parent=folders/*}/contact"
- + "s:computeZ/\022-/v1/{parent=organizations/*"
- + "}/contacts:compute\022\233\002\n\017SendTestMessage\0229"
- + ".google.cloud.essentialcontacts.v1.SendT"
- + "estMessageRequest\032\026.google.protobuf.Empt"
- + "y\"\264\001\202\323\344\223\002\255\001\"2/v1/{resource=projects/*}/c"
- + "ontacts:sendTestMessage:\001*Z6\"1/v1/{resou"
- + "rce=folders/*}/contacts:sendTestMessage:"
- + "\001*Z<\"7/v1/{resource=organizations/*}/con"
- + "tacts:sendTestMessage:\001*\032T\312A essentialco"
- + "ntacts.googleapis.com\322A.https://www.goog"
- + "leapis.com/auth/cloud-platformB\355\001\n%com.g"
- + "oogle.cloud.essentialcontacts.v1P\001ZSclou"
- + "d.google.com/go/essentialcontacts/apiv1/"
- + "essentialcontactspb;essentialcontactspb\252"
- + "\002!Google.Cloud.EssentialContacts.V1\312\002!Go"
- + "ogle\\Cloud\\EssentialContacts\\V1\352\002$Google"
- + "::Cloud::EssentialContacts::V1b\006proto3"
+ + "tsResponse\"}\332A\006parent\202\323\344\223\002n\022 /v1/{parent"
+ + "=projects/*}/contactsZ!\022\037/v1/{parent=fol"
+ + "ders/*}/contactsZ\'\022%/v1/{parent=organiza"
+ + "tions/*}/contacts\022\353\001\n\nGetContact\0224.googl"
+ + "e.cloud.essentialcontacts.v1.GetContactR"
+ + "equest\032*.google.cloud.essentialcontacts."
+ + "v1.Contact\"{\332A\004name\202\323\344\223\002n\022 /v1/{name=pro"
+ + "jects/*/contacts/*}Z!\022\037/v1/{name=folders"
+ + "/*/contacts/*}Z\'\022%/v1/{name=organization"
+ + "s/*/contacts/*}\022\335\001\n\rDeleteContact\0227.goog"
+ + "le.cloud.essentialcontacts.v1.DeleteCont"
+ + "actRequest\032\026.google.protobuf.Empty\"{\332A\004n"
+ + "ame\202\323\344\223\002n* /v1/{name=projects/*/contacts"
+ + "/*}Z!*\037/v1/{name=folders/*/contacts/*}Z\'"
+ + "*%/v1/{name=organizations/*/contacts/*}\022"
+ + "\230\002\n\017ComputeContacts\0229.google.cloud.essen"
+ + "tialcontacts.v1.ComputeContactsRequest\032:"
+ + ".google.cloud.essentialcontacts.v1.Compu"
+ + "teContactsResponse\"\215\001\202\323\344\223\002\206\001\022(/v1/{paren"
+ + "t=projects/*}/contacts:computeZ)\022\'/v1/{p"
+ + "arent=folders/*}/contacts:computeZ/\022-/v1"
+ + "/{parent=organizations/*}/contacts:compu"
+ + "te\022\233\002\n\017SendTestMessage\0229.google.cloud.es"
+ + "sentialcontacts.v1.SendTestMessageReques"
+ + "t\032\026.google.protobuf.Empty\"\264\001\202\323\344\223\002\255\001\"2/v1"
+ + "/{resource=projects/*}/contacts:sendTest"
+ + "Message:\001*Z6\"1/v1/{resource=folders/*}/c"
+ + "ontacts:sendTestMessage:\001*Z<\"7/v1/{resou"
+ + "rce=organizations/*}/contacts:sendTestMe"
+ + "ssage:\001*\032T\312A essentialcontacts.googleapi"
+ + "s.com\322A.https://www.googleapis.com/auth/"
+ + "cloud-platformB\355\001\n%com.google.cloud.esse"
+ + "ntialcontacts.v1P\001ZScloud.google.com/go/"
+ + "essentialcontacts/apiv1/essentialcontact"
+ + "spb;essentialcontactspb\252\002!Google.Cloud.E"
+ + "ssentialContacts.V1\312\002!Google\\Cloud\\Essen"
+ + "tialContacts\\V1\352\002$Google::Cloud::Essenti"
+ + "alContacts::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/enums.proto b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/enums.proto
index ec0ecd9f9c75..b59b36f1e81a 100644
--- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/enums.proto
+++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/enums.proto
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16,11 +16,11 @@ syntax = "proto3";
package google.cloud.essentialcontacts.v1;
+option csharp_namespace = "Google.Cloud.EssentialContacts.V1";
option go_package = "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb";
option java_multiple_files = true;
option java_outer_classname = "EnumsProto";
option java_package = "com.google.cloud.essentialcontacts.v1";
-option csharp_namespace = "Google.Cloud.EssentialContacts.V1";
option php_namespace = "Google\\Cloud\\EssentialContacts\\V1";
option ruby_package = "Google::Cloud::EssentialContacts::V1";
diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/service.proto b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/service.proto
index edee4105248c..7064c02723c2 100644
--- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/service.proto
+++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/service.proto
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -25,10 +25,10 @@ import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
+option csharp_namespace = "Google.Cloud.EssentialContacts.V1";
option go_package = "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb";
option java_multiple_files = true;
option java_package = "com.google.cloud.essentialcontacts.v1";
-option csharp_namespace = "Google.Cloud.EssentialContacts.V1";
option php_namespace = "Google\\Cloud\\EssentialContacts\\V1";
option ruby_package = "Google::Cloud::EssentialContacts::V1";
@@ -144,23 +144,24 @@ message Contact {
pattern: "organizations/{organization}/contacts/{contact}"
};
- // The identifier for the contact.
+ // Output only. The identifier for the contact.
// Format: {resource_type}/{resource_id}/contacts/{contact_id}
- string name = 1;
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
- // Required. The email address to send notifications to. This does not need to
- // be a Google account.
- string email = 2;
+ // Required. The email address to send notifications to. The email address
+ // does not need to be a Google Account.
+ string email = 2 [(google.api.field_behavior) = REQUIRED];
- // The categories of notifications that the contact will receive
+ // Required. The categories of notifications that the contact will receive
// communications for.
- repeated NotificationCategory notification_category_subscriptions = 3;
+ repeated NotificationCategory notification_category_subscriptions = 3
+ [(google.api.field_behavior) = REQUIRED];
- // The preferred language for notifications, as a ISO 639-1 language code. See
- // [Supported
+ // Required. The preferred language for notifications, as a ISO 639-1 language
+ // code. See [Supported
// languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages)
// for a list of supported languages.
- string language_tag = 4;
+ string language_tag = 4 [(google.api.field_behavior) = REQUIRED];
// The validity of the contact. A contact is considered valid if it is the
// correct recipient for notifications for a particular resource.