diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java index c942532b..b3ed45b3 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java @@ -184,7 +184,7 @@ public AlertPolicyServiceStub getStub() { * } * * - * @param name The project whose alert policies are to be listed. The format is + * @param name Required. The project whose alert policies are to be listed. The format is *

projects/[PROJECT_ID] *

Note that this field names the parent container in which the alerting policies to be * listed are stored. To retrieve a single alerting policy by name, use the @@ -215,7 +215,7 @@ public final ListAlertPoliciesPagedResponse listAlertPolicies(ProjectName name) * } * * - * @param name The project whose alert policies are to be listed. The format is + * @param name Required. The project whose alert policies are to be listed. The format is *

projects/[PROJECT_ID] *

Note that this field names the parent container in which the alerting policies to be * listed are stored. To retrieve a single alerting policy by name, use the @@ -323,7 +323,7 @@ public final ListAlertPoliciesPagedResponse listAlertPolicies(ListAlertPoliciesR * } * * - * @param name The alerting policy to retrieve. The format is + * @param name Required. The alerting policy to retrieve. The format is *

projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -346,7 +346,7 @@ public final AlertPolicy getAlertPolicy(AlertPolicyName name) { * } * * - * @param name The alerting policy to retrieve. The format is + * @param name Required. The alerting policy to retrieve. The format is *

projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -414,14 +414,14 @@ public final UnaryCallable getAlertPolicyCal * } * * - * @param name The project in which to create the alerting policy. The format is + * @param name Required. The project in which to create the alerting policy. The format is * `projects/[PROJECT_ID]`. *

Note that this field names the parent container in which the alerting policy will be * written, not the name of the created policy. The alerting policy that is returned will have * a name that contains a normalized representation of this name as a prefix but adds a suffix * of the form `/alertPolicies/[POLICY_ID]`, identifying the policy in the container. - * @param alertPolicy The requested alerting policy. You should omit the `name` field in this - * policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID] + * @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in + * this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID] * value. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -448,14 +448,14 @@ public final AlertPolicy createAlertPolicy(ProjectName name, AlertPolicy alertPo * } * * - * @param name The project in which to create the alerting policy. The format is + * @param name Required. The project in which to create the alerting policy. The format is * `projects/[PROJECT_ID]`. *

Note that this field names the parent container in which the alerting policy will be * written, not the name of the created policy. The alerting policy that is returned will have * a name that contains a normalized representation of this name as a prefix but adds a suffix * of the form `/alertPolicies/[POLICY_ID]`, identifying the policy in the container. - * @param alertPolicy The requested alerting policy. You should omit the `name` field in this - * policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID] + * @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in + * this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID] * value. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -527,7 +527,7 @@ public final UnaryCallable createAlertPol * } * * - * @param name The alerting policy to delete. The format is: + * @param name Required. The alerting policy to delete. The format is: *

projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] *

For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy]. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -553,7 +553,7 @@ public final void deleteAlertPolicy(AlertPolicyName name) { * } * * - * @param name The alerting policy to delete. The format is: + * @param name Required. The alerting policy to delete. The format is: *

projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] *

For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy]. * @throws com.google.api.gax.rpc.ApiException if the remote call fails diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java index 37f9522b..1e6e52f8 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java @@ -187,7 +187,7 @@ public GroupServiceStub getStub() { * } * * - * @param name The project whose groups are to be listed. The format is + * @param name Required. The project whose groups are to be listed. The format is * `"projects/{project_id_or_number}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -212,7 +212,7 @@ public final ListGroupsPagedResponse listGroups(ProjectName name) { * } * * - * @param name The project whose groups are to be listed. The format is + * @param name Required. The project whose groups are to be listed. The format is * `"projects/{project_id_or_number}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -314,7 +314,7 @@ public final UnaryCallable listGroupsCall * } * * - * @param name The group to retrieve. The format is + * @param name Required. The group to retrieve. The format is * `"projects/{project_id_or_number}/groups/{group_id}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -337,7 +337,7 @@ public final Group getGroup(GroupName name) { * } * * - * @param name The group to retrieve. The format is + * @param name Required. The group to retrieve. The format is * `"projects/{project_id_or_number}/groups/{group_id}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -405,10 +405,10 @@ public final UnaryCallable getGroupCallable() { * } * * - * @param name The project in which to create the group. The format is + * @param name Required. The project in which to create the group. The format is * `"projects/{project_id_or_number}"`. - * @param group A group definition. It is an error to define the `name` field because the system - * assigns the name. + * @param group Required. A group definition. It is an error to define the `name` field because + * the system assigns the name. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Group createGroup(ProjectName name, Group group) { @@ -434,10 +434,10 @@ public final Group createGroup(ProjectName name, Group group) { * } * * - * @param name The project in which to create the group. The format is + * @param name Required. The project in which to create the group. The format is * `"projects/{project_id_or_number}"`. - * @param group A group definition. It is an error to define the `name` field because the system - * assigns the name. + * @param group Required. A group definition. It is an error to define the `name` field because + * the system assigns the name. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Group createGroup(String name, Group group) { @@ -508,8 +508,8 @@ public final UnaryCallable createGroupCallable() { * } * * - * @param group The new definition of the group. All fields of the existing group, excepting - * `name`, are replaced with the corresponding fields of this group. + * @param group Required. The new definition of the group. All fields of the existing group, + * excepting `name`, are replaced with the corresponding fields of this group. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Group updateGroup(Group group) { @@ -575,7 +575,7 @@ public final UnaryCallable updateGroupCallable() { * } * * - * @param name The group to delete. The format is + * @param name Required. The group to delete. The format is * `"projects/{project_id_or_number}/groups/{group_id}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -598,7 +598,7 @@ public final void deleteGroup(GroupName name) { * } * * - * @param name The group to delete. The format is + * @param name Required. The group to delete. The format is * `"projects/{project_id_or_number}/groups/{group_id}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -667,7 +667,7 @@ public final UnaryCallable deleteGroupCallable() { * } * * - * @param name The group whose members are listed. The format is + * @param name Required. The group whose members are listed. The format is * `"projects/{project_id_or_number}/groups/{group_id}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -692,7 +692,7 @@ public final ListGroupMembersPagedResponse listGroupMembers(GroupName name) { * } * * - * @param name The group whose members are listed. The format is + * @param name Required. The group whose members are listed. The format is * `"projects/{project_id_or_number}/groups/{group_id}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java index 83fed627..a4316195 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java @@ -188,7 +188,7 @@ public MetricServiceStub getStub() { * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * `"projects/{project_id_or_number}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -217,7 +217,7 @@ public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResource * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * `"projects/{project_id_or_number}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -330,7 +330,7 @@ public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResource * } * * - * @param name The monitored resource descriptor to get. The format is + * @param name Required. The monitored resource descriptor to get. The format is * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`. The * `{resource_type}` is a predefined type, such as `cloudsql_database`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -358,7 +358,7 @@ public final MonitoredResourceDescriptor getMonitoredResourceDescriptor( * } * * - * @param name The monitored resource descriptor to get. The format is + * @param name Required. The monitored resource descriptor to get. The format is * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`. The * `{resource_type}` is a predefined type, such as `cloudsql_database`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -434,7 +434,7 @@ public final MonitoredResourceDescriptor getMonitoredResourceDescriptor( * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * `"projects/{project_id_or_number}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -462,7 +462,7 @@ public final ListMetricDescriptorsPagedResponse listMetricDescriptors(ProjectNam * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * `"projects/{project_id_or_number}"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -571,7 +571,7 @@ public final ListMetricDescriptorsPagedResponse listMetricDescriptors( * } * * - * @param name The metric descriptor on which to execute the request. The format is + * @param name Required. The metric descriptor on which to execute the request. The format is * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. An example value of * `{metric_id}` is `"compute.googleapis.com/instance/disk/read_bytes_count"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -597,7 +597,7 @@ public final MetricDescriptor getMetricDescriptor(MetricDescriptorName name) { * } * * - * @param name The metric descriptor on which to execute the request. The format is + * @param name Required. The metric descriptor on which to execute the request. The format is * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. An example value of * `{metric_id}` is `"compute.googleapis.com/instance/disk/read_bytes_count"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -669,9 +669,10 @@ public final MetricDescriptor getMetricDescriptor(GetMetricDescriptorRequest req * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * `"projects/{project_id_or_number}"`. - * @param metricDescriptor The new [custom metric](/monitoring/custom-metrics) descriptor. + * @param metricDescriptor Required. The new [custom metric](/monitoring/custom-metrics) + * descriptor. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final MetricDescriptor createMetricDescriptor( @@ -699,9 +700,10 @@ public final MetricDescriptor createMetricDescriptor( * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * `"projects/{project_id_or_number}"`. - * @param metricDescriptor The new [custom metric](/monitoring/custom-metrics) descriptor. + * @param metricDescriptor Required. The new [custom metric](/monitoring/custom-metrics) + * descriptor. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final MetricDescriptor createMetricDescriptor( @@ -780,7 +782,7 @@ public final MetricDescriptor createMetricDescriptor(CreateMetricDescriptorReque * } * * - * @param name The metric descriptor on which to execute the request. The format is + * @param name Required. The metric descriptor on which to execute the request. The format is * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. An example of * `{metric_id}` is: `"custom.googleapis.com/my_test_metric"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -807,7 +809,7 @@ public final void deleteMetricDescriptor(MetricDescriptorName name) { * } * * - * @param name The metric descriptor on which to execute the request. The format is + * @param name Required. The metric descriptor on which to execute the request. The format is * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. An example of * `{metric_id}` is: `"custom.googleapis.com/my_test_metric"`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -884,16 +886,16 @@ public final void deleteMetricDescriptor(DeleteMetricDescriptorRequest request) * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * "projects/{project_id_or_number}". - * @param filter A [monitoring filter](/monitoring/api/v3/filters) that specifies which time - * series should be returned. The filter must specify a single metric type, and can + * @param filter Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which + * time series should be returned. The filter must specify a single metric type, and can * additionally specify metric labels and other information. For example: *

metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND * metric.labels.instance_name = "my-instance-name" - * @param interval The time interval for which results should be returned. Only time series that - * contain data points in the specified interval are included in the response. - * @param view Specifies which information is returned about the time series. + * @param interval Required. The time interval for which results should be returned. Only time + * series that contain data points in the specified interval are included in the response. + * @param view Required. Specifies which information is returned about the time series. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTimeSeriesPagedResponse listTimeSeries( @@ -929,16 +931,16 @@ public final ListTimeSeriesPagedResponse listTimeSeries( * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * "projects/{project_id_or_number}". - * @param filter A [monitoring filter](/monitoring/api/v3/filters) that specifies which time - * series should be returned. The filter must specify a single metric type, and can + * @param filter Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which + * time series should be returned. The filter must specify a single metric type, and can * additionally specify metric labels and other information. For example: *

metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND * metric.labels.instance_name = "my-instance-name" - * @param interval The time interval for which results should be returned. Only time series that - * contain data points in the specified interval are included in the response. - * @param view Specifies which information is returned about the time series. + * @param interval Required. The time interval for which results should be returned. Only time + * series that contain data points in the specified interval are included in the response. + * @param view Required. Specifies which information is returned about the time series. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTimeSeriesPagedResponse listTimeSeries( @@ -1072,12 +1074,12 @@ public final ListTimeSeriesPagedResponse listTimeSeries(ListTimeSeriesRequest re * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * `"projects/{project_id_or_number}"`. - * @param timeSeries The new data to be added to a list of time series. Adds at most one data - * point to each of several time series. The new data point must be more recent than any other - * point in its time series. Each `TimeSeries` value must fully specify a unique time series - * by supplying all label values for the metric and the monitored resource. + * @param timeSeries Required. The new data to be added to a list of time series. Adds at most one + * data point to each of several time series. The new data point must be more recent than any + * other point in its time series. Each `TimeSeries` value must fully specify a unique time + * series by supplying all label values for the metric and the monitored resource. *

The maximum number of `TimeSeries` objects per `Create` request is 200. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1106,12 +1108,12 @@ public final void createTimeSeries(ProjectName name, List timeSeries * } * * - * @param name The project on which to execute the request. The format is + * @param name Required. The project on which to execute the request. The format is * `"projects/{project_id_or_number}"`. - * @param timeSeries The new data to be added to a list of time series. Adds at most one data - * point to each of several time series. The new data point must be more recent than any other - * point in its time series. Each `TimeSeries` value must fully specify a unique time series - * by supplying all label values for the metric and the monitored resource. + * @param timeSeries Required. The new data to be added to a list of time series. Adds at most one + * data point to each of several time series. The new data point must be more recent than any + * other point in its time series. Each `TimeSeries` value must fully specify a unique time + * series by supplying all label values for the metric and the monitored resource. *

The maximum number of `TimeSeries` objects per `Create` request is 200. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java index 65bdf1c0..629ae0db 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java @@ -192,8 +192,8 @@ public NotificationChannelServiceStub getStub() { * } * * - * @param name The REST resource name of the parent from which to retrieve the notification - * channel descriptors. The expected syntax is: + * @param name Required. The REST resource name of the parent from which to retrieve the + * notification channel descriptors. The expected syntax is: *

projects/[PROJECT_ID] *

Note that this names the parent container in which to look for the descriptors; to * retrieve a single descriptor by name, use the @@ -226,8 +226,8 @@ public final ListNotificationChannelDescriptorsPagedResponse listNotificationCha * } * * - * @param name The REST resource name of the parent from which to retrieve the notification - * channel descriptors. The expected syntax is: + * @param name Required. The REST resource name of the parent from which to retrieve the + * notification channel descriptors. The expected syntax is: *

projects/[PROJECT_ID] *

Note that this names the parent container in which to look for the descriptors; to * retrieve a single descriptor by name, use the @@ -345,7 +345,7 @@ public final ListNotificationChannelDescriptorsPagedResponse listNotificationCha * } * * - * @param name The channel type for which to execute the request. The format is + * @param name Required. The channel type for which to execute the request. The format is * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -372,7 +372,7 @@ public final NotificationChannelDescriptor getNotificationChannelDescriptor( * } * * - * @param name The channel type for which to execute the request. The format is + * @param name Required. The channel type for which to execute the request. The format is * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -446,9 +446,10 @@ public final NotificationChannelDescriptor getNotificationChannelDescriptor( * } * * - * @param name The project on which to execute the request. The format is `projects/[PROJECT_ID]`. - * That is, this names the container in which to look for the notification channels; it does - * not name a specific channel. To query a specific channel by REST resource name, use the + * @param name Required. The project on which to execute the request. The format is + * `projects/[PROJECT_ID]`. That is, this names the container in which to look for the + * notification channels; it does not name a specific channel. To query a specific channel by + * REST resource name, use the * [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] * operation. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -476,9 +477,10 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels(Proj * } * * - * @param name The project on which to execute the request. The format is `projects/[PROJECT_ID]`. - * That is, this names the container in which to look for the notification channels; it does - * not name a specific channel. To query a specific channel by REST resource name, use the + * @param name Required. The project on which to execute the request. The format is + * `projects/[PROJECT_ID]`. That is, this names the container in which to look for the + * notification channels; it does not name a specific channel. To query a specific channel by + * REST resource name, use the * [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] * operation. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -588,7 +590,7 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels( * } * * - * @param name The channel for which to execute the request. The format is + * @param name Required. The channel for which to execute the request. The format is * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -616,7 +618,7 @@ public final NotificationChannel getNotificationChannel(NotificationChannelName * } * * - * @param name The channel for which to execute the request. The format is + * @param name Required. The channel for which to execute the request. The format is * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -693,13 +695,13 @@ public final NotificationChannel getNotificationChannel(GetNotificationChannelRe * } * * - * @param name The project on which to execute the request. The format is: + * @param name Required. The project on which to execute the request. The format is: *

projects/[PROJECT_ID] *

Note that this names the container into which the channel will be written. This does not * name the newly created channel. The resulting channel's name will have a normalized version * of this field as a prefix, but will add `/notificationChannels/[CHANNEL_ID]` to identify * the channel. - * @param notificationChannel The definition of the `NotificationChannel` to create. + * @param notificationChannel Required. The definition of the `NotificationChannel` to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final NotificationChannel createNotificationChannel( @@ -727,13 +729,13 @@ public final NotificationChannel createNotificationChannel( * } * * - * @param name The project on which to execute the request. The format is: + * @param name Required. The project on which to execute the request. The format is: *

projects/[PROJECT_ID] *

Note that this names the container into which the channel will be written. This does not * name the newly created channel. The resulting channel's name will have a normalized version * of this field as a prefix, but will add `/notificationChannels/[CHANNEL_ID]` to identify * the channel. - * @param notificationChannel The definition of the `NotificationChannel` to create. + * @param notificationChannel Required. The definition of the `NotificationChannel` to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final NotificationChannel createNotificationChannel( @@ -814,9 +816,9 @@ public final NotificationChannel createNotificationChannel( * * * @param updateMask The fields to update. - * @param notificationChannel A description of the changes to be applied to the specified - * notification channel. The description must provide a definition for fields to be updated; - * the names of these fields should also be included in the `update_mask`. + * @param notificationChannel Required. A description of the changes to be applied to the + * specified notification channel. The description must provide a definition for fields to be + * updated; the names of these fields should also be included in the `update_mask`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final NotificationChannel updateNotificationChannel( @@ -890,7 +892,7 @@ public final NotificationChannel updateNotificationChannel( * } * * - * @param name The channel for which to execute the request. The format is + * @param name Required. The channel for which to execute the request. The format is * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`. * @param force If true, the notification channel will be deleted regardless of its use in alert * policies (the policies will be updated to remove the channel). If false, channels that are @@ -921,7 +923,7 @@ public final void deleteNotificationChannel(NotificationChannelName name, boolea * } * * - * @param name The channel for which to execute the request. The format is + * @param name Required. The channel for which to execute the request. The format is * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`. * @param force If true, the notification channel will be deleted regardless of its use in alert * policies (the policies will be updated to remove the channel). If false, channels that are @@ -995,7 +997,7 @@ public final void deleteNotificationChannel(DeleteNotificationChannelRequest req * } * * - * @param name The notification channel to which to send a verification code. + * @param name Required. The notification channel to which to send a verification code. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void sendNotificationChannelVerificationCode(NotificationChannelName name) { @@ -1020,7 +1022,7 @@ public final void sendNotificationChannelVerificationCode(NotificationChannelNam * } * * - * @param name The notification channel to which to send a verification code. + * @param name Required. The notification channel to which to send a verification code. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void sendNotificationChannelVerificationCode(String name) { @@ -1106,9 +1108,9 @@ public final void sendNotificationChannelVerificationCode( * } * * - * @param name The notification channel for which a verification code is to be generated and - * retrieved. This must name a channel that is already verified; if the specified channel is - * not verified, the request will fail. + * @param name Required. The notification channel for which a verification code is to be generated + * and retrieved. This must name a channel that is already verified; if the specified channel + * is not verified, the request will fail. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final GetNotificationChannelVerificationCodeResponse @@ -1148,9 +1150,9 @@ public final void sendNotificationChannelVerificationCode( * } * * - * @param name The notification channel for which a verification code is to be generated and - * retrieved. This must name a channel that is already verified; if the specified channel is - * not verified, the request will fail. + * @param name Required. The notification channel for which a verification code is to be generated + * and retrieved. This must name a channel that is already verified; if the specified channel + * is not verified, the request will fail. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final GetNotificationChannelVerificationCodeResponse @@ -1255,13 +1257,13 @@ public final void sendNotificationChannelVerificationCode( * } * * - * @param name The notification channel to verify. - * @param code The verification code that was delivered to the channel as a result of invoking the - * `SendNotificationChannelVerificationCode` API method or that was retrieved from a verified - * channel via `GetNotificationChannelVerificationCode`. For example, one might have - * "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code - * is valid UTF-8; one should not make any assumptions regarding the structure or format of - * the code). + * @param name Required. The notification channel to verify. + * @param code Required. The verification code that was delivered to the channel as a result of + * invoking the `SendNotificationChannelVerificationCode` API method or that was retrieved + * from a verified channel via `GetNotificationChannelVerificationCode`. For example, one + * might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that + * the code is valid UTF-8; one should not make any assumptions regarding the structure or + * format of the code). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final NotificationChannel verifyNotificationChannel( @@ -1289,13 +1291,13 @@ public final NotificationChannel verifyNotificationChannel( * } * * - * @param name The notification channel to verify. - * @param code The verification code that was delivered to the channel as a result of invoking the - * `SendNotificationChannelVerificationCode` API method or that was retrieved from a verified - * channel via `GetNotificationChannelVerificationCode`. For example, one might have - * "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code - * is valid UTF-8; one should not make any assumptions regarding the structure or format of - * the code). + * @param name Required. The notification channel to verify. + * @param code Required. The verification code that was delivered to the channel as a result of + * invoking the `SendNotificationChannelVerificationCode` API method or that was retrieved + * from a verified channel via `GetNotificationChannelVerificationCode`. For example, one + * might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that + * the code is valid UTF-8; one should not make any assumptions regarding the structure or + * format of the code). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final NotificationChannel verifyNotificationChannel(String name, String code) { diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java index f7b60e6e..91e2d542 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java @@ -190,8 +190,9 @@ public ServiceMonitoringServiceStub getStub() { * } * * - * @param parent Resource name of the parent workspace. Of the form `projects/{project_id}`. - * @param service The `Service` to create. + * @param parent Required. Resource name of the parent workspace. Of the form + * `projects/{project_id}`. + * @param service Required. The `Service` to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Service createService(ProjectName parent, Service service) { @@ -217,8 +218,9 @@ public final Service createService(ProjectName parent, Service service) { * } * * - * @param parent Resource name of the parent workspace. Of the form `projects/{project_id}`. - * @param service The `Service` to create. + * @param parent Required. Resource name of the parent workspace. Of the form + * `projects/{project_id}`. + * @param service Required. The `Service` to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Service createService(String parent, Service service) { @@ -289,7 +291,7 @@ public final UnaryCallable createServiceCallable( * } * * - * @param name Resource name of the `Service`. Of the form + * @param name Required. Resource name of the `Service`. Of the form * `projects/{project_id}/services/{service_id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -312,7 +314,7 @@ public final Service getService(ServiceName name) { * } * * - * @param name Resource name of the `Service`. Of the form + * @param name Required. Resource name of the `Service`. Of the form * `projects/{project_id}/services/{service_id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -381,7 +383,8 @@ public final UnaryCallable getServiceCallable() { * } * * - * @param parent Resource name of the parent `Workspace`. Of the form `projects/{project_id}`. + * @param parent Required. Resource name of the parent `Workspace`. Of the form + * `projects/{project_id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListServicesPagedResponse listServices(ProjectName parent) { @@ -407,7 +410,8 @@ public final ListServicesPagedResponse listServices(ProjectName parent) { * } * * - * @param parent Resource name of the parent `Workspace`. Of the form `projects/{project_id}`. + * @param parent Required. Resource name of the parent `Workspace`. Of the form + * `projects/{project_id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListServicesPagedResponse listServices(String parent) { @@ -509,8 +513,8 @@ public final UnaryCallable listServic * } * * - * @param service The `Service` to draw updates from. The given `name` specifies the resource to - * update. + * @param service Required. The `Service` to draw updates from. The given `name` specifies the + * resource to update. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Service updateService(Service service) { @@ -576,8 +580,8 @@ public final UnaryCallable updateServiceCallable( * } * * - * @param name Resource name of the `Service` to delete. Of the form - * `projects/{project_id}/service/{service_id}`. + * @param name Required. Resource name of the `Service` to delete. Of the form + * `projects/{project_id}/services/{service_id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteService(ServiceName name) { @@ -599,8 +603,8 @@ public final void deleteService(ServiceName name) { * } * * - * @param name Resource name of the `Service` to delete. Of the form - * `projects/{project_id}/service/{service_id}`. + * @param name Required. Resource name of the `Service` to delete. Of the form + * `projects/{project_id}/services/{service_id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteService(String name) { @@ -667,10 +671,10 @@ public final UnaryCallable deleteServiceCallable() * } * * - * @param parent Resource name of the parent `Service`. Of the form + * @param parent Required. Resource name of the parent `Service`. Of the form * `projects/{project_id}/services/{service_id}`. - * @param serviceLevelObjective The `ServiceLevelObjective` to create. The provided `name` will be - * respected if no `ServiceLevelObjective` exists with this name. + * @param serviceLevelObjective Required. The `ServiceLevelObjective` to create. The provided + * `name` will be respected if no `ServiceLevelObjective` exists with this name. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ServiceLevelObjective createServiceLevelObjective( @@ -697,10 +701,10 @@ public final ServiceLevelObjective createServiceLevelObjective( * } * * - * @param parent Resource name of the parent `Service`. Of the form + * @param parent Required. Resource name of the parent `Service`. Of the form * `projects/{project_id}/services/{service_id}`. - * @param serviceLevelObjective The `ServiceLevelObjective` to create. The provided `name` will be - * respected if no `ServiceLevelObjective` exists with this name. + * @param serviceLevelObjective Required. The `ServiceLevelObjective` to create. The provided + * `name` will be respected if no `ServiceLevelObjective` exists with this name. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ServiceLevelObjective createServiceLevelObjective( @@ -777,7 +781,7 @@ public final ServiceLevelObjective createServiceLevelObjective( * } * * - * @param name Resource name of the `ServiceLevelObjective` to get. Of the form + * @param name Required. Resource name of the `ServiceLevelObjective` to get. Of the form * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -802,7 +806,7 @@ public final ServiceLevelObjective getServiceLevelObjective(ServiceLevelObjectiv * } * * - * @param name Resource name of the `ServiceLevelObjective` to get. Of the form + * @param name Required. Resource name of the `ServiceLevelObjective` to get. Of the form * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -874,7 +878,7 @@ public final ServiceLevelObjective getServiceLevelObjective( * } * * - * @param parent Resource name of the parent `Service`. Of the form + * @param parent Required. Resource name of the parent `Service`. Of the form * `projects/{project_id}/services/{service_id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -902,7 +906,7 @@ public final ListServiceLevelObjectivesPagedResponse listServiceLevelObjectives( * } * * - * @param parent Resource name of the parent `Service`. Of the form + * @param parent Required. Resource name of the parent `Service`. Of the form * `projects/{project_id}/services/{service_id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1009,8 +1013,8 @@ public final ListServiceLevelObjectivesPagedResponse listServiceLevelObjectives( * } * * - * @param serviceLevelObjective The `ServiceLevelObjective` to draw updates from. The given `name` - * specifies the resource to update. + * @param serviceLevelObjective Required. The `ServiceLevelObjective` to draw updates from. The + * given `name` specifies the resource to update. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ServiceLevelObjective updateServiceLevelObjective( @@ -1082,7 +1086,7 @@ public final ServiceLevelObjective updateServiceLevelObjective( * } * * - * @param name Resource name of the `ServiceLevelObjective` to delete. Of the form + * @param name Required. Resource name of the `ServiceLevelObjective` to delete. Of the form * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1107,7 +1111,7 @@ public final void deleteServiceLevelObjective(ServiceLevelObjectiveName name) { * } * * - * @param name Resource name of the `ServiceLevelObjective` to delete. Of the form + * @param name Required. Resource name of the `ServiceLevelObjective` to delete. Of the form * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java index 260e851f..fcd600e5 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java @@ -186,7 +186,7 @@ public UptimeCheckServiceStub getStub() { * } * * - * @param parent The project whose Uptime check configurations are listed. The format is + * @param parent Required. The project whose Uptime check configurations are listed. The format is * `projects/[PROJECT_ID]`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -295,7 +295,7 @@ public final ListUptimeCheckConfigsPagedResponse listUptimeCheckConfigs( * } * * - * @param name The Uptime check configuration to retrieve. The format is + * @param name Required. The Uptime check configuration to retrieve. The format is * `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -320,7 +320,7 @@ public final UptimeCheckConfig getUptimeCheckConfig(UptimeCheckConfigName name) * } * * - * @param name The Uptime check configuration to retrieve. The format is + * @param name Required. The Uptime check configuration to retrieve. The format is * `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -390,9 +390,9 @@ public final UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest * } * * - * @param parent The project in which to create the Uptime check. The format is + * @param parent Required. The project in which to create the Uptime check. The format is * `projects/[PROJECT_ID]`. - * @param uptimeCheckConfig The new Uptime check configuration. + * @param uptimeCheckConfig Required. The new Uptime check configuration. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final UptimeCheckConfig createUptimeCheckConfig( @@ -551,7 +551,7 @@ public final UptimeCheckConfig updateUptimeCheckConfig(UpdateUptimeCheckConfigRe * } * * - * @param name The Uptime check configuration to delete. The format is + * @param name Required. The Uptime check configuration to delete. The format is * `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -578,7 +578,7 @@ public final void deleteUptimeCheckConfig(UptimeCheckConfigName name) { * } * * - * @param name The Uptime check configuration to delete. The format is + * @param name Required. The Uptime check configuration to delete. The format is * `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java index f8fce0d9..dcdaba43 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java @@ -22,12 +22,29 @@ * * *

- * Describes how to combine multiple time series to provide different views of
- * the data.  Aggregation consists of an alignment step on individual time
- * series (`alignment_period` and `per_series_aligner`) followed by an optional
- * reduction step of the data across the aligned time series
- * (`cross_series_reducer` and `group_by_fields`).  For more details, see
- * [Aggregation](/monitoring/api/learn_more#aggregation).
+ * Describes how to combine multiple time series to provide a different view of
+ * the data.  Aggregation of time series is done in two steps. First, each time
+ * series in the set is _aligned_ to the same time interval boundaries, then the
+ * set of time series is optionally _reduced_ in number.
+ * Alignment consists of applying the `per_series_aligner` operation
+ * to each time series after its data has been divided into regular
+ * `alignment_period` time intervals. This process takes _all_ of the data
+ * points in an alignment period, applies a mathematical transformation such as
+ * averaging, minimum, maximum, delta, etc., and converts them into a single
+ * data point per period.
+ * Reduction is when the aligned and transformed time series can optionally be
+ * combined, reducing the number of time series through similar mathematical
+ * transformations. Reduction involves applying a `cross_series_reducer` to
+ * all the time series, optionally sorting the time series into subsets with
+ * `group_by_fields`, and applying the reducer to each subset.
+ * The raw time series data can contain a huge amount of information from
+ * multiple sources. Alignment and reduction transforms this mass of data into
+ * a more manageable and representative collection of data, for example "the
+ * 95% latency across the average of all tasks in a cluster". This
+ * representative data can be more easily graphed and comprehended, and the
+ * individual time series data is still available for later drilldown. For more
+ * details, see [Aggregating Time
+ * Series](/monitoring/api/v3/metrics#aggregating_time_series).
  * 
* * Protobuf type {@code google.monitoring.v3.Aggregation} @@ -158,8 +175,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The Aligner describes how to bring the data points in a single
-   * time series into temporal alignment.
+   * The `Aligner` specifies the operation that will be applied to the data
+   * points in each alignment period in a time series. Except for
+   * `ALIGN_NONE`, which specifies that no operation be applied, each alignment
+   * operation replaces the set of data values in each alignment period with
+   * a single value: the result of applying the operation to the data values.
+   * An aligned time series has a single data value at the end of each
+   * `alignment_period`.
+   * An alignment operation can change the data type of the values, too. For
+   * example, if you apply a counting operation to boolean values, the data
+   * `value_type` in the original time series is `BOOLEAN`, but the `value_type`
+   * in the aligned result is `INT64`.
    * 
* * Protobuf enum {@code google.monitoring.v3.Aggregation.Aligner} @@ -169,9 +195,9 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * No alignment. Raw data is returned. Not valid if cross-time
-     * series reduction is requested. The value type of the result is
-     * the same as the value type of the input.
+     * No alignment. Raw data is returned. Not valid if cross-series reduction
+     * is requested. The `value_type` of the result is the same as the
+     * `value_type` of the input.
      * 
* * ALIGN_NONE = 0; @@ -181,13 +207,15 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align and convert to delta metric type. This alignment is valid
-     * for cumulative metrics and delta metrics. Aligning an existing
-     * delta metric to a delta metric requires that the alignment
-     * period be increased. The value type of the result is the same
-     * as the value type of the input.
-     * One can think of this aligner as a rate but without time units; that
-     * is, the output is conceptually (second_point - first_point).
+     * Align and convert to
+     * [DELTA][google.api.MetricDescriptor.MetricKind.DELTA].
+     * The output is `delta = y1 - y0`.
+     * This alignment is valid for
+     * [CUMULATIVE][google.api.MetricDescriptor.MetricKind.CUMULATIVE] and
+     * `DELTA` metrics. If the selected alignment period results in periods
+     * with no data, then the aligned value for such a period is created by
+     * interpolation. The `value_type`  of the aligned result is the same as
+     * the `value_type` of the input.
      * 
* * ALIGN_DELTA = 1; @@ -197,16 +225,17 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align and convert to a rate. This alignment is valid for
-     * cumulative metrics and delta metrics with numeric values. The output is a
-     * gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
-     * One can think of this aligner as conceptually providing the slope of
-     * the line that passes through the value at the start and end of the
-     * window. In other words, this is conceptually ((y1 - y0)/(t1 - t0)),
-     * and the output unit is one that has a "/time" dimension.
-     * If, by rate, you are looking for percentage change, see the
-     * `ALIGN_PERCENT_CHANGE` aligner option.
+     * Align and convert to a rate. The result is computed as
+     * `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
+     * Think of this aligner as providing the slope of the line that passes
+     * through the value at the start and at the end of the `alignment_period`.
+     * This aligner is valid for `CUMULATIVE`
+     * and `DELTA` metrics with numeric values. If the selected alignment
+     * period results in periods with no data, then the aligned value for
+     * such a period is created by interpolation. The output is a `GAUGE`
+     * metric with `value_type` `DOUBLE`.
+     * If, by "rate", you mean "percentage change", see the
+     * `ALIGN_PERCENT_CHANGE` aligner instead.
      * 
* * ALIGN_RATE = 2; @@ -216,10 +245,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align by interpolating between adjacent points around the
-     * period boundary. This alignment is valid for gauge
-     * metrics with numeric values. The value type of the result is the same
-     * as the value type of the input.
+     * Align by interpolating between adjacent points around the alignment
+     * period boundary. This aligner is valid for `GAUGE` metrics with
+     * numeric values. The `value_type` of the aligned result is the same as the
+     * `value_type` of the input.
      * 
* * ALIGN_INTERPOLATE = 3; @@ -229,10 +258,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align by shifting the oldest data point before the period
-     * boundary to the boundary. This alignment is valid for gauge
-     * metrics. The value type of the result is the same as the
-     * value type of the input.
+     * Align by moving the most recent data point before the end of the
+     * alignment period to the boundary at the end of the alignment
+     * period. This aligner is valid for `GAUGE` metrics. The `value_type` of
+     * the aligned result is the same as the `value_type` of the input.
      * 
* * ALIGN_NEXT_OLDER = 4; @@ -242,11 +271,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the minimum of all data points in the
-     * period. This alignment is valid for gauge and delta metrics with numeric
-     * values. The value type of the result is the same as the value
-     * type of the input.
+     * Align the time series by returning the minimum value in each alignment
+     * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
+     * numeric values. The `value_type` of the aligned result is the same as
+     * the `value_type` of the input.
      * 
* * ALIGN_MIN = 10; @@ -256,11 +284,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the maximum of all data points in the
-     * period. This alignment is valid for gauge and delta metrics with numeric
-     * values. The value type of the result is the same as the value
-     * type of the input.
+     * Align the time series by returning the maximum value in each alignment
+     * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
+     * numeric values. The `value_type` of the aligned result is the same as
+     * the `value_type` of the input.
      * 
* * ALIGN_MAX = 11; @@ -270,11 +297,9 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the average or arithmetic mean of all
-     * data points in the period. This alignment is valid for gauge and delta
-     * metrics with numeric values. The value type of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by returning the mean value in each alignment
+     * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
+     * numeric values. The `value_type` of the aligned result is `DOUBLE`.
      * 
* * ALIGN_MEAN = 12; @@ -284,11 +309,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the count of all data points in the
-     * period. This alignment is valid for gauge and delta metrics with numeric
-     * or Boolean values. The value type of the output is
-     * [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Align the time series by returning the number of values in each alignment
+     * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
+     * numeric or Boolean values. The `value_type` of the aligned result is
+     * `INT64`.
      * 
* * ALIGN_COUNT = 13; @@ -298,11 +322,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the sum of all data points in the
-     * period. This alignment is valid for gauge and delta metrics with numeric
-     * and distribution values. The value type of the output is the
-     * same as the value type of the input.
+     * Align the time series by returning the sum of the values in each
+     * alignment period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with numeric and distribution values. The `value_type` of the
+     * aligned result is the same as the `value_type` of the input.
      * 
* * ALIGN_SUM = 14; @@ -312,11 +335,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the standard deviation of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with numeric values. The value type of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by returning the standard deviation of the values
+     * in each alignment period. This aligner is valid for `GAUGE` and
+     * `DELTA` metrics with numeric values. The `value_type` of the output is
+     * `DOUBLE`.
      * 
* * ALIGN_STDDEV = 15; @@ -326,11 +348,9 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the count of True-valued data points in the
-     * period. This alignment is valid for gauge metrics with
-     * Boolean values. The value type of the output is
-     * [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Align the time series by returning the number of `True` values in
+     * each alignment period. This aligner is valid for `GAUGE` metrics with
+     * Boolean values. The `value_type` of the output is `INT64`.
      * 
* * ALIGN_COUNT_TRUE = 16; @@ -340,11 +360,9 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the count of False-valued data points in the
-     * period. This alignment is valid for gauge metrics with
-     * Boolean values. The value type of the output is
-     * [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Align the time series by returning the number of `False` values in
+     * each alignment period. This aligner is valid for `GAUGE` metrics with
+     * Boolean values. The `value_type` of the output is `INT64`.
      * 
* * ALIGN_COUNT_FALSE = 24; @@ -354,11 +372,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the fraction of True-valued data points in the
-     * period. This alignment is valid for gauge metrics with Boolean values.
-     * The output value is in the range [0, 1] and has value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by returning the ratio of the number of `True`
+     * values to the total number of values in each alignment period. This
+     * aligner is valid for `GAUGE` metrics with Boolean values. The output
+     * value is in the range [0.0, 1.0] and has `value_type` `DOUBLE`.
      * 
* * ALIGN_FRACTION_TRUE = 17; @@ -368,11 +385,12 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the 99th percentile of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with distribution values. The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by using [percentile
+     * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
+     * data point in each alignment period is the 99th percentile of all data
+     * points in the period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with distribution values. The output is a `GAUGE` metric with
+     * `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENTILE_99 = 18; @@ -382,11 +400,12 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the 95th percentile of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with distribution values. The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by using [percentile
+     * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
+     * data point in each alignment period is the 95th percentile of all data
+     * points in the period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with distribution values. The output is a `GAUGE` metric with
+     * `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENTILE_95 = 19; @@ -396,11 +415,12 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the 50th percentile of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with distribution values. The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by using [percentile
+     * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
+     * data point in each alignment period is the 50th percentile of all data
+     * points in the period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with distribution values. The output is a `GAUGE` metric with
+     * `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENTILE_50 = 20; @@ -410,11 +430,12 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the 5th percentile of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with distribution values. The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by using [percentile
+     * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
+     * data point in each alignment period is the 5th percentile of all data
+     * points in the period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with distribution values. The output is a `GAUGE` metric with
+     * `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENTILE_05 = 21; @@ -424,21 +445,20 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align and convert to a percentage change. This alignment is valid for
-     * gauge and delta metrics with numeric values. This alignment conceptually
-     * computes the equivalent of "((current - previous)/previous)*100"
-     * where previous value is determined based on the alignmentPeriod.
-     * In the event that previous is 0 the calculated value is infinity with the
-     * exception that if both (current - previous) and previous are 0 the
-     * calculated value is 0.
-     * A 10 minute moving mean is computed at each point of the time window
+     * Align and convert to a percentage change. This aligner is valid for
+     * `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
+     * `((current - previous)/previous) * 100`, where the value of `previous` is
+     * determined based on the `alignment_period`.
+     * If the values of `current` and `previous` are both 0, then the returned
+     * value is 0. If only `previous` is 0, the returned value is infinity.
+     * A 10-minute moving mean is computed at each point of the alignment period
      * prior to the above calculation to smooth the metric and prevent false
-     * positives from very short lived spikes.
-     * Only applicable for data that is >= 0. Any values < 0 are treated as
-     * no data. While delta metrics are accepted by this alignment special care
-     * should be taken that the values for the metric will always be positive.
-     * The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * positives from very short-lived spikes. The moving mean is only
+     * applicable for data whose values are `>= 0`. Any values `< 0` are
+     * treated as a missing datapoint, and are ignored. While `DELTA`
+     * metrics are accepted by this alignment, special care should be taken that
+     * the values for the metric will always be positive. The output is a
+     * `GAUGE` metric with `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENT_CHANGE = 23; @@ -451,9 +471,9 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * No alignment. Raw data is returned. Not valid if cross-time
-     * series reduction is requested. The value type of the result is
-     * the same as the value type of the input.
+     * No alignment. Raw data is returned. Not valid if cross-series reduction
+     * is requested. The `value_type` of the result is the same as the
+     * `value_type` of the input.
      * 
* * ALIGN_NONE = 0; @@ -463,13 +483,15 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align and convert to delta metric type. This alignment is valid
-     * for cumulative metrics and delta metrics. Aligning an existing
-     * delta metric to a delta metric requires that the alignment
-     * period be increased. The value type of the result is the same
-     * as the value type of the input.
-     * One can think of this aligner as a rate but without time units; that
-     * is, the output is conceptually (second_point - first_point).
+     * Align and convert to
+     * [DELTA][google.api.MetricDescriptor.MetricKind.DELTA].
+     * The output is `delta = y1 - y0`.
+     * This alignment is valid for
+     * [CUMULATIVE][google.api.MetricDescriptor.MetricKind.CUMULATIVE] and
+     * `DELTA` metrics. If the selected alignment period results in periods
+     * with no data, then the aligned value for such a period is created by
+     * interpolation. The `value_type`  of the aligned result is the same as
+     * the `value_type` of the input.
      * 
* * ALIGN_DELTA = 1; @@ -479,16 +501,17 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align and convert to a rate. This alignment is valid for
-     * cumulative metrics and delta metrics with numeric values. The output is a
-     * gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
-     * One can think of this aligner as conceptually providing the slope of
-     * the line that passes through the value at the start and end of the
-     * window. In other words, this is conceptually ((y1 - y0)/(t1 - t0)),
-     * and the output unit is one that has a "/time" dimension.
-     * If, by rate, you are looking for percentage change, see the
-     * `ALIGN_PERCENT_CHANGE` aligner option.
+     * Align and convert to a rate. The result is computed as
+     * `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
+     * Think of this aligner as providing the slope of the line that passes
+     * through the value at the start and at the end of the `alignment_period`.
+     * This aligner is valid for `CUMULATIVE`
+     * and `DELTA` metrics with numeric values. If the selected alignment
+     * period results in periods with no data, then the aligned value for
+     * such a period is created by interpolation. The output is a `GAUGE`
+     * metric with `value_type` `DOUBLE`.
+     * If, by "rate", you mean "percentage change", see the
+     * `ALIGN_PERCENT_CHANGE` aligner instead.
      * 
* * ALIGN_RATE = 2; @@ -498,10 +521,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align by interpolating between adjacent points around the
-     * period boundary. This alignment is valid for gauge
-     * metrics with numeric values. The value type of the result is the same
-     * as the value type of the input.
+     * Align by interpolating between adjacent points around the alignment
+     * period boundary. This aligner is valid for `GAUGE` metrics with
+     * numeric values. The `value_type` of the aligned result is the same as the
+     * `value_type` of the input.
      * 
* * ALIGN_INTERPOLATE = 3; @@ -511,10 +534,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align by shifting the oldest data point before the period
-     * boundary to the boundary. This alignment is valid for gauge
-     * metrics. The value type of the result is the same as the
-     * value type of the input.
+     * Align by moving the most recent data point before the end of the
+     * alignment period to the boundary at the end of the alignment
+     * period. This aligner is valid for `GAUGE` metrics. The `value_type` of
+     * the aligned result is the same as the `value_type` of the input.
      * 
* * ALIGN_NEXT_OLDER = 4; @@ -524,11 +547,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the minimum of all data points in the
-     * period. This alignment is valid for gauge and delta metrics with numeric
-     * values. The value type of the result is the same as the value
-     * type of the input.
+     * Align the time series by returning the minimum value in each alignment
+     * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
+     * numeric values. The `value_type` of the aligned result is the same as
+     * the `value_type` of the input.
      * 
* * ALIGN_MIN = 10; @@ -538,11 +560,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the maximum of all data points in the
-     * period. This alignment is valid for gauge and delta metrics with numeric
-     * values. The value type of the result is the same as the value
-     * type of the input.
+     * Align the time series by returning the maximum value in each alignment
+     * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
+     * numeric values. The `value_type` of the aligned result is the same as
+     * the `value_type` of the input.
      * 
* * ALIGN_MAX = 11; @@ -552,11 +573,9 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the average or arithmetic mean of all
-     * data points in the period. This alignment is valid for gauge and delta
-     * metrics with numeric values. The value type of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by returning the mean value in each alignment
+     * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
+     * numeric values. The `value_type` of the aligned result is `DOUBLE`.
      * 
* * ALIGN_MEAN = 12; @@ -566,11 +585,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the count of all data points in the
-     * period. This alignment is valid for gauge and delta metrics with numeric
-     * or Boolean values. The value type of the output is
-     * [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Align the time series by returning the number of values in each alignment
+     * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
+     * numeric or Boolean values. The `value_type` of the aligned result is
+     * `INT64`.
      * 
* * ALIGN_COUNT = 13; @@ -580,11 +598,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the sum of all data points in the
-     * period. This alignment is valid for gauge and delta metrics with numeric
-     * and distribution values. The value type of the output is the
-     * same as the value type of the input.
+     * Align the time series by returning the sum of the values in each
+     * alignment period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with numeric and distribution values. The `value_type` of the
+     * aligned result is the same as the `value_type` of the input.
      * 
* * ALIGN_SUM = 14; @@ -594,11 +611,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the standard deviation of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with numeric values. The value type of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by returning the standard deviation of the values
+     * in each alignment period. This aligner is valid for `GAUGE` and
+     * `DELTA` metrics with numeric values. The `value_type` of the output is
+     * `DOUBLE`.
      * 
* * ALIGN_STDDEV = 15; @@ -608,11 +624,9 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the count of True-valued data points in the
-     * period. This alignment is valid for gauge metrics with
-     * Boolean values. The value type of the output is
-     * [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Align the time series by returning the number of `True` values in
+     * each alignment period. This aligner is valid for `GAUGE` metrics with
+     * Boolean values. The `value_type` of the output is `INT64`.
      * 
* * ALIGN_COUNT_TRUE = 16; @@ -622,11 +636,9 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the count of False-valued data points in the
-     * period. This alignment is valid for gauge metrics with
-     * Boolean values. The value type of the output is
-     * [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Align the time series by returning the number of `False` values in
+     * each alignment period. This aligner is valid for `GAUGE` metrics with
+     * Boolean values. The `value_type` of the output is `INT64`.
      * 
* * ALIGN_COUNT_FALSE = 24; @@ -636,11 +648,10 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the fraction of True-valued data points in the
-     * period. This alignment is valid for gauge metrics with Boolean values.
-     * The output value is in the range [0, 1] and has value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by returning the ratio of the number of `True`
+     * values to the total number of values in each alignment period. This
+     * aligner is valid for `GAUGE` metrics with Boolean values. The output
+     * value is in the range [0.0, 1.0] and has `value_type` `DOUBLE`.
      * 
* * ALIGN_FRACTION_TRUE = 17; @@ -650,11 +661,12 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the 99th percentile of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with distribution values. The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by using [percentile
+     * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
+     * data point in each alignment period is the 99th percentile of all data
+     * points in the period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with distribution values. The output is a `GAUGE` metric with
+     * `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENTILE_99 = 18; @@ -664,11 +676,12 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the 95th percentile of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with distribution values. The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by using [percentile
+     * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
+     * data point in each alignment period is the 95th percentile of all data
+     * points in the period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with distribution values. The output is a `GAUGE` metric with
+     * `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENTILE_95 = 19; @@ -678,11 +691,12 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the 50th percentile of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with distribution values. The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by using [percentile
+     * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
+     * data point in each alignment period is the 50th percentile of all data
+     * points in the period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with distribution values. The output is a `GAUGE` metric with
+     * `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENTILE_50 = 20; @@ -692,11 +706,12 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align time series via aggregation. The resulting data point in
-     * the alignment period is the 5th percentile of all data
-     * points in the period. This alignment is valid for gauge and delta metrics
-     * with distribution values. The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Align the time series by using [percentile
+     * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
+     * data point in each alignment period is the 5th percentile of all data
+     * points in the period. This aligner is valid for `GAUGE` and `DELTA`
+     * metrics with distribution values. The output is a `GAUGE` metric with
+     * `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENTILE_05 = 21; @@ -706,21 +721,20 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Align and convert to a percentage change. This alignment is valid for
-     * gauge and delta metrics with numeric values. This alignment conceptually
-     * computes the equivalent of "((current - previous)/previous)*100"
-     * where previous value is determined based on the alignmentPeriod.
-     * In the event that previous is 0 the calculated value is infinity with the
-     * exception that if both (current - previous) and previous are 0 the
-     * calculated value is 0.
-     * A 10 minute moving mean is computed at each point of the time window
+     * Align and convert to a percentage change. This aligner is valid for
+     * `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
+     * `((current - previous)/previous) * 100`, where the value of `previous` is
+     * determined based on the `alignment_period`.
+     * If the values of `current` and `previous` are both 0, then the returned
+     * value is 0. If only `previous` is 0, the returned value is infinity.
+     * A 10-minute moving mean is computed at each point of the alignment period
      * prior to the above calculation to smooth the metric and prevent false
-     * positives from very short lived spikes.
-     * Only applicable for data that is >= 0. Any values < 0 are treated as
-     * no data. While delta metrics are accepted by this alignment special care
-     * should be taken that the values for the metric will always be positive.
-     * The output is a gauge metric with value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * positives from very short-lived spikes. The moving mean is only
+     * applicable for data whose values are `>= 0`. Any values `< 0` are
+     * treated as a missing datapoint, and are ignored. While `DELTA`
+     * metrics are accepted by this alignment, special care should be taken that
+     * the values for the metric will always be positive. The output is a
+     * `GAUGE` metric with `value_type` `DOUBLE`.
      * 
* * ALIGN_PERCENT_CHANGE = 23; @@ -842,8 +856,10 @@ private Aligner(int value) { * * *
-   * A Reducer describes how to aggregate data points from multiple
-   * time series into a single time series.
+   * A Reducer operation describes how to aggregate data points from multiple
+   * time series into a single time series, where the value of each data point
+   * in the resulting series is a function of all the already aligned values in
+   * the input time series.
    * 
* * Protobuf enum {@code google.monitoring.v3.Aggregation.Reducer} @@ -853,7 +869,7 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * No cross-time series reduction. The output of the aligner is
+     * No cross-time series reduction. The output of the `Aligner` is
      * returned.
      * 
* @@ -864,10 +880,12 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the mean across time series for each
-     * alignment period. This reducer is valid for delta and
-     * gauge metrics with numeric or distribution values. The value type of the
-     * output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Reduce by computing the mean value across time series for each
+     * alignment period. This reducer is valid for
+     * [DELTA][google.api.MetricDescriptor.MetricKind.DELTA] and
+     * [GAUGE][google.api.MetricDescriptor.MetricKind.GAUGE] metrics with
+     * numeric or distribution values. The `value_type` of the output is
+     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
      * 
* * REDUCE_MEAN = 1; @@ -877,10 +895,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the minimum across time series for each
-     * alignment period. This reducer is valid for delta and
-     * gauge metrics with numeric values. The value type of the output
-     * is the same as the value type of the input.
+     * Reduce by computing the minimum value across time series for each
+     * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
+     * with numeric values. The `value_type` of the output is the same as the
+     * `value_type` of the input.
      * 
* * REDUCE_MIN = 2; @@ -890,10 +908,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the maximum across time series for each
-     * alignment period. This reducer is valid for delta and
-     * gauge metrics with numeric values. The value type of the output
-     * is the same as the value type of the input.
+     * Reduce by computing the maximum value across time series for each
+     * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
+     * with numeric values. The `value_type` of the output is the same as the
+     * `value_type` of the input.
      * 
* * REDUCE_MAX = 3; @@ -904,9 +922,9 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * *
      * Reduce by computing the sum across time series for each
-     * alignment period. This reducer is valid for delta and
-     * gauge metrics with numeric and distribution values. The value type of
-     * the output is the same as the value type of the input.
+     * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
+     * with numeric and distribution values. The `value_type` of the output is
+     * the same as the `value_type` of the input.
      * 
* * REDUCE_SUM = 4; @@ -917,9 +935,9 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * *
      * Reduce by computing the standard deviation across time series
-     * for each alignment period. This reducer is valid for delta
-     * and gauge metrics with numeric or distribution values. The value type of
-     * the output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * for each alignment period. This reducer is valid for `DELTA` and
+     * `GAUGE` metrics with numeric or distribution values. The `value_type`
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_STDDEV = 5; @@ -929,11 +947,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the count of data points across time series
-     * for each alignment period. This reducer is valid for delta
-     * and gauge metrics of numeric, Boolean, distribution, and string value
-     * type. The value type of the output is
-     * [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Reduce by computing the number of data points across time series
+     * for each alignment period. This reducer is valid for `DELTA` and
+     * `GAUGE` metrics of numeric, Boolean, distribution, and string
+     * `value_type`. The `value_type` of the output is `INT64`.
      * 
* * REDUCE_COUNT = 6; @@ -943,10 +960,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the count of True-valued data points across time
-     * series for each alignment period. This reducer is valid for delta
-     * and gauge metrics of Boolean value type. The value type of
-     * the output is [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Reduce by computing the number of `True`-valued data points across time
+     * series for each alignment period. This reducer is valid for `DELTA` and
+     * `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output
+     * is `INT64`.
      * 
* * REDUCE_COUNT_TRUE = 7; @@ -956,10 +973,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the count of False-valued data points across time
-     * series for each alignment period. This reducer is valid for delta
-     * and gauge metrics of Boolean value type. The value type of
-     * the output is [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Reduce by computing the number of `False`-valued data points across time
+     * series for each alignment period. This reducer is valid for `DELTA` and
+     * `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output
+     * is `INT64`.
      * 
* * REDUCE_COUNT_FALSE = 15; @@ -969,11 +986,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the fraction of True-valued data points across time
-     * series for each alignment period. This reducer is valid for delta
-     * and gauge metrics of Boolean value type. The output value is in the
-     * range [0, 1] and has value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Reduce by computing the ratio of the number of `True`-valued data points
+     * to the total number of data points for each alignment period. This
+     * reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`.
+     * The output value is in the range [0.0, 1.0] and has `value_type`
+     * `DOUBLE`.
      * 
* * REDUCE_FRACTION_TRUE = 8; @@ -983,10 +1000,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing 99th percentile of data points across time series
-     * for each alignment period. This reducer is valid for gauge and delta
-     * metrics of numeric and distribution type. The value of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
+     * Reduce by computing the [99th
+     * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
+     * across time series for each alignment period. This reducer is valid for
+     * `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_PERCENTILE_99 = 9; @@ -996,10 +1014,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing 95th percentile of data points across time series
-     * for each alignment period. This reducer is valid for gauge and delta
-     * metrics of numeric and distribution type. The value of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
+     * Reduce by computing the [95th
+     * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
+     * across time series for each alignment period. This reducer is valid for
+     * `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_PERCENTILE_95 = 10; @@ -1009,10 +1028,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing 50th percentile of data points across time series
-     * for each alignment period. This reducer is valid for gauge and delta
-     * metrics of numeric and distribution type. The value of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
+     * Reduce by computing the [50th
+     * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
+     * across time series for each alignment period. This reducer is valid for
+     * `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_PERCENTILE_50 = 11; @@ -1022,10 +1042,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing 5th percentile of data points across time series
-     * for each alignment period. This reducer is valid for gauge and delta
-     * metrics of numeric and distribution type. The value of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
+     * Reduce by computing the [5th
+     * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
+     * across time series for each alignment period. This reducer is valid for
+     * `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_PERCENTILE_05 = 12; @@ -1038,7 +1059,7 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * No cross-time series reduction. The output of the aligner is
+     * No cross-time series reduction. The output of the `Aligner` is
      * returned.
      * 
* @@ -1049,10 +1070,12 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the mean across time series for each
-     * alignment period. This reducer is valid for delta and
-     * gauge metrics with numeric or distribution values. The value type of the
-     * output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Reduce by computing the mean value across time series for each
+     * alignment period. This reducer is valid for
+     * [DELTA][google.api.MetricDescriptor.MetricKind.DELTA] and
+     * [GAUGE][google.api.MetricDescriptor.MetricKind.GAUGE] metrics with
+     * numeric or distribution values. The `value_type` of the output is
+     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
      * 
* * REDUCE_MEAN = 1; @@ -1062,10 +1085,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the minimum across time series for each
-     * alignment period. This reducer is valid for delta and
-     * gauge metrics with numeric values. The value type of the output
-     * is the same as the value type of the input.
+     * Reduce by computing the minimum value across time series for each
+     * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
+     * with numeric values. The `value_type` of the output is the same as the
+     * `value_type` of the input.
      * 
* * REDUCE_MIN = 2; @@ -1075,10 +1098,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the maximum across time series for each
-     * alignment period. This reducer is valid for delta and
-     * gauge metrics with numeric values. The value type of the output
-     * is the same as the value type of the input.
+     * Reduce by computing the maximum value across time series for each
+     * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
+     * with numeric values. The `value_type` of the output is the same as the
+     * `value_type` of the input.
      * 
* * REDUCE_MAX = 3; @@ -1089,9 +1112,9 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * *
      * Reduce by computing the sum across time series for each
-     * alignment period. This reducer is valid for delta and
-     * gauge metrics with numeric and distribution values. The value type of
-     * the output is the same as the value type of the input.
+     * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
+     * with numeric and distribution values. The `value_type` of the output is
+     * the same as the `value_type` of the input.
      * 
* * REDUCE_SUM = 4; @@ -1102,9 +1125,9 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * *
      * Reduce by computing the standard deviation across time series
-     * for each alignment period. This reducer is valid for delta
-     * and gauge metrics with numeric or distribution values. The value type of
-     * the output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * for each alignment period. This reducer is valid for `DELTA` and
+     * `GAUGE` metrics with numeric or distribution values. The `value_type`
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_STDDEV = 5; @@ -1114,11 +1137,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the count of data points across time series
-     * for each alignment period. This reducer is valid for delta
-     * and gauge metrics of numeric, Boolean, distribution, and string value
-     * type. The value type of the output is
-     * [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Reduce by computing the number of data points across time series
+     * for each alignment period. This reducer is valid for `DELTA` and
+     * `GAUGE` metrics of numeric, Boolean, distribution, and string
+     * `value_type`. The `value_type` of the output is `INT64`.
      * 
* * REDUCE_COUNT = 6; @@ -1128,10 +1150,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the count of True-valued data points across time
-     * series for each alignment period. This reducer is valid for delta
-     * and gauge metrics of Boolean value type. The value type of
-     * the output is [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Reduce by computing the number of `True`-valued data points across time
+     * series for each alignment period. This reducer is valid for `DELTA` and
+     * `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output
+     * is `INT64`.
      * 
* * REDUCE_COUNT_TRUE = 7; @@ -1141,10 +1163,10 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the count of False-valued data points across time
-     * series for each alignment period. This reducer is valid for delta
-     * and gauge metrics of Boolean value type. The value type of
-     * the output is [INT64][google.api.MetricDescriptor.ValueType.INT64].
+     * Reduce by computing the number of `False`-valued data points across time
+     * series for each alignment period. This reducer is valid for `DELTA` and
+     * `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output
+     * is `INT64`.
      * 
* * REDUCE_COUNT_FALSE = 15; @@ -1154,11 +1176,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing the fraction of True-valued data points across time
-     * series for each alignment period. This reducer is valid for delta
-     * and gauge metrics of Boolean value type. The output value is in the
-     * range [0, 1] and has value type
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
+     * Reduce by computing the ratio of the number of `True`-valued data points
+     * to the total number of data points for each alignment period. This
+     * reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`.
+     * The output value is in the range [0.0, 1.0] and has `value_type`
+     * `DOUBLE`.
      * 
* * REDUCE_FRACTION_TRUE = 8; @@ -1168,10 +1190,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing 99th percentile of data points across time series
-     * for each alignment period. This reducer is valid for gauge and delta
-     * metrics of numeric and distribution type. The value of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
+     * Reduce by computing the [99th
+     * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
+     * across time series for each alignment period. This reducer is valid for
+     * `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_PERCENTILE_99 = 9; @@ -1181,10 +1204,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing 95th percentile of data points across time series
-     * for each alignment period. This reducer is valid for gauge and delta
-     * metrics of numeric and distribution type. The value of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
+     * Reduce by computing the [95th
+     * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
+     * across time series for each alignment period. This reducer is valid for
+     * `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_PERCENTILE_95 = 10; @@ -1194,10 +1218,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing 50th percentile of data points across time series
-     * for each alignment period. This reducer is valid for gauge and delta
-     * metrics of numeric and distribution type. The value of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
+     * Reduce by computing the [50th
+     * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
+     * across time series for each alignment period. This reducer is valid for
+     * `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_PERCENTILE_50 = 11; @@ -1207,10 +1232,11 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Reduce by computing 5th percentile of data points across time series
-     * for each alignment period. This reducer is valid for gauge and delta
-     * metrics of numeric and distribution type. The value of the output is
-     * [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
+     * Reduce by computing the [5th
+     * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
+     * across time series for each alignment period. This reducer is valid for
+     * `GAUGE` and `DELTA` metrics of numeric and distribution type. The value
+     * of the output is `DOUBLE`.
      * 
* * REDUCE_PERCENTILE_05 = 12; @@ -1324,14 +1350,15 @@ private Reducer(int value) { * * *
-   * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-   * alignment. If present, `alignmentPeriod` must be at least 60
-   * seconds.  After per-time series alignment, each time series will
-   * contain data points only on the period boundaries. If
-   * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-   * this field is ignored. If `perSeriesAligner` is specified and
-   * does not equal `ALIGN_NONE`, then this field must be defined;
-   * otherwise an error is returned.
+   * The `alignment_period` specifies a time interval, in seconds, that is used
+   * to divide the data in all the
+   * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+   * time. This will be done before the per-series aligner can be applied to
+   * the data.
+   * The value must be at least 60 seconds. If a per-series aligner other than
+   * `ALIGN_NONE` is specified, this field is required or an error is returned.
+   * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+   * specified, then this field is ignored.
    * 
* * .google.protobuf.Duration alignment_period = 1; @@ -1345,14 +1372,15 @@ public boolean hasAlignmentPeriod() { * * *
-   * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-   * alignment. If present, `alignmentPeriod` must be at least 60
-   * seconds.  After per-time series alignment, each time series will
-   * contain data points only on the period boundaries. If
-   * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-   * this field is ignored. If `perSeriesAligner` is specified and
-   * does not equal `ALIGN_NONE`, then this field must be defined;
-   * otherwise an error is returned.
+   * The `alignment_period` specifies a time interval, in seconds, that is used
+   * to divide the data in all the
+   * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+   * time. This will be done before the per-series aligner can be applied to
+   * the data.
+   * The value must be at least 60 seconds. If a per-series aligner other than
+   * `ALIGN_NONE` is specified, this field is required or an error is returned.
+   * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+   * specified, then this field is ignored.
    * 
* * .google.protobuf.Duration alignment_period = 1; @@ -1368,14 +1396,15 @@ public com.google.protobuf.Duration getAlignmentPeriod() { * * *
-   * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-   * alignment. If present, `alignmentPeriod` must be at least 60
-   * seconds.  After per-time series alignment, each time series will
-   * contain data points only on the period boundaries. If
-   * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-   * this field is ignored. If `perSeriesAligner` is specified and
-   * does not equal `ALIGN_NONE`, then this field must be defined;
-   * otherwise an error is returned.
+   * The `alignment_period` specifies a time interval, in seconds, that is used
+   * to divide the data in all the
+   * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+   * time. This will be done before the per-series aligner can be applied to
+   * the data.
+   * The value must be at least 60 seconds. If a per-series aligner other than
+   * `ALIGN_NONE` is specified, this field is required or an error is returned.
+   * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+   * specified, then this field is ignored.
    * 
* * .google.protobuf.Duration alignment_period = 1; @@ -1390,15 +1419,19 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() { * * *
-   * The approach to be used to align individual time series. Not all
-   * alignment functions may be applied to all time series, depending
-   * on the metric type and value type of the original time
-   * series. Alignment may change the metric type or the value type of
+   * An `Aligner` describes how to bring the data points in a single
+   * time series into temporal alignment. Except for `ALIGN_NONE`, all
+   * alignments cause all the data points in an `alignment_period` to be
+   * mathematically grouped together, resulting in a single data point for
+   * each `alignment_period` with end timestamp at the end of the period.
+   * Not all alignment operations may be applied to all time series. The valid
+   * choices depend on the `metric_kind` and `value_type` of the original time
+   * series. Alignment can change the `metric_kind` or the `value_type` of
    * the time series.
    * Time series data must be aligned in order to perform cross-time
-   * series reduction. If `crossSeriesReducer` is specified, then
-   * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-   * and `alignmentPeriod` must be specified; otherwise, an error is
+   * series reduction. If `cross_series_reducer` is specified, then
+   * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+   * and `alignment_period` must be specified; otherwise, an error is
    * returned.
    * 
* @@ -1413,15 +1446,19 @@ public int getPerSeriesAlignerValue() { * * *
-   * The approach to be used to align individual time series. Not all
-   * alignment functions may be applied to all time series, depending
-   * on the metric type and value type of the original time
-   * series. Alignment may change the metric type or the value type of
+   * An `Aligner` describes how to bring the data points in a single
+   * time series into temporal alignment. Except for `ALIGN_NONE`, all
+   * alignments cause all the data points in an `alignment_period` to be
+   * mathematically grouped together, resulting in a single data point for
+   * each `alignment_period` with end timestamp at the end of the period.
+   * Not all alignment operations may be applied to all time series. The valid
+   * choices depend on the `metric_kind` and `value_type` of the original time
+   * series. Alignment can change the `metric_kind` or the `value_type` of
    * the time series.
    * Time series data must be aligned in order to perform cross-time
-   * series reduction. If `crossSeriesReducer` is specified, then
-   * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-   * and `alignmentPeriod` must be specified; otherwise, an error is
+   * series reduction. If `cross_series_reducer` is specified, then
+   * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+   * and `alignment_period` must be specified; otherwise, an error is
    * returned.
    * 
* @@ -1442,16 +1479,18 @@ public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() { * * *
-   * The approach to be used to combine time series. Not all reducer
-   * functions may be applied to all time series, depending on the
-   * metric type and the value type of the original time
-   * series. Reduction may change the metric type of value type of the
-   * time series.
-   * Time series data must be aligned in order to perform cross-time
-   * series reduction. If `crossSeriesReducer` is specified, then
-   * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-   * and `alignmentPeriod` must be specified; otherwise, an error is
-   * returned.
+   * The reduction operation to be used to combine time series into a single
+   * time series, where the value of each data point in the resulting series is
+   * a function of all the already aligned values in the input time series.
+   * Not all reducer operations can be applied to all time series. The valid
+   * choices depend on the `metric_kind` and the `value_type` of the original
+   * time series. Reduction can yield a time series with a different
+   * `metric_kind` or `value_type` than the input time series.
+   * Time series data must first be aligned (see `per_series_aligner`) in order
+   * to perform cross-time series reduction. If `cross_series_reducer` is
+   * specified, then `per_series_aligner` must be specified, and must not be
+   * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+   * error is returned.
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -1465,16 +1504,18 @@ public int getCrossSeriesReducerValue() { * * *
-   * The approach to be used to combine time series. Not all reducer
-   * functions may be applied to all time series, depending on the
-   * metric type and the value type of the original time
-   * series. Reduction may change the metric type of value type of the
-   * time series.
-   * Time series data must be aligned in order to perform cross-time
-   * series reduction. If `crossSeriesReducer` is specified, then
-   * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-   * and `alignmentPeriod` must be specified; otherwise, an error is
-   * returned.
+   * The reduction operation to be used to combine time series into a single
+   * time series, where the value of each data point in the resulting series is
+   * a function of all the already aligned values in the input time series.
+   * Not all reducer operations can be applied to all time series. The valid
+   * choices depend on the `metric_kind` and the `value_type` of the original
+   * time series. Reduction can yield a time series with a different
+   * `metric_kind` or `value_type` than the input time series.
+   * Time series data must first be aligned (see `per_series_aligner`) in order
+   * to perform cross-time series reduction. If `cross_series_reducer` is
+   * specified, then `per_series_aligner` must be specified, and must not be
+   * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+   * error is returned.
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -1494,19 +1535,19 @@ public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() { * * *
-   * The set of fields to preserve when `crossSeriesReducer` is
-   * specified. The `groupByFields` determine how the time series are
+   * The set of fields to preserve when `cross_series_reducer` is
+   * specified. The `group_by_fields` determine how the time series are
    * partitioned into subsets prior to applying the aggregation
-   * function. Each subset contains time series that have the same
+   * operation. Each subset contains time series that have the same
    * value for each of the grouping fields. Each individual time
    * series is a member of exactly one subset. The
-   * `crossSeriesReducer` is applied to each subset of time series.
+   * `cross_series_reducer` is applied to each subset of time series.
    * It is not possible to reduce across different resource types, so
    * this field implicitly contains `resource.type`.  Fields not
-   * specified in `groupByFields` are aggregated away.  If
-   * `groupByFields` is not specified and all the time series have
+   * specified in `group_by_fields` are aggregated away.  If
+   * `group_by_fields` is not specified and all the time series have
    * the same resource type, then the time series are aggregated into
-   * a single output time series. If `crossSeriesReducer` is not
+   * a single output time series. If `cross_series_reducer` is not
    * defined, this field is ignored.
    * 
* @@ -1521,19 +1562,19 @@ public com.google.protobuf.ProtocolStringList getGroupByFieldsList() { * * *
-   * The set of fields to preserve when `crossSeriesReducer` is
-   * specified. The `groupByFields` determine how the time series are
+   * The set of fields to preserve when `cross_series_reducer` is
+   * specified. The `group_by_fields` determine how the time series are
    * partitioned into subsets prior to applying the aggregation
-   * function. Each subset contains time series that have the same
+   * operation. Each subset contains time series that have the same
    * value for each of the grouping fields. Each individual time
    * series is a member of exactly one subset. The
-   * `crossSeriesReducer` is applied to each subset of time series.
+   * `cross_series_reducer` is applied to each subset of time series.
    * It is not possible to reduce across different resource types, so
    * this field implicitly contains `resource.type`.  Fields not
-   * specified in `groupByFields` are aggregated away.  If
-   * `groupByFields` is not specified and all the time series have
+   * specified in `group_by_fields` are aggregated away.  If
+   * `group_by_fields` is not specified and all the time series have
    * the same resource type, then the time series are aggregated into
-   * a single output time series. If `crossSeriesReducer` is not
+   * a single output time series. If `cross_series_reducer` is not
    * defined, this field is ignored.
    * 
* @@ -1548,19 +1589,19 @@ public int getGroupByFieldsCount() { * * *
-   * The set of fields to preserve when `crossSeriesReducer` is
-   * specified. The `groupByFields` determine how the time series are
+   * The set of fields to preserve when `cross_series_reducer` is
+   * specified. The `group_by_fields` determine how the time series are
    * partitioned into subsets prior to applying the aggregation
-   * function. Each subset contains time series that have the same
+   * operation. Each subset contains time series that have the same
    * value for each of the grouping fields. Each individual time
    * series is a member of exactly one subset. The
-   * `crossSeriesReducer` is applied to each subset of time series.
+   * `cross_series_reducer` is applied to each subset of time series.
    * It is not possible to reduce across different resource types, so
    * this field implicitly contains `resource.type`.  Fields not
-   * specified in `groupByFields` are aggregated away.  If
-   * `groupByFields` is not specified and all the time series have
+   * specified in `group_by_fields` are aggregated away.  If
+   * `group_by_fields` is not specified and all the time series have
    * the same resource type, then the time series are aggregated into
-   * a single output time series. If `crossSeriesReducer` is not
+   * a single output time series. If `cross_series_reducer` is not
    * defined, this field is ignored.
    * 
* @@ -1576,19 +1617,19 @@ public java.lang.String getGroupByFields(int index) { * * *
-   * The set of fields to preserve when `crossSeriesReducer` is
-   * specified. The `groupByFields` determine how the time series are
+   * The set of fields to preserve when `cross_series_reducer` is
+   * specified. The `group_by_fields` determine how the time series are
    * partitioned into subsets prior to applying the aggregation
-   * function. Each subset contains time series that have the same
+   * operation. Each subset contains time series that have the same
    * value for each of the grouping fields. Each individual time
    * series is a member of exactly one subset. The
-   * `crossSeriesReducer` is applied to each subset of time series.
+   * `cross_series_reducer` is applied to each subset of time series.
    * It is not possible to reduce across different resource types, so
    * this field implicitly contains `resource.type`.  Fields not
-   * specified in `groupByFields` are aggregated away.  If
-   * `groupByFields` is not specified and all the time series have
+   * specified in `group_by_fields` are aggregated away.  If
+   * `group_by_fields` is not specified and all the time series have
    * the same resource type, then the time series are aggregated into
-   * a single output time series. If `crossSeriesReducer` is not
+   * a single output time series. If `cross_series_reducer` is not
    * defined, this field is ignored.
    * 
* @@ -1803,12 +1844,29 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Describes how to combine multiple time series to provide different views of
-   * the data.  Aggregation consists of an alignment step on individual time
-   * series (`alignment_period` and `per_series_aligner`) followed by an optional
-   * reduction step of the data across the aligned time series
-   * (`cross_series_reducer` and `group_by_fields`).  For more details, see
-   * [Aggregation](/monitoring/api/learn_more#aggregation).
+   * Describes how to combine multiple time series to provide a different view of
+   * the data.  Aggregation of time series is done in two steps. First, each time
+   * series in the set is _aligned_ to the same time interval boundaries, then the
+   * set of time series is optionally _reduced_ in number.
+   * Alignment consists of applying the `per_series_aligner` operation
+   * to each time series after its data has been divided into regular
+   * `alignment_period` time intervals. This process takes _all_ of the data
+   * points in an alignment period, applies a mathematical transformation such as
+   * averaging, minimum, maximum, delta, etc., and converts them into a single
+   * data point per period.
+   * Reduction is when the aligned and transformed time series can optionally be
+   * combined, reducing the number of time series through similar mathematical
+   * transformations. Reduction involves applying a `cross_series_reducer` to
+   * all the time series, optionally sorting the time series into subsets with
+   * `group_by_fields`, and applying the reducer to each subset.
+   * The raw time series data can contain a huge amount of information from
+   * multiple sources. Alignment and reduction transforms this mass of data into
+   * a more manageable and representative collection of data, for example "the
+   * 95% latency across the average of all tasks in a cluster". This
+   * representative data can be more easily graphed and comprehended, and the
+   * individual time series data is still available for later drilldown. For more
+   * details, see [Aggregating Time
+   * Series](/monitoring/api/v3/metrics#aggregating_time_series).
    * 
* * Protobuf type {@code google.monitoring.v3.Aggregation} @@ -2009,14 +2067,15 @@ public Builder mergeFrom( * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2030,14 +2089,15 @@ public boolean hasAlignmentPeriod() { * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2057,14 +2117,15 @@ public com.google.protobuf.Duration getAlignmentPeriod() { * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2086,14 +2147,15 @@ public Builder setAlignmentPeriod(com.google.protobuf.Duration value) { * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2112,14 +2174,15 @@ public Builder setAlignmentPeriod(com.google.protobuf.Duration.Builder builderFo * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2145,14 +2208,15 @@ public Builder mergeAlignmentPeriod(com.google.protobuf.Duration value) { * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2172,14 +2236,15 @@ public Builder clearAlignmentPeriod() { * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2193,14 +2258,15 @@ public com.google.protobuf.Duration.Builder getAlignmentPeriodBuilder() { * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2218,14 +2284,15 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() { * * *
-     * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-     * alignment. If present, `alignmentPeriod` must be at least 60
-     * seconds.  After per-time series alignment, each time series will
-     * contain data points only on the period boundaries. If
-     * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-     * this field is ignored. If `perSeriesAligner` is specified and
-     * does not equal `ALIGN_NONE`, then this field must be defined;
-     * otherwise an error is returned.
+     * The `alignment_period` specifies a time interval, in seconds, that is used
+     * to divide the data in all the
+     * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+     * time. This will be done before the per-series aligner can be applied to
+     * the data.
+     * The value must be at least 60 seconds. If a per-series aligner other than
+     * `ALIGN_NONE` is specified, this field is required or an error is returned.
+     * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+     * specified, then this field is ignored.
      * 
* * .google.protobuf.Duration alignment_period = 1; @@ -2252,15 +2319,19 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() { * * *
-     * The approach to be used to align individual time series. Not all
-     * alignment functions may be applied to all time series, depending
-     * on the metric type and value type of the original time
-     * series. Alignment may change the metric type or the value type of
+     * An `Aligner` describes how to bring the data points in a single
+     * time series into temporal alignment. Except for `ALIGN_NONE`, all
+     * alignments cause all the data points in an `alignment_period` to be
+     * mathematically grouped together, resulting in a single data point for
+     * each `alignment_period` with end timestamp at the end of the period.
+     * Not all alignment operations may be applied to all time series. The valid
+     * choices depend on the `metric_kind` and `value_type` of the original time
+     * series. Alignment can change the `metric_kind` or the `value_type` of
      * the time series.
      * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
+     * series reduction. If `cross_series_reducer` is specified, then
+     * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+     * and `alignment_period` must be specified; otherwise, an error is
      * returned.
      * 
* @@ -2275,15 +2346,19 @@ public int getPerSeriesAlignerValue() { * * *
-     * The approach to be used to align individual time series. Not all
-     * alignment functions may be applied to all time series, depending
-     * on the metric type and value type of the original time
-     * series. Alignment may change the metric type or the value type of
+     * An `Aligner` describes how to bring the data points in a single
+     * time series into temporal alignment. Except for `ALIGN_NONE`, all
+     * alignments cause all the data points in an `alignment_period` to be
+     * mathematically grouped together, resulting in a single data point for
+     * each `alignment_period` with end timestamp at the end of the period.
+     * Not all alignment operations may be applied to all time series. The valid
+     * choices depend on the `metric_kind` and `value_type` of the original time
+     * series. Alignment can change the `metric_kind` or the `value_type` of
      * the time series.
      * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
+     * series reduction. If `cross_series_reducer` is specified, then
+     * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+     * and `alignment_period` must be specified; otherwise, an error is
      * returned.
      * 
* @@ -2301,15 +2376,19 @@ public Builder setPerSeriesAlignerValue(int value) { * * *
-     * The approach to be used to align individual time series. Not all
-     * alignment functions may be applied to all time series, depending
-     * on the metric type and value type of the original time
-     * series. Alignment may change the metric type or the value type of
+     * An `Aligner` describes how to bring the data points in a single
+     * time series into temporal alignment. Except for `ALIGN_NONE`, all
+     * alignments cause all the data points in an `alignment_period` to be
+     * mathematically grouped together, resulting in a single data point for
+     * each `alignment_period` with end timestamp at the end of the period.
+     * Not all alignment operations may be applied to all time series. The valid
+     * choices depend on the `metric_kind` and `value_type` of the original time
+     * series. Alignment can change the `metric_kind` or the `value_type` of
      * the time series.
      * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
+     * series reduction. If `cross_series_reducer` is specified, then
+     * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+     * and `alignment_period` must be specified; otherwise, an error is
      * returned.
      * 
* @@ -2327,15 +2406,19 @@ public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() { * * *
-     * The approach to be used to align individual time series. Not all
-     * alignment functions may be applied to all time series, depending
-     * on the metric type and value type of the original time
-     * series. Alignment may change the metric type or the value type of
+     * An `Aligner` describes how to bring the data points in a single
+     * time series into temporal alignment. Except for `ALIGN_NONE`, all
+     * alignments cause all the data points in an `alignment_period` to be
+     * mathematically grouped together, resulting in a single data point for
+     * each `alignment_period` with end timestamp at the end of the period.
+     * Not all alignment operations may be applied to all time series. The valid
+     * choices depend on the `metric_kind` and `value_type` of the original time
+     * series. Alignment can change the `metric_kind` or the `value_type` of
      * the time series.
      * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
+     * series reduction. If `cross_series_reducer` is specified, then
+     * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+     * and `alignment_period` must be specified; otherwise, an error is
      * returned.
      * 
* @@ -2357,15 +2440,19 @@ public Builder setPerSeriesAligner(com.google.monitoring.v3.Aggregation.Aligner * * *
-     * The approach to be used to align individual time series. Not all
-     * alignment functions may be applied to all time series, depending
-     * on the metric type and value type of the original time
-     * series. Alignment may change the metric type or the value type of
+     * An `Aligner` describes how to bring the data points in a single
+     * time series into temporal alignment. Except for `ALIGN_NONE`, all
+     * alignments cause all the data points in an `alignment_period` to be
+     * mathematically grouped together, resulting in a single data point for
+     * each `alignment_period` with end timestamp at the end of the period.
+     * Not all alignment operations may be applied to all time series. The valid
+     * choices depend on the `metric_kind` and `value_type` of the original time
+     * series. Alignment can change the `metric_kind` or the `value_type` of
      * the time series.
      * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
+     * series reduction. If `cross_series_reducer` is specified, then
+     * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+     * and `alignment_period` must be specified; otherwise, an error is
      * returned.
      * 
* @@ -2385,16 +2472,18 @@ public Builder clearPerSeriesAligner() { * * *
-     * The approach to be used to combine time series. Not all reducer
-     * functions may be applied to all time series, depending on the
-     * metric type and the value type of the original time
-     * series. Reduction may change the metric type of value type of the
-     * time series.
-     * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
-     * returned.
+     * The reduction operation to be used to combine time series into a single
+     * time series, where the value of each data point in the resulting series is
+     * a function of all the already aligned values in the input time series.
+     * Not all reducer operations can be applied to all time series. The valid
+     * choices depend on the `metric_kind` and the `value_type` of the original
+     * time series. Reduction can yield a time series with a different
+     * `metric_kind` or `value_type` than the input time series.
+     * Time series data must first be aligned (see `per_series_aligner`) in order
+     * to perform cross-time series reduction. If `cross_series_reducer` is
+     * specified, then `per_series_aligner` must be specified, and must not be
+     * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+     * error is returned.
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -2408,16 +2497,18 @@ public int getCrossSeriesReducerValue() { * * *
-     * The approach to be used to combine time series. Not all reducer
-     * functions may be applied to all time series, depending on the
-     * metric type and the value type of the original time
-     * series. Reduction may change the metric type of value type of the
-     * time series.
-     * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
-     * returned.
+     * The reduction operation to be used to combine time series into a single
+     * time series, where the value of each data point in the resulting series is
+     * a function of all the already aligned values in the input time series.
+     * Not all reducer operations can be applied to all time series. The valid
+     * choices depend on the `metric_kind` and the `value_type` of the original
+     * time series. Reduction can yield a time series with a different
+     * `metric_kind` or `value_type` than the input time series.
+     * Time series data must first be aligned (see `per_series_aligner`) in order
+     * to perform cross-time series reduction. If `cross_series_reducer` is
+     * specified, then `per_series_aligner` must be specified, and must not be
+     * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+     * error is returned.
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -2434,16 +2525,18 @@ public Builder setCrossSeriesReducerValue(int value) { * * *
-     * The approach to be used to combine time series. Not all reducer
-     * functions may be applied to all time series, depending on the
-     * metric type and the value type of the original time
-     * series. Reduction may change the metric type of value type of the
-     * time series.
-     * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
-     * returned.
+     * The reduction operation to be used to combine time series into a single
+     * time series, where the value of each data point in the resulting series is
+     * a function of all the already aligned values in the input time series.
+     * Not all reducer operations can be applied to all time series. The valid
+     * choices depend on the `metric_kind` and the `value_type` of the original
+     * time series. Reduction can yield a time series with a different
+     * `metric_kind` or `value_type` than the input time series.
+     * Time series data must first be aligned (see `per_series_aligner`) in order
+     * to perform cross-time series reduction. If `cross_series_reducer` is
+     * specified, then `per_series_aligner` must be specified, and must not be
+     * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+     * error is returned.
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -2460,16 +2553,18 @@ public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() { * * *
-     * The approach to be used to combine time series. Not all reducer
-     * functions may be applied to all time series, depending on the
-     * metric type and the value type of the original time
-     * series. Reduction may change the metric type of value type of the
-     * time series.
-     * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
-     * returned.
+     * The reduction operation to be used to combine time series into a single
+     * time series, where the value of each data point in the resulting series is
+     * a function of all the already aligned values in the input time series.
+     * Not all reducer operations can be applied to all time series. The valid
+     * choices depend on the `metric_kind` and the `value_type` of the original
+     * time series. Reduction can yield a time series with a different
+     * `metric_kind` or `value_type` than the input time series.
+     * Time series data must first be aligned (see `per_series_aligner`) in order
+     * to perform cross-time series reduction. If `cross_series_reducer` is
+     * specified, then `per_series_aligner` must be specified, and must not be
+     * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+     * error is returned.
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -2490,16 +2585,18 @@ public Builder setCrossSeriesReducer(com.google.monitoring.v3.Aggregation.Reduce * * *
-     * The approach to be used to combine time series. Not all reducer
-     * functions may be applied to all time series, depending on the
-     * metric type and the value type of the original time
-     * series. Reduction may change the metric type of value type of the
-     * time series.
-     * Time series data must be aligned in order to perform cross-time
-     * series reduction. If `crossSeriesReducer` is specified, then
-     * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-     * and `alignmentPeriod` must be specified; otherwise, an error is
-     * returned.
+     * The reduction operation to be used to combine time series into a single
+     * time series, where the value of each data point in the resulting series is
+     * a function of all the already aligned values in the input time series.
+     * Not all reducer operations can be applied to all time series. The valid
+     * choices depend on the `metric_kind` and the `value_type` of the original
+     * time series. Reduction can yield a time series with a different
+     * `metric_kind` or `value_type` than the input time series.
+     * Time series data must first be aligned (see `per_series_aligner`) in order
+     * to perform cross-time series reduction. If `cross_series_reducer` is
+     * specified, then `per_series_aligner` must be specified, and must not be
+     * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+     * error is returned.
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -2526,19 +2623,19 @@ private void ensureGroupByFieldsIsMutable() { * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* @@ -2553,19 +2650,19 @@ public com.google.protobuf.ProtocolStringList getGroupByFieldsList() { * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* @@ -2580,19 +2677,19 @@ public int getGroupByFieldsCount() { * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* @@ -2608,19 +2705,19 @@ public java.lang.String getGroupByFields(int index) { * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* @@ -2636,19 +2733,19 @@ public com.google.protobuf.ByteString getGroupByFieldsBytes(int index) { * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* @@ -2671,19 +2768,19 @@ public Builder setGroupByFields(int index, java.lang.String value) { * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* @@ -2705,19 +2802,19 @@ public Builder addGroupByFields(java.lang.String value) { * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* @@ -2736,19 +2833,19 @@ public Builder addAllGroupByFields(java.lang.Iterable values) * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* @@ -2766,19 +2863,19 @@ public Builder clearGroupByFields() { * * *
-     * The set of fields to preserve when `crossSeriesReducer` is
-     * specified. The `groupByFields` determine how the time series are
+     * The set of fields to preserve when `cross_series_reducer` is
+     * specified. The `group_by_fields` determine how the time series are
      * partitioned into subsets prior to applying the aggregation
-     * function. Each subset contains time series that have the same
+     * operation. Each subset contains time series that have the same
      * value for each of the grouping fields. Each individual time
      * series is a member of exactly one subset. The
-     * `crossSeriesReducer` is applied to each subset of time series.
+     * `cross_series_reducer` is applied to each subset of time series.
      * It is not possible to reduce across different resource types, so
      * this field implicitly contains `resource.type`.  Fields not
-     * specified in `groupByFields` are aggregated away.  If
-     * `groupByFields` is not specified and all the time series have
+     * specified in `group_by_fields` are aggregated away.  If
+     * `group_by_fields` is not specified and all the time series have
      * the same resource type, then the time series are aggregated into
-     * a single output time series. If `crossSeriesReducer` is not
+     * a single output time series. If `cross_series_reducer` is not
      * defined, this field is ignored.
      * 
* diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java index 02921ebb..498fead9 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java @@ -27,14 +27,15 @@ public interface AggregationOrBuilder * * *
-   * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-   * alignment. If present, `alignmentPeriod` must be at least 60
-   * seconds.  After per-time series alignment, each time series will
-   * contain data points only on the period boundaries. If
-   * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-   * this field is ignored. If `perSeriesAligner` is specified and
-   * does not equal `ALIGN_NONE`, then this field must be defined;
-   * otherwise an error is returned.
+   * The `alignment_period` specifies a time interval, in seconds, that is used
+   * to divide the data in all the
+   * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+   * time. This will be done before the per-series aligner can be applied to
+   * the data.
+   * The value must be at least 60 seconds. If a per-series aligner other than
+   * `ALIGN_NONE` is specified, this field is required or an error is returned.
+   * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+   * specified, then this field is ignored.
    * 
* * .google.protobuf.Duration alignment_period = 1; @@ -46,14 +47,15 @@ public interface AggregationOrBuilder * * *
-   * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-   * alignment. If present, `alignmentPeriod` must be at least 60
-   * seconds.  After per-time series alignment, each time series will
-   * contain data points only on the period boundaries. If
-   * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-   * this field is ignored. If `perSeriesAligner` is specified and
-   * does not equal `ALIGN_NONE`, then this field must be defined;
-   * otherwise an error is returned.
+   * The `alignment_period` specifies a time interval, in seconds, that is used
+   * to divide the data in all the
+   * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+   * time. This will be done before the per-series aligner can be applied to
+   * the data.
+   * The value must be at least 60 seconds. If a per-series aligner other than
+   * `ALIGN_NONE` is specified, this field is required or an error is returned.
+   * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+   * specified, then this field is ignored.
    * 
* * .google.protobuf.Duration alignment_period = 1; @@ -65,14 +67,15 @@ public interface AggregationOrBuilder * * *
-   * The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
-   * alignment. If present, `alignmentPeriod` must be at least 60
-   * seconds.  After per-time series alignment, each time series will
-   * contain data points only on the period boundaries. If
-   * `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
-   * this field is ignored. If `perSeriesAligner` is specified and
-   * does not equal `ALIGN_NONE`, then this field must be defined;
-   * otherwise an error is returned.
+   * The `alignment_period` specifies a time interval, in seconds, that is used
+   * to divide the data in all the
+   * [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
+   * time. This will be done before the per-series aligner can be applied to
+   * the data.
+   * The value must be at least 60 seconds. If a per-series aligner other than
+   * `ALIGN_NONE` is specified, this field is required or an error is returned.
+   * If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
+   * specified, then this field is ignored.
    * 
* * .google.protobuf.Duration alignment_period = 1; @@ -83,15 +86,19 @@ public interface AggregationOrBuilder * * *
-   * The approach to be used to align individual time series. Not all
-   * alignment functions may be applied to all time series, depending
-   * on the metric type and value type of the original time
-   * series. Alignment may change the metric type or the value type of
+   * An `Aligner` describes how to bring the data points in a single
+   * time series into temporal alignment. Except for `ALIGN_NONE`, all
+   * alignments cause all the data points in an `alignment_period` to be
+   * mathematically grouped together, resulting in a single data point for
+   * each `alignment_period` with end timestamp at the end of the period.
+   * Not all alignment operations may be applied to all time series. The valid
+   * choices depend on the `metric_kind` and `value_type` of the original time
+   * series. Alignment can change the `metric_kind` or the `value_type` of
    * the time series.
    * Time series data must be aligned in order to perform cross-time
-   * series reduction. If `crossSeriesReducer` is specified, then
-   * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-   * and `alignmentPeriod` must be specified; otherwise, an error is
+   * series reduction. If `cross_series_reducer` is specified, then
+   * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+   * and `alignment_period` must be specified; otherwise, an error is
    * returned.
    * 
* @@ -104,15 +111,19 @@ public interface AggregationOrBuilder * * *
-   * The approach to be used to align individual time series. Not all
-   * alignment functions may be applied to all time series, depending
-   * on the metric type and value type of the original time
-   * series. Alignment may change the metric type or the value type of
+   * An `Aligner` describes how to bring the data points in a single
+   * time series into temporal alignment. Except for `ALIGN_NONE`, all
+   * alignments cause all the data points in an `alignment_period` to be
+   * mathematically grouped together, resulting in a single data point for
+   * each `alignment_period` with end timestamp at the end of the period.
+   * Not all alignment operations may be applied to all time series. The valid
+   * choices depend on the `metric_kind` and `value_type` of the original time
+   * series. Alignment can change the `metric_kind` or the `value_type` of
    * the time series.
    * Time series data must be aligned in order to perform cross-time
-   * series reduction. If `crossSeriesReducer` is specified, then
-   * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-   * and `alignmentPeriod` must be specified; otherwise, an error is
+   * series reduction. If `cross_series_reducer` is specified, then
+   * `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
+   * and `alignment_period` must be specified; otherwise, an error is
    * returned.
    * 
* @@ -126,16 +137,18 @@ public interface AggregationOrBuilder * * *
-   * The approach to be used to combine time series. Not all reducer
-   * functions may be applied to all time series, depending on the
-   * metric type and the value type of the original time
-   * series. Reduction may change the metric type of value type of the
-   * time series.
-   * Time series data must be aligned in order to perform cross-time
-   * series reduction. If `crossSeriesReducer` is specified, then
-   * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-   * and `alignmentPeriod` must be specified; otherwise, an error is
-   * returned.
+   * The reduction operation to be used to combine time series into a single
+   * time series, where the value of each data point in the resulting series is
+   * a function of all the already aligned values in the input time series.
+   * Not all reducer operations can be applied to all time series. The valid
+   * choices depend on the `metric_kind` and the `value_type` of the original
+   * time series. Reduction can yield a time series with a different
+   * `metric_kind` or `value_type` than the input time series.
+   * Time series data must first be aligned (see `per_series_aligner`) in order
+   * to perform cross-time series reduction. If `cross_series_reducer` is
+   * specified, then `per_series_aligner` must be specified, and must not be
+   * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+   * error is returned.
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -147,16 +160,18 @@ public interface AggregationOrBuilder * * *
-   * The approach to be used to combine time series. Not all reducer
-   * functions may be applied to all time series, depending on the
-   * metric type and the value type of the original time
-   * series. Reduction may change the metric type of value type of the
-   * time series.
-   * Time series data must be aligned in order to perform cross-time
-   * series reduction. If `crossSeriesReducer` is specified, then
-   * `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
-   * and `alignmentPeriod` must be specified; otherwise, an error is
-   * returned.
+   * The reduction operation to be used to combine time series into a single
+   * time series, where the value of each data point in the resulting series is
+   * a function of all the already aligned values in the input time series.
+   * Not all reducer operations can be applied to all time series. The valid
+   * choices depend on the `metric_kind` and the `value_type` of the original
+   * time series. Reduction can yield a time series with a different
+   * `metric_kind` or `value_type` than the input time series.
+   * Time series data must first be aligned (see `per_series_aligner`) in order
+   * to perform cross-time series reduction. If `cross_series_reducer` is
+   * specified, then `per_series_aligner` must be specified, and must not be
+   * `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
+   * error is returned.
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; @@ -169,19 +184,19 @@ public interface AggregationOrBuilder * * *
-   * The set of fields to preserve when `crossSeriesReducer` is
-   * specified. The `groupByFields` determine how the time series are
+   * The set of fields to preserve when `cross_series_reducer` is
+   * specified. The `group_by_fields` determine how the time series are
    * partitioned into subsets prior to applying the aggregation
-   * function. Each subset contains time series that have the same
+   * operation. Each subset contains time series that have the same
    * value for each of the grouping fields. Each individual time
    * series is a member of exactly one subset. The
-   * `crossSeriesReducer` is applied to each subset of time series.
+   * `cross_series_reducer` is applied to each subset of time series.
    * It is not possible to reduce across different resource types, so
    * this field implicitly contains `resource.type`.  Fields not
-   * specified in `groupByFields` are aggregated away.  If
-   * `groupByFields` is not specified and all the time series have
+   * specified in `group_by_fields` are aggregated away.  If
+   * `group_by_fields` is not specified and all the time series have
    * the same resource type, then the time series are aggregated into
-   * a single output time series. If `crossSeriesReducer` is not
+   * a single output time series. If `cross_series_reducer` is not
    * defined, this field is ignored.
    * 
* @@ -194,19 +209,19 @@ public interface AggregationOrBuilder * * *
-   * The set of fields to preserve when `crossSeriesReducer` is
-   * specified. The `groupByFields` determine how the time series are
+   * The set of fields to preserve when `cross_series_reducer` is
+   * specified. The `group_by_fields` determine how the time series are
    * partitioned into subsets prior to applying the aggregation
-   * function. Each subset contains time series that have the same
+   * operation. Each subset contains time series that have the same
    * value for each of the grouping fields. Each individual time
    * series is a member of exactly one subset. The
-   * `crossSeriesReducer` is applied to each subset of time series.
+   * `cross_series_reducer` is applied to each subset of time series.
    * It is not possible to reduce across different resource types, so
    * this field implicitly contains `resource.type`.  Fields not
-   * specified in `groupByFields` are aggregated away.  If
-   * `groupByFields` is not specified and all the time series have
+   * specified in `group_by_fields` are aggregated away.  If
+   * `group_by_fields` is not specified and all the time series have
    * the same resource type, then the time series are aggregated into
-   * a single output time series. If `crossSeriesReducer` is not
+   * a single output time series. If `cross_series_reducer` is not
    * defined, this field is ignored.
    * 
* @@ -219,19 +234,19 @@ public interface AggregationOrBuilder * * *
-   * The set of fields to preserve when `crossSeriesReducer` is
-   * specified. The `groupByFields` determine how the time series are
+   * The set of fields to preserve when `cross_series_reducer` is
+   * specified. The `group_by_fields` determine how the time series are
    * partitioned into subsets prior to applying the aggregation
-   * function. Each subset contains time series that have the same
+   * operation. Each subset contains time series that have the same
    * value for each of the grouping fields. Each individual time
    * series is a member of exactly one subset. The
-   * `crossSeriesReducer` is applied to each subset of time series.
+   * `cross_series_reducer` is applied to each subset of time series.
    * It is not possible to reduce across different resource types, so
    * this field implicitly contains `resource.type`.  Fields not
-   * specified in `groupByFields` are aggregated away.  If
-   * `groupByFields` is not specified and all the time series have
+   * specified in `group_by_fields` are aggregated away.  If
+   * `group_by_fields` is not specified and all the time series have
    * the same resource type, then the time series are aggregated into
-   * a single output time series. If `crossSeriesReducer` is not
+   * a single output time series. If `cross_series_reducer` is not
    * defined, this field is ignored.
    * 
* @@ -245,19 +260,19 @@ public interface AggregationOrBuilder * * *
-   * The set of fields to preserve when `crossSeriesReducer` is
-   * specified. The `groupByFields` determine how the time series are
+   * The set of fields to preserve when `cross_series_reducer` is
+   * specified. The `group_by_fields` determine how the time series are
    * partitioned into subsets prior to applying the aggregation
-   * function. Each subset contains time series that have the same
+   * operation. Each subset contains time series that have the same
    * value for each of the grouping fields. Each individual time
    * series is a member of exactly one subset. The
-   * `crossSeriesReducer` is applied to each subset of time series.
+   * `cross_series_reducer` is applied to each subset of time series.
    * It is not possible to reduce across different resource types, so
    * this field implicitly contains `resource.type`.  Fields not
-   * specified in `groupByFields` are aggregated away.  If
-   * `groupByFields` is not specified and all the time series have
+   * specified in `group_by_fields` are aggregated away.  If
+   * `group_by_fields` is not specified and all the time series have
    * the same resource type, then the time series are aggregated into
-   * a single output time series. If `crossSeriesReducer` is not
+   * a single output time series. If `cross_series_reducer` is not
    * defined, this field is ignored.
    * 
* diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java index 53dbd644..29c0cba0 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java @@ -10280,6 +10280,8 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) { * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -10295,6 +10297,8 @@ public java.util.List getConditi * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -10311,6 +10315,8 @@ public java.util.List getConditi * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -10326,6 +10332,8 @@ public int getConditionsCount() { * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -10341,6 +10349,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) { * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -10357,6 +10367,8 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu *
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
+   * If condition_time_series_query_language is present, this must be
+   * COMBINE_UNSPECIFIED.
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; @@ -10372,6 +10384,8 @@ public int getCombinerValue() { *
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
+   * If condition_time_series_query_language is present, this must be
+   * COMBINE_UNSPECIFIED.
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; @@ -12000,6 +12014,8 @@ private void ensureConditionsIsMutable() { * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12019,6 +12035,8 @@ public java.util.List getConditi * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12038,6 +12056,8 @@ public int getConditionsCount() { * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12057,6 +12077,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) { * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12082,6 +12104,8 @@ public Builder setConditions(int index, com.google.monitoring.v3.AlertPolicy.Con * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12105,6 +12129,8 @@ public Builder setConditions( * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12130,6 +12156,8 @@ public Builder addConditions(com.google.monitoring.v3.AlertPolicy.Condition valu * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12155,6 +12183,8 @@ public Builder addConditions(int index, com.google.monitoring.v3.AlertPolicy.Con * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12178,6 +12208,8 @@ public Builder addConditions( * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12201,6 +12233,8 @@ public Builder addConditions( * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12224,6 +12258,8 @@ public Builder addAllConditions( * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12246,6 +12282,8 @@ public Builder clearConditions() { * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12268,6 +12306,8 @@ public Builder removeConditions(int index) { * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12283,6 +12323,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder getConditionsBuild * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12303,6 +12345,8 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12323,6 +12367,8 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12339,6 +12385,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12355,6 +12403,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -12388,6 +12438,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
+     * If condition_time_series_query_language is present, this must be
+     * COMBINE_UNSPECIFIED.
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; @@ -12403,6 +12455,8 @@ public int getCombinerValue() { *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
+     * If condition_time_series_query_language is present, this must be
+     * COMBINE_UNSPECIFIED.
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; @@ -12421,6 +12475,8 @@ public Builder setCombinerValue(int value) { *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
+     * If condition_time_series_query_language is present, this must be
+     * COMBINE_UNSPECIFIED.
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; @@ -12441,6 +12497,8 @@ public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner() *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
+     * If condition_time_series_query_language is present, this must be
+     * COMBINE_UNSPECIFIED.
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; @@ -12463,6 +12521,8 @@ public Builder setCombiner(com.google.monitoring.v3.AlertPolicy.ConditionCombine *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
+     * If condition_time_series_query_language is present, this must be
+     * COMBINE_UNSPECIFIED.
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java index fc787f5a..4af334b2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java @@ -227,6 +227,8 @@ public interface AlertPolicyOrBuilder * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -240,6 +242,8 @@ public interface AlertPolicyOrBuilder * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -253,6 +257,8 @@ public interface AlertPolicyOrBuilder * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -266,6 +272,8 @@ public interface AlertPolicyOrBuilder * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -280,6 +288,8 @@ public interface AlertPolicyOrBuilder * OR according to the `combiner` field. If the combined conditions evaluate * to true, then an incident is created. A policy can have from one to six * conditions. + * If |condition_time_series_uery_language| is present, it must be the only + * |condition|. * * * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12; @@ -292,6 +302,8 @@ public interface AlertPolicyOrBuilder *
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
+   * If condition_time_series_query_language is present, this must be
+   * COMBINE_UNSPECIFIED.
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; @@ -305,6 +317,8 @@ public interface AlertPolicyOrBuilder *
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
+   * If condition_time_series_query_language is present, this must be
+   * COMBINE_UNSPECIFIED.
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java index c9e852cc..a6ccd2f9 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java @@ -65,62 +65,76 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n google/monitoring/v3/alert.proto\022\024goog" - + "le.monitoring.v3\032!google/monitoring/v3/c" - + "ommon.proto\032*google/monitoring/v3/mutati" - + "on_record.proto\032\036google/protobuf/duratio" - + "n.proto\032\036google/protobuf/wrappers.proto\032" - + "\027google/rpc/status.proto\"\203\r\n\013AlertPolicy" - + "\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022F\n\r" - + "documentation\030\r \001(\0132/.google.monitoring." - + "v3.AlertPolicy.Documentation\022F\n\013user_lab" - + "els\030\020 \003(\01321.google.monitoring.v3.AlertPo" - + "licy.UserLabelsEntry\022?\n\nconditions\030\014 \003(\013" - + "2+.google.monitoring.v3.AlertPolicy.Cond" - + "ition\022I\n\010combiner\030\006 \001(\01627.google.monitor" - + "ing.v3.AlertPolicy.ConditionCombinerType" - + "\022+\n\007enabled\030\021 \001(\0132\032.google.protobuf.Bool" - + "Value\022$\n\010validity\030\022 \001(\0132\022.google.rpc.Sta" - + "tus\022\035\n\025notification_channels\030\016 \003(\t\022=\n\017cr" - + "eation_record\030\n \001(\0132$.google.monitoring." - + "v3.MutationRecord\022=\n\017mutation_record\030\013 \001" - + "(\0132$.google.monitoring.v3.MutationRecord" - + "\0323\n\rDocumentation\022\017\n\007content\030\001 \001(\t\022\021\n\tmi" - + "me_type\030\002 \001(\t\032\370\006\n\tCondition\022\014\n\004name\030\014 \001(" - + "\t\022\024\n\014display_name\030\006 \001(\t\022Z\n\023condition_thr" - + "eshold\030\001 \001(\0132;.google.monitoring.v3.Aler" - + "tPolicy.Condition.MetricThresholdH\000\022U\n\020c" - + "ondition_absent\030\002 \001(\01329.google.monitorin" - + "g.v3.AlertPolicy.Condition.MetricAbsence" - + "H\000\0325\n\007Trigger\022\017\n\005count\030\001 \001(\005H\000\022\021\n\007percen" - + "t\030\002 \001(\001H\000B\006\n\004type\032\201\003\n\017MetricThreshold\022\016\n" - + "\006filter\030\002 \001(\t\0227\n\014aggregations\030\010 \003(\0132!.go" - + "ogle.monitoring.v3.Aggregation\022\032\n\022denomi" - + "nator_filter\030\t \001(\t\022C\n\030denominator_aggreg" - + "ations\030\n \003(\0132!.google.monitoring.v3.Aggr" - + "egation\0228\n\ncomparison\030\004 \001(\0162$.google.mon" - + "itoring.v3.ComparisonType\022\027\n\017threshold_v" - + "alue\030\005 \001(\001\022+\n\010duration\030\006 \001(\0132\031.google.pr" - + "otobuf.Duration\022D\n\007trigger\030\007 \001(\01323.googl" - + "e.monitoring.v3.AlertPolicy.Condition.Tr" - + "igger\032\313\001\n\rMetricAbsence\022\016\n\006filter\030\001 \001(\t\022" - + "7\n\014aggregations\030\005 \003(\0132!.google.monitorin" - + "g.v3.Aggregation\022+\n\010duration\030\002 \001(\0132\031.goo" - + "gle.protobuf.Duration\022D\n\007trigger\030\003 \001(\01323" - + ".google.monitoring.v3.AlertPolicy.Condit" - + "ion.TriggerB\013\n\tcondition\0321\n\017UserLabelsEn" - + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\025C" - + "onditionCombinerType\022\027\n\023COMBINE_UNSPECIF" - + "IED\020\000\022\007\n\003AND\020\001\022\006\n\002OR\020\002\022\036\n\032AND_WITH_MATCH" - + "ING_RESOURCE\020\003B\242\001\n\030com.google.monitoring" - + ".v3B\nAlertProtoP\001Z>google.golang.org/gen" - + "proto/googleapis/monitoring/v3;monitorin" - + "g\252\002\032Google.Cloud.Monitoring.V3\312\002\032Google\\" - + "Cloud\\Monitoring\\V3b\006proto3" + + "le.monitoring.v3\032\031google/api/resource.pr" + + "oto\032!google/monitoring/v3/common.proto\032*" + + "google/monitoring/v3/mutation_record.pro" + + "to\032\036google/protobuf/duration.proto\032\036goog" + + "le/protobuf/wrappers.proto\032\027google/rpc/s" + + "tatus.proto\"\351\020\n\013AlertPolicy\022\014\n\004name\030\001 \001(" + + "\t\022\024\n\014display_name\030\002 \001(\t\022F\n\rdocumentation" + + "\030\r \001(\0132/.google.monitoring.v3.AlertPolic" + + "y.Documentation\022F\n\013user_labels\030\020 \003(\01321.g" + + "oogle.monitoring.v3.AlertPolicy.UserLabe" + + "lsEntry\022?\n\nconditions\030\014 \003(\0132+.google.mon" + + "itoring.v3.AlertPolicy.Condition\022I\n\010comb" + + "iner\030\006 \001(\01627.google.monitoring.v3.AlertP" + + "olicy.ConditionCombinerType\022+\n\007enabled\030\021" + + " \001(\0132\032.google.protobuf.BoolValue\022$\n\010vali" + + "dity\030\022 \001(\0132\022.google.rpc.Status\022\035\n\025notifi" + + "cation_channels\030\016 \003(\t\022=\n\017creation_record" + + "\030\n \001(\0132$.google.monitoring.v3.MutationRe" + + "cord\022=\n\017mutation_record\030\013 \001(\0132$.google.m" + + "onitoring.v3.MutationRecord\0323\n\rDocumenta" + + "tion\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t" + + "\032\222\t\n\tCondition\022\014\n\004name\030\014 \001(\t\022\024\n\014display_" + + "name\030\006 \001(\t\022Z\n\023condition_threshold\030\001 \001(\0132" + + ";.google.monitoring.v3.AlertPolicy.Condi" + + "tion.MetricThresholdH\000\022U\n\020condition_abse" + + "nt\030\002 \001(\01329.google.monitoring.v3.AlertPol" + + "icy.Condition.MetricAbsenceH\000\0325\n\007Trigger" + + "\022\017\n\005count\030\001 \001(\005H\000\022\021\n\007percent\030\002 \001(\001H\000B\006\n\004" + + "type\032\201\003\n\017MetricThreshold\022\016\n\006filter\030\002 \001(\t" + + "\0227\n\014aggregations\030\010 \003(\0132!.google.monitori" + + "ng.v3.Aggregation\022\032\n\022denominator_filter\030" + + "\t \001(\t\022C\n\030denominator_aggregations\030\n \003(\0132" + + "!.google.monitoring.v3.Aggregation\0228\n\nco" + + "mparison\030\004 \001(\0162$.google.monitoring.v3.Co" + + "mparisonType\022\027\n\017threshold_value\030\005 \001(\001\022+\n" + + "\010duration\030\006 \001(\0132\031.google.protobuf.Durati" + + "on\022D\n\007trigger\030\007 \001(\01323.google.monitoring." + + "v3.AlertPolicy.Condition.Trigger\032\313\001\n\rMet" + + "ricAbsence\022\016\n\006filter\030\001 \001(\t\0227\n\014aggregatio" + + "ns\030\005 \003(\0132!.google.monitoring.v3.Aggregat" + + "ion\022+\n\010duration\030\002 \001(\0132\031.google.protobuf." + + "Duration\022D\n\007trigger\030\003 \001(\01323.google.monit" + + "oring.v3.AlertPolicy.Condition.Trigger:\227" + + "\002\352A\223\002\n.monitoring.googleapis.com/AlertPo" + + "licyCondition\022Fprojects/{project}/alertP" + + "olicies/{alert_policy}/conditions/{condi" + + "tion}\022Porganizations/{organization}/aler" + + "tPolicies/{alert_policy}/conditions/{con" + + "dition}\022Dfolders/{folder}/alertPolicies/" + + "{alert_policy}/conditions/{condition}\022\001*" + + "B\013\n\tcondition\0321\n\017UserLabelsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\025ConditionCom" + + "binerType\022\027\n\023COMBINE_UNSPECIFIED\020\000\022\007\n\003AN" + + "D\020\001\022\006\n\002OR\020\002\022\036\n\032AND_WITH_MATCHING_RESOURC" + + "E\020\003:\311\001\352A\305\001\n%monitoring.googleapis.com/Al" + + "ertPolicy\022/projects/{project}/alertPolic" + + "ies/{alert_policy}\0229organizations/{organ" + + "ization}/alertPolicies/{alert_policy}\022-f" + + "olders/{folder}/alertPolicies/{alert_pol" + + "icy}\022\001*B\242\001\n\030com.google.monitoring.v3B\nAl" + + "ertProtoP\001Z>google.golang.org/genproto/g" + + "oogleapis/monitoring/v3;monitoring\252\002\032Goo" + + "gle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\M" + + "onitoring\\V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), com.google.monitoring.v3.CommonProto.getDescriptor(), com.google.monitoring.v3.MutationRecordProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), @@ -206,6 +220,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); com.google.monitoring.v3.CommonProto.getDescriptor(); com.google.monitoring.v3.MutationRecordProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java index feef6522..7d3609b2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java @@ -62,63 +62,73 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n(google/monitoring/v3/alert_service.pro" + "to\022\024google.monitoring.v3\032\034google/api/ann" - + "otations.proto\032 google/monitoring/v3/ale" - + "rt.proto\032\033google/protobuf/empty.proto\032 g" - + "oogle/protobuf/field_mask.proto\032\027google/" - + "api/client.proto\"a\n\030CreateAlertPolicyReq" - + "uest\022\014\n\004name\030\003 \001(\t\0227\n\014alert_policy\030\002 \001(\013" - + "2!.google.monitoring.v3.AlertPolicy\"%\n\025G" - + "etAlertPolicyRequest\022\014\n\004name\030\003 \001(\t\"q\n\030Li" - + "stAlertPoliciesRequest\022\014\n\004name\030\004 \001(\t\022\016\n\006" - + "filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"o\n\031ListAle" - + "rtPoliciesResponse\0229\n\016alert_policies\030\003 \003" - + "(\0132!.google.monitoring.v3.AlertPolicy\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\204\001\n\030UpdateAlertPo" - + "licyRequest\022/\n\013update_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMask\0227\n\014alert_policy\030\003 \001" - + "(\0132!.google.monitoring.v3.AlertPolicy\"(\n" - + "\030DeleteAlertPolicyRequest\022\014\n\004name\030\003 \001(\t2" - + "\332\007\n\022AlertPolicyService\022\241\001\n\021ListAlertPoli" - + "cies\022..google.monitoring.v3.ListAlertPol" - + "iciesRequest\032/.google.monitoring.v3.List" - + "AlertPoliciesResponse\"+\202\323\344\223\002%\022#/v3/{name" - + "=projects/*}/alertPolicies\022\217\001\n\016GetAlertP" - + "olicy\022+.google.monitoring.v3.GetAlertPol" - + "icyRequest\032!.google.monitoring.v3.AlertP" - + "olicy\"-\202\323\344\223\002\'\022%/v3/{name=projects/*/aler" - + "tPolicies/*}\022\241\001\n\021CreateAlertPolicy\022..goo" - + "gle.monitoring.v3.CreateAlertPolicyReque" - + "st\032!.google.monitoring.v3.AlertPolicy\"9\202" - + "\323\344\223\0023\"#/v3/{name=projects/*}/alertPolici" - + "es:\014alert_policy\022\212\001\n\021DeleteAlertPolicy\022." - + ".google.monitoring.v3.DeleteAlertPolicyR" - + "equest\032\026.google.protobuf.Empty\"-\202\323\344\223\002\'*%" - + "/v3/{name=projects/*/alertPolicies/*}\022\260\001" - + "\n\021UpdateAlertPolicy\022..google.monitoring." - + "v3.UpdateAlertPolicyRequest\032!.google.mon" - + "itoring.v3.AlertPolicy\"H\202\323\344\223\002B22/v3/{ale" - + "rt_policy.name=projects/*/alertPolicies/" - + "*}:\014alert_policy\032\251\001\312A\031monitoring.googlea" - + "pis.com\322A\211\001https://www.googleapis.com/au" - + "th/cloud-platform,https://www.googleapis" - + ".com/auth/monitoring,https://www.googlea" - + "pis.com/auth/monitoring.readB\251\001\n\030com.goo" - + "gle.monitoring.v3B\021AlertServiceProtoP\001Z>" - + "google.golang.org/genproto/googleapis/mo" - + "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo" - + "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3" - + "b\006proto3" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032 google/monitoring/v" + + "3/alert.proto\032\033google/protobuf/empty.pro" + + "to\032 google/protobuf/field_mask.proto\"\225\001\n" + + "\030CreateAlertPolicyRequest\022;\n\004name\030\003 \001(\tB" + + "-\340A\002\372A\'\022%monitoring.googleapis.com/Alert" + + "Policy\022<\n\014alert_policy\030\002 \001(\0132!.google.mo" + + "nitoring.v3.AlertPolicyB\003\340A\002\"T\n\025GetAlert" + + "PolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A\'\n%mon" + + "itoring.googleapis.com/AlertPolicy\"\240\001\n\030L" + + "istAlertPoliciesRequest\022;\n\004name\030\004 \001(\tB-\340" + + "A\002\372A\'\022%monitoring.googleapis.com/AlertPo" + + "licy\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"o\n" + + "\031ListAlertPoliciesResponse\0229\n\016alert_poli" + + "cies\030\003 \003(\0132!.google.monitoring.v3.AlertP" + + "olicy\022\027\n\017next_page_token\030\002 \001(\t\"\211\001\n\030Updat" + + "eAlertPolicyRequest\022/\n\013update_mask\030\002 \001(\013" + + "2\032.google.protobuf.FieldMask\022<\n\014alert_po" + + "licy\030\003 \001(\0132!.google.monitoring.v3.AlertP" + + "olicyB\003\340A\002\"W\n\030DeleteAlertPolicyRequest\022;" + + "\n\004name\030\003 \001(\tB-\340A\002\372A\'\n%monitoring.googlea" + + "pis.com/AlertPolicy2\236\010\n\022AlertPolicyServi" + + "ce\022\250\001\n\021ListAlertPolicies\022..google.monito" + + "ring.v3.ListAlertPoliciesRequest\032/.googl" + + "e.monitoring.v3.ListAlertPoliciesRespons" + + "e\"2\202\323\344\223\002%\022#/v3/{name=projects/*}/alertPo" + + "licies\332A\004name\022\226\001\n\016GetAlertPolicy\022+.googl" + + "e.monitoring.v3.GetAlertPolicyRequest\032!." + + "google.monitoring.v3.AlertPolicy\"4\202\323\344\223\002\'" + + "\022%/v3/{name=projects/*/alertPolicies/*}\332" + + "A\004name\022\265\001\n\021CreateAlertPolicy\022..google.mo" + + "nitoring.v3.CreateAlertPolicyRequest\032!.g" + + "oogle.monitoring.v3.AlertPolicy\"M\202\323\344\223\0023\"" + + "#/v3/{name=projects/*}/alertPolicies:\014al" + + "ert_policy\332A\021name,alert_policy\022\221\001\n\021Delet" + + "eAlertPolicy\022..google.monitoring.v3.Dele" + + "teAlertPolicyRequest\032\026.google.protobuf.E" + + "mpty\"4\202\323\344\223\002\'*%/v3/{name=projects/*/alert" + + "Policies/*}\332A\004name\022\313\001\n\021UpdateAlertPolicy" + + "\022..google.monitoring.v3.UpdateAlertPolic" + + "yRequest\032!.google.monitoring.v3.AlertPol" + + "icy\"c\202\323\344\223\002B22/v3/{alert_policy.name=proj" + + "ects/*/alertPolicies/*}:\014alert_policy\332A\030" + + "update_mask,alert_policy\032\251\001\312A\031monitoring" + + ".googleapis.com\322A\211\001https://www.googleapi" + + "s.com/auth/cloud-platform,https://www.go" + + "ogleapis.com/auth/monitoring,https://www" + + ".googleapis.com/auth/monitoring.readB\251\001\n" + + "\030com.google.monitoring.v3B\021AlertServiceP" + + "rotoP\001Z>google.golang.org/genproto/googl" + + "eapis/monitoring/v3;monitoring\252\002\032Google." + + "Cloud.Monitoring.V3\312\002\032Google\\Cloud\\Monit" + + "oring\\V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.monitoring.v3.AlertProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -171,15 +181,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.monitoring.v3.AlertProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java index 4f8cc12d..3582cfef 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java @@ -22,8 +22,8 @@ * * *
- * Specifies an ordering relationship on two arguments, here called left and
- * right.
+ * Specifies an ordering relationship on two arguments, called `left` and
+ * `right`.
  * 
* * Protobuf enum {@code google.monitoring.v3.ComparisonType} @@ -43,7 +43,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is greater than the right argument.
+   * True if the left argument is greater than the right argument.
    * 
* * COMPARISON_GT = 1; @@ -53,7 +53,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is greater than or equal to the right argument.
+   * True if the left argument is greater than or equal to the right argument.
    * 
* * COMPARISON_GE = 2; @@ -63,7 +63,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is less than the right argument.
+   * True if the left argument is less than the right argument.
    * 
* * COMPARISON_LT = 3; @@ -73,7 +73,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is less than or equal to the right argument.
+   * True if the left argument is less than or equal to the right argument.
    * 
* * COMPARISON_LE = 4; @@ -83,7 +83,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is equal to the right argument.
+   * True if the left argument is equal to the right argument.
    * 
* * COMPARISON_EQ = 5; @@ -93,7 +93,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is not equal to the right argument.
+   * True if the left argument is not equal to the right argument.
    * 
* * COMPARISON_NE = 6; @@ -116,7 +116,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is greater than the right argument.
+   * True if the left argument is greater than the right argument.
    * 
* * COMPARISON_GT = 1; @@ -126,7 +126,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is greater than or equal to the right argument.
+   * True if the left argument is greater than or equal to the right argument.
    * 
* * COMPARISON_GE = 2; @@ -136,7 +136,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is less than the right argument.
+   * True if the left argument is less than the right argument.
    * 
* * COMPARISON_LT = 3; @@ -146,7 +146,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is less than or equal to the right argument.
+   * True if the left argument is less than or equal to the right argument.
    * 
* * COMPARISON_LE = 4; @@ -156,7 +156,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is equal to the right argument.
+   * True if the left argument is equal to the right argument.
    * 
* * COMPARISON_EQ = 5; @@ -166,7 +166,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * The left argument is not equal to the right argument.
+   * True if the left argument is not equal to the right argument.
    * 
* * COMPARISON_NE = 6; diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java index 26615b18..f98e6854 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java @@ -133,7 +133,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project in which to create the alerting policy. The format is
+   * Required. The project in which to create the alerting policy. The format is
    * `projects/[PROJECT_ID]`.
    * Note that this field names the parent container in which the alerting
    * policy will be written, not the name of the created policy. The alerting
@@ -142,7 +142,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -161,7 +163,7 @@ public java.lang.String getName() { * * *
-   * The project in which to create the alerting policy. The format is
+   * Required. The project in which to create the alerting policy. The format is
    * `projects/[PROJECT_ID]`.
    * Note that this field names the parent container in which the alerting
    * policy will be written, not the name of the created policy. The alerting
@@ -170,7 +172,9 @@ public java.lang.String getName() {
    * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -192,12 +196,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The requested alerting policy. You should omit the `name` field in this
+   * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new [ALERT_POLICY_ID] value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the alertPolicy field is set. */ @@ -208,12 +214,14 @@ public boolean hasAlertPolicy() { * * *
-   * The requested alerting policy. You should omit the `name` field in this
+   * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new [ALERT_POLICY_ID] value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The alertPolicy. */ @@ -226,12 +234,14 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { * * *
-   * The requested alerting policy. You should omit the `name` field in this
+   * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new [ALERT_POLICY_ID] value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { return getAlertPolicy(); @@ -588,7 +598,7 @@ public Builder mergeFrom( * * *
-     * The project in which to create the alerting policy. The format is
+     * Required. The project in which to create the alerting policy. The format is
      * `projects/[PROJECT_ID]`.
      * Note that this field names the parent container in which the alerting
      * policy will be written, not the name of the created policy. The alerting
@@ -597,7 +607,9 @@ public Builder mergeFrom(
      * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -616,7 +628,7 @@ public java.lang.String getName() { * * *
-     * The project in which to create the alerting policy. The format is
+     * Required. The project in which to create the alerting policy. The format is
      * `projects/[PROJECT_ID]`.
      * Note that this field names the parent container in which the alerting
      * policy will be written, not the name of the created policy. The alerting
@@ -625,7 +637,9 @@ public java.lang.String getName() {
      * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -644,7 +658,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project in which to create the alerting policy. The format is
+     * Required. The project in which to create the alerting policy. The format is
      * `projects/[PROJECT_ID]`.
      * Note that this field names the parent container in which the alerting
      * policy will be written, not the name of the created policy. The alerting
@@ -653,7 +667,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -671,7 +687,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The project in which to create the alerting policy. The format is
+     * Required. The project in which to create the alerting policy. The format is
      * `projects/[PROJECT_ID]`.
      * Note that this field names the parent container in which the alerting
      * policy will be written, not the name of the created policy. The alerting
@@ -680,7 +696,9 @@ public Builder setName(java.lang.String value) {
      * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -694,7 +712,7 @@ public Builder clearName() { * * *
-     * The project in which to create the alerting policy. The format is
+     * Required. The project in which to create the alerting policy. The format is
      * `projects/[PROJECT_ID]`.
      * Note that this field names the parent container in which the alerting
      * policy will be written, not the name of the created policy. The alerting
@@ -703,7 +721,9 @@ public Builder clearName() {
      * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -729,12 +749,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the alertPolicy field is set. */ @@ -745,12 +767,14 @@ public boolean hasAlertPolicy() { * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The alertPolicy. */ @@ -767,12 +791,14 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { @@ -791,12 +817,14 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { if (alertPolicyBuilder_ == null) { @@ -812,12 +840,14 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder build * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { @@ -840,12 +870,14 @@ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAlertPolicy() { if (alertPolicyBuilder_ == null) { @@ -862,12 +894,14 @@ public Builder clearAlertPolicy() { * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() { @@ -878,12 +912,14 @@ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() { * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { if (alertPolicyBuilder_ != null) { @@ -898,12 +934,14 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { * * *
-     * The requested alerting policy. You should omit the `name` field in this
+     * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new [ALERT_POLICY_ID] value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.AlertPolicy, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java index 5820a26d..54ff345c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface CreateAlertPolicyRequestOrBuilder * * *
-   * The project in which to create the alerting policy. The format is
+   * Required. The project in which to create the alerting policy. The format is
    * `projects/[PROJECT_ID]`.
    * Note that this field names the parent container in which the alerting
    * policy will be written, not the name of the created policy. The alerting
@@ -36,7 +36,9 @@ public interface CreateAlertPolicyRequestOrBuilder
    * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -45,7 +47,7 @@ public interface CreateAlertPolicyRequestOrBuilder * * *
-   * The project in which to create the alerting policy. The format is
+   * Required. The project in which to create the alerting policy. The format is
    * `projects/[PROJECT_ID]`.
    * Note that this field names the parent container in which the alerting
    * policy will be written, not the name of the created policy. The alerting
@@ -54,7 +56,9 @@ public interface CreateAlertPolicyRequestOrBuilder
    * `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -64,12 +68,14 @@ public interface CreateAlertPolicyRequestOrBuilder * * *
-   * The requested alerting policy. You should omit the `name` field in this
+   * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new [ALERT_POLICY_ID] value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the alertPolicy field is set. */ @@ -78,12 +84,14 @@ public interface CreateAlertPolicyRequestOrBuilder * * *
-   * The requested alerting policy. You should omit the `name` field in this
+   * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new [ALERT_POLICY_ID] value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The alertPolicy. */ @@ -92,12 +100,14 @@ public interface CreateAlertPolicyRequestOrBuilder * * *
-   * The requested alerting policy. You should omit the `name` field in this
+   * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new [ALERT_POLICY_ID] value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java index 1d7ac396..73b45c6c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java @@ -137,11 +137,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project in which to create the group. The format is
+   * Required. The project in which to create the group. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -160,11 +162,13 @@ public java.lang.String getName() { * * *
-   * The project in which to create the group. The format is
+   * Required. The project in which to create the group. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -186,11 +190,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * A group definition. It is an error to define the `name` field because
+   * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the group field is set. */ @@ -201,11 +205,11 @@ public boolean hasGroup() { * * *
-   * A group definition. It is an error to define the `name` field because
+   * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The group. */ @@ -216,11 +220,11 @@ public com.google.monitoring.v3.Group getGroup() { * * *
-   * A group definition. It is an error to define the `name` field because
+   * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() { return getGroup(); @@ -607,11 +611,13 @@ public Builder mergeFrom( * * *
-     * The project in which to create the group. The format is
+     * Required. The project in which to create the group. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -630,11 +636,13 @@ public java.lang.String getName() { * * *
-     * The project in which to create the group. The format is
+     * Required. The project in which to create the group. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -653,11 +661,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project in which to create the group. The format is
+     * Required. The project in which to create the group. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -675,11 +685,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The project in which to create the group. The format is
+     * Required. The project in which to create the group. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -693,11 +705,13 @@ public Builder clearName() { * * *
-     * The project in which to create the group. The format is
+     * Required. The project in which to create the group. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -723,11 +737,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the group field is set. */ @@ -738,11 +752,11 @@ public boolean hasGroup() { * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The group. */ @@ -757,11 +771,11 @@ public com.google.monitoring.v3.Group getGroup() { * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGroup(com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { @@ -780,11 +794,11 @@ public Builder setGroup(com.google.monitoring.v3.Group value) { * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { @@ -800,11 +814,11 @@ public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue) * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeGroup(com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { @@ -825,11 +839,11 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) { * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGroup() { if (groupBuilder_ == null) { @@ -846,11 +860,11 @@ public Builder clearGroup() { * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.Group.Builder getGroupBuilder() { @@ -861,11 +875,11 @@ public com.google.monitoring.v3.Group.Builder getGroupBuilder() { * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() { if (groupBuilder_ != null) { @@ -878,11 +892,11 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() { * * *
-     * A group definition. It is an error to define the `name` field because
+     * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.Group, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java index e66ac5fa..e4d62268 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateGroupRequestOrBuilder * * *
-   * The project in which to create the group. The format is
+   * Required. The project in which to create the group. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface CreateGroupRequestOrBuilder * * *
-   * The project in which to create the group. The format is
+   * Required. The project in which to create the group. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -54,11 +58,11 @@ public interface CreateGroupRequestOrBuilder * * *
-   * A group definition. It is an error to define the `name` field because
+   * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the group field is set. */ @@ -67,11 +71,11 @@ public interface CreateGroupRequestOrBuilder * * *
-   * A group definition. It is an error to define the `name` field because
+   * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The group. */ @@ -80,11 +84,11 @@ public interface CreateGroupRequestOrBuilder * * *
-   * A group definition. It is an error to define the `name` field because
+   * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java index 17c0dfda..6e5a9f5c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java @@ -132,11 +132,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -155,11 +157,13 @@ public java.lang.String getName() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -181,11 +185,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The new [custom metric](/monitoring/custom-metrics)
+   * Required. The new [custom metric](/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the metricDescriptor field is set. */ @@ -196,11 +202,13 @@ public boolean hasMetricDescriptor() { * * *
-   * The new [custom metric](/monitoring/custom-metrics)
+   * Required. The new [custom metric](/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The metricDescriptor. */ @@ -213,11 +221,13 @@ public com.google.api.MetricDescriptor getMetricDescriptor() { * * *
-   * The new [custom metric](/monitoring/custom-metrics)
+   * Required. The new [custom metric](/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { return getMetricDescriptor(); @@ -575,11 +585,13 @@ public Builder mergeFrom( * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -598,11 +610,13 @@ public java.lang.String getName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -621,11 +635,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -643,11 +659,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -661,11 +679,13 @@ public Builder clearName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -691,11 +711,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the metricDescriptor field is set. */ @@ -706,11 +728,13 @@ public boolean hasMetricDescriptor() { * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The metricDescriptor. */ @@ -727,11 +751,13 @@ public com.google.api.MetricDescriptor getMetricDescriptor() { * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMetricDescriptor(com.google.api.MetricDescriptor value) { if (metricDescriptorBuilder_ == null) { @@ -750,11 +776,13 @@ public Builder setMetricDescriptor(com.google.api.MetricDescriptor value) { * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMetricDescriptor(com.google.api.MetricDescriptor.Builder builderForValue) { if (metricDescriptorBuilder_ == null) { @@ -770,11 +798,13 @@ public Builder setMetricDescriptor(com.google.api.MetricDescriptor.Builder build * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeMetricDescriptor(com.google.api.MetricDescriptor value) { if (metricDescriptorBuilder_ == null) { @@ -797,11 +827,13 @@ public Builder mergeMetricDescriptor(com.google.api.MetricDescriptor value) { * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMetricDescriptor() { if (metricDescriptorBuilder_ == null) { @@ -818,11 +850,13 @@ public Builder clearMetricDescriptor() { * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.api.MetricDescriptor.Builder getMetricDescriptorBuilder() { @@ -833,11 +867,13 @@ public com.google.api.MetricDescriptor.Builder getMetricDescriptorBuilder() { * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { if (metricDescriptorBuilder_ != null) { @@ -852,11 +888,13 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * * *
-     * The new [custom metric](/monitoring/custom-metrics)
+     * Required. The new [custom metric](/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.api.MetricDescriptor, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java index 751c625c..911af81d 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateMetricDescriptorRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface CreateMetricDescriptorRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -54,11 +58,13 @@ public interface CreateMetricDescriptorRequestOrBuilder * * *
-   * The new [custom metric](/monitoring/custom-metrics)
+   * Required. The new [custom metric](/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the metricDescriptor field is set. */ @@ -67,11 +73,13 @@ public interface CreateMetricDescriptorRequestOrBuilder * * *
-   * The new [custom metric](/monitoring/custom-metrics)
+   * Required. The new [custom metric](/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The metricDescriptor. */ @@ -80,11 +88,13 @@ public interface CreateMetricDescriptorRequestOrBuilder * * *
-   * The new [custom metric](/monitoring/custom-metrics)
+   * Required. The new [custom metric](/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java index 59f6e9aa..42baedb4 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java @@ -134,7 +134,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project on which to execute the request. The format is:
+   * Required. The project on which to execute the request. The format is:
    *     projects/[PROJECT_ID]
    * Note that this names the container into which the channel will be
    * written. This does not name the newly created channel. The resulting
@@ -142,7 +142,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -161,7 +163,7 @@ public java.lang.String getName() { * * *
-   * The project on which to execute the request. The format is:
+   * Required. The project on which to execute the request. The format is:
    *     projects/[PROJECT_ID]
    * Note that this names the container into which the channel will be
    * written. This does not name the newly created channel. The resulting
@@ -169,7 +171,9 @@ public java.lang.String getName() {
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -191,10 +195,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The definition of the `NotificationChannel` to create.
+   * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the notificationChannel field is set. */ @@ -205,10 +211,12 @@ public boolean hasNotificationChannel() { * * *
-   * The definition of the `NotificationChannel` to create.
+   * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The notificationChannel. */ @@ -221,10 +229,12 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { * * *
-   * The definition of the `NotificationChannel` to create.
+   * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { return getNotificationChannel(); @@ -582,7 +592,7 @@ public Builder mergeFrom( * * *
-     * The project on which to execute the request. The format is:
+     * Required. The project on which to execute the request. The format is:
      *     projects/[PROJECT_ID]
      * Note that this names the container into which the channel will be
      * written. This does not name the newly created channel. The resulting
@@ -590,7 +600,9 @@ public Builder mergeFrom(
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -609,7 +621,7 @@ public java.lang.String getName() { * * *
-     * The project on which to execute the request. The format is:
+     * Required. The project on which to execute the request. The format is:
      *     projects/[PROJECT_ID]
      * Note that this names the container into which the channel will be
      * written. This does not name the newly created channel. The resulting
@@ -617,7 +629,9 @@ public java.lang.String getName() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -636,7 +650,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project on which to execute the request. The format is:
+     * Required. The project on which to execute the request. The format is:
      *     projects/[PROJECT_ID]
      * Note that this names the container into which the channel will be
      * written. This does not name the newly created channel. The resulting
@@ -644,7 +658,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -662,7 +678,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The project on which to execute the request. The format is:
+     * Required. The project on which to execute the request. The format is:
      *     projects/[PROJECT_ID]
      * Note that this names the container into which the channel will be
      * written. This does not name the newly created channel. The resulting
@@ -670,7 +686,9 @@ public Builder setName(java.lang.String value) {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -684,7 +702,7 @@ public Builder clearName() { * * *
-     * The project on which to execute the request. The format is:
+     * Required. The project on which to execute the request. The format is:
      *     projects/[PROJECT_ID]
      * Note that this names the container into which the channel will be
      * written. This does not name the newly created channel. The resulting
@@ -692,7 +710,9 @@ public Builder clearName() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -718,10 +738,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the notificationChannel field is set. */ @@ -732,10 +754,12 @@ public boolean hasNotificationChannel() { * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The notificationChannel. */ @@ -752,10 +776,12 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { @@ -774,10 +800,12 @@ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChann * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNotificationChannel( com.google.monitoring.v3.NotificationChannel.Builder builderForValue) { @@ -794,10 +822,12 @@ public Builder setNotificationChannel( * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { @@ -820,10 +850,12 @@ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationCha * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNotificationChannel() { if (notificationChannelBuilder_ == null) { @@ -840,10 +872,12 @@ public Builder clearNotificationChannel() { * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChannelBuilder() { @@ -854,10 +888,12 @@ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChann * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { if (notificationChannelBuilder_ != null) { @@ -872,10 +908,12 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan * * *
-     * The definition of the `NotificationChannel` to create.
+     * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.NotificationChannel, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java index e836f247..d32d0c75 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface CreateNotificationChannelRequestOrBuilder * * *
-   * The project on which to execute the request. The format is:
+   * Required. The project on which to execute the request. The format is:
    *     projects/[PROJECT_ID]
    * Note that this names the container into which the channel will be
    * written. This does not name the newly created channel. The resulting
@@ -35,7 +35,9 @@ public interface CreateNotificationChannelRequestOrBuilder
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -44,7 +46,7 @@ public interface CreateNotificationChannelRequestOrBuilder * * *
-   * The project on which to execute the request. The format is:
+   * Required. The project on which to execute the request. The format is:
    *     projects/[PROJECT_ID]
    * Note that this names the container into which the channel will be
    * written. This does not name the newly created channel. The resulting
@@ -52,7 +54,9 @@ public interface CreateNotificationChannelRequestOrBuilder
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -62,10 +66,12 @@ public interface CreateNotificationChannelRequestOrBuilder * * *
-   * The definition of the `NotificationChannel` to create.
+   * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the notificationChannel field is set. */ @@ -74,10 +80,12 @@ public interface CreateNotificationChannelRequestOrBuilder * * *
-   * The definition of the `NotificationChannel` to create.
+   * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The notificationChannel. */ @@ -86,10 +94,12 @@ public interface CreateNotificationChannelRequestOrBuilder * * *
-   * The definition of the `NotificationChannel` to create.
+   * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java index 4a48e500..640f39ae 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java @@ -142,11 +142,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the parent `Service`.
+   * Required. Resource name of the parent `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -165,11 +167,13 @@ public java.lang.String getParent() { * * *
-   * Resource name of the parent `Service`.
+   * Required. Resource name of the parent `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -242,12 +246,14 @@ public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() { * * *
-   * The `ServiceLevelObjective` to create.
+   * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the serviceLevelObjective field is set. */ @@ -258,12 +264,14 @@ public boolean hasServiceLevelObjective() { * * *
-   * The `ServiceLevelObjective` to create.
+   * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The serviceLevelObjective. */ @@ -276,12 +284,14 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() * * *
-   * The `ServiceLevelObjective` to create.
+   * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { @@ -657,11 +667,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -680,11 +692,13 @@ public java.lang.String getParent() { * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -703,11 +717,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -725,11 +741,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -743,11 +761,13 @@ public Builder clearParent() { * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -889,12 +909,14 @@ public Builder setServiceLevelObjectiveIdBytes(com.google.protobuf.ByteString va * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the serviceLevelObjective field is set. */ @@ -905,12 +927,14 @@ public boolean hasServiceLevelObjective() { * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The serviceLevelObjective. */ @@ -927,12 +951,14 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { @@ -951,12 +977,14 @@ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObj * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setServiceLevelObjective( com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -973,12 +1001,14 @@ public Builder setServiceLevelObjective( * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeServiceLevelObjective( com.google.monitoring.v3.ServiceLevelObjective value) { @@ -1002,12 +1032,14 @@ public Builder mergeServiceLevelObjective( * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { @@ -1024,12 +1056,14 @@ public Builder clearServiceLevelObjective() { * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObjectiveBuilder() { @@ -1041,12 +1075,14 @@ public Builder clearServiceLevelObjective() { * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { @@ -1062,12 +1098,14 @@ public Builder clearServiceLevelObjective() { * * *
-     * The `ServiceLevelObjective` to create.
+     * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.ServiceLevelObjective, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java index bbadd0e2..83c18ef3 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder * * *
-   * Resource name of the parent `Service`.
+   * Required. Resource name of the parent `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder * * *
-   * Resource name of the parent `Service`.
+   * Required. Resource name of the parent `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -83,12 +87,14 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder * * *
-   * The `ServiceLevelObjective` to create.
+   * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the serviceLevelObjective field is set. */ @@ -97,12 +103,14 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder * * *
-   * The `ServiceLevelObjective` to create.
+   * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The serviceLevelObjective. */ @@ -111,12 +119,14 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder * * *
-   * The `ServiceLevelObjective` to create.
+   * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java index 2a55ccd6..8b43f2b5 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java @@ -140,11 +140,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the parent workspace.
+   * Required. Resource name of the parent workspace.
    * Of the form `projects/{project_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -163,11 +165,13 @@ public java.lang.String getParent() { * * *
-   * Resource name of the parent workspace.
+   * Required. Resource name of the parent workspace.
    * Of the form `projects/{project_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -238,10 +242,11 @@ public com.google.protobuf.ByteString getServiceIdBytes() { * * *
-   * The `Service` to create.
+   * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the service field is set. */ @@ -252,10 +257,11 @@ public boolean hasService() { * * *
-   * The `Service` to create.
+   * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The service. */ @@ -266,10 +272,11 @@ public com.google.monitoring.v3.Service getService() { * * *
-   * The `Service` to create.
+   * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { return getService(); @@ -640,11 +647,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the parent workspace.
+     * Required. Resource name of the parent workspace.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -663,11 +672,13 @@ public java.lang.String getParent() { * * *
-     * Resource name of the parent workspace.
+     * Required. Resource name of the parent workspace.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -686,11 +697,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Resource name of the parent workspace.
+     * Required. Resource name of the parent workspace.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -708,11 +721,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Resource name of the parent workspace.
+     * Required. Resource name of the parent workspace.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -726,11 +741,13 @@ public Builder clearParent() { * * *
-     * Resource name of the parent workspace.
+     * Required. Resource name of the parent workspace.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -867,10 +884,11 @@ public Builder setServiceIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the service field is set. */ @@ -881,10 +899,11 @@ public boolean hasService() { * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The service. */ @@ -899,10 +918,11 @@ public com.google.monitoring.v3.Service getService() { * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { @@ -921,10 +941,11 @@ public Builder setService(com.google.monitoring.v3.Service value) { * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setService(com.google.monitoring.v3.Service.Builder builderForValue) { if (serviceBuilder_ == null) { @@ -940,10 +961,11 @@ public Builder setService(com.google.monitoring.v3.Service.Builder builderForVal * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { @@ -964,10 +986,11 @@ public Builder mergeService(com.google.monitoring.v3.Service value) { * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -984,10 +1007,11 @@ public Builder clearService() { * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.Service.Builder getServiceBuilder() { @@ -998,10 +1022,11 @@ public com.google.monitoring.v3.Service.Builder getServiceBuilder() { * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { @@ -1014,10 +1039,11 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { * * *
-     * The `Service` to create.
+     * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.Service, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java index 4010182d..84824c0d 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateServiceRequestOrBuilder * * *
-   * Resource name of the parent workspace.
+   * Required. Resource name of the parent workspace.
    * Of the form `projects/{project_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface CreateServiceRequestOrBuilder * * *
-   * Resource name of the parent workspace.
+   * Required. Resource name of the parent workspace.
    * Of the form `projects/{project_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -81,10 +85,11 @@ public interface CreateServiceRequestOrBuilder * * *
-   * The `Service` to create.
+   * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the service field is set. */ @@ -93,10 +98,11 @@ public interface CreateServiceRequestOrBuilder * * *
-   * The `Service` to create.
+   * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The service. */ @@ -105,10 +111,11 @@ public interface CreateServiceRequestOrBuilder * * *
-   * The `Service` to create.
+   * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java index 30141504..72be8e24 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java @@ -133,11 +133,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -156,11 +158,13 @@ public java.lang.String getName() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -182,7 +186,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -190,7 +194,9 @@ public com.google.protobuf.ByteString getNameBytes() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getTimeSeriesList() { return timeSeries_; @@ -199,7 +205,7 @@ public java.util.List getTimeSeriesList() { * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -207,7 +213,9 @@ public java.util.List getTimeSeriesList() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getTimeSeriesOrBuilderList() { @@ -217,7 +225,7 @@ public java.util.List getTimeSeriesList() { * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -225,7 +233,9 @@ public java.util.List getTimeSeriesList() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getTimeSeriesCount() { return timeSeries_.size(); @@ -234,7 +244,7 @@ public int getTimeSeriesCount() { * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -242,7 +252,9 @@ public int getTimeSeriesCount() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { return timeSeries_.get(index); @@ -251,7 +263,7 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -259,7 +271,9 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { return timeSeries_.get(index); @@ -645,11 +659,13 @@ public Builder mergeFrom( * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -668,11 +684,13 @@ public java.lang.String getName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -691,11 +709,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -713,11 +733,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -731,11 +753,13 @@ public Builder clearName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -771,7 +795,7 @@ private void ensureTimeSeriesIsMutable() { * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -779,7 +803,9 @@ private void ensureTimeSeriesIsMutable() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getTimeSeriesList() { if (timeSeriesBuilder_ == null) { @@ -792,7 +818,7 @@ public java.util.List getTimeSeriesList() { * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -800,7 +826,9 @@ public java.util.List getTimeSeriesList() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getTimeSeriesCount() { if (timeSeriesBuilder_ == null) { @@ -813,7 +841,7 @@ public int getTimeSeriesCount() { * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -821,7 +849,9 @@ public int getTimeSeriesCount() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { if (timeSeriesBuilder_ == null) { @@ -834,7 +864,7 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -842,7 +872,9 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { @@ -861,7 +893,7 @@ public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -869,7 +901,9 @@ public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTimeSeries( int index, com.google.monitoring.v3.TimeSeries.Builder builderForValue) { @@ -886,7 +920,7 @@ public Builder setTimeSeries( * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -894,7 +928,9 @@ public Builder setTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { @@ -913,7 +949,7 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) { * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -921,7 +957,9 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { @@ -940,7 +978,7 @@ public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -948,7 +986,9 @@ public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builderForValue) { if (timeSeriesBuilder_ == null) { @@ -964,7 +1004,7 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builder * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -972,7 +1012,9 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builder
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTimeSeries( int index, com.google.monitoring.v3.TimeSeries.Builder builderForValue) { @@ -989,7 +1031,7 @@ public Builder addTimeSeries( * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -997,7 +1039,9 @@ public Builder addTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllTimeSeries( java.lang.Iterable values) { @@ -1014,7 +1058,7 @@ public Builder addAllTimeSeries( * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -1022,7 +1066,9 @@ public Builder addAllTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTimeSeries() { if (timeSeriesBuilder_ == null) { @@ -1038,7 +1084,7 @@ public Builder clearTimeSeries() { * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -1046,7 +1092,9 @@ public Builder clearTimeSeries() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeTimeSeries(int index) { if (timeSeriesBuilder_ == null) { @@ -1062,7 +1110,7 @@ public Builder removeTimeSeries(int index) { * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -1070,7 +1118,9 @@ public Builder removeTimeSeries(int index) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(int index) { return getTimeSeriesFieldBuilder().getBuilder(index); @@ -1079,7 +1129,7 @@ public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(int inde * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -1087,7 +1137,9 @@ public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(int inde
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { if (timeSeriesBuilder_ == null) { @@ -1100,7 +1152,7 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -1108,7 +1160,9 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getTimeSeriesOrBuilderList() { @@ -1122,7 +1176,7 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -1130,7 +1184,9 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() { return getTimeSeriesFieldBuilder() @@ -1140,7 +1196,7 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() { * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -1148,7 +1204,9 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(int index) { return getTimeSeriesFieldBuilder() @@ -1158,7 +1216,7 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(int inde * * *
-     * The new data to be added to a list of time series.
+     * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
      * point must be more recent than any other point in its time series.  Each
      * `TimeSeries` value must fully specify a unique time series by supplying
@@ -1166,7 +1224,9 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(int inde
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getTimeSeriesBuilderList() { return getTimeSeriesFieldBuilder().getBuilderList(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java index 3acd07df..abf56e81 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateTimeSeriesRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface CreateTimeSeriesRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -54,7 +58,7 @@ public interface CreateTimeSeriesRequestOrBuilder * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -62,14 +66,16 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ java.util.List getTimeSeriesList(); /** * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -77,14 +83,16 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.TimeSeries getTimeSeries(int index); /** * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -92,14 +100,16 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getTimeSeriesCount(); /** * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -107,7 +117,9 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ java.util.List getTimeSeriesOrBuilderList(); @@ -115,7 +127,7 @@ public interface CreateTimeSeriesRequestOrBuilder * * *
-   * The new data to be added to a list of time series.
+   * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
    * point must be more recent than any other point in its time series.  Each
    * `TimeSeries` value must fully specify a unique time series by supplying
@@ -123,7 +135,9 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java index c7b0ce31..da15a1e4 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java @@ -134,11 +134,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project in which to create the Uptime check. The format
+   * Required. The project in which to create the Uptime check. The format
    *   is `projects/[PROJECT_ID]`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -157,11 +159,13 @@ public java.lang.String getParent() { * * *
-   * The project in which to create the Uptime check. The format
+   * Required. The project in which to create the Uptime check. The format
    *   is `projects/[PROJECT_ID]`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -183,10 +187,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The new Uptime check configuration.
+   * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the uptimeCheckConfig field is set. */ @@ -197,10 +203,12 @@ public boolean hasUptimeCheckConfig() { * * *
-   * The new Uptime check configuration.
+   * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The uptimeCheckConfig. */ @@ -213,10 +221,12 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { * * *
-   * The new Uptime check configuration.
+   * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { return getUptimeCheckConfig(); @@ -574,11 +584,13 @@ public Builder mergeFrom( * * *
-     * The project in which to create the Uptime check. The format
+     * Required. The project in which to create the Uptime check. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -597,11 +609,13 @@ public java.lang.String getParent() { * * *
-     * The project in which to create the Uptime check. The format
+     * Required. The project in which to create the Uptime check. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -620,11 +634,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The project in which to create the Uptime check. The format
+     * Required. The project in which to create the Uptime check. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -642,11 +658,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The project in which to create the Uptime check. The format
+     * Required. The project in which to create the Uptime check. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -660,11 +678,13 @@ public Builder clearParent() { * * *
-     * The project in which to create the Uptime check. The format
+     * Required. The project in which to create the Uptime check. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -690,10 +710,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the uptimeCheckConfig field is set. */ @@ -704,10 +726,12 @@ public boolean hasUptimeCheckConfig() { * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The uptimeCheckConfig. */ @@ -724,10 +748,12 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { @@ -746,10 +772,12 @@ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig v * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUptimeCheckConfig( com.google.monitoring.v3.UptimeCheckConfig.Builder builderForValue) { @@ -766,10 +794,12 @@ public Builder setUptimeCheckConfig( * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { @@ -792,10 +822,12 @@ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { @@ -812,10 +844,12 @@ public Builder clearUptimeCheckConfig() { * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBuilder() { @@ -826,10 +860,12 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBu * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { if (uptimeCheckConfigBuilder_ != null) { @@ -844,10 +880,12 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigO * * *
-     * The new Uptime check configuration.
+     * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.UptimeCheckConfig, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java index 78af6432..c3c99941 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface CreateUptimeCheckConfigRequestOrBuilder * * *
-   * The project in which to create the Uptime check. The format
+   * Required. The project in which to create the Uptime check. The format
    *   is `projects/[PROJECT_ID]`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface CreateUptimeCheckConfigRequestOrBuilder * * *
-   * The project in which to create the Uptime check. The format
+   * Required. The project in which to create the Uptime check. The format
    *   is `projects/[PROJECT_ID]`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -54,10 +58,12 @@ public interface CreateUptimeCheckConfigRequestOrBuilder * * *
-   * The new Uptime check configuration.
+   * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the uptimeCheckConfig field is set. */ @@ -66,10 +72,12 @@ public interface CreateUptimeCheckConfigRequestOrBuilder * * *
-   * The new Uptime check configuration.
+   * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The uptimeCheckConfig. */ @@ -78,10 +86,12 @@ public interface CreateUptimeCheckConfigRequestOrBuilder * * *
-   * The new Uptime check configuration.
+   * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java index fd2faf00..1ca6be7b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java @@ -117,12 +117,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The alerting policy to delete. The format is:
+   * Required. The alerting policy to delete. The format is:
    *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
    * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -141,12 +143,14 @@ public java.lang.String getName() { * * *
-   * The alerting policy to delete. The format is:
+   * Required. The alerting policy to delete. The format is:
    *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
    * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -485,12 +489,14 @@ public Builder mergeFrom( * * *
-     * The alerting policy to delete. The format is:
+     * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -509,12 +515,14 @@ public java.lang.String getName() { * * *
-     * The alerting policy to delete. The format is:
+     * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -533,12 +541,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The alerting policy to delete. The format is:
+     * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -556,12 +566,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The alerting policy to delete. The format is:
+     * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -575,12 +587,14 @@ public Builder clearName() { * * *
-     * The alerting policy to delete. The format is:
+     * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java index 6a5cbcb1..0dafe0f4 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface DeleteAlertPolicyRequestOrBuilder * * *
-   * The alerting policy to delete. The format is:
+   * Required. The alerting policy to delete. The format is:
    *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
    * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface DeleteAlertPolicyRequestOrBuilder * * *
-   * The alerting policy to delete. The format is:
+   * Required. The alerting policy to delete. The format is:
    *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
    * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java index 14c04cfc..5e5a3a90 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java @@ -123,11 +123,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The group to delete. The format is
+   * Required. The group to delete. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -146,11 +148,13 @@ public java.lang.String getName() { * * *
-   * The group to delete. The format is
+   * Required. The group to delete. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -522,11 +526,13 @@ public Builder mergeFrom( * * *
-     * The group to delete. The format is
+     * Required. The group to delete. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -545,11 +551,13 @@ public java.lang.String getName() { * * *
-     * The group to delete. The format is
+     * Required. The group to delete. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -568,11 +576,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The group to delete. The format is
+     * Required. The group to delete. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -590,11 +600,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The group to delete. The format is
+     * Required. The group to delete. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -608,11 +620,13 @@ public Builder clearName() { * * *
-     * The group to delete. The format is
+     * Required. The group to delete. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java index 3dfa0181..45dca11e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface DeleteGroupRequestOrBuilder * * *
-   * The group to delete. The format is
+   * Required. The group to delete. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface DeleteGroupRequestOrBuilder * * *
-   * The group to delete. The format is
+   * Required. The group to delete. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java index 30050201..f4dd16d8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java @@ -117,13 +117,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The metric descriptor on which to execute the request. The format is
+   * Required. The metric descriptor on which to execute the request. The format is
    * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
    * An example of `{metric_id}` is:
    * `"custom.googleapis.com/my_test_metric"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -142,13 +144,15 @@ public java.lang.String getName() { * * *
-   * The metric descriptor on which to execute the request. The format is
+   * Required. The metric descriptor on which to execute the request. The format is
    * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
    * An example of `{metric_id}` is:
    * `"custom.googleapis.com/my_test_metric"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -488,13 +492,15 @@ public Builder mergeFrom( * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example of `{metric_id}` is:
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -513,13 +519,15 @@ public java.lang.String getName() { * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example of `{metric_id}` is:
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -538,13 +546,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example of `{metric_id}` is:
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -562,13 +572,15 @@ public Builder setName(java.lang.String value) { * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example of `{metric_id}` is:
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -582,13 +594,15 @@ public Builder clearName() { * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example of `{metric_id}` is:
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java index 3b168939..acdf29af 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java @@ -27,13 +27,15 @@ public interface DeleteMetricDescriptorRequestOrBuilder * * *
-   * The metric descriptor on which to execute the request. The format is
+   * Required. The metric descriptor on which to execute the request. The format is
    * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
    * An example of `{metric_id}` is:
    * `"custom.googleapis.com/my_test_metric"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -42,13 +44,15 @@ public interface DeleteMetricDescriptorRequestOrBuilder * * *
-   * The metric descriptor on which to execute the request. The format is
+   * Required. The metric descriptor on which to execute the request. The format is
    * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
    * An example of `{metric_id}` is:
    * `"custom.googleapis.com/my_test_metric"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java index f785da59..30c3943d 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java @@ -123,11 +123,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The channel for which to execute the request. The format is
+   * Required. The channel for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -146,11 +148,13 @@ public java.lang.String getName() { * * *
-   * The channel for which to execute the request. The format is
+   * Required. The channel for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -525,11 +529,13 @@ public Builder mergeFrom( * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -548,11 +554,13 @@ public java.lang.String getName() { * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -571,11 +579,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -593,11 +603,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -611,11 +623,13 @@ public Builder clearName() { * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java index 2024f687..e703f7e1 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface DeleteNotificationChannelRequestOrBuilder * * *
-   * The channel for which to execute the request. The format is
+   * Required. The channel for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface DeleteNotificationChannelRequestOrBuilder * * *
-   * The channel for which to execute the request. The format is
+   * Required. The channel for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java index e2844bca..400ff7af 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java @@ -118,12 +118,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the `ServiceLevelObjective` to delete.
+   * Required. Resource name of the `ServiceLevelObjective` to delete.
    * Of the form
    * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -142,12 +144,14 @@ public java.lang.String getName() { * * *
-   * Resource name of the `ServiceLevelObjective` to delete.
+   * Required. Resource name of the `ServiceLevelObjective` to delete.
    * Of the form
    * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -487,12 +491,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the `ServiceLevelObjective` to delete.
+     * Required. Resource name of the `ServiceLevelObjective` to delete.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -511,12 +517,14 @@ public java.lang.String getName() { * * *
-     * Resource name of the `ServiceLevelObjective` to delete.
+     * Required. Resource name of the `ServiceLevelObjective` to delete.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -535,12 +543,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the `ServiceLevelObjective` to delete.
+     * Required. Resource name of the `ServiceLevelObjective` to delete.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -558,12 +568,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the `ServiceLevelObjective` to delete.
+     * Required. Resource name of the `ServiceLevelObjective` to delete.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -577,12 +589,14 @@ public Builder clearName() { * * *
-     * Resource name of the `ServiceLevelObjective` to delete.
+     * Required. Resource name of the `ServiceLevelObjective` to delete.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java index 7fbad7d1..207a45e5 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface DeleteServiceLevelObjectiveRequestOrBuilder * * *
-   * Resource name of the `ServiceLevelObjective` to delete.
+   * Required. Resource name of the `ServiceLevelObjective` to delete.
    * Of the form
    * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface DeleteServiceLevelObjectiveRequestOrBuilder * * *
-   * Resource name of the `ServiceLevelObjective` to delete.
+   * Required. Resource name of the `ServiceLevelObjective` to delete.
    * Of the form
    * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java index 73fd5944..24145289 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the `Service` to delete.
-   * Of the form `projects/{project_id}/service/{service_id}`.
+   * Required. Resource name of the `Service` to delete.
+   * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * Resource name of the `Service` to delete.
-   * Of the form `projects/{project_id}/service/{service_id}`.
+   * Required. Resource name of the `Service` to delete.
+   * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -481,11 +485,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the `Service` to delete.
-     * Of the form `projects/{project_id}/service/{service_id}`.
+     * Required. Resource name of the `Service` to delete.
+     * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -504,11 +510,13 @@ public java.lang.String getName() { * * *
-     * Resource name of the `Service` to delete.
-     * Of the form `projects/{project_id}/service/{service_id}`.
+     * Required. Resource name of the `Service` to delete.
+     * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -527,11 +535,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the `Service` to delete.
-     * Of the form `projects/{project_id}/service/{service_id}`.
+     * Required. Resource name of the `Service` to delete.
+     * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -549,11 +559,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the `Service` to delete.
-     * Of the form `projects/{project_id}/service/{service_id}`.
+     * Required. Resource name of the `Service` to delete.
+     * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -567,11 +579,13 @@ public Builder clearName() { * * *
-     * Resource name of the `Service` to delete.
-     * Of the form `projects/{project_id}/service/{service_id}`.
+     * Required. Resource name of the `Service` to delete.
+     * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java index cbc59e78..c3753191 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface DeleteServiceRequestOrBuilder * * *
-   * Resource name of the `Service` to delete.
-   * Of the form `projects/{project_id}/service/{service_id}`.
+   * Required. Resource name of the `Service` to delete.
+   * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface DeleteServiceRequestOrBuilder * * *
-   * Resource name of the `Service` to delete.
-   * Of the form `projects/{project_id}/service/{service_id}`.
+   * Required. Resource name of the `Service` to delete.
+   * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java index 2b5a180a..410bc20c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java @@ -118,11 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The Uptime check configuration to delete. The format
+   * Required. The Uptime check configuration to delete. The format
    *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -141,11 +143,13 @@ public java.lang.String getName() { * * *
-   * The Uptime check configuration to delete. The format
+   * Required. The Uptime check configuration to delete. The format
    *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -485,11 +489,13 @@ public Builder mergeFrom( * * *
-     * The Uptime check configuration to delete. The format
+     * Required. The Uptime check configuration to delete. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -508,11 +514,13 @@ public java.lang.String getName() { * * *
-     * The Uptime check configuration to delete. The format
+     * Required. The Uptime check configuration to delete. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -531,11 +539,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The Uptime check configuration to delete. The format
+     * Required. The Uptime check configuration to delete. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -553,11 +563,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The Uptime check configuration to delete. The format
+     * Required. The Uptime check configuration to delete. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -571,11 +583,13 @@ public Builder clearName() { * * *
-     * The Uptime check configuration to delete. The format
+     * Required. The Uptime check configuration to delete. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java index 25ea9f8e..03feead5 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface DeleteUptimeCheckConfigRequestOrBuilder * * *
-   * The Uptime check configuration to delete. The format
+   * Required. The Uptime check configuration to delete. The format
    *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface DeleteUptimeCheckConfigRequestOrBuilder * * *
-   * The Uptime check configuration to delete. The format
+   * Required. The Uptime check configuration to delete. The format
    *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java index c99bac7c..58a6f47c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The alerting policy to retrieve. The format is
+   * Required. The alerting policy to retrieve. The format is
    *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The alerting policy to retrieve. The format is
+   * Required. The alerting policy to retrieve. The format is
    *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -481,11 +485,13 @@ public Builder mergeFrom( * * *
-     * The alerting policy to retrieve. The format is
+     * Required. The alerting policy to retrieve. The format is
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -504,11 +510,13 @@ public java.lang.String getName() { * * *
-     * The alerting policy to retrieve. The format is
+     * Required. The alerting policy to retrieve. The format is
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -527,11 +535,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The alerting policy to retrieve. The format is
+     * Required. The alerting policy to retrieve. The format is
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -549,11 +559,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The alerting policy to retrieve. The format is
+     * Required. The alerting policy to retrieve. The format is
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -567,11 +579,13 @@ public Builder clearName() { * * *
-     * The alerting policy to retrieve. The format is
+     * Required. The alerting policy to retrieve. The format is
      *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java index 07d2193c..5393e54f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetAlertPolicyRequestOrBuilder * * *
-   * The alerting policy to retrieve. The format is
+   * Required. The alerting policy to retrieve. The format is
    *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetAlertPolicyRequestOrBuilder * * *
-   * The alerting policy to retrieve. The format is
+   * Required. The alerting policy to retrieve. The format is
    *     projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java index 3f1929be..bbe3ca9b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The group to retrieve. The format is
+   * Required. The group to retrieve. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The group to retrieve. The format is
+   * Required. The group to retrieve. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -480,11 +484,13 @@ public Builder mergeFrom( * * *
-     * The group to retrieve. The format is
+     * Required. The group to retrieve. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -503,11 +509,13 @@ public java.lang.String getName() { * * *
-     * The group to retrieve. The format is
+     * Required. The group to retrieve. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -526,11 +534,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The group to retrieve. The format is
+     * Required. The group to retrieve. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -548,11 +558,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The group to retrieve. The format is
+     * Required. The group to retrieve. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -566,11 +578,13 @@ public Builder clearName() { * * *
-     * The group to retrieve. The format is
+     * Required. The group to retrieve. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java index 0fd1cedf..0a8960e1 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetGroupRequestOrBuilder * * *
-   * The group to retrieve. The format is
+   * Required. The group to retrieve. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetGroupRequestOrBuilder * * *
-   * The group to retrieve. The format is
+   * Required. The group to retrieve. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java index 969f8a96..984a6d86 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java @@ -117,13 +117,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The metric descriptor on which to execute the request. The format is
+   * Required. The metric descriptor on which to execute the request. The format is
    * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
    * An example value of `{metric_id}` is
    * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -142,13 +144,15 @@ public java.lang.String getName() { * * *
-   * The metric descriptor on which to execute the request. The format is
+   * Required. The metric descriptor on which to execute the request. The format is
    * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
    * An example value of `{metric_id}` is
    * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -487,13 +491,15 @@ public Builder mergeFrom( * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example value of `{metric_id}` is
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -512,13 +518,15 @@ public java.lang.String getName() { * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example value of `{metric_id}` is
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -537,13 +545,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example value of `{metric_id}` is
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -561,13 +571,15 @@ public Builder setName(java.lang.String value) { * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example value of `{metric_id}` is
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -581,13 +593,15 @@ public Builder clearName() { * * *
-     * The metric descriptor on which to execute the request. The format is
+     * Required. The metric descriptor on which to execute the request. The format is
      * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
      * An example value of `{metric_id}` is
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java index d3fb084a..e3794c44 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java @@ -27,13 +27,15 @@ public interface GetMetricDescriptorRequestOrBuilder * * *
-   * The metric descriptor on which to execute the request. The format is
+   * Required. The metric descriptor on which to execute the request. The format is
    * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
    * An example value of `{metric_id}` is
    * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -42,13 +44,15 @@ public interface GetMetricDescriptorRequestOrBuilder * * *
-   * The metric descriptor on which to execute the request. The format is
+   * Required. The metric descriptor on which to execute the request. The format is
    * `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
    * An example value of `{metric_id}` is
    * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java index 3260f2a8..59235385 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java @@ -119,13 +119,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The monitored resource descriptor to get.  The format is
+   * Required. The monitored resource descriptor to get.  The format is
    * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
    * The `{resource_type}` is a predefined type, such as
    * `cloudsql_database`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -144,13 +146,15 @@ public java.lang.String getName() { * * *
-   * The monitored resource descriptor to get.  The format is
+   * Required. The monitored resource descriptor to get.  The format is
    * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
    * The `{resource_type}` is a predefined type, such as
    * `cloudsql_database`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -493,13 +497,15 @@ public Builder mergeFrom( * * *
-     * The monitored resource descriptor to get.  The format is
+     * Required. The monitored resource descriptor to get.  The format is
      * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
      * The `{resource_type}` is a predefined type, such as
      * `cloudsql_database`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -518,13 +524,15 @@ public java.lang.String getName() { * * *
-     * The monitored resource descriptor to get.  The format is
+     * Required. The monitored resource descriptor to get.  The format is
      * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
      * The `{resource_type}` is a predefined type, such as
      * `cloudsql_database`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -543,13 +551,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The monitored resource descriptor to get.  The format is
+     * Required. The monitored resource descriptor to get.  The format is
      * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
      * The `{resource_type}` is a predefined type, such as
      * `cloudsql_database`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -567,13 +577,15 @@ public Builder setName(java.lang.String value) { * * *
-     * The monitored resource descriptor to get.  The format is
+     * Required. The monitored resource descriptor to get.  The format is
      * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
      * The `{resource_type}` is a predefined type, such as
      * `cloudsql_database`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -587,13 +599,15 @@ public Builder clearName() { * * *
-     * The monitored resource descriptor to get.  The format is
+     * Required. The monitored resource descriptor to get.  The format is
      * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
      * The `{resource_type}` is a predefined type, such as
      * `cloudsql_database`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java index 50caf0b5..c8f21b54 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java @@ -27,13 +27,15 @@ public interface GetMonitoredResourceDescriptorRequestOrBuilder * * *
-   * The monitored resource descriptor to get.  The format is
+   * Required. The monitored resource descriptor to get.  The format is
    * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
    * The `{resource_type}` is a predefined type, such as
    * `cloudsql_database`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -42,13 +44,15 @@ public interface GetMonitoredResourceDescriptorRequestOrBuilder * * *
-   * The monitored resource descriptor to get.  The format is
+   * Required. The monitored resource descriptor to get.  The format is
    * `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
    * The `{resource_type}` is a predefined type, such as
    * `cloudsql_database`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java index 54c3a083..964d94c4 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java @@ -119,11 +119,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The channel type for which to execute the request. The format is
+   * Required. The channel type for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -142,11 +144,13 @@ public java.lang.String getName() { * * *
-   * The channel type for which to execute the request. The format is
+   * Required. The channel type for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -490,11 +494,13 @@ public Builder mergeFrom( * * *
-     * The channel type for which to execute the request. The format is
+     * Required. The channel type for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -513,11 +519,13 @@ public java.lang.String getName() { * * *
-     * The channel type for which to execute the request. The format is
+     * Required. The channel type for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -536,11 +544,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The channel type for which to execute the request. The format is
+     * Required. The channel type for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -558,11 +568,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The channel type for which to execute the request. The format is
+     * Required. The channel type for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -576,11 +588,13 @@ public Builder clearName() { * * *
-     * The channel type for which to execute the request. The format is
+     * Required. The channel type for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java index 8ad4541a..915d9c82 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetNotificationChannelDescriptorRequestOrBuilder * * *
-   * The channel type for which to execute the request. The format is
+   * Required. The channel type for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetNotificationChannelDescriptorRequestOrBuilder * * *
-   * The channel type for which to execute the request. The format is
+   * Required. The channel type for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java index cd674130..8b77ddee 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The channel for which to execute the request. The format is
+   * Required. The channel for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The channel for which to execute the request. The format is
+   * Required. The channel for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -484,11 +488,13 @@ public Builder mergeFrom( * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -507,11 +513,13 @@ public java.lang.String getName() { * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -530,11 +538,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -552,11 +562,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -570,11 +582,13 @@ public Builder clearName() { * * *
-     * The channel for which to execute the request. The format is
+     * Required. The channel for which to execute the request. The format is
      * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
      * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java index bb21544a..bbcd5dbd 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetNotificationChannelRequestOrBuilder * * *
-   * The channel for which to execute the request. The format is
+   * Required. The channel for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetNotificationChannelRequestOrBuilder * * *
-   * The channel for which to execute the request. The format is
+   * Required. The channel for which to execute the request. The format is
    * `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
    * 
* - * string name = 3; + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java index db4bf214..a272c853 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java @@ -134,12 +134,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The notification channel for which a verification code is to be generated
+   * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -158,12 +160,14 @@ public java.lang.String getName() { * * *
-   * The notification channel for which a verification code is to be generated
+   * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -607,12 +611,14 @@ public Builder mergeFrom( * * *
-     * The notification channel for which a verification code is to be generated
+     * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -631,12 +637,14 @@ public java.lang.String getName() { * * *
-     * The notification channel for which a verification code is to be generated
+     * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -655,12 +663,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The notification channel for which a verification code is to be generated
+     * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -678,12 +688,14 @@ public Builder setName(java.lang.String value) { * * *
-     * The notification channel for which a verification code is to be generated
+     * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -697,12 +709,14 @@ public Builder clearName() { * * *
-     * The notification channel for which a verification code is to be generated
+     * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java index fad2472a..a086e963 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder * * *
-   * The notification channel for which a verification code is to be generated
+   * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder * * *
-   * The notification channel for which a verification code is to be generated
+   * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java index ef5ab1d2..97704e7c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java @@ -126,12 +126,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the `ServiceLevelObjective` to get.
+   * Required. Resource name of the `ServiceLevelObjective` to get.
    * Of the form
    * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -150,12 +152,14 @@ public java.lang.String getName() { * * *
-   * Resource name of the `ServiceLevelObjective` to get.
+   * Required. Resource name of the `ServiceLevelObjective` to get.
    * Of the form
    * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -552,12 +556,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the `ServiceLevelObjective` to get.
+     * Required. Resource name of the `ServiceLevelObjective` to get.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -576,12 +582,14 @@ public java.lang.String getName() { * * *
-     * Resource name of the `ServiceLevelObjective` to get.
+     * Required. Resource name of the `ServiceLevelObjective` to get.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -600,12 +608,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the `ServiceLevelObjective` to get.
+     * Required. Resource name of the `ServiceLevelObjective` to get.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -623,12 +633,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the `ServiceLevelObjective` to get.
+     * Required. Resource name of the `ServiceLevelObjective` to get.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -642,12 +654,14 @@ public Builder clearName() { * * *
-     * Resource name of the `ServiceLevelObjective` to get.
+     * Required. Resource name of the `ServiceLevelObjective` to get.
      * Of the form
      * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java index 3c32b409..cbb87171 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface GetServiceLevelObjectiveRequestOrBuilder * * *
-   * Resource name of the `ServiceLevelObjective` to get.
+   * Required. Resource name of the `ServiceLevelObjective` to get.
    * Of the form
    * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -41,12 +43,14 @@ public interface GetServiceLevelObjectiveRequestOrBuilder * * *
-   * Resource name of the `ServiceLevelObjective` to get.
+   * Required. Resource name of the `ServiceLevelObjective` to get.
    * Of the form
    * `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java index 65e0c850..b1597bfa 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the `Service`.
+   * Required. Resource name of the `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * Resource name of the `Service`.
+   * Required. Resource name of the `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -481,11 +485,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the `Service`.
+     * Required. Resource name of the `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -504,11 +510,13 @@ public java.lang.String getName() { * * *
-     * Resource name of the `Service`.
+     * Required. Resource name of the `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -527,11 +535,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the `Service`.
+     * Required. Resource name of the `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -549,11 +559,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the `Service`.
+     * Required. Resource name of the `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -567,11 +579,13 @@ public Builder clearName() { * * *
-     * Resource name of the `Service`.
+     * Required. Resource name of the `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java index dc0e2a1a..8bc9f5d9 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetServiceRequestOrBuilder * * *
-   * Resource name of the `Service`.
+   * Required. Resource name of the `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetServiceRequestOrBuilder * * *
-   * Resource name of the `Service`.
+   * Required. Resource name of the `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java index 13487bfc..e48fea43 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java @@ -117,11 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The Uptime check configuration to retrieve. The format
+   * Required. The Uptime check configuration to retrieve. The format
    *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,11 +142,13 @@ public java.lang.String getName() { * * *
-   * The Uptime check configuration to retrieve. The format
+   * Required. The Uptime check configuration to retrieve. The format
    *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -483,11 +487,13 @@ public Builder mergeFrom( * * *
-     * The Uptime check configuration to retrieve. The format
+     * Required. The Uptime check configuration to retrieve. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -506,11 +512,13 @@ public java.lang.String getName() { * * *
-     * The Uptime check configuration to retrieve. The format
+     * Required. The Uptime check configuration to retrieve. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -529,11 +537,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The Uptime check configuration to retrieve. The format
+     * Required. The Uptime check configuration to retrieve. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -551,11 +561,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The Uptime check configuration to retrieve. The format
+     * Required. The Uptime check configuration to retrieve. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -569,11 +581,13 @@ public Builder clearName() { * * *
-     * The Uptime check configuration to retrieve. The format
+     * Required. The Uptime check configuration to retrieve. The format
      *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java index 842ff01a..e80c6191 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface GetUptimeCheckConfigRequestOrBuilder * * *
-   * The Uptime check configuration to retrieve. The format
+   * Required. The Uptime check configuration to retrieve. The format
    *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface GetUptimeCheckConfigRequestOrBuilder * * *
-   * The Uptime check configuration to retrieve. The format
+   * Required. The Uptime check configuration to retrieve. The format
    *   is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java index 2a66eb2f..809fed0f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java @@ -41,18 +41,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n google/monitoring/v3/group.proto\022\024goog" - + "le.monitoring.v3\"d\n\005Group\022\014\n\004name\030\001 \001(\t\022" - + "\024\n\014display_name\030\002 \001(\t\022\023\n\013parent_name\030\003 \001" - + "(\t\022\016\n\006filter\030\005 \001(\t\022\022\n\nis_cluster\030\006 \001(\010B\242" - + "\001\n\030com.google.monitoring.v3B\nGroupProtoP" - + "\001Z>google.golang.org/genproto/googleapis" - + "/monitoring/v3;monitoring\252\002\032Google.Cloud" - + ".Monitoring.V3\312\002\032Google\\Cloud\\Monitoring" - + "\\V3b\006proto3" + + "le.monitoring.v3\032\031google/api/resource.pr" + + "oto\"\200\002\n\005Group\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + + "ame\030\002 \001(\t\022\023\n\013parent_name\030\003 \001(\t\022\016\n\006filter" + + "\030\005 \001(\t\022\022\n\nis_cluster\030\006 \001(\010:\231\001\352A\225\001\n\037monit" + + "oring.googleapis.com/Group\022!projects/{pr" + + "oject}/groups/{group}\022+organizations/{or" + + "ganization}/groups/{group}\022\037folders/{fol" + + "der}/groups/{group}\022\001*B\242\001\n\030com.google.mo" + + "nitoring.v3B\nGroupProtoP\001Z>google.golang" + + ".org/genproto/googleapis/monitoring/v3;m" + + "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002" + + "\032Google\\Cloud\\Monitoring\\V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); internal_static_google_monitoring_v3_Group_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_monitoring_v3_Group_fieldAccessorTable = @@ -61,6 +68,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "DisplayName", "ParentName", "Filter", "IsCluster", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java index ccc6ee22..58c1d0e4 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java @@ -70,72 +70,85 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n(google/monitoring/v3/group_service.pro" + "to\022\024google.monitoring.v3\032\034google/api/ann" - + "otations.proto\032#google/api/monitored_res" - + "ource.proto\032!google/monitoring/v3/common" - + ".proto\032 google/monitoring/v3/group.proto" - + "\032\033google/protobuf/empty.proto\032\027google/ap" - + "i/client.proto\"\255\001\n\021ListGroupsRequest\022\014\n\004" - + "name\030\007 \001(\t\022\033\n\021children_of_group\030\002 \001(\tH\000\022" - + "\034\n\022ancestors_of_group\030\003 \001(\tH\000\022\036\n\024descend" - + "ants_of_group\030\004 \001(\tH\000\022\021\n\tpage_size\030\005 \001(\005" - + "\022\022\n\npage_token\030\006 \001(\tB\010\n\006filter\"Y\n\022ListGr" - + "oupsResponse\022*\n\005group\030\001 \003(\0132\033.google.mon" - + "itoring.v3.Group\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\037\n\017GetGroupRequest\022\014\n\004name\030\003 \001(\t\"e\n\022Cr" - + "eateGroupRequest\022\014\n\004name\030\004 \001(\t\022*\n\005group\030" - + "\002 \001(\0132\033.google.monitoring.v3.Group\022\025\n\rva" - + "lidate_only\030\003 \001(\010\"W\n\022UpdateGroupRequest\022" - + "*\n\005group\030\002 \001(\0132\033.google.monitoring.v3.Gr" - + "oup\022\025\n\rvalidate_only\030\003 \001(\010\"5\n\022DeleteGrou" - + "pRequest\022\014\n\004name\030\003 \001(\t\022\021\n\trecursive\030\004 \001(" - + "\010\"\224\001\n\027ListGroupMembersRequest\022\014\n\004name\030\007 " - + "\001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001" - + "(\t\022\016\n\006filter\030\005 \001(\t\0224\n\010interval\030\006 \001(\0132\".g" - + "oogle.monitoring.v3.TimeInterval\"w\n\030List" - + "GroupMembersResponse\022.\n\007members\030\001 \003(\0132\035." - + "google.api.MonitoredResource\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\022\022\n\ntotal_size\030\003 \001(\0052\347\007\n\014Gr" - + "oupService\022\205\001\n\nListGroups\022\'.google.monit" - + "oring.v3.ListGroupsRequest\032(.google.moni" - + "toring.v3.ListGroupsResponse\"$\202\323\344\223\002\036\022\034/v" - + "3/{name=projects/*}/groups\022v\n\010GetGroup\022%" - + ".google.monitoring.v3.GetGroupRequest\032\033." - + "google.monitoring.v3.Group\"&\202\323\344\223\002 \022\036/v3/" - + "{name=projects/*/groups/*}\022\201\001\n\013CreateGro" - + "up\022(.google.monitoring.v3.CreateGroupReq" - + "uest\032\033.google.monitoring.v3.Group\"+\202\323\344\223\002" - + "%\"\034/v3/{name=projects/*}/groups:\005group\022\211" - + "\001\n\013UpdateGroup\022(.google.monitoring.v3.Up" - + "dateGroupRequest\032\033.google.monitoring.v3." - + "Group\"3\202\323\344\223\002-\032$/v3/{group.name=projects/" - + "*/groups/*}:\005group\022w\n\013DeleteGroup\022(.goog" - + "le.monitoring.v3.DeleteGroupRequest\032\026.go" - + "ogle.protobuf.Empty\"&\202\323\344\223\002 *\036/v3/{name=p" - + "rojects/*/groups/*}\022\241\001\n\020ListGroupMembers" - + "\022-.google.monitoring.v3.ListGroupMembers" - + "Request\032..google.monitoring.v3.ListGroup" - + "MembersResponse\".\202\323\344\223\002(\022&/v3/{name=proje" - + "cts/*/groups/*}/members\032\251\001\312A\031monitoring." - + "googleapis.com\322A\211\001https://www.googleapis" - + ".com/auth/cloud-platform,https://www.goo" - + "gleapis.com/auth/monitoring,https://www." - + "googleapis.com/auth/monitoring.readB\251\001\n\030" - + "com.google.monitoring.v3B\021GroupServicePr" - + "otoP\001Z>google.golang.org/genproto/google" - + "apis/monitoring/v3;monitoring\252\002\032Google.C" - + "loud.Monitoring.V3\312\002\032Google\\Cloud\\Monito" - + "ring\\V3b\006proto3" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032#google" + + "/api/monitored_resource.proto\032\031google/ap" + + "i/resource.proto\032!google/monitoring/v3/c" + + "ommon.proto\032 google/monitoring/v3/group." + + "proto\032\033google/protobuf/empty.proto\"\310\002\n\021L" + + "istGroupsRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!\022\037" + + "monitoring.googleapis.com/Group\022A\n\021child" + + "ren_of_group\030\002 \001(\tB$\372A!\n\037monitoring.goog" + + "leapis.com/GroupH\000\022B\n\022ancestors_of_group" + + "\030\003 \001(\tB$\372A!\n\037monitoring.googleapis.com/G" + + "roupH\000\022D\n\024descendants_of_group\030\004 \001(\tB$\372A" + + "!\n\037monitoring.googleapis.com/GroupH\000\022\021\n\t" + + "page_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\tB\010\n\006f" + + "ilter\"Y\n\022ListGroupsResponse\022*\n\005group\030\001 \003" + + "(\0132\033.google.monitoring.v3.Group\022\027\n\017next_" + + "page_token\030\002 \001(\t\"H\n\017GetGroupRequest\0225\n\004n" + + "ame\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapis" + + ".com/Group\"\223\001\n\022CreateGroupRequest\0225\n\004nam" + + "e\030\004 \001(\tB\'\340A\002\372A!\022\037monitoring.googleapis.c" + + "om/Group\022/\n\005group\030\002 \001(\0132\033.google.monitor" + + "ing.v3.GroupB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010" + + "\"\\\n\022UpdateGroupRequest\022/\n\005group\030\002 \001(\0132\033." + + "google.monitoring.v3.GroupB\003\340A\002\022\025\n\rvalid" + + "ate_only\030\003 \001(\010\"^\n\022DeleteGroupRequest\0225\n\004" + + "name\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapi" + + "s.com/Group\022\021\n\trecursive\030\004 \001(\010\"\275\001\n\027ListG" + + "roupMembersRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!" + + "\n\037monitoring.googleapis.com/Group\022\021\n\tpag" + + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filt" + + "er\030\005 \001(\t\0224\n\010interval\030\006 \001(\0132\".google.moni" + + "toring.v3.TimeInterval\"w\n\030ListGroupMembe" + + "rsResponse\022.\n\007members\030\001 \003(\0132\035.google.api" + + ".MonitoredResource\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\022\n\ntotal_size\030\003 \001(\0052\230\010\n\014GroupService" + + "\022\214\001\n\nListGroups\022\'.google.monitoring.v3.L" + + "istGroupsRequest\032(.google.monitoring.v3." + + "ListGroupsResponse\"+\202\323\344\223\002\036\022\034/v3/{name=pr" + + "ojects/*}/groups\332A\004name\022}\n\010GetGroup\022%.go" + + "ogle.monitoring.v3.GetGroupRequest\032\033.goo" + + "gle.monitoring.v3.Group\"-\202\323\344\223\002 \022\036/v3/{na" + + "me=projects/*/groups/*}\332A\004name\022\216\001\n\013Creat" + + "eGroup\022(.google.monitoring.v3.CreateGrou" + + "pRequest\032\033.google.monitoring.v3.Group\"8\202" + + "\323\344\223\002%\"\034/v3/{name=projects/*}/groups:\005gro" + + "up\332A\nname,group\022\221\001\n\013UpdateGroup\022(.google" + + ".monitoring.v3.UpdateGroupRequest\032\033.goog" + + "le.monitoring.v3.Group\";\202\323\344\223\002-\032$/v3/{gro" + + "up.name=projects/*/groups/*}:\005group\332A\005gr" + + "oup\022~\n\013DeleteGroup\022(.google.monitoring.v" + + "3.DeleteGroupRequest\032\026.google.protobuf.E" + + "mpty\"-\202\323\344\223\002 *\036/v3/{name=projects/*/group" + + "s/*}\332A\004name\022\250\001\n\020ListGroupMembers\022-.googl" + + "e.monitoring.v3.ListGroupMembersRequest\032" + + "..google.monitoring.v3.ListGroupMembersR" + + "esponse\"5\202\323\344\223\002(\022&/v3/{name=projects/*/gr" + + "oups/*}/members\332A\004name\032\251\001\312A\031monitoring.g" + + "oogleapis.com\322A\211\001https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/monitoring,https://www.g" + + "oogleapis.com/auth/monitoring.readB\251\001\n\030c" + + "om.google.monitoring.v3B\021GroupServicePro" + + "toP\001Z>google.golang.org/genproto/googlea" + + "pis/monitoring/v3;monitoring\252\002\032Google.Cl" + + "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor" + + "ing\\V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.monitoring.v3.CommonProto.getDescriptor(), com.google.monitoring.v3.GroupProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_monitoring_v3_ListGroupsRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -210,16 +223,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.monitoring.v3.CommonProto.getDescriptor(); com.google.monitoring.v3.GroupProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java index 728bf0c4..a9cc9f8a 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java @@ -146,7 +146,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project whose alert policies are to be listed. The format is
+   * Required. The project whose alert policies are to be listed. The format is
    *     projects/[PROJECT_ID]
    * Note that this field names the parent container in which the alerting
    * policies to be listed are stored. To retrieve a single alerting policy
@@ -155,7 +155,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * operation, instead.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -174,7 +176,7 @@ public java.lang.String getName() { * * *
-   * The project whose alert policies are to be listed. The format is
+   * Required. The project whose alert policies are to be listed. The format is
    *     projects/[PROJECT_ID]
    * Note that this field names the parent container in which the alerting
    * policies to be listed are stored. To retrieve a single alerting policy
@@ -183,7 +185,9 @@ public java.lang.String getName() {
    * operation, instead.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -761,7 +765,7 @@ public Builder mergeFrom( * * *
-     * The project whose alert policies are to be listed. The format is
+     * Required. The project whose alert policies are to be listed. The format is
      *     projects/[PROJECT_ID]
      * Note that this field names the parent container in which the alerting
      * policies to be listed are stored. To retrieve a single alerting policy
@@ -770,7 +774,9 @@ public Builder mergeFrom(
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -789,7 +795,7 @@ public java.lang.String getName() { * * *
-     * The project whose alert policies are to be listed. The format is
+     * Required. The project whose alert policies are to be listed. The format is
      *     projects/[PROJECT_ID]
      * Note that this field names the parent container in which the alerting
      * policies to be listed are stored. To retrieve a single alerting policy
@@ -798,7 +804,9 @@ public java.lang.String getName() {
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -817,7 +825,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project whose alert policies are to be listed. The format is
+     * Required. The project whose alert policies are to be listed. The format is
      *     projects/[PROJECT_ID]
      * Note that this field names the parent container in which the alerting
      * policies to be listed are stored. To retrieve a single alerting policy
@@ -826,7 +834,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -844,7 +854,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The project whose alert policies are to be listed. The format is
+     * Required. The project whose alert policies are to be listed. The format is
      *     projects/[PROJECT_ID]
      * Note that this field names the parent container in which the alerting
      * policies to be listed are stored. To retrieve a single alerting policy
@@ -853,7 +863,9 @@ public Builder setName(java.lang.String value) {
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -867,7 +879,7 @@ public Builder clearName() { * * *
-     * The project whose alert policies are to be listed. The format is
+     * Required. The project whose alert policies are to be listed. The format is
      *     projects/[PROJECT_ID]
      * Note that this field names the parent container in which the alerting
      * policies to be listed are stored. To retrieve a single alerting policy
@@ -876,7 +888,9 @@ public Builder clearName() {
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java index 9ba017e8..cb989416 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface ListAlertPoliciesRequestOrBuilder * * *
-   * The project whose alert policies are to be listed. The format is
+   * Required. The project whose alert policies are to be listed. The format is
    *     projects/[PROJECT_ID]
    * Note that this field names the parent container in which the alerting
    * policies to be listed are stored. To retrieve a single alerting policy
@@ -36,7 +36,9 @@ public interface ListAlertPoliciesRequestOrBuilder
    * operation, instead.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -45,7 +47,7 @@ public interface ListAlertPoliciesRequestOrBuilder * * *
-   * The project whose alert policies are to be listed. The format is
+   * Required. The project whose alert policies are to be listed. The format is
    *     projects/[PROJECT_ID]
    * Note that this field names the parent container in which the alerting
    * policies to be listed are stored. To retrieve a single alerting policy
@@ -54,7 +56,9 @@ public interface ListAlertPoliciesRequestOrBuilder
    * operation, instead.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java index c6733b7d..3a774cf6 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java @@ -154,11 +154,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The group whose members are listed. The format is
+   * Required. The group whose members are listed. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -177,11 +179,13 @@ public java.lang.String getName() { * * *
-   * The group whose members are listed. The format is
+   * Required. The group whose members are listed. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -773,11 +777,13 @@ public Builder mergeFrom( * * *
-     * The group whose members are listed. The format is
+     * Required. The group whose members are listed. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -796,11 +802,13 @@ public java.lang.String getName() { * * *
-     * The group whose members are listed. The format is
+     * Required. The group whose members are listed. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -819,11 +827,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The group whose members are listed. The format is
+     * Required. The group whose members are listed. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -841,11 +851,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The group whose members are listed. The format is
+     * Required. The group whose members are listed. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -859,11 +871,13 @@ public Builder clearName() { * * *
-     * The group whose members are listed. The format is
+     * Required. The group whose members are listed. The format is
      * `"projects/{project_id_or_number}/groups/{group_id}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java index 582a732d..ad529468 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListGroupMembersRequestOrBuilder * * *
-   * The group whose members are listed. The format is
+   * Required. The group whose members are listed. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface ListGroupMembersRequestOrBuilder * * *
-   * The group whose members are listed. The format is
+   * Required. The group whose members are listed. The format is
    * `"projects/{project_id_or_number}/groups/{group_id}"`.
    * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java index 0464f452..14432594 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java @@ -201,11 +201,13 @@ public FilterCase getFilterCase() { * * *
-   * The project whose groups are to be listed. The format is
+   * Required. The project whose groups are to be listed. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -224,11 +226,13 @@ public java.lang.String getName() { * * *
-   * The project whose groups are to be listed. The format is
+   * Required. The project whose groups are to be listed. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -254,7 +258,7 @@ public com.google.protobuf.ByteString getNameBytes() { * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @return The childrenOfGroup. */ @@ -283,7 +287,7 @@ public java.lang.String getChildrenOfGroup() { * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @return The bytes for childrenOfGroup. */ @@ -316,7 +320,7 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() { * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @return The ancestorsOfGroup. */ @@ -347,7 +351,7 @@ public java.lang.String getAncestorsOfGroup() { * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @return The bytes for ancestorsOfGroup. */ @@ -379,7 +383,7 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @return The descendantsOfGroup. */ @@ -409,7 +413,7 @@ public java.lang.String getDescendantsOfGroup() { * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @return The bytes for descendantsOfGroup. */ @@ -951,11 +955,13 @@ public Builder clearFilter() { * * *
-     * The project whose groups are to be listed. The format is
+     * Required. The project whose groups are to be listed. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -974,11 +980,13 @@ public java.lang.String getName() { * * *
-     * The project whose groups are to be listed. The format is
+     * Required. The project whose groups are to be listed. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -997,11 +1005,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project whose groups are to be listed. The format is
+     * Required. The project whose groups are to be listed. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -1019,11 +1029,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The project whose groups are to be listed. The format is
+     * Required. The project whose groups are to be listed. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -1037,11 +1049,13 @@ public Builder clearName() { * * *
-     * The project whose groups are to be listed. The format is
+     * Required. The project whose groups are to be listed. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -1066,7 +1080,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @return The childrenOfGroup. */ @@ -1095,7 +1109,7 @@ public java.lang.String getChildrenOfGroup() { * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @return The bytes for childrenOfGroup. */ @@ -1124,7 +1138,7 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() { * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @param value The childrenOfGroup to set. * @return This builder for chaining. @@ -1147,7 +1161,7 @@ public Builder setChildrenOfGroup(java.lang.String value) { * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -1168,7 +1182,7 @@ public Builder clearChildrenOfGroup() { * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @param value The bytes for childrenOfGroup to set. * @return This builder for chaining. @@ -1195,7 +1209,7 @@ public Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value) { * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @return The ancestorsOfGroup. */ @@ -1226,7 +1240,7 @@ public java.lang.String getAncestorsOfGroup() { * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @return The bytes for ancestorsOfGroup. */ @@ -1257,7 +1271,7 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @param value The ancestorsOfGroup to set. * @return This builder for chaining. @@ -1282,7 +1296,7 @@ public Builder setAncestorsOfGroup(java.lang.String value) { * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -1305,7 +1319,7 @@ public Builder clearAncestorsOfGroup() { * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @param value The bytes for ancestorsOfGroup to set. * @return This builder for chaining. @@ -1331,7 +1345,7 @@ public Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value) { * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @return The descendantsOfGroup. */ @@ -1361,7 +1375,7 @@ public java.lang.String getDescendantsOfGroup() { * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @return The bytes for descendantsOfGroup. */ @@ -1391,7 +1405,7 @@ public com.google.protobuf.ByteString getDescendantsOfGroupBytes() { * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @param value The descendantsOfGroup to set. * @return This builder for chaining. @@ -1415,7 +1429,7 @@ public Builder setDescendantsOfGroup(java.lang.String value) { * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @return This builder for chaining. */ @@ -1437,7 +1451,7 @@ public Builder clearDescendantsOfGroup() { * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @param value The bytes for descendantsOfGroup to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java index a9839d2a..14a9f7b0 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListGroupsRequestOrBuilder * * *
-   * The project whose groups are to be listed. The format is
+   * Required. The project whose groups are to be listed. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface ListGroupsRequestOrBuilder * * *
-   * The project whose groups are to be listed. The format is
+   * Required. The project whose groups are to be listed. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 7; + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -59,7 +63,7 @@ public interface ListGroupsRequestOrBuilder * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @return The childrenOfGroup. */ @@ -73,7 +77,7 @@ public interface ListGroupsRequestOrBuilder * name. If no groups have this parent, the results are empty. * * - * string children_of_group = 2; + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } * * @return The bytes for childrenOfGroup. */ @@ -90,7 +94,7 @@ public interface ListGroupsRequestOrBuilder * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @return The ancestorsOfGroup. */ @@ -106,7 +110,7 @@ public interface ListGroupsRequestOrBuilder * immediate parent, the results are empty. * * - * string ancestors_of_group = 3; + * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } * * @return The bytes for ancestorsOfGroup. */ @@ -122,7 +126,7 @@ public interface ListGroupsRequestOrBuilder * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @return The descendantsOfGroup. */ @@ -137,7 +141,7 @@ public interface ListGroupsRequestOrBuilder * children-of-children, and so forth. * * - * string descendants_of_group = 4; + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } * * @return The bytes for descendantsOfGroup. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java index 5c6a8dd8..aaea4e88 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java @@ -138,11 +138,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -161,11 +163,13 @@ public java.lang.String getName() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -679,11 +683,13 @@ public Builder mergeFrom( * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -702,11 +708,13 @@ public java.lang.String getName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -725,11 +733,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -747,11 +757,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -765,11 +777,13 @@ public Builder clearName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java index 59def69c..2a9f510e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListMetricDescriptorsRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface ListMetricDescriptorsRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java index 065de712..9b133511 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java @@ -140,11 +140,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -163,11 +165,13 @@ public java.lang.String getName() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -683,11 +687,13 @@ public Builder mergeFrom( * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -706,11 +712,13 @@ public java.lang.String getName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -729,11 +737,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -751,11 +761,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -769,11 +781,13 @@ public Builder clearName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `"projects/{project_id_or_number}"`.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java index 2de65a6a..e614d270 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `"projects/{project_id_or_number}"`.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java index ef66ce36..47e939c7 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java @@ -132,7 +132,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The REST resource name of the parent from which to retrieve
+   * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
    *     projects/[PROJECT_ID]
    * Note that this names the parent container in which to look for the
@@ -141,7 +141,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * operation, instead.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -160,7 +162,7 @@ public java.lang.String getName() { * * *
-   * The REST resource name of the parent from which to retrieve
+   * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
    *     projects/[PROJECT_ID]
    * Note that this names the parent container in which to look for the
@@ -169,7 +171,9 @@ public java.lang.String getName() {
    * operation, instead.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -618,7 +622,7 @@ public Builder mergeFrom( * * *
-     * The REST resource name of the parent from which to retrieve
+     * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
      *     projects/[PROJECT_ID]
      * Note that this names the parent container in which to look for the
@@ -627,7 +631,9 @@ public Builder mergeFrom(
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -646,7 +652,7 @@ public java.lang.String getName() { * * *
-     * The REST resource name of the parent from which to retrieve
+     * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
      *     projects/[PROJECT_ID]
      * Note that this names the parent container in which to look for the
@@ -655,7 +661,9 @@ public java.lang.String getName() {
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -674,7 +682,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The REST resource name of the parent from which to retrieve
+     * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
      *     projects/[PROJECT_ID]
      * Note that this names the parent container in which to look for the
@@ -683,7 +691,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -701,7 +711,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The REST resource name of the parent from which to retrieve
+     * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
      *     projects/[PROJECT_ID]
      * Note that this names the parent container in which to look for the
@@ -710,7 +720,9 @@ public Builder setName(java.lang.String value) {
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -724,7 +736,7 @@ public Builder clearName() { * * *
-     * The REST resource name of the parent from which to retrieve
+     * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
      *     projects/[PROJECT_ID]
      * Note that this names the parent container in which to look for the
@@ -733,7 +745,9 @@ public Builder clearName() {
      * operation, instead.
      * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java index 568083ce..98d8429f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder * * *
-   * The REST resource name of the parent from which to retrieve
+   * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
    *     projects/[PROJECT_ID]
    * Note that this names the parent container in which to look for the
@@ -36,7 +36,9 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
    * operation, instead.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -45,7 +47,7 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder * * *
-   * The REST resource name of the parent from which to retrieve
+   * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
    *     projects/[PROJECT_ID]
    * Note that this names the parent container in which to look for the
@@ -54,7 +56,9 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
    * operation, instead.
    * 
* - * string name = 4; + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java index 7837b831..96c5fc7c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java @@ -147,7 +147,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `projects/[PROJECT_ID]`. That is, this names the container
    * in which to look for the notification channels; it does not name a
    * specific channel. To query a specific channel by REST resource name, use
@@ -156,7 +156,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * operation.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -175,7 +177,7 @@ public java.lang.String getName() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `projects/[PROJECT_ID]`. That is, this names the container
    * in which to look for the notification channels; it does not name a
    * specific channel. To query a specific channel by REST resource name, use
@@ -184,7 +186,9 @@ public java.lang.String getName() {
    * operation.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -765,7 +769,7 @@ public Builder mergeFrom( * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `projects/[PROJECT_ID]`. That is, this names the container
      * in which to look for the notification channels; it does not name a
      * specific channel. To query a specific channel by REST resource name, use
@@ -774,7 +778,9 @@ public Builder mergeFrom(
      * operation.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -793,7 +799,7 @@ public java.lang.String getName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `projects/[PROJECT_ID]`. That is, this names the container
      * in which to look for the notification channels; it does not name a
      * specific channel. To query a specific channel by REST resource name, use
@@ -802,7 +808,9 @@ public java.lang.String getName() {
      * operation.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -821,7 +829,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `projects/[PROJECT_ID]`. That is, this names the container
      * in which to look for the notification channels; it does not name a
      * specific channel. To query a specific channel by REST resource name, use
@@ -830,7 +838,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      * operation.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -848,7 +858,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `projects/[PROJECT_ID]`. That is, this names the container
      * in which to look for the notification channels; it does not name a
      * specific channel. To query a specific channel by REST resource name, use
@@ -857,7 +867,9 @@ public Builder setName(java.lang.String value) {
      * operation.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -871,7 +883,7 @@ public Builder clearName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * `projects/[PROJECT_ID]`. That is, this names the container
      * in which to look for the notification channels; it does not name a
      * specific channel. To query a specific channel by REST resource name, use
@@ -880,7 +892,9 @@ public Builder clearName() {
      * operation.
      * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java index 2a0e6b4b..dd310594 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface ListNotificationChannelsRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `projects/[PROJECT_ID]`. That is, this names the container
    * in which to look for the notification channels; it does not name a
    * specific channel. To query a specific channel by REST resource name, use
@@ -36,7 +36,9 @@ public interface ListNotificationChannelsRequestOrBuilder
    * operation.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -45,7 +47,7 @@ public interface ListNotificationChannelsRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * `projects/[PROJECT_ID]`. That is, this names the container
    * in which to look for the notification channels; it does not name a
    * specific channel. To query a specific channel by REST resource name, use
@@ -54,7 +56,9 @@ public interface ListNotificationChannelsRequestOrBuilder
    * operation.
    * 
* - * string name = 5; + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java index f9e7303d..45c5e47c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java @@ -147,11 +147,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the parent `Service`.
+   * Required. Resource name of the parent `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -170,11 +172,13 @@ public java.lang.String getParent() { * * *
-   * Resource name of the parent `Service`.
+   * Required. Resource name of the parent `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -734,11 +738,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -757,11 +763,13 @@ public java.lang.String getParent() { * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -780,11 +788,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -802,11 +812,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -820,11 +832,13 @@ public Builder clearParent() { * * *
-     * Resource name of the parent `Service`.
+     * Required. Resource name of the parent `Service`.
      * Of the form `projects/{project_id}/services/{service_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java index fb4aca6f..b4e52375 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListServiceLevelObjectivesRequestOrBuilder * * *
-   * Resource name of the parent `Service`.
+   * Required. Resource name of the parent `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface ListServiceLevelObjectivesRequestOrBuilder * * *
-   * Resource name of the parent `Service`.
+   * Required. Resource name of the parent `Service`.
    * Of the form `projects/{project_id}/services/{service_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java index 66e72fbf..05bedf6b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java @@ -138,11 +138,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the parent `Workspace`.
+   * Required. Resource name of the parent `Workspace`.
    * Of the form `projects/{project_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -161,11 +163,13 @@ public java.lang.String getParent() { * * *
-   * Resource name of the parent `Workspace`.
+   * Required. Resource name of the parent `Workspace`.
    * Of the form `projects/{project_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -689,11 +693,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the parent `Workspace`.
+     * Required. Resource name of the parent `Workspace`.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -712,11 +718,13 @@ public java.lang.String getParent() { * * *
-     * Resource name of the parent `Workspace`.
+     * Required. Resource name of the parent `Workspace`.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -735,11 +743,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Resource name of the parent `Workspace`.
+     * Required. Resource name of the parent `Workspace`.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -757,11 +767,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * Resource name of the parent `Workspace`.
+     * Required. Resource name of the parent `Workspace`.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -775,11 +787,13 @@ public Builder clearParent() { * * *
-     * Resource name of the parent `Workspace`.
+     * Required. Resource name of the parent `Workspace`.
      * Of the form `projects/{project_id}`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java index 61ab5e0c..9ede23a7 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListServicesRequestOrBuilder * * *
-   * Resource name of the parent `Workspace`.
+   * Required. Resource name of the parent `Workspace`.
    * Of the form `projects/{project_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface ListServicesRequestOrBuilder * * *
-   * Resource name of the parent `Workspace`.
+   * Required. Resource name of the parent `Workspace`.
    * Of the form `projects/{project_id}`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java index e93a975f..d5f52203 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java @@ -321,11 +321,13 @@ private TimeSeriesView(int value) { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * "projects/{project_id_or_number}".
    * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -344,11 +346,13 @@ public java.lang.String getName() { * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * "projects/{project_id_or_number}".
    * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -370,7 +374,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+   * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
    * series should be returned.  The filter must specify a single metric type,
    * and can additionally specify metric labels and other information. For
    * example:
@@ -378,7 +382,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    *         metric.labels.instance_name = "my-instance-name"
    * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The filter. */ @@ -397,7 +401,7 @@ public java.lang.String getFilter() { * * *
-   * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+   * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
    * series should be returned.  The filter must specify a single metric type,
    * and can additionally specify metric labels and other information. For
    * example:
@@ -405,7 +409,7 @@ public java.lang.String getFilter() {
    *         metric.labels.instance_name = "my-instance-name"
    * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for filter. */ @@ -427,12 +431,14 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
-   * The time interval for which results should be returned. Only time series
+   * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the interval field is set. */ @@ -443,12 +449,14 @@ public boolean hasInterval() { * * *
-   * The time interval for which results should be returned. Only time series
+   * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The interval. */ @@ -461,12 +469,14 @@ public com.google.monitoring.v3.TimeInterval getInterval() { * * *
-   * The time interval for which results should be returned. Only time series
+   * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { return getInterval(); @@ -581,10 +591,12 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * *
-   * Specifies which information is returned about the time series.
+   * Required. Specifies which information is returned about the time series.
    * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The enum numeric value on the wire for view. */ @@ -595,10 +607,12 @@ public int getViewValue() { * * *
-   * Specifies which information is returned about the time series.
+   * Required. Specifies which information is returned about the time series.
    * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The view. */ @@ -1138,11 +1152,13 @@ public Builder mergeFrom( * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * "projects/{project_id_or_number}".
      * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -1161,11 +1177,13 @@ public java.lang.String getName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * "projects/{project_id_or_number}".
      * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -1184,11 +1202,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * "projects/{project_id_or_number}".
      * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -1206,11 +1226,13 @@ public Builder setName(java.lang.String value) { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * "projects/{project_id_or_number}".
      * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -1224,11 +1246,13 @@ public Builder clearName() { * * *
-     * The project on which to execute the request. The format is
+     * Required. The project on which to execute the request. The format is
      * "projects/{project_id_or_number}".
      * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -1249,7 +1273,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+     * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
      * series should be returned.  The filter must specify a single metric type,
      * and can additionally specify metric labels and other information. For
      * example:
@@ -1257,7 +1281,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *         metric.labels.instance_name = "my-instance-name"
      * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The filter. */ @@ -1276,7 +1300,7 @@ public java.lang.String getFilter() { * * *
-     * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+     * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
      * series should be returned.  The filter must specify a single metric type,
      * and can additionally specify metric labels and other information. For
      * example:
@@ -1284,7 +1308,7 @@ public java.lang.String getFilter() {
      *         metric.labels.instance_name = "my-instance-name"
      * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for filter. */ @@ -1303,7 +1327,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
-     * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+     * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
      * series should be returned.  The filter must specify a single metric type,
      * and can additionally specify metric labels and other information. For
      * example:
@@ -1311,7 +1335,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
      *         metric.labels.instance_name = "my-instance-name"
      * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The filter to set. * @return This builder for chaining. @@ -1329,7 +1353,7 @@ public Builder setFilter(java.lang.String value) { * * *
-     * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+     * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
      * series should be returned.  The filter must specify a single metric type,
      * and can additionally specify metric labels and other information. For
      * example:
@@ -1337,7 +1361,7 @@ public Builder setFilter(java.lang.String value) {
      *         metric.labels.instance_name = "my-instance-name"
      * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -1351,7 +1375,7 @@ public Builder clearFilter() { * * *
-     * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+     * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
      * series should be returned.  The filter must specify a single metric type,
      * and can additionally specify metric labels and other information. For
      * example:
@@ -1359,7 +1383,7 @@ public Builder clearFilter() {
      *         metric.labels.instance_name = "my-instance-name"
      * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for filter to set. * @return This builder for chaining. @@ -1385,12 +1409,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the interval field is set. */ @@ -1401,12 +1427,14 @@ public boolean hasInterval() { * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The interval. */ @@ -1423,12 +1451,14 @@ public com.google.monitoring.v3.TimeInterval getInterval() { * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) { if (intervalBuilder_ == null) { @@ -1447,12 +1477,14 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) { * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builderForValue) { if (intervalBuilder_ == null) { @@ -1468,12 +1500,14 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builder * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) { if (intervalBuilder_ == null) { @@ -1496,12 +1530,14 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) { * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInterval() { if (intervalBuilder_ == null) { @@ -1518,12 +1554,14 @@ public Builder clearInterval() { * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeInterval.Builder getIntervalBuilder() { @@ -1534,12 +1572,14 @@ public com.google.monitoring.v3.TimeInterval.Builder getIntervalBuilder() { * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { if (intervalBuilder_ != null) { @@ -1554,12 +1594,14 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { * * *
-     * The time interval for which results should be returned. Only time series
+     * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.TimeInterval, @@ -1906,10 +1948,12 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { * * *
-     * Specifies which information is returned about the time series.
+     * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The enum numeric value on the wire for view. */ @@ -1920,10 +1964,12 @@ public int getViewValue() { * * *
-     * Specifies which information is returned about the time series.
+     * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. @@ -1937,10 +1983,12 @@ public Builder setViewValue(int value) { * * *
-     * Specifies which information is returned about the time series.
+     * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The view. */ @@ -1956,10 +2004,12 @@ public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() { * * *
-     * Specifies which information is returned about the time series.
+     * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @param value The view to set. * @return This builder for chaining. @@ -1977,10 +2027,12 @@ public Builder setView(com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeries * * *
-     * Specifies which information is returned about the time series.
+     * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @return This builder for chaining. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java index a4ce322d..e9756f76 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * "projects/{project_id_or_number}".
    * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -40,11 +42,13 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * The project on which to execute the request. The format is
+   * Required. The project on which to execute the request. The format is
    * "projects/{project_id_or_number}".
    * 
* - * string name = 10; + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -54,7 +58,7 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+   * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
    * series should be returned.  The filter must specify a single metric type,
    * and can additionally specify metric labels and other information. For
    * example:
@@ -62,7 +66,7 @@ public interface ListTimeSeriesRequestOrBuilder
    *         metric.labels.instance_name = "my-instance-name"
    * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The filter. */ @@ -71,7 +75,7 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
+   * Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
    * series should be returned.  The filter must specify a single metric type,
    * and can additionally specify metric labels and other information. For
    * example:
@@ -79,7 +83,7 @@ public interface ListTimeSeriesRequestOrBuilder
    *         metric.labels.instance_name = "my-instance-name"
    * 
* - * string filter = 2; + * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for filter. */ @@ -89,12 +93,14 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * The time interval for which results should be returned. Only time series
+   * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the interval field is set. */ @@ -103,12 +109,14 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * The time interval for which results should be returned. Only time series
+   * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The interval. */ @@ -117,12 +125,14 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * The time interval for which results should be returned. Only time series
+   * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder(); @@ -201,10 +211,12 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * Specifies which information is returned about the time series.
+   * Required. Specifies which information is returned about the time series.
    * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The enum numeric value on the wire for view. */ @@ -213,10 +225,12 @@ public interface ListTimeSeriesRequestOrBuilder * * *
-   * Specifies which information is returned about the time series.
+   * Required. Specifies which information is returned about the time series.
    * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The view. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java index 375eaa70..45ae33f1 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java @@ -130,11 +130,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The project whose Uptime check configurations are listed. The format
+   * Required. The project whose Uptime check configurations are listed. The format
    *   is `projects/[PROJECT_ID]`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -153,11 +155,13 @@ public java.lang.String getParent() { * * *
-   * The project whose Uptime check configurations are listed. The format
+   * Required. The project whose Uptime check configurations are listed. The format
    *   is `projects/[PROJECT_ID]`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -599,11 +603,13 @@ public Builder mergeFrom( * * *
-     * The project whose Uptime check configurations are listed. The format
+     * Required. The project whose Uptime check configurations are listed. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -622,11 +628,13 @@ public java.lang.String getParent() { * * *
-     * The project whose Uptime check configurations are listed. The format
+     * Required. The project whose Uptime check configurations are listed. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -645,11 +653,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The project whose Uptime check configurations are listed. The format
+     * Required. The project whose Uptime check configurations are listed. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -667,11 +677,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The project whose Uptime check configurations are listed. The format
+     * Required. The project whose Uptime check configurations are listed. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -685,11 +697,13 @@ public Builder clearParent() { * * *
-     * The project whose Uptime check configurations are listed. The format
+     * Required. The project whose Uptime check configurations are listed. The format
      *   is `projects/[PROJECT_ID]`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java index 8cba463c..d059a1ba 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface ListUptimeCheckConfigsRequestOrBuilder * * *
-   * The project whose Uptime check configurations are listed. The format
+   * Required. The project whose Uptime check configurations are listed. The format
    *   is `projects/[PROJECT_ID]`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -40,11 +42,13 @@ public interface ListUptimeCheckConfigsRequestOrBuilder * * *
-   * The project whose Uptime check configurations are listed. The format
+   * Required. The project whose Uptime check configurations are listed. The format
    *   is `projects/[PROJECT_ID]`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java index b37f577f..008d827e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java @@ -94,115 +94,147 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n)google/monitoring/v3/metric_service.pr" + "oto\022\024google.monitoring.v3\032\034google/api/an" - + "notations.proto\032\027google/api/metric.proto" - + "\032#google/api/monitored_resource.proto\032 g" - + "oogle/monitoring/v3/alert.proto\032!google/" - + "monitoring/v3/common.proto\032!google/monit" - + "oring/v3/metric.proto\032\036google/protobuf/d" - + "uration.proto\032\033google/protobuf/empty.pro" - + "to\032\027google/rpc/status.proto\032\027google/api/" - + "client.proto\"n\n\'ListMonitoredResourceDes" - + "criptorsRequest\022\014\n\004name\030\005 \001(\t\022\016\n\006filter\030" - + "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" - + " \001(\t\"\212\001\n(ListMonitoredResourceDescriptor" - + "sResponse\022E\n\024resource_descriptors\030\001 \003(\0132" - + "\'.google.api.MonitoredResourceDescriptor" - + "\022\027\n\017next_page_token\030\002 \001(\t\"5\n%GetMonitore" - + "dResourceDescriptorRequest\022\014\n\004name\030\003 \001(\t" - + "\"c\n\034ListMetricDescriptorsRequest\022\014\n\004name" - + "\030\005 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(" + + "notations.proto\032\027google/api/client.proto" + + "\032\037google/api/field_behavior.proto\032\027googl" + + "e/api/metric.proto\032#google/api/monitored" + + "_resource.proto\032\031google/api/resource.pro" + + "to\032 google/monitoring/v3/alert.proto\032!go" + + "ogle/monitoring/v3/common.proto\032!google/" + + "monitoring/v3/metric.proto\032\036google/proto" + + "buf/duration.proto\032\033google/protobuf/empt" + + "y.proto\032\027google/rpc/status.proto\"\255\001\n\'Lis" + + "tMonitoredResourceDescriptorsRequest\022K\n\004" + + "name\030\005 \001(\tB=\340A\002\372A7\0225monitoring.googleapi" + + "s.com/MonitoredResourceDescriptor\022\016\n\006fil" + + "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" + + "en\030\004 \001(\t\"\212\001\n(ListMonitoredResourceDescri" + + "ptorsResponse\022E\n\024resource_descriptors\030\001 " + + "\003(\0132\'.google.api.MonitoredResourceDescri" + + "ptor\022\027\n\017next_page_token\030\002 \001(\t\"t\n%GetMoni" + + "toredResourceDescriptorRequest\022K\n\004name\030\003" + + " \001(\tB=\340A\002\372A7\n5monitoring.googleapis.com/" + + "MonitoredResourceDescriptor\"\227\001\n\034ListMetr" + + "icDescriptorsRequest\022@\n\004name\030\005 \001(\tB2\340A\002\372" + + "A,\022*monitoring.googleapis.com/MetricDesc" + + "riptor\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(" + "\005\022\022\n\npage_token\030\004 \001(\t\"r\n\035ListMetricDescr" + "iptorsResponse\0228\n\022metric_descriptors\030\001 \003" + "(\0132\034.google.api.MetricDescriptor\022\027\n\017next" - + "_page_token\030\002 \001(\t\"*\n\032GetMetricDescriptor" - + "Request\022\014\n\004name\030\003 \001(\t\"f\n\035CreateMetricDes" - + "criptorRequest\022\014\n\004name\030\003 \001(\t\0227\n\021metric_d" - + "escriptor\030\002 \001(\0132\034.google.api.MetricDescr" - + "iptor\"-\n\035DeleteMetricDescriptorRequest\022\014" - + "\n\004name\030\003 \001(\t\"\317\002\n\025ListTimeSeriesRequest\022\014" - + "\n\004name\030\n \001(\t\022\016\n\006filter\030\002 \001(\t\0224\n\010interval" - + "\030\004 \001(\0132\".google.monitoring.v3.TimeInterv" - + "al\0226\n\013aggregation\030\005 \001(\0132!.google.monitor" - + "ing.v3.Aggregation\022\020\n\010order_by\030\006 \001(\t\022H\n\004" - + "view\030\007 \001(\0162:.google.monitoring.v3.ListTi" - + "meSeriesRequest.TimeSeriesView\022\021\n\tpage_s" - + "ize\030\010 \001(\005\022\022\n\npage_token\030\t \001(\t\"\'\n\016TimeSer" - + "iesView\022\010\n\004FULL\020\000\022\013\n\007HEADERS\020\001\"\226\001\n\026ListT" - + "imeSeriesResponse\0225\n\013time_series\030\001 \003(\0132 " - + ".google.monitoring.v3.TimeSeries\022\027\n\017next" - + "_page_token\030\002 \001(\t\022,\n\020execution_errors\030\003 " - + "\003(\0132\022.google.rpc.Status\"^\n\027CreateTimeSer" - + "iesRequest\022\014\n\004name\030\003 \001(\t\0225\n\013time_series\030" - + "\002 \003(\0132 .google.monitoring.v3.TimeSeries\"" - + "z\n\025CreateTimeSeriesError\0229\n\013time_series\030" - + "\001 \001(\0132 .google.monitoring.v3.TimeSeriesB" - + "\002\030\001\022&\n\006status\030\002 \001(\0132\022.google.rpc.StatusB" - + "\002\030\001\"\330\001\n\027CreateTimeSeriesSummary\022\031\n\021total" - + "_point_count\030\001 \001(\005\022\033\n\023success_point_coun" - + "t\030\002 \001(\005\022C\n\006errors\030\003 \003(\01323.google.monitor" - + "ing.v3.CreateTimeSeriesSummary.Error\032@\n\005" - + "Error\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Statu" - + "s\022\023\n\013point_count\030\002 \001(\0052\322\014\n\rMetricService" - + "\022\335\001\n ListMonitoredResourceDescriptors\022=." - + "google.monitoring.v3.ListMonitoredResour" - + "ceDescriptorsRequest\032>.google.monitoring" - + ".v3.ListMonitoredResourceDescriptorsResp" - + "onse\":\202\323\344\223\0024\0222/v3/{name=projects/*}/moni" - + "toredResourceDescriptors\022\304\001\n\036GetMonitore" - + "dResourceDescriptor\022;.google.monitoring." - + "v3.GetMonitoredResourceDescriptorRequest" - + "\032\'.google.api.MonitoredResourceDescripto" - + "r\"<\202\323\344\223\0026\0224/v3/{name=projects/*/monitore" - + "dResourceDescriptors/*}\022\261\001\n\025ListMetricDe" - + "scriptors\0222.google.monitoring.v3.ListMet" - + "ricDescriptorsRequest\0323.google.monitorin" - + "g.v3.ListMetricDescriptorsResponse\"/\202\323\344\223" - + "\002)\022\'/v3/{name=projects/*}/metricDescript" - + "ors\022\231\001\n\023GetMetricDescriptor\0220.google.mon" - + "itoring.v3.GetMetricDescriptorRequest\032\034." - + "google.api.MetricDescriptor\"2\202\323\344\223\002,\022*/v3" - + "/{name=projects/*/metricDescriptors/**}\022" - + "\257\001\n\026CreateMetricDescriptor\0223.google.moni" - + "toring.v3.CreateMetricDescriptorRequest\032" - + "\034.google.api.MetricDescriptor\"B\202\323\344\223\002<\"\'/" - + "v3/{name=projects/*}/metricDescriptors:\021" - + "metric_descriptor\022\231\001\n\026DeleteMetricDescri" - + "ptor\0223.google.monitoring.v3.DeleteMetric" - + "DescriptorRequest\032\026.google.protobuf.Empt" - + "y\"2\202\323\344\223\002,**/v3/{name=projects/*/metricDe" - + "scriptors/**}\022\225\001\n\016ListTimeSeries\022+.googl" - + "e.monitoring.v3.ListTimeSeriesRequest\032,." - + "google.monitoring.v3.ListTimeSeriesRespo" - + "nse\"(\202\323\344\223\002\"\022 /v3/{name=projects/*}/timeS" - + "eries\022\206\001\n\020CreateTimeSeries\022-.google.moni" - + "toring.v3.CreateTimeSeriesRequest\032\026.goog" - + "le.protobuf.Empty\"+\202\323\344\223\002%\" /v3/{name=pro" - + "jects/*}/timeSeries:\001*\032\332\001\312A\031monitoring.g" - + "oogleapis.com\322A\272\001https://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/monitoring,https://www.g" - + "oogleapis.com/auth/monitoring.read,https" - + "://www.googleapis.com/auth/monitoring.wr" - + "iteB\252\001\n\030com.google.monitoring.v3B\022Metric" - + "ServiceProtoP\001Z>google.golang.org/genpro" - + "to/googleapis/monitoring/v3;monitoring\252\002" - + "\032Google.Cloud.Monitoring.V3\312\002\032Google\\Clo" - + "ud\\Monitoring\\V3b\006proto3" + + "_page_token\030\002 \001(\t\"^\n\032GetMetricDescriptor" + + "Request\022@\n\004name\030\003 \001(\tB2\340A\002\372A,\n*monitorin" + + "g.googleapis.com/MetricDescriptor\"\237\001\n\035Cr" + + "eateMetricDescriptorRequest\022@\n\004name\030\003 \001(" + + "\tB2\340A\002\372A,\022*monitoring.googleapis.com/Met" + + "ricDescriptor\022<\n\021metric_descriptor\030\002 \001(\013" + + "2\034.google.api.MetricDescriptorB\003\340A\002\"a\n\035D" + + "eleteMetricDescriptorRequest\022@\n\004name\030\003 \001" + + "(\tB2\340A\002\372A,\n*monitoring.googleapis.com/Me" + + "tricDescriptor\"\214\003\n\025ListTimeSeriesRequest" + + "\022:\n\004name\030\n \001(\tB,\340A\002\372A&\022$monitoring.googl" + + "eapis.com/TimeSeries\022\023\n\006filter\030\002 \001(\tB\003\340A" + + "\002\0229\n\010interval\030\004 \001(\0132\".google.monitoring." + + "v3.TimeIntervalB\003\340A\002\0226\n\013aggregation\030\005 \001(" + + "\0132!.google.monitoring.v3.Aggregation\022\020\n\010" + + "order_by\030\006 \001(\t\022M\n\004view\030\007 \001(\0162:.google.mo" + + "nitoring.v3.ListTimeSeriesRequest.TimeSe" + + "riesViewB\003\340A\002\022\021\n\tpage_size\030\010 \001(\005\022\022\n\npage" + + "_token\030\t \001(\t\"\'\n\016TimeSeriesView\022\010\n\004FULL\020\000" + + "\022\013\n\007HEADERS\020\001\"\226\001\n\026ListTimeSeriesResponse" + + "\0225\n\013time_series\030\001 \003(\0132 .google.monitorin" + + "g.v3.TimeSeries\022\027\n\017next_page_token\030\002 \001(\t" + + "\022,\n\020execution_errors\030\003 \003(\0132\022.google.rpc." + + "Status\"\221\001\n\027CreateTimeSeriesRequest\022:\n\004na" + + "me\030\003 \001(\tB,\340A\002\372A&\022$monitoring.googleapis." + + "com/TimeSeries\022:\n\013time_series\030\002 \003(\0132 .go" + + "ogle.monitoring.v3.TimeSeriesB\003\340A\002\"z\n\025Cr" + + "eateTimeSeriesError\0229\n\013time_series\030\001 \001(\013" + + "2 .google.monitoring.v3.TimeSeriesB\002\030\001\022&" + + "\n\006status\030\002 \001(\0132\022.google.rpc.StatusB\002\030\001\"\330" + + "\001\n\027CreateTimeSeriesSummary\022\031\n\021total_poin" + + "t_count\030\001 \001(\005\022\033\n\023success_point_count\030\002 \001" + + "(\005\022C\n\006errors\030\003 \003(\01323.google.monitoring.v" + + "3.CreateTimeSeriesSummary.Error\032@\n\005Error" + + "\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Status\022\023\n\013" + + "point_count\030\002 \001(\0052\276\r\n\rMetricService\022\344\001\n " + + "ListMonitoredResourceDescriptors\022=.googl" + + "e.monitoring.v3.ListMonitoredResourceDes" + + "criptorsRequest\032>.google.monitoring.v3.L" + + "istMonitoredResourceDescriptorsResponse\"" + + "A\202\323\344\223\0024\0222/v3/{name=projects/*}/monitored" + + "ResourceDescriptors\332A\004name\022\314\001\n\036GetMonito" + + "redResourceDescriptor\022;.google.monitorin" + + "g.v3.GetMonitoredResourceDescriptorReque" + + "st\032\'.google.api.MonitoredResourceDescrip" + + "tor\"D\202\323\344\223\0027\0225/v3/{name=projects/*/monito" + + "redResourceDescriptors/**}\332A\004name\022\270\001\n\025Li" + + "stMetricDescriptors\0222.google.monitoring." + + "v3.ListMetricDescriptorsRequest\0323.google" + + ".monitoring.v3.ListMetricDescriptorsResp" + + "onse\"6\202\323\344\223\002)\022\'/v3/{name=projects/*}/metr" + + "icDescriptors\332A\004name\022\240\001\n\023GetMetricDescri" + + "ptor\0220.google.monitoring.v3.GetMetricDes" + + "criptorRequest\032\034.google.api.MetricDescri" + + "ptor\"9\202\323\344\223\002,\022*/v3/{name=projects/*/metri" + + "cDescriptors/**}\332A\004name\022\310\001\n\026CreateMetric" + + "Descriptor\0223.google.monitoring.v3.Create" + + "MetricDescriptorRequest\032\034.google.api.Met" + + "ricDescriptor\"[\202\323\344\223\002<\"\'/v3/{name=project" + + "s/*}/metricDescriptors:\021metric_descripto" + + "r\332A\026name,metric_descriptor\022\240\001\n\026DeleteMet" + + "ricDescriptor\0223.google.monitoring.v3.Del" + + "eteMetricDescriptorRequest\032\026.google.prot" + + "obuf.Empty\"9\202\323\344\223\002,**/v3/{name=projects/*" + + "/metricDescriptors/**}\332A\004name\022\261\001\n\016ListTi" + + "meSeries\022+.google.monitoring.v3.ListTime" + + "SeriesRequest\032,.google.monitoring.v3.Lis" + + "tTimeSeriesResponse\"D\202\323\344\223\002\"\022 /v3/{name=p" + + "rojects/*}/timeSeries\332A\031name,filter,inte" + + "rval,view\022\231\001\n\020CreateTimeSeries\022-.google." + + "monitoring.v3.CreateTimeSeriesRequest\032\026." + + "google.protobuf.Empty\">\202\323\344\223\002%\" /v3/{name" + + "=projects/*}/timeSeries:\001*\332A\020name,time_s" + + "eries\032\332\001\312A\031monitoring.googleapis.com\322A\272\001" + + "https://www.googleapis.com/auth/cloud-pl" + + "atform,https://www.googleapis.com/auth/m" + + "onitoring,https://www.googleapis.com/aut" + + "h/monitoring.read,https://www.googleapis" + + ".com/auth/monitoring.writeB\331\005\n\030com.googl" + + "e.monitoring.v3B\022MetricServiceProtoP\001Z>g" + + "oogle.golang.org/genproto/googleapis/mon" + + "itoring/v3;monitoring\252\002\032Google.Cloud.Mon" + + "itoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3\352" + + "A\360\001\n*monitoring.googleapis.com/MetricDes" + + "criptor\022;projects/{project}/metricDescri" + + "ptors/{metric_descriptor=**}\022Eorganizati" + + "ons/{organization}/metricDescriptors/{me" + + "tric_descriptor=**}\0229folders/{folder}/me" + + "tricDescriptors/{metric_descriptor=**}\022\001" + + "* \001\352A\267\002\n5monitoring.googleapis.com/Monit" + + "oredResourceDescriptor\022Oprojects/{projec" + + "t}/monitoredResourceDescriptors/{monitor" + + "ed_resource_descriptor}\022Yorganizations/{" + + "organization}/monitoredResourceDescripto" + + "rs/{monitored_resource_descriptor}\022Mfold" + + "ers/{folder}/monitoredResourceDescriptor" + + "s/{monitored_resource_descriptor}\022\001* \001b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.MetricProto.getDescriptor(), com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.monitoring.v3.AlertProto.getDescriptor(), com.google.monitoring.v3.CommonProto.getDescriptor(), com.google.monitoring.v3.MetricProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -328,20 +360,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.MetricProto.getDescriptor(); com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.monitoring.v3.AlertProto.getDescriptor(); com.google.monitoring.v3.CommonProto.getDescriptor(); com.google.monitoring.v3.MetricProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java index 3053e07d..f7b23e25 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java @@ -46,6 +46,7 @@ private NotificationChannelDescriptor() { description_ = ""; labels_ = java.util.Collections.emptyList(); supportedTiers_ = java.util.Collections.emptyList(); + launchStage_ = 0; } @java.lang.Override @@ -141,6 +142,13 @@ private NotificationChannelDescriptor( name_ = s; break; } + case 56: + { + int rawValue = input.readEnum(); + + launchStage_ = rawValue; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -561,6 +569,39 @@ public int getSupportedTiersValue(int index) { private int supportedTiersMemoizedSerializedSize; + public static final int LAUNCH_STAGE_FIELD_NUMBER = 7; + private int launchStage_; + /** + * + * + *
+   * The product launch stage for channels of this type.
+   * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @return The enum numeric value on the wire for launchStage. + */ + public int getLaunchStageValue() { + return launchStage_; + } + /** + * + * + *
+   * The product launch stage for channels of this type.
+   * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @return The launchStage. + */ + public com.google.api.LaunchStage getLaunchStage() { + @SuppressWarnings("deprecation") + com.google.api.LaunchStage result = com.google.api.LaunchStage.valueOf(launchStage_); + return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -598,6 +639,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_); } + if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { + output.writeEnum(7, launchStage_); + } unknownFields.writeTo(output); } @@ -635,6 +679,9 @@ public int getSerializedSize() { if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } + if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, launchStage_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -657,6 +704,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDescription().equals(other.getDescription())) return false; if (!getLabelsList().equals(other.getLabelsList())) return false; if (!supportedTiers_.equals(other.supportedTiers_)) return false; + if (launchStage_ != other.launchStage_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -684,6 +732,8 @@ public int hashCode() { hash = (37 * hash) + SUPPORTED_TIERS_FIELD_NUMBER; hash = (53 * hash) + supportedTiers_.hashCode(); } + hash = (37 * hash) + LAUNCH_STAGE_FIELD_NUMBER; + hash = (53 * hash) + launchStage_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -850,6 +900,8 @@ public Builder clear() { } supportedTiers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + launchStage_ = 0; + return this; } @@ -896,6 +948,7 @@ public com.google.monitoring.v3.NotificationChannelDescriptor buildPartial() { bitField0_ = (bitField0_ & ~0x00000002); } result.supportedTiers_ = supportedTiers_; + result.launchStage_ = launchStage_; onBuilt(); return result; } @@ -999,6 +1052,9 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannelDescriptor } onChanged(); } + if (other.launchStage_ != 0) { + setLaunchStageValue(other.getLaunchStageValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2124,6 +2180,93 @@ public Builder addAllSupportedTiersValue(java.lang.Iterable v return this; } + private int launchStage_ = 0; + /** + * + * + *
+     * The product launch stage for channels of this type.
+     * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @return The enum numeric value on the wire for launchStage. + */ + public int getLaunchStageValue() { + return launchStage_; + } + /** + * + * + *
+     * The product launch stage for channels of this type.
+     * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @param value The enum numeric value on the wire for launchStage to set. + * @return This builder for chaining. + */ + public Builder setLaunchStageValue(int value) { + launchStage_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The product launch stage for channels of this type.
+     * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @return The launchStage. + */ + public com.google.api.LaunchStage getLaunchStage() { + @SuppressWarnings("deprecation") + com.google.api.LaunchStage result = com.google.api.LaunchStage.valueOf(launchStage_); + return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; + } + /** + * + * + *
+     * The product launch stage for channels of this type.
+     * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @param value The launchStage to set. + * @return This builder for chaining. + */ + public Builder setLaunchStage(com.google.api.LaunchStage value) { + if (value == null) { + throw new NullPointerException(); + } + + launchStage_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The product launch stage for channels of this type.
+     * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @return This builder for chaining. + */ + public Builder clearLaunchStage() { + + launchStage_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java index a9f8acb9..153b9ce9 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java @@ -273,4 +273,29 @@ public interface NotificationChannelDescriptorOrBuilder */ @java.lang.Deprecated int getSupportedTiersValue(int index); + + /** + * + * + *
+   * The product launch stage for channels of this type.
+   * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @return The enum numeric value on the wire for launchStage. + */ + int getLaunchStageValue(); + /** + * + * + *
+   * The product launch stage for channels of this type.
+   * 
+ * + * .google.api.LaunchStage launch_stage = 7; + * + * @return The launchStage. + */ + com.google.api.LaunchStage getLaunchStage(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java index 8bd6d50e..6808b231 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java @@ -54,33 +54,49 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n\'google/monitoring/v3/notification.prot" + "o\022\024google.monitoring.v3\032\026google/api/labe" - + "l.proto\032\035google/api/launch_stage.proto\032!" - + "google/monitoring/v3/common.proto\032\036googl" - + "e/protobuf/wrappers.proto\"\323\001\n\035Notificati" - + "onChannelDescriptor\022\014\n\004name\030\006 \001(\t\022\014\n\004typ" - + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descrip" - + "tion\030\003 \001(\t\022+\n\006labels\030\004 \003(\0132\033.google.api." - + "LabelDescriptor\022>\n\017supported_tiers\030\005 \003(\016" - + "2!.google.monitoring.v3.ServiceTierB\002\030\001\"" - + "\266\004\n\023NotificationChannel\022\014\n\004type\030\001 \001(\t\022\014\n" - + "\004name\030\006 \001(\t\022\024\n\014display_name\030\003 \001(\t\022\023\n\013des" - + "cription\030\004 \001(\t\022E\n\006labels\030\005 \003(\01325.google." - + "monitoring.v3.NotificationChannel.Labels" - + "Entry\022N\n\013user_labels\030\010 \003(\01329.google.moni" - + "toring.v3.NotificationChannel.UserLabels" - + "Entry\022Y\n\023verification_status\030\t \001(\0162<.goo" - + "gle.monitoring.v3.NotificationChannel.Ve" - + "rificationStatus\022+\n\007enabled\030\013 \001(\0132\032.goog" - + "le.protobuf.BoolValue\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0321\n\017UserLabe" - + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - + "W\n\022VerificationStatus\022#\n\037VERIFICATION_ST" - + "ATUS_UNSPECIFIED\020\000\022\016\n\nUNVERIFIED\020\001\022\014\n\010VE" - + "RIFIED\020\002B\251\001\n\030com.google.monitoring.v3B\021N" - + "otificationProtoP\001Z>google.golang.org/ge" - + "nproto/googleapis/monitoring/v3;monitori" - + "ng\252\002\032Google.Cloud.Monitoring.V3\312\002\032Google" - + "\\Cloud\\Monitoring\\V3b\006proto3" + + "l.proto\032\035google/api/launch_stage.proto\032\031" + + "google/api/resource.proto\032!google/monito" + + "ring/v3/common.proto\032\036google/protobuf/wr" + + "appers.proto\"\245\004\n\035NotificationChannelDesc" + + "riptor\022\014\n\004name\030\006 \001(\t\022\014\n\004type\030\001 \001(\t\022\024\n\014di" + + "splay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022+\n" + + "\006labels\030\004 \003(\0132\033.google.api.LabelDescript" + + "or\022>\n\017supported_tiers\030\005 \003(\0162!.google.mon" + + "itoring.v3.ServiceTierB\002\030\001\022-\n\014launch_sta" + + "ge\030\007 \001(\0162\027.google.api.LaunchStage:\240\002\352A\234\002" + + "\n7monitoring.googleapis.com/Notification" + + "ChannelDescriptor\022Fprojects/{project}/no" + + "tificationChannelDescriptors/{channel_de" + + "scriptor}\022Porganizations/{organization}/" + + "notificationChannelDescriptors/{channel_" + + "descriptor}\022Dfolders/{folder}/notificati" + + "onChannelDescriptors/{channel_descriptor" + + "}\022\001*\"\267\006\n\023NotificationChannel\022\014\n\004type\030\001 \001" + + "(\t\022\014\n\004name\030\006 \001(\t\022\024\n\014display_name\030\003 \001(\t\022\023" + + "\n\013description\030\004 \001(\t\022E\n\006labels\030\005 \003(\01325.go" + + "ogle.monitoring.v3.NotificationChannel.L" + + "abelsEntry\022N\n\013user_labels\030\010 \003(\01329.google" + + ".monitoring.v3.NotificationChannel.UserL" + + "abelsEntry\022Y\n\023verification_status\030\t \001(\0162" + + "<.google.monitoring.v3.NotificationChann" + + "el.VerificationStatus\022+\n\007enabled\030\013 \001(\0132\032" + + ".google.protobuf.BoolValue\032-\n\013LabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0321\n\017Use" + + "rLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001\"W\n\022VerificationStatus\022#\n\037VERIFICATI" + + "ON_STATUS_UNSPECIFIED\020\000\022\016\n\nUNVERIFIED\020\001\022" + + "\014\n\010VERIFIED\020\002:\376\001\352A\372\001\n-monitoring.googlea" + + "pis.com/NotificationChannel\022>projects/{p" + + "roject}/notificationChannels/{notificati" + + "on_channel}\022Horganizations/{organization" + + "}/notificationChannels/{notification_cha" + + "nnel}\022google.golang.org/genproto/googleapis/" + + "monitoring/v3;monitoring\252\002\032Google.Cloud." + + "Monitoring.V3\312\002\032Google\\Cloud\\Monitoring\\" + + "V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -88,6 +104,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.LabelProto.getDescriptor(), com.google.api.LaunchStageProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.monitoring.v3.CommonProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), }); @@ -97,7 +114,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor, new java.lang.String[] { - "Name", "Type", "DisplayName", "Description", "Labels", "SupportedTiers", + "Name", + "Type", + "DisplayName", + "Description", + "Labels", + "SupportedTiers", + "LaunchStage", }); internal_static_google_monitoring_v3_NotificationChannel_descriptor = getDescriptor().getMessageTypes().get(1); @@ -130,8 +153,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.LabelProto.getDescriptor(); com.google.api.LaunchStageProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.monitoring.v3.CommonProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java index 6c411f07..63d2f8b5 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java @@ -90,118 +90,139 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n/google/monitoring/v3/notification_serv" + "ice.proto\022\024google.monitoring.v3\032\034google/" - + "api/annotations.proto\032\'google/monitoring" - + "/v3/notification.proto\032\033google/protobuf/" - + "empty.proto\032 google/protobuf/field_mask." - + "proto\032\034google/protobuf/struct.proto\032\037goo" - + "gle/protobuf/timestamp.proto\032\027google/api" - + "/client.proto\"`\n)ListNotificationChannel" - + "DescriptorsRequest\022\014\n\004name\030\004 \001(\t\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\227\001\n*List" - + "NotificationChannelDescriptorsResponse\022P" - + "\n\023channel_descriptors\030\001 \003(\01323.google.mon" - + "itoring.v3.NotificationChannelDescriptor" - + "\022\027\n\017next_page_token\030\002 \001(\t\"7\n\'GetNotifica" - + "tionChannelDescriptorRequest\022\014\n\004name\030\003 \001" - + "(\t\"y\n CreateNotificationChannelRequest\022\014" - + "\n\004name\030\003 \001(\t\022G\n\024notification_channel\030\002 \001" - + "(\0132).google.monitoring.v3.NotificationCh" - + "annel\"x\n\037ListNotificationChannelsRequest" - + "\022\014\n\004name\030\005 \001(\t\022\016\n\006filter\030\006 \001(\t\022\020\n\010order_" - + "by\030\007 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_toke" - + "n\030\004 \001(\t\"\205\001\n ListNotificationChannelsResp" - + "onse\022H\n\025notification_channels\030\003 \003(\0132).go" - + "ogle.monitoring.v3.NotificationChannel\022\027" - + "\n\017next_page_token\030\002 \001(\t\"-\n\035GetNotificati" - + "onChannelRequest\022\014\n\004name\030\003 \001(\t\"\234\001\n Updat" - + "eNotificationChannelRequest\022/\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\022G\n\024" - + "notification_channel\030\003 \001(\0132).google.moni" - + "toring.v3.NotificationChannel\"?\n DeleteN" - + "otificationChannelRequest\022\014\n\004name\030\003 \001(\t\022" - + "\r\n\005force\030\005 \001(\010\">\n.SendNotificationChanne" - + "lVerificationCodeRequest\022\014\n\004name\030\001 \001(\t\"n" - + "\n-GetNotificationChannelVerificationCode" - + "Request\022\014\n\004name\030\001 \001(\t\022/\n\013expire_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\"o\n.GetNot" - + "ificationChannelVerificationCodeResponse" - + "\022\014\n\004code\030\001 \001(\t\022/\n\013expire_time\030\002 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\">\n VerifyNotific" - + "ationChannelRequest\022\014\n\004name\030\001 \001(\t\022\014\n\004cod" - + "e\030\002 \001(\t2\347\021\n\032NotificationChannelService\022\345" - + "\001\n\"ListNotificationChannelDescriptors\022?." - + "google.monitoring.v3.ListNotificationCha" - + "nnelDescriptorsRequest\032@.google.monitori" - + "ng.v3.ListNotificationChannelDescriptors" - + "Response\"<\202\323\344\223\0026\0224/v3/{name=projects/*}/" - + "notificationChannelDescriptors\022\326\001\n GetNo" - + "tificationChannelDescriptor\022=.google.mon" - + "itoring.v3.GetNotificationChannelDescrip" - + "torRequest\0323.google.monitoring.v3.Notifi" - + "cationChannelDescriptor\">\202\323\344\223\0028\0226/v3/{na" - + "me=projects/*/notificationChannelDescrip" - + "tors/*}\022\275\001\n\030ListNotificationChannels\0225.g" - + "oogle.monitoring.v3.ListNotificationChan" - + "nelsRequest\0326.google.monitoring.v3.ListN" - + "otificationChannelsResponse\"2\202\323\344\223\002,\022*/v3" - + "/{name=projects/*}/notificationChannels\022" - + "\256\001\n\026GetNotificationChannel\0223.google.moni" - + "toring.v3.GetNotificationChannelRequest\032" - + ").google.monitoring.v3.NotificationChann" - + "el\"4\202\323\344\223\002.\022,/v3/{name=projects/*/notific" - + "ationChannels/*}\022\310\001\n\031CreateNotificationC" - + "hannel\0226.google.monitoring.v3.CreateNoti" - + "ficationChannelRequest\032).google.monitori" - + "ng.v3.NotificationChannel\"H\202\323\344\223\002B\"*/v3/{" - + "name=projects/*}/notificationChannels:\024n" - + "otification_channel\022\337\001\n\031UpdateNotificati" - + "onChannel\0226.google.monitoring.v3.UpdateN" - + "otificationChannelRequest\032).google.monit" - + "oring.v3.NotificationChannel\"_\202\323\344\223\002Y2A/v" - + "3/{notification_channel.name=projects/*/" - + "notificationChannels/*}:\024notification_ch" - + "annel\022\241\001\n\031DeleteNotificationChannel\0226.go" - + "ogle.monitoring.v3.DeleteNotificationCha" - + "nnelRequest\032\026.google.protobuf.Empty\"4\202\323\344" - + "\223\002.*,/v3/{name=projects/*/notificationCh" - + "annels/*}\022\325\001\n\'SendNotificationChannelVer" - + "ificationCode\022D.google.monitoring.v3.Sen" - + "dNotificationChannelVerificationCodeRequ" - + "est\032\026.google.protobuf.Empty\"L\202\323\344\223\002F\"A/v3" - + "/{name=projects/*/notificationChannels/*" - + "}:sendVerificationCode:\001*\022\200\002\n&GetNotific" - + "ationChannelVerificationCode\022C.google.mo" - + "nitoring.v3.GetNotificationChannelVerifi" - + "cationCodeRequest\032D.google.monitoring.v3" - + ".GetNotificationChannelVerificationCodeR" - + "esponse\"K\202\323\344\223\002E\"@/v3/{name=projects/*/no" - + "tificationChannels/*}:getVerificationCod" - + "e:\001*\022\276\001\n\031VerifyNotificationChannel\0226.goo" - + "gle.monitoring.v3.VerifyNotificationChan" - + "nelRequest\032).google.monitoring.v3.Notifi" - + "cationChannel\">\202\323\344\223\0028\"3/v3/{name=project" - + "s/*/notificationChannels/*}:verify:\001*\032\251\001" - + "\312A\031monitoring.googleapis.com\322A\211\001https://" - + "www.googleapis.com/auth/cloud-platform,h" - + "ttps://www.googleapis.com/auth/monitorin" - + "g,https://www.googleapis.com/auth/monito" - + "ring.readB\260\001\n\030com.google.monitoring.v3B\030" - + "NotificationServiceProtoP\001Z>google.golan" - + "g.org/genproto/googleapis/monitoring/v3;" - + "monitoring\252\002\032Google.Cloud.Monitoring.V3\312" - + "\002\032Google\\Cloud\\Monitoring\\V3b\006proto3" + + "api/annotations.proto\032\027google/api/client" + + ".proto\032\037google/api/field_behavior.proto\032" + + "\031google/api/resource.proto\032\'google/monit" + + "oring/v3/notification.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\032\034google/protobuf/struct.proto" + + "\032\037google/protobuf/timestamp.proto\"\241\001\n)Li" + + "stNotificationChannelDescriptorsRequest\022" + + "M\n\004name\030\004 \001(\tB?\340A\002\372A9\0227monitoring.google" + + "apis.com/NotificationChannelDescriptor\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\227\001" + + "\n*ListNotificationChannelDescriptorsResp" + + "onse\022P\n\023channel_descriptors\030\001 \003(\01323.goog" + + "le.monitoring.v3.NotificationChannelDesc" + + "riptor\022\027\n\017next_page_token\030\002 \001(\t\"x\n\'GetNo" + + "tificationChannelDescriptorRequest\022M\n\004na" + + "me\030\003 \001(\tB?\340A\002\372A9\n7monitoring.googleapis." + + "com/NotificationChannelDescriptor\"\265\001\n Cr" + + "eateNotificationChannelRequest\022C\n\004name\030\003" + + " \001(\tB5\340A\002\372A/\022-monitoring.googleapis.com/" + + "NotificationChannel\022L\n\024notification_chan" + + "nel\030\002 \001(\0132).google.monitoring.v3.Notific" + + "ationChannelB\003\340A\002\"\257\001\n\037ListNotificationCh" + + "annelsRequest\022C\n\004name\030\005 \001(\tB5\340A\002\372A/\022-mon" + + "itoring.googleapis.com/NotificationChann" + + "el\022\016\n\006filter\030\006 \001(\t\022\020\n\010order_by\030\007 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\205\001\n " + + "ListNotificationChannelsResponse\022H\n\025noti" + + "fication_channels\030\003 \003(\0132).google.monitor" + + "ing.v3.NotificationChannel\022\027\n\017next_page_" + + "token\030\002 \001(\t\"d\n\035GetNotificationChannelReq" + + "uest\022C\n\004name\030\003 \001(\tB5\340A\002\372A/\n-monitoring.g" + + "oogleapis.com/NotificationChannel\"\241\001\n Up" + + "dateNotificationChannelRequest\022/\n\013update" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022" + + "L\n\024notification_channel\030\003 \001(\0132).google.m" + + "onitoring.v3.NotificationChannelB\003\340A\002\"v\n" + + " DeleteNotificationChannelRequest\022C\n\004nam" + + "e\030\003 \001(\tB5\340A\002\372A/\n-monitoring.googleapis.c" + + "om/NotificationChannel\022\r\n\005force\030\005 \001(\010\"u\n" + + ".SendNotificationChannelVerificationCode" + + "Request\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-monitorin" + + "g.googleapis.com/NotificationChannel\"\245\001\n" + + "-GetNotificationChannelVerificationCodeR" + + "equest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-monitoring" + + ".googleapis.com/NotificationChannel\022/\n\013e" + + "xpire_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tamp\"o\n.GetNotificationChannelVerificati" + + "onCodeResponse\022\014\n\004code\030\001 \001(\t\022/\n\013expire_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\"z\n" + + " VerifyNotificationChannelRequest\022C\n\004nam" + + "e\030\001 \001(\tB5\340A\002\372A/\n-monitoring.googleapis.c" + + "om/NotificationChannel\022\021\n\004code\030\002 \001(\tB\003\340A" + + "\0022\352\022\n\032NotificationChannelService\022\354\001\n\"Lis" + + "tNotificationChannelDescriptors\022?.google" + + ".monitoring.v3.ListNotificationChannelDe" + + "scriptorsRequest\032@.google.monitoring.v3." + + "ListNotificationChannelDescriptorsRespon" + + "se\"C\202\323\344\223\0026\0224/v3/{name=projects/*}/notifi" + + "cationChannelDescriptors\332A\004name\022\335\001\n GetN" + + "otificationChannelDescriptor\022=.google.mo" + + "nitoring.v3.GetNotificationChannelDescri" + + "ptorRequest\0323.google.monitoring.v3.Notif" + + "icationChannelDescriptor\"E\202\323\344\223\0028\0226/v3/{n" + + "ame=projects/*/notificationChannelDescri" + + "ptors/*}\332A\004name\022\304\001\n\030ListNotificationChan" + + "nels\0225.google.monitoring.v3.ListNotifica" + + "tionChannelsRequest\0326.google.monitoring." + + "v3.ListNotificationChannelsResponse\"9\202\323\344" + + "\223\002,\022*/v3/{name=projects/*}/notificationC" + + "hannels\332A\004name\022\265\001\n\026GetNotificationChanne" + + "l\0223.google.monitoring.v3.GetNotification" + + "ChannelRequest\032).google.monitoring.v3.No" + + "tificationChannel\";\202\323\344\223\002.\022,/v3/{name=pro" + + "jects/*/notificationChannels/*}\332A\004name\022\344" + + "\001\n\031CreateNotificationChannel\0226.google.mo" + + "nitoring.v3.CreateNotificationChannelReq" + + "uest\032).google.monitoring.v3.Notification" + + "Channel\"d\202\323\344\223\002B\"*/v3/{name=projects/*}/n" + + "otificationChannels:\024notification_channe" + + "l\332A\031name,notification_channel\022\203\002\n\031Update" + + "NotificationChannel\0226.google.monitoring." + + "v3.UpdateNotificationChannelRequest\032).go" + + "ogle.monitoring.v3.NotificationChannel\"\202" + + "\001\202\323\344\223\002Y2A/v3/{notification_channel.name=" + + "projects/*/notificationChannels/*}:\024noti" + + "fication_channel\332A update_mask,notificat" + + "ion_channel\022\256\001\n\031DeleteNotificationChanne" + + "l\0226.google.monitoring.v3.DeleteNotificat" + + "ionChannelRequest\032\026.google.protobuf.Empt" + + "y\"A\202\323\344\223\002.*,/v3/{name=projects/*/notifica" + + "tionChannels/*}\332A\nname,force\022\334\001\n\'SendNot" + + "ificationChannelVerificationCode\022D.googl" + + "e.monitoring.v3.SendNotificationChannelV" + + "erificationCodeRequest\032\026.google.protobuf" + + ".Empty\"S\202\323\344\223\002F\"A/v3/{name=projects/*/not" + + "ificationChannels/*}:sendVerificationCod" + + "e:\001*\332A\004name\022\207\002\n&GetNotificationChannelVe" + + "rificationCode\022C.google.monitoring.v3.Ge" + + "tNotificationChannelVerificationCodeRequ" + + "est\032D.google.monitoring.v3.GetNotificati" + + "onChannelVerificationCodeResponse\"R\202\323\344\223\002" + + "E\"@/v3/{name=projects/*/notificationChan" + + "nels/*}:getVerificationCode:\001*\332A\004name\022\312\001" + + "\n\031VerifyNotificationChannel\0226.google.mon" + + "itoring.v3.VerifyNotificationChannelRequ" + + "est\032).google.monitoring.v3.NotificationC" + + "hannel\"J\202\323\344\223\0028\"3/v3/{name=projects/*/not" + + "ificationChannels/*}:verify:\001*\332A\tname,co" + + "de\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm,https://www.googleapis.com/auth/moni" + + "toring,https://www.googleapis.com/auth/m" + + "onitoring.readB\260\001\n\030com.google.monitoring" + + ".v3B\030NotificationServiceProtoP\001Z>google." + + "golang.org/genproto/googleapis/monitorin" + + "g/v3;monitoring\252\002\032Google.Cloud.Monitorin" + + "g.V3\312\002\032Google\\Cloud\\Monitoring\\V3b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.monitoring.v3.NotificationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -310,17 +331,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.monitoring.v3.NotificationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java index e2055568..b19d288e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java @@ -119,10 +119,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The notification channel to which to send a verification code.
+   * Required. The notification channel to which to send a verification code.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -141,10 +143,12 @@ public java.lang.String getName() { * * *
-   * The notification channel to which to send a verification code.
+   * Required. The notification channel to which to send a verification code.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -495,10 +499,12 @@ public Builder mergeFrom( * * *
-     * The notification channel to which to send a verification code.
+     * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -517,10 +523,12 @@ public java.lang.String getName() { * * *
-     * The notification channel to which to send a verification code.
+     * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -539,10 +547,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The notification channel to which to send a verification code.
+     * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -560,10 +570,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The notification channel to which to send a verification code.
+     * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -577,10 +589,12 @@ public Builder clearName() { * * *
-     * The notification channel to which to send a verification code.
+     * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java index 8031a215..e5179539 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface SendNotificationChannelVerificationCodeRequestOrBuilder * * *
-   * The notification channel to which to send a verification code.
+   * Required. The notification channel to which to send a verification code.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface SendNotificationChannelVerificationCodeRequestOrBuilder * * *
-   * The notification channel to which to send a verification code.
+   * Required. The notification channel to which to send a verification code.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java index a97f1806..1ba87719 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java @@ -110,82 +110,97 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n\"google/monitoring/v3/service.proto\022\024go" + "ogle.monitoring.v3\032#google/api/monitored" - + "_resource.proto\032\036google/protobuf/duratio" - + "n.proto\032\037google/protobuf/timestamp.proto" - + "\032!google/type/calendar_period.proto\"\326\004\n\007" - + "Service\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 " - + "\001(\t\0226\n\006custom\030\006 \001(\0132$.google.monitoring." - + "v3.Service.CustomH\000\022=\n\napp_engine\030\007 \001(\0132" - + "\'.google.monitoring.v3.Service.AppEngine" - + "H\000\022G\n\017cloud_endpoints\030\010 \001(\0132,.google.mon" - + "itoring.v3.Service.CloudEndpointsH\000\022C\n\rc" - + "luster_istio\030\t \001(\0132*.google.monitoring.v" - + "3.Service.ClusterIstioH\000\022:\n\ttelemetry\030\r " - + "\001(\0132\'.google.monitoring.v3.Service.Telem" - + "etry\032\010\n\006Custom\032\036\n\tAppEngine\022\021\n\tmodule_id" - + "\030\001 \001(\t\032!\n\016CloudEndpoints\022\017\n\007service\030\001 \001(" - + "\t\032g\n\014ClusterIstio\022\020\n\010location\030\001 \001(\t\022\024\n\014c" - + "luster_name\030\002 \001(\t\022\031\n\021service_namespace\030\003" - + " \001(\t\022\024\n\014service_name\030\004 \001(\t\032\"\n\tTelemetry\022" - + "\025\n\rresource_name\030\001 \001(\tB\014\n\nidentifier\"\304\002\n" - + "\025ServiceLevelObjective\022\014\n\004name\030\001 \001(\t\022\024\n\014" - + "display_name\030\013 \001(\t\022L\n\027service_level_indi" - + "cator\030\003 \001(\0132+.google.monitoring.v3.Servi" - + "ceLevelIndicator\022\014\n\004goal\030\004 \001(\001\0223\n\016rollin" - + "g_period\030\005 \001(\0132\031.google.protobuf.Duratio" - + "nH\000\0226\n\017calendar_period\030\006 \001(\0162\033.google.ty" - + "pe.CalendarPeriodH\000\"4\n\004View\022\024\n\020VIEW_UNSP" - + "ECIFIED\020\000\022\010\n\004FULL\020\002\022\014\n\010EXPLICIT\020\001B\010\n\006per" - + "iod\"\324\001\n\025ServiceLevelIndicator\0223\n\tbasic_s" - + "li\030\004 \001(\0132\036.google.monitoring.v3.BasicSli" - + "H\000\022>\n\rrequest_based\030\001 \001(\0132%.google.monit" - + "oring.v3.RequestBasedSliH\000\022>\n\rwindows_ba" - + "sed\030\002 \001(\0132%.google.monitoring.v3.Windows" - + "BasedSliH\000B\006\n\004type\"\266\002\n\010BasicSli\022\016\n\006metho" - + "d\030\007 \003(\t\022\020\n\010location\030\010 \003(\t\022\017\n\007version\030\t \003" - + "(\t\022K\n\014availability\030\002 \001(\01323.google.monito" - + "ring.v3.BasicSli.AvailabilityCriteriaH\000\022" - + "A\n\007latency\030\003 \001(\0132..google.monitoring.v3." - + "BasicSli.LatencyCriteriaH\000\032\026\n\024Availabili" - + "tyCriteria\032?\n\017LatencyCriteria\022,\n\tthresho" - + "ld\030\003 \001(\0132\031.google.protobuf.DurationB\016\n\014s" - + "li_criteria\"!\n\005Range\022\013\n\003min\030\001 \001(\001\022\013\n\003max" - + "\030\002 \001(\001\"\241\001\n\017RequestBasedSli\022A\n\020good_total" - + "_ratio\030\001 \001(\0132%.google.monitoring.v3.Time" - + "SeriesRatioH\000\022A\n\020distribution_cut\030\003 \001(\0132" - + "%.google.monitoring.v3.DistributionCutH\000" - + "B\010\n\006method\"h\n\017TimeSeriesRatio\022\033\n\023good_se" - + "rvice_filter\030\004 \001(\t\022\032\n\022bad_service_filter" - + "\030\005 \001(\t\022\034\n\024total_service_filter\030\006 \001(\t\"Z\n\017" - + "DistributionCut\022\033\n\023distribution_filter\030\004" - + " \001(\t\022*\n\005range\030\005 \001(\0132\033.google.monitoring." - + "v3.Range\"\203\005\n\017WindowsBasedSli\022 \n\026good_bad" - + "_metric_filter\030\005 \001(\tH\000\022`\n\032good_total_rat" - + "io_threshold\030\002 \001(\0132:.google.monitoring.v" - + "3.WindowsBasedSli.PerformanceThresholdH\000" - + "\022Q\n\024metric_mean_in_range\030\006 \001(\01321.google." - + "monitoring.v3.WindowsBasedSli.MetricRang" - + "eH\000\022P\n\023metric_sum_in_range\030\007 \001(\01321.googl" - + "e.monitoring.v3.WindowsBasedSli.MetricRa" - + "ngeH\000\0220\n\rwindow_period\030\004 \001(\0132\031.google.pr" - + "otobuf.Duration\032\260\001\n\024PerformanceThreshold" - + "\022<\n\013performance\030\001 \001(\0132%.google.monitorin" - + "g.v3.RequestBasedSliH\000\022?\n\025basic_sli_perf" - + "ormance\030\003 \001(\0132\036.google.monitoring.v3.Bas" - + "icSliH\000\022\021\n\tthreshold\030\002 \001(\001B\006\n\004type\032N\n\013Me" - + "tricRange\022\023\n\013time_series\030\001 \001(\t\022*\n\005range\030" - + "\004 \001(\0132\033.google.monitoring.v3.RangeB\022\n\020wi" - + "ndow_criterionB\256\001\n\030com.google.monitoring" - + ".v3B\026ServiceMonitoringProtoP\001Z>google.go" - + "lang.org/genproto/googleapis/monitoring/" - + "v3;monitoring\252\002\032Google.Cloud.Monitoring." - + "V3\312\002\032Google\\Cloud\\Monitoring\\V3b\006proto3" + + "_resource.proto\032\031google/api/resource.pro" + + "to\032\036google/protobuf/duration.proto\032\037goog" + + "le/protobuf/timestamp.proto\032!google/type" + + "/calendar_period.proto\"\200\006\n\007Service\022\014\n\004na" + + "me\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\0226\n\006custom" + + "\030\006 \001(\0132$.google.monitoring.v3.Service.Cu" + + "stomH\000\022=\n\napp_engine\030\007 \001(\0132\'.google.moni" + + "toring.v3.Service.AppEngineH\000\022G\n\017cloud_e" + + "ndpoints\030\010 \001(\0132,.google.monitoring.v3.Se" + + "rvice.CloudEndpointsH\000\022C\n\rcluster_istio\030" + + "\t \001(\0132*.google.monitoring.v3.Service.Clu" + + "sterIstioH\000\022:\n\ttelemetry\030\r \001(\0132\'.google." + + "monitoring.v3.Service.Telemetry\032\010\n\006Custo" + + "m\032\036\n\tAppEngine\022\021\n\tmodule_id\030\001 \001(\t\032!\n\016Clo" + + "udEndpoints\022\017\n\007service\030\001 \001(\t\032g\n\014ClusterI" + + "stio\022\020\n\010location\030\001 \001(\t\022\024\n\014cluster_name\030\002" + + " \001(\t\022\031\n\021service_namespace\030\003 \001(\t\022\024\n\014servi" + + "ce_name\030\004 \001(\t\032\"\n\tTelemetry\022\025\n\rresource_n" + + "ame\030\001 \001(\t:\247\001\352A\243\001\n!monitoring.googleapis." + + "com/Service\022%projects/{project}/services" + + "/{service}\022/organizations/{organization}" + + "/services/{service}\022#folders/{folder}/se" + + "rvices/{service}\022\001*B\014\n\nidentifier\"\221\005\n\025Se" + + "rviceLevelObjective\022\014\n\004name\030\001 \001(\t\022\024\n\014dis" + + "play_name\030\013 \001(\t\022L\n\027service_level_indicat" + + "or\030\003 \001(\0132+.google.monitoring.v3.ServiceL" + + "evelIndicator\022\014\n\004goal\030\004 \001(\001\0223\n\016rolling_p" + + "eriod\030\005 \001(\0132\031.google.protobuf.DurationH\000" + + "\0226\n\017calendar_period\030\006 \001(\0162\033.google.type." + + "CalendarPeriodH\000\"4\n\004View\022\024\n\020VIEW_UNSPECI" + + "FIED\020\000\022\010\n\004FULL\020\002\022\014\n\010EXPLICIT\020\001:\312\002\352A\306\002\n/m" + + "onitoring.googleapis.com/ServiceLevelObj" + + "ective\022Vprojects/{project}/services/{ser" + + "vice}/serviceLevelObjectives/{service_le" + + "vel_objective}\022`organizations/{organizat" + + "ion}/services/{service}/serviceLevelObje" + + "ctives/{service_level_objective}\022Tfolder" + + "s/{folder}/services/{service}/serviceLev" + + "elObjectives/{service_level_objective}\022\001" + + "* \001B\010\n\006period\"\324\001\n\025ServiceLevelIndicator\022" + + "3\n\tbasic_sli\030\004 \001(\0132\036.google.monitoring.v" + + "3.BasicSliH\000\022>\n\rrequest_based\030\001 \001(\0132%.go" + + "ogle.monitoring.v3.RequestBasedSliH\000\022>\n\r" + + "windows_based\030\002 \001(\0132%.google.monitoring." + + "v3.WindowsBasedSliH\000B\006\n\004type\"\266\002\n\010BasicSl" + + "i\022\016\n\006method\030\007 \003(\t\022\020\n\010location\030\010 \003(\t\022\017\n\007v" + + "ersion\030\t \003(\t\022K\n\014availability\030\002 \001(\01323.goo" + + "gle.monitoring.v3.BasicSli.AvailabilityC" + + "riteriaH\000\022A\n\007latency\030\003 \001(\0132..google.moni" + + "toring.v3.BasicSli.LatencyCriteriaH\000\032\026\n\024" + + "AvailabilityCriteria\032?\n\017LatencyCriteria\022" + + ",\n\tthreshold\030\003 \001(\0132\031.google.protobuf.Dur" + + "ationB\016\n\014sli_criteria\"!\n\005Range\022\013\n\003min\030\001 " + + "\001(\001\022\013\n\003max\030\002 \001(\001\"\241\001\n\017RequestBasedSli\022A\n\020" + + "good_total_ratio\030\001 \001(\0132%.google.monitori" + + "ng.v3.TimeSeriesRatioH\000\022A\n\020distribution_" + + "cut\030\003 \001(\0132%.google.monitoring.v3.Distrib" + + "utionCutH\000B\010\n\006method\"h\n\017TimeSeriesRatio\022" + + "\033\n\023good_service_filter\030\004 \001(\t\022\032\n\022bad_serv" + + "ice_filter\030\005 \001(\t\022\034\n\024total_service_filter" + + "\030\006 \001(\t\"Z\n\017DistributionCut\022\033\n\023distributio" + + "n_filter\030\004 \001(\t\022*\n\005range\030\005 \001(\0132\033.google.m" + + "onitoring.v3.Range\"\203\005\n\017WindowsBasedSli\022 " + + "\n\026good_bad_metric_filter\030\005 \001(\tH\000\022`\n\032good" + + "_total_ratio_threshold\030\002 \001(\0132:.google.mo" + + "nitoring.v3.WindowsBasedSli.PerformanceT" + + "hresholdH\000\022Q\n\024metric_mean_in_range\030\006 \001(\013" + + "21.google.monitoring.v3.WindowsBasedSli." + + "MetricRangeH\000\022P\n\023metric_sum_in_range\030\007 \001" + + "(\01321.google.monitoring.v3.WindowsBasedSl" + + "i.MetricRangeH\000\0220\n\rwindow_period\030\004 \001(\0132\031" + + ".google.protobuf.Duration\032\260\001\n\024Performanc" + + "eThreshold\022<\n\013performance\030\001 \001(\0132%.google" + + ".monitoring.v3.RequestBasedSliH\000\022?\n\025basi" + + "c_sli_performance\030\003 \001(\0132\036.google.monitor" + + "ing.v3.BasicSliH\000\022\021\n\tthreshold\030\002 \001(\001B\006\n\004" + + "type\032N\n\013MetricRange\022\023\n\013time_series\030\001 \001(\t" + + "\022*\n\005range\030\004 \001(\0132\033.google.monitoring.v3.R" + + "angeB\022\n\020window_criterionB\256\001\n\030com.google." + + "monitoring.v3B\026ServiceMonitoringProtoP\001Z" + + ">google.golang.org/genproto/googleapis/m" + + "onitoring/v3;monitoring\252\002\032Google.Cloud.M" + + "onitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V" + + "3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.type.CalendarPeriodProto.getDescriptor(), @@ -348,7 +363,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "TimeSeries", "Range", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.type.CalendarPeriodProto.getDescriptor(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java index efe978d6..dee9929e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java @@ -86,107 +86,124 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n*google/monitoring/v3/service_service.p" + "roto\022\024google.monitoring.v3\032\034google/api/a" - + "nnotations.proto\032#google/api/monitored_r" - + "esource.proto\032\"google/monitoring/v3/serv" - + "ice.proto\032\033google/protobuf/empty.proto\032 " - + "google/protobuf/field_mask.proto\032\027google" - + "/api/client.proto\"j\n\024CreateServiceReques" - + "t\022\016\n\006parent\030\001 \001(\t\022\022\n\nservice_id\030\003 \001(\t\022.\n" - + "\007service\030\002 \001(\0132\035.google.monitoring.v3.Se" - + "rvice\"!\n\021GetServiceRequest\022\014\n\004name\030\001 \001(\t" - + "\"\\\n\023ListServicesRequest\022\016\n\006parent\030\001 \001(\t\022" - + "\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npa" - + "ge_token\030\004 \001(\t\"`\n\024ListServicesResponse\022/" - + "\n\010services\030\001 \003(\0132\035.google.monitoring.v3." - + "Service\022\027\n\017next_page_token\030\002 \001(\t\"w\n\024Upda" - + "teServiceRequest\022.\n\007service\030\001 \001(\0132\035.goog" - + "le.monitoring.v3.Service\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\"$\n\024Del" - + "eteServiceRequest\022\014\n\004name\030\001 \001(\t\"\246\001\n\"Crea" - + "teServiceLevelObjectiveRequest\022\016\n\006parent" - + "\030\001 \001(\t\022\"\n\032service_level_objective_id\030\003 \001" - + "(\t\022L\n\027service_level_objective\030\002 \001(\0132+.go" - + "ogle.monitoring.v3.ServiceLevelObjective" - + "\"o\n\037GetServiceLevelObjectiveRequest\022\014\n\004n" - + "ame\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.google.monitor" - + "ing.v3.ServiceLevelObjective.View\"\252\001\n!Li" - + "stServiceLevelObjectivesRequest\022\016\n\006paren" - + "t\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001" - + "(\005\022\022\n\npage_token\030\004 \001(\t\022>\n\004view\030\005 \001(\01620.g" - + "oogle.monitoring.v3.ServiceLevelObjectiv" - + "e.View\"\214\001\n\"ListServiceLevelObjectivesRes" - + "ponse\022M\n\030service_level_objectives\030\001 \003(\0132" - + "+.google.monitoring.v3.ServiceLevelObjec" - + "tive\022\027\n\017next_page_token\030\002 \001(\t\"\243\001\n\"Update" - + "ServiceLevelObjectiveRequest\022L\n\027service_" - + "level_objective\030\001 \001(\0132+.google.monitorin" - + "g.v3.ServiceLevelObjective\022/\n\013update_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"2\n\"D" - + "eleteServiceLevelObjectiveRequest\022\014\n\004nam" - + "e\030\001 \001(\t2\345\016\n\030ServiceMonitoringService\022\206\001\n" - + "\rCreateService\022*.google.monitoring.v3.Cr" - + "eateServiceRequest\032\035.google.monitoring.v" - + "3.Service\"*\202\323\344\223\002$\"\031/v3/{parent=*/*}/serv" - + "ices:\007service\022w\n\nGetService\022\'.google.mon" - + "itoring.v3.GetServiceRequest\032\035.google.mo" - + "nitoring.v3.Service\"!\202\323\344\223\002\033\022\031/v3/{name=*" - + "/*/services/*}\022\210\001\n\014ListServices\022).google" - + ".monitoring.v3.ListServicesRequest\032*.goo" - + "gle.monitoring.v3.ListServicesResponse\"!" - + "\202\323\344\223\002\033\022\031/v3/{parent=*/*}/services\022\216\001\n\rUp" - + "dateService\022*.google.monitoring.v3.Updat" - + "eServiceRequest\032\035.google.monitoring.v3.S" - + "ervice\"2\202\323\344\223\002,2!/v3/{service.name=*/*/se" - + "rvices/*}:\007service\022v\n\rDeleteService\022*.go" - + "ogle.monitoring.v3.DeleteServiceRequest\032" - + "\026.google.protobuf.Empty\"!\202\323\344\223\002\033*\031/v3/{na" - + "me=*/*/services/*}\022\331\001\n\033CreateServiceLeve" - + "lObjective\0228.google.monitoring.v3.Create" - + "ServiceLevelObjectiveRequest\032+.google.mo" - + "nitoring.v3.ServiceLevelObjective\"S\202\323\344\223\002" - + "M\"2/v3/{parent=*/*/services/*}/serviceLe" - + "velObjectives:\027service_level_objective\022\272" - + "\001\n\030GetServiceLevelObjective\0225.google.mon" - + "itoring.v3.GetServiceLevelObjectiveReque" - + "st\032+.google.monitoring.v3.ServiceLevelOb" - + "jective\":\202\323\344\223\0024\0222/v3/{name=*/*/services/" - + "*/serviceLevelObjectives/*}\022\313\001\n\032ListServ" - + "iceLevelObjectives\0227.google.monitoring.v" - + "3.ListServiceLevelObjectivesRequest\0328.go" - + "ogle.monitoring.v3.ListServiceLevelObjec" - + "tivesResponse\":\202\323\344\223\0024\0222/v3/{parent=*/*/s" - + "ervices/*}/serviceLevelObjectives\022\361\001\n\033Up" - + "dateServiceLevelObjective\0228.google.monit" - + "oring.v3.UpdateServiceLevelObjectiveRequ" - + "est\032+.google.monitoring.v3.ServiceLevelO" - + "bjective\"k\202\323\344\223\002e2J/v3/{service_level_obj" - + "ective.name=*/*/services/*/serviceLevelO" - + "bjectives/*}:\027service_level_objective\022\253\001" - + "\n\033DeleteServiceLevelObjective\0228.google.m" - + "onitoring.v3.DeleteServiceLevelObjective" - + "Request\032\026.google.protobuf.Empty\":\202\323\344\223\0024*" - + "2/v3/{name=*/*/services/*/serviceLevelOb" - + "jectives/*}\032\251\001\312A\031monitoring.googleapis.c" - + "om\322A\211\001https://www.googleapis.com/auth/cl" - + "oud-platform,https://www.googleapis.com/" - + "auth/monitoring,https://www.googleapis.c" - + "om/auth/monitoring.readB\265\001\n\030com.google.m" - + "onitoring.v3B\035ServiceMonitoringServicePr" - + "otoP\001Z>google.golang.org/genproto/google" - + "apis/monitoring/v3;monitoring\252\002\032Google.C" - + "loud.Monitoring.V3\312\002\032Google\\Cloud\\Monito" - + "ring\\V3b\006proto3" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032#goog" + + "le/api/monitored_resource.proto\032\031google/" + + "api/resource.proto\032\"google/monitoring/v3" + + "/service.proto\032\033google/protobuf/empty.pr" + + "oto\032 google/protobuf/field_mask.proto\"\232\001" + + "\n\024CreateServiceRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\022!monitoring.googleapis.com/Servic" + + "e\022\022\n\nservice_id\030\003 \001(\t\0223\n\007service\030\002 \001(\0132\035" + + ".google.monitoring.v3.ServiceB\003\340A\002\"L\n\021Ge" + + "tServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!m" + + "onitoring.googleapis.com/Service\"\207\001\n\023Lis" + + "tServicesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#" + + "\022!monitoring.googleapis.com/Service\022\016\n\006f" + + "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t" + + "oken\030\004 \001(\t\"`\n\024ListServicesResponse\022/\n\010se" + + "rvices\030\001 \003(\0132\035.google.monitoring.v3.Serv" + + "ice\022\027\n\017next_page_token\030\002 \001(\t\"|\n\024UpdateSe" + + "rviceRequest\0223\n\007service\030\001 \001(\0132\035.google.m" + + "onitoring.v3.ServiceB\003\340A\002\022/\n\013update_mask" + + "\030\002 \001(\0132\032.google.protobuf.FieldMask\"O\n\024De" + + "leteServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + + "\n!monitoring.googleapis.com/Service\"\326\001\n\"" + + "CreateServiceLevelObjectiveRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\n!monitoring.googleapi" + + "s.com/Service\022\"\n\032service_level_objective" + + "_id\030\003 \001(\t\022Q\n\027service_level_objective\030\002 \001" + + "(\0132+.google.monitoring.v3.ServiceLevelOb" + + "jectiveB\003\340A\002\"\250\001\n\037GetServiceLevelObjectiv" + + "eRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/monitori" + + "ng.googleapis.com/ServiceLevelObjective\022" + + ">\n\004view\030\002 \001(\01620.google.monitoring.v3.Ser" + + "viceLevelObjective.View\"\325\001\n!ListServiceL" + + "evelObjectivesRequest\0229\n\006parent\030\001 \001(\tB)\340" + + "A\002\372A#\n!monitoring.googleapis.com/Service" + + "\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\np" + + "age_token\030\004 \001(\t\022>\n\004view\030\005 \001(\01620.google.m" + + "onitoring.v3.ServiceLevelObjective.View\"" + + "\214\001\n\"ListServiceLevelObjectivesResponse\022M" + + "\n\030service_level_objectives\030\001 \003(\0132+.googl" + + "e.monitoring.v3.ServiceLevelObjective\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\250\001\n\"UpdateService" + + "LevelObjectiveRequest\022Q\n\027service_level_o" + + "bjective\030\001 \001(\0132+.google.monitoring.v3.Se" + + "rviceLevelObjectiveB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"k\n\"Del" + + "eteServiceLevelObjectiveRequest\022E\n\004name\030" + + "\001 \001(\tB7\340A\002\372A1\n/monitoring.googleapis.com" + + "/ServiceLevelObjective2\352\017\n\030ServiceMonito" + + "ringService\022\227\001\n\rCreateService\022*.google.m" + + "onitoring.v3.CreateServiceRequest\032\035.goog" + + "le.monitoring.v3.Service\";\202\323\344\223\002$\"\031/v3/{p" + + "arent=*/*}/services:\007service\332A\016parent,se" + + "rvice\022~\n\nGetService\022\'.google.monitoring." + + "v3.GetServiceRequest\032\035.google.monitoring" + + ".v3.Service\"(\202\323\344\223\002\033\022\031/v3/{name=*/*/servi" + + "ces/*}\332A\004name\022\221\001\n\014ListServices\022).google." + + "monitoring.v3.ListServicesRequest\032*.goog" + + "le.monitoring.v3.ListServicesResponse\"*\202" + + "\323\344\223\002\033\022\031/v3/{parent=*/*}/services\332A\006paren" + + "t\022\230\001\n\rUpdateService\022*.google.monitoring." + + "v3.UpdateServiceRequest\032\035.google.monitor" + + "ing.v3.Service\"<\202\323\344\223\002,2!/v3/{service.nam" + + "e=*/*/services/*}:\007service\332A\007service\022}\n\r" + + "DeleteService\022*.google.monitoring.v3.Del" + + "eteServiceRequest\032\026.google.protobuf.Empt" + + "y\"(\202\323\344\223\002\033*\031/v3/{name=*/*/services/*}\332A\004n" + + "ame\022\372\001\n\033CreateServiceLevelObjective\0228.go" + + "ogle.monitoring.v3.CreateServiceLevelObj" + + "ectiveRequest\032+.google.monitoring.v3.Ser" + + "viceLevelObjective\"t\202\323\344\223\002M\"2/v3/{parent=" + + "*/*/services/*}/serviceLevelObjectives:\027" + + "service_level_objective\332A\036parent,service" + + "_level_objective\022\301\001\n\030GetServiceLevelObje" + + "ctive\0225.google.monitoring.v3.GetServiceL" + + "evelObjectiveRequest\032+.google.monitoring" + + ".v3.ServiceLevelObjective\"A\202\323\344\223\0024\0222/v3/{" + + "name=*/*/services/*/serviceLevelObjectiv" + + "es/*}\332A\004name\022\324\001\n\032ListServiceLevelObjecti" + + "ves\0227.google.monitoring.v3.ListServiceLe" + + "velObjectivesRequest\0328.google.monitoring" + + ".v3.ListServiceLevelObjectivesResponse\"C" + + "\202\323\344\223\0024\0222/v3/{parent=*/*/services/*}/serv" + + "iceLevelObjectives\332A\006parent\022\214\002\n\033UpdateSe" + + "rviceLevelObjective\0228.google.monitoring." + + "v3.UpdateServiceLevelObjectiveRequest\032+." + + "google.monitoring.v3.ServiceLevelObjecti" + + "ve\"\205\001\202\323\344\223\002e2J/v3/{service_level_objectiv" + + "e.name=*/*/services/*/serviceLevelObject" + + "ives/*}:\027service_level_objective\332A\027servi" + + "ce_level_objective\022\262\001\n\033DeleteServiceLeve" + + "lObjective\0228.google.monitoring.v3.Delete" + + "ServiceLevelObjectiveRequest\032\026.google.pr" + + "otobuf.Empty\"A\202\323\344\223\0024*2/v3/{name=*/*/serv" + + "ices/*/serviceLevelObjectives/*}\332A\004name\032" + + "\251\001\312A\031monitoring.googleapis.com\322A\211\001https:" + + "//www.googleapis.com/auth/cloud-platform" + + ",https://www.googleapis.com/auth/monitor" + + "ing,https://www.googleapis.com/auth/moni" + + "toring.readB\265\001\n\030com.google.monitoring.v3" + + "B\035ServiceMonitoringServiceProtoP\001Z>googl" + + "e.golang.org/genproto/googleapis/monitor" + + "ing/v3;monitoring\252\002\032Google.Cloud.Monitor" + + "ing.V3\312\002\032Google\\Cloud\\Monitoring\\V3b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_monitoring_v3_CreateServiceRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -287,16 +304,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java index 31071ffd..e9b9f1dc 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java @@ -239,7 +239,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the alertPolicy field is set. */ @@ -256,7 +258,9 @@ public boolean hasAlertPolicy() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The alertPolicy. */ @@ -275,7 +279,9 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { return getAlertPolicy(); @@ -991,7 +997,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the alertPolicy field is set. */ @@ -1008,7 +1016,9 @@ public boolean hasAlertPolicy() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The alertPolicy. */ @@ -1031,7 +1041,9 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { @@ -1056,7 +1068,9 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { if (alertPolicyBuilder_ == null) { @@ -1078,7 +1092,9 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder build * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { @@ -1107,7 +1123,9 @@ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAlertPolicy() { if (alertPolicyBuilder_ == null) { @@ -1130,7 +1148,9 @@ public Builder clearAlertPolicy() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() { @@ -1147,7 +1167,9 @@ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { if (alertPolicyBuilder_ != null) { @@ -1168,7 +1190,9 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.AlertPolicy, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java index fccc237e..67acc36f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java @@ -119,7 +119,9 @@ public interface UpdateAlertPolicyRequestOrBuilder * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the alertPolicy field is set. */ @@ -134,7 +136,9 @@ public interface UpdateAlertPolicyRequestOrBuilder * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The alertPolicy. */ @@ -149,7 +153,9 @@ public interface UpdateAlertPolicyRequestOrBuilder * not in `update_mask` are ignored. * * - * .google.monitoring.v3.AlertPolicy alert_policy = 3; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java index 6e003021..8b840168 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java @@ -128,11 +128,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The new definition of the group.  All fields of the existing group,
+   * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the group field is set. */ @@ -143,11 +143,11 @@ public boolean hasGroup() { * * *
-   * The new definition of the group.  All fields of the existing group,
+   * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The group. */ @@ -158,11 +158,11 @@ public com.google.monitoring.v3.Group getGroup() { * * *
-   * The new definition of the group.  All fields of the existing group,
+   * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() { return getGroup(); @@ -538,11 +538,11 @@ public Builder mergeFrom( * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the group field is set. */ @@ -553,11 +553,11 @@ public boolean hasGroup() { * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The group. */ @@ -572,11 +572,11 @@ public com.google.monitoring.v3.Group getGroup() { * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGroup(com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { @@ -595,11 +595,11 @@ public Builder setGroup(com.google.monitoring.v3.Group value) { * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { @@ -615,11 +615,11 @@ public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue) * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeGroup(com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { @@ -640,11 +640,11 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) { * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGroup() { if (groupBuilder_ == null) { @@ -661,11 +661,11 @@ public Builder clearGroup() { * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.Group.Builder getGroupBuilder() { @@ -676,11 +676,11 @@ public com.google.monitoring.v3.Group.Builder getGroupBuilder() { * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() { if (groupBuilder_ != null) { @@ -693,11 +693,11 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() { * * *
-     * The new definition of the group.  All fields of the existing group,
+     * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.Group, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java index 47b6bf7b..9b1914a6 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java @@ -27,11 +27,11 @@ public interface UpdateGroupRequestOrBuilder * * *
-   * The new definition of the group.  All fields of the existing group,
+   * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the group field is set. */ @@ -40,11 +40,11 @@ public interface UpdateGroupRequestOrBuilder * * *
-   * The new definition of the group.  All fields of the existing group,
+   * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The group. */ @@ -53,11 +53,11 @@ public interface UpdateGroupRequestOrBuilder * * *
-   * The new definition of the group.  All fields of the existing group,
+   * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* - * .google.monitoring.v3.Group group = 2; + * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java index d93c9c2b..4fdd91a4 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java @@ -183,13 +183,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-   * A description of the changes to be applied to the specified
+   * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
    * fields to be updated; the names of these fields should also be
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the notificationChannel field is set. */ @@ -200,13 +202,15 @@ public boolean hasNotificationChannel() { * * *
-   * A description of the changes to be applied to the specified
+   * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
    * fields to be updated; the names of these fields should also be
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The notificationChannel. */ @@ -219,13 +223,15 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { * * *
-   * A description of the changes to be applied to the specified
+   * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
    * fields to be updated; the names of these fields should also be
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { return getNotificationChannel(); @@ -783,13 +789,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the notificationChannel field is set. */ @@ -800,13 +808,15 @@ public boolean hasNotificationChannel() { * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The notificationChannel. */ @@ -823,13 +833,15 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { @@ -848,13 +860,15 @@ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChann * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNotificationChannel( com.google.monitoring.v3.NotificationChannel.Builder builderForValue) { @@ -871,13 +885,15 @@ public Builder setNotificationChannel( * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { @@ -900,13 +916,15 @@ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationCha * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNotificationChannel() { if (notificationChannelBuilder_ == null) { @@ -923,13 +941,15 @@ public Builder clearNotificationChannel() { * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChannelBuilder() { @@ -940,13 +960,15 @@ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChann * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { if (notificationChannelBuilder_ != null) { @@ -961,13 +983,15 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan * * *
-     * A description of the changes to be applied to the specified
+     * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
      * fields to be updated; the names of these fields should also be
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.NotificationChannel, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java index 0be4dde8..e1260fdf 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java @@ -62,13 +62,15 @@ public interface UpdateNotificationChannelRequestOrBuilder * * *
-   * A description of the changes to be applied to the specified
+   * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
    * fields to be updated; the names of these fields should also be
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the notificationChannel field is set. */ @@ -77,13 +79,15 @@ public interface UpdateNotificationChannelRequestOrBuilder * * *
-   * A description of the changes to be applied to the specified
+   * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
    * fields to be updated; the names of these fields should also be
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The notificationChannel. */ @@ -92,13 +96,15 @@ public interface UpdateNotificationChannelRequestOrBuilder * * *
-   * A description of the changes to be applied to the specified
+   * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
    * fields to be updated; the names of these fields should also be
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java index 7b9d92e8..70c9cab0 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java @@ -140,11 +140,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The `ServiceLevelObjective` to draw updates from.
+   * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the serviceLevelObjective field is set. */ @@ -155,11 +157,13 @@ public boolean hasServiceLevelObjective() { * * *
-   * The `ServiceLevelObjective` to draw updates from.
+   * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The serviceLevelObjective. */ @@ -172,11 +176,13 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() * * *
-   * The `ServiceLevelObjective` to draw updates from.
+   * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { @@ -596,11 +602,13 @@ public Builder mergeFrom( * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the serviceLevelObjective field is set. */ @@ -611,11 +619,13 @@ public boolean hasServiceLevelObjective() { * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The serviceLevelObjective. */ @@ -632,11 +642,13 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { @@ -655,11 +667,13 @@ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObj * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setServiceLevelObjective( com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -676,11 +690,13 @@ public Builder setServiceLevelObjective( * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeServiceLevelObjective( com.google.monitoring.v3.ServiceLevelObjective value) { @@ -704,11 +720,13 @@ public Builder mergeServiceLevelObjective( * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { @@ -725,11 +743,13 @@ public Builder clearServiceLevelObjective() { * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObjectiveBuilder() { @@ -741,11 +761,13 @@ public Builder clearServiceLevelObjective() { * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { @@ -761,11 +783,13 @@ public Builder clearServiceLevelObjective() { * * *
-     * The `ServiceLevelObjective` to draw updates from.
+     * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.ServiceLevelObjective, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java index 40d6b5b8..5ff861b6 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java @@ -27,11 +27,13 @@ public interface UpdateServiceLevelObjectiveRequestOrBuilder * * *
-   * The `ServiceLevelObjective` to draw updates from.
+   * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the serviceLevelObjective field is set. */ @@ -40,11 +42,13 @@ public interface UpdateServiceLevelObjectiveRequestOrBuilder * * *
-   * The `ServiceLevelObjective` to draw updates from.
+   * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The serviceLevelObjective. */ @@ -53,11 +57,13 @@ public interface UpdateServiceLevelObjectiveRequestOrBuilder * * *
-   * The `ServiceLevelObjective` to draw updates from.
+   * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java index 9e7ab96b..2c1914da 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java @@ -138,11 +138,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The `Service` to draw updates from.
+   * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the service field is set. */ @@ -153,11 +154,12 @@ public boolean hasService() { * * *
-   * The `Service` to draw updates from.
+   * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The service. */ @@ -168,11 +170,12 @@ public com.google.monitoring.v3.Service getService() { * * *
-   * The `Service` to draw updates from.
+   * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { return getService(); @@ -587,11 +590,12 @@ public Builder mergeFrom( * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the service field is set. */ @@ -602,11 +606,12 @@ public boolean hasService() { * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The service. */ @@ -621,11 +626,12 @@ public com.google.monitoring.v3.Service getService() { * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { @@ -644,11 +650,12 @@ public Builder setService(com.google.monitoring.v3.Service value) { * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setService(com.google.monitoring.v3.Service.Builder builderForValue) { if (serviceBuilder_ == null) { @@ -664,11 +671,12 @@ public Builder setService(com.google.monitoring.v3.Service.Builder builderForVal * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { @@ -689,11 +697,12 @@ public Builder mergeService(com.google.monitoring.v3.Service value) { * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -710,11 +719,12 @@ public Builder clearService() { * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.Service.Builder getServiceBuilder() { @@ -725,11 +735,12 @@ public com.google.monitoring.v3.Service.Builder getServiceBuilder() { * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { @@ -742,11 +753,12 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { * * *
-     * The `Service` to draw updates from.
+     * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.Service, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java index 95870c96..aae850cd 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java @@ -27,11 +27,12 @@ public interface UpdateServiceRequestOrBuilder * * *
-   * The `Service` to draw updates from.
+   * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the service field is set. */ @@ -40,11 +41,12 @@ public interface UpdateServiceRequestOrBuilder * * *
-   * The `Service` to draw updates from.
+   * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The service. */ @@ -53,11 +55,12 @@ public interface UpdateServiceRequestOrBuilder * * *
-   * The `Service` to draw updates from.
+   * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java index 7c4deb68..a3181085 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java @@ -204,7 +204,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the uptimeCheckConfig field is set. */ @@ -227,7 +229,9 @@ public boolean hasUptimeCheckConfig() { * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The uptimeCheckConfig. */ @@ -252,7 +256,9 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { return getUptimeCheckConfig(); @@ -849,7 +855,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the uptimeCheckConfig field is set. */ @@ -872,7 +880,9 @@ public boolean hasUptimeCheckConfig() { * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The uptimeCheckConfig. */ @@ -901,7 +911,9 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { @@ -932,7 +944,9 @@ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig v * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUptimeCheckConfig( com.google.monitoring.v3.UptimeCheckConfig.Builder builderForValue) { @@ -961,7 +975,9 @@ public Builder setUptimeCheckConfig( * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { @@ -996,7 +1012,9 @@ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { @@ -1025,7 +1043,9 @@ public Builder clearUptimeCheckConfig() { * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBuilder() { @@ -1048,7 +1068,9 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBu * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { if (uptimeCheckConfigBuilder_ != null) { @@ -1075,7 +1097,9 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigO * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.monitoring.v3.UptimeCheckConfig, diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java index b7c5493a..f1e23340 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java @@ -83,7 +83,9 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the uptimeCheckConfig field is set. */ @@ -104,7 +106,9 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The uptimeCheckConfig. */ @@ -125,7 +129,9 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder * `selected_regions`. * * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java index 92d0d75b..94613f0b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java @@ -74,69 +74,77 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n!google/monitoring/v3/uptime.proto\022\024goo" + "gle.monitoring.v3\032#google/api/monitored_" - + "resource.proto\032\036google/protobuf/duration" - + ".proto\"\346\001\n\017InternalChecker\022\014\n\004name\030\001 \001(\t" - + "\022\024\n\014display_name\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022" - + "\020\n\010gcp_zone\030\004 \001(\t\022\027\n\017peer_project_id\030\006 \001" - + "(\t\022:\n\005state\030\007 \001(\0162+.google.monitoring.v3" - + ".InternalChecker.State\"3\n\005State\022\017\n\013UNSPE" - + "CIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020\002:\002\030\001\"" - + "\327\013\n\021UptimeCheckConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014d" - + "isplay_name\030\002 \001(\t\022;\n\022monitored_resource\030" - + "\003 \001(\0132\035.google.api.MonitoredResourceH\000\022O" - + "\n\016resource_group\030\004 \001(\01325.google.monitori" - + "ng.v3.UptimeCheckConfig.ResourceGroupH\000\022" - + "G\n\nhttp_check\030\005 \001(\01321.google.monitoring." - + "v3.UptimeCheckConfig.HttpCheckH\001\022E\n\ttcp_" - + "check\030\006 \001(\01320.google.monitoring.v3.Uptim" - + "eCheckConfig.TcpCheckH\001\022)\n\006period\030\007 \001(\0132" - + "\031.google.protobuf.Duration\022*\n\007timeout\030\010 " - + "\001(\0132\031.google.protobuf.Duration\022P\n\020conten" - + "t_matchers\030\t \003(\01326.google.monitoring.v3." - + "UptimeCheckConfig.ContentMatcher\022A\n\020sele" - + "cted_regions\030\n \003(\0162\'.google.monitoring.v" - + "3.UptimeCheckRegion\022\027\n\013is_internal\030\017 \001(\010" - + "B\002\030\001\022D\n\021internal_checkers\030\016 \003(\0132%.google" - + ".monitoring.v3.InternalCheckerB\002\030\001\032a\n\rRe" - + "sourceGroup\022\020\n\010group_id\030\001 \001(\t\022>\n\rresourc" - + "e_type\030\002 \001(\0162\'.google.monitoring.v3.Grou" - + "pResourceType\032\372\002\n\tHttpCheck\022\017\n\007use_ssl\030\001" - + " \001(\010\022\014\n\004path\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022X\n\tauth" - + "_info\030\004 \001(\0132E.google.monitoring.v3.Uptim" - + "eCheckConfig.HttpCheck.BasicAuthenticati" - + "on\022\024\n\014mask_headers\030\005 \001(\010\022O\n\007headers\030\006 \003(" - + "\0132>.google.monitoring.v3.UptimeCheckConf" - + "ig.HttpCheck.HeadersEntry\022\024\n\014validate_ss" - + "l\030\007 \001(\010\0329\n\023BasicAuthentication\022\020\n\010userna" - + "me\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\032.\n\014HeadersEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\030\n\010Tc" - + "pCheck\022\014\n\004port\030\001 \001(\005\032\230\002\n\016ContentMatcher\022" - + "\017\n\007content\030\001 \001(\t\022\\\n\007matcher\030\002 \001(\0162K.goog" - + "le.monitoring.v3.UptimeCheckConfig.Conte" - + "ntMatcher.ContentMatcherOption\"\226\001\n\024Conte" - + "ntMatcherOption\022&\n\"CONTENT_MATCHER_OPTIO" - + "N_UNSPECIFIED\020\000\022\023\n\017CONTAINS_STRING\020\001\022\027\n\023" - + "NOT_CONTAINS_STRING\020\002\022\021\n\rMATCHES_REGEX\020\003" - + "\022\025\n\021NOT_MATCHES_REGEX\020\004B\n\n\010resourceB\024\n\022c" - + "heck_request_type\"n\n\rUptimeCheckIp\0227\n\006re" - + "gion\030\001 \001(\0162\'.google.monitoring.v3.Uptime" - + "CheckRegion\022\020\n\010location\030\002 \001(\t\022\022\n\nip_addr" - + "ess\030\003 \001(\t*e\n\021UptimeCheckRegion\022\026\n\022REGION" - + "_UNSPECIFIED\020\000\022\007\n\003USA\020\001\022\n\n\006EUROPE\020\002\022\021\n\rS" - + "OUTH_AMERICA\020\003\022\020\n\014ASIA_PACIFIC\020\004*[\n\021Grou" - + "pResourceType\022\035\n\031RESOURCE_TYPE_UNSPECIFI" - + "ED\020\000\022\014\n\010INSTANCE\020\001\022\031\n\025AWS_ELB_LOAD_BALAN" - + "CER\020\002B\243\001\n\030com.google.monitoring.v3B\013Upti" - + "meProtoP\001Z>google.golang.org/genproto/go" - + "ogleapis/monitoring/v3;monitoring\252\002\032Goog" - + "le.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\Mo" - + "nitoring\\V3b\006proto3" + + "resource.proto\032\031google/api/resource.prot" + + "o\032\036google/protobuf/duration.proto\"\346\001\n\017In" + + "ternalChecker\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + + "ame\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\020\n\010gcp_zone\030\004" + + " \001(\t\022\027\n\017peer_project_id\030\006 \001(\t\022:\n\005state\030\007" + + " \001(\0162+.google.monitoring.v3.InternalChec" + + "ker.State\"3\n\005State\022\017\n\013UNSPECIFIED\020\000\022\014\n\010C" + + "REATING\020\001\022\013\n\007RUNNING\020\002:\002\030\001\"\315\r\n\021UptimeChe" + + "ckConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002" + + " \001(\t\022;\n\022monitored_resource\030\003 \001(\0132\035.googl" + + "e.api.MonitoredResourceH\000\022O\n\016resource_gr" + + "oup\030\004 \001(\01325.google.monitoring.v3.UptimeC" + + "heckConfig.ResourceGroupH\000\022G\n\nhttp_check" + + "\030\005 \001(\01321.google.monitoring.v3.UptimeChec" + + "kConfig.HttpCheckH\001\022E\n\ttcp_check\030\006 \001(\01320" + + ".google.monitoring.v3.UptimeCheckConfig." + + "TcpCheckH\001\022)\n\006period\030\007 \001(\0132\031.google.prot" + + "obuf.Duration\022*\n\007timeout\030\010 \001(\0132\031.google." + + "protobuf.Duration\022P\n\020content_matchers\030\t " + + "\003(\01326.google.monitoring.v3.UptimeCheckCo" + + "nfig.ContentMatcher\022A\n\020selected_regions\030" + + "\n \003(\0162\'.google.monitoring.v3.UptimeCheck" + + "Region\022\027\n\013is_internal\030\017 \001(\010B\002\030\001\022D\n\021inter" + + "nal_checkers\030\016 \003(\0132%.google.monitoring.v" + + "3.InternalCheckerB\002\030\001\032a\n\rResourceGroup\022\020" + + "\n\010group_id\030\001 \001(\t\022>\n\rresource_type\030\002 \001(\0162" + + "\'.google.monitoring.v3.GroupResourceType" + + "\032\372\002\n\tHttpCheck\022\017\n\007use_ssl\030\001 \001(\010\022\014\n\004path\030" + + "\002 \001(\t\022\014\n\004port\030\003 \001(\005\022X\n\tauth_info\030\004 \001(\0132E" + + ".google.monitoring.v3.UptimeCheckConfig." + + "HttpCheck.BasicAuthentication\022\024\n\014mask_he" + + "aders\030\005 \001(\010\022O\n\007headers\030\006 \003(\0132>.google.mo" + + "nitoring.v3.UptimeCheckConfig.HttpCheck." + + "HeadersEntry\022\024\n\014validate_ssl\030\007 \001(\010\0329\n\023Ba" + + "sicAuthentication\022\020\n\010username\030\001 \001(\t\022\020\n\010p" + + "assword\030\002 \001(\t\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\030\n\010TcpCheck\022\014\n\004por" + + "t\030\001 \001(\005\032\230\002\n\016ContentMatcher\022\017\n\007content\030\001 " + + "\001(\t\022\\\n\007matcher\030\002 \001(\0162K.google.monitoring" + + ".v3.UptimeCheckConfig.ContentMatcher.Con" + + "tentMatcherOption\"\226\001\n\024ContentMatcherOpti" + + "on\022&\n\"CONTENT_MATCHER_OPTION_UNSPECIFIED" + + "\020\000\022\023\n\017CONTAINS_STRING\020\001\022\027\n\023NOT_CONTAINS_" + + "STRING\020\002\022\021\n\rMATCHES_REGEX\020\003\022\025\n\021NOT_MATCH" + + "ES_REGEX\020\004:\363\001\352A\357\001\n+monitoring.googleapis" + + ".com/UptimeCheckConfig\022;projects/{projec" + + "t}/uptimeCheckConfigs/{uptime_check_conf" + + "ig}\022Eorganizations/{organization}/uptime" + + "CheckConfigs/{uptime_check_config}\0229fold" + + "ers/{folder}/uptimeCheckConfigs/{uptime_" + + "check_config}\022\001*B\n\n\010resourceB\024\n\022check_re" + + "quest_type\"n\n\rUptimeCheckIp\0227\n\006region\030\001 " + + "\001(\0162\'.google.monitoring.v3.UptimeCheckRe" + + "gion\022\020\n\010location\030\002 \001(\t\022\022\n\nip_address\030\003 \001" + + "(\t*e\n\021UptimeCheckRegion\022\026\n\022REGION_UNSPEC" + + "IFIED\020\000\022\007\n\003USA\020\001\022\n\n\006EUROPE\020\002\022\021\n\rSOUTH_AM" + + "ERICA\020\003\022\020\n\014ASIA_PACIFIC\020\004*[\n\021GroupResour" + + "ceType\022\035\n\031RESOURCE_TYPE_UNSPECIFIED\020\000\022\014\n" + + "\010INSTANCE\020\001\022\031\n\025AWS_ELB_LOAD_BALANCER\020\002B\243" + + "\001\n\030com.google.monitoring.v3B\013UptimeProto" + + "P\001Z>google.golang.org/genproto/googleapi" + + "s/monitoring/v3;monitoring\252\002\032Google.Clou" + + "d.Monitoring.V3\312\002\032Google\\Cloud\\Monitorin" + + "g\\V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), }); internal_static_google_monitoring_v3_InternalChecker_descriptor = @@ -228,7 +236,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Region", "Location", "IpAddress", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java index cc5dfc6b..a4340222 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java @@ -70,78 +70,89 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n)google/monitoring/v3/uptime_service.pr" + "oto\022\024google.monitoring.v3\032\034google/api/an" - + "notations.proto\032!google/monitoring/v3/up" - + "time.proto\032\036google/protobuf/duration.pro" - + "to\032\033google/protobuf/empty.proto\032 google/" - + "protobuf/field_mask.proto\032\027google/api/cl" - + "ient.proto\"V\n\035ListUptimeCheckConfigsRequ" - + "est\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022" - + "\n\npage_token\030\004 \001(\t\"\224\001\n\036ListUptimeCheckCo" - + "nfigsResponse\022E\n\024uptime_check_configs\030\001 " - + "\003(\0132\'.google.monitoring.v3.UptimeCheckCo" - + "nfig\022\027\n\017next_page_token\030\002 \001(\t\022\022\n\ntotal_s" - + "ize\030\003 \001(\005\"+\n\033GetUptimeCheckConfigRequest" - + "\022\014\n\004name\030\001 \001(\t\"v\n\036CreateUptimeCheckConfi" - + "gRequest\022\016\n\006parent\030\001 \001(\t\022D\n\023uptime_check" - + "_config\030\002 \001(\0132\'.google.monitoring.v3.Upt" - + "imeCheckConfig\"\227\001\n\036UpdateUptimeCheckConf" - + "igRequest\022/\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMask\022D\n\023uptime_check_confi" - + "g\030\003 \001(\0132\'.google.monitoring.v3.UptimeChe" - + "ckConfig\".\n\036DeleteUptimeCheckConfigReque" - + "st\022\014\n\004name\030\001 \001(\t\"B\n\031ListUptimeCheckIpsRe" - + "quest\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" - + " \001(\t\"t\n\032ListUptimeCheckIpsResponse\022=\n\020up" - + "time_check_ips\030\001 \003(\0132#.google.monitoring" - + ".v3.UptimeCheckIp\022\027\n\017next_page_token\030\002 \001" - + "(\t2\363\t\n\022UptimeCheckService\022\267\001\n\026ListUptime" - + "CheckConfigs\0223.google.monitoring.v3.List" - + "UptimeCheckConfigsRequest\0324.google.monit" - + "oring.v3.ListUptimeCheckConfigsResponse\"" - + "2\202\323\344\223\002,\022*/v3/{parent=projects/*}/uptimeC" - + "heckConfigs\022\246\001\n\024GetUptimeCheckConfig\0221.g" - + "oogle.monitoring.v3.GetUptimeCheckConfig" - + "Request\032\'.google.monitoring.v3.UptimeChe" - + "ckConfig\"2\202\323\344\223\002,\022*/v3/{name=projects/*/u" - + "ptimeCheckConfigs/*}\022\301\001\n\027CreateUptimeChe" - + "ckConfig\0224.google.monitoring.v3.CreateUp" - + "timeCheckConfigRequest\032\'.google.monitori" - + "ng.v3.UptimeCheckConfig\"G\202\323\344\223\002A\"*/v3/{pa" - + "rent=projects/*}/uptimeCheckConfigs:\023upt" - + "ime_check_config\022\325\001\n\027UpdateUptimeCheckCo" - + "nfig\0224.google.monitoring.v3.UpdateUptime" - + "CheckConfigRequest\032\'.google.monitoring.v" - + "3.UptimeCheckConfig\"[\202\323\344\223\002U2>/v3/{uptime" - + "_check_config.name=projects/*/uptimeChec" - + "kConfigs/*}:\023uptime_check_config\022\233\001\n\027Del" - + "eteUptimeCheckConfig\0224.google.monitoring" - + ".v3.DeleteUptimeCheckConfigRequest\032\026.goo" - + "gle.protobuf.Empty\"2\202\323\344\223\002,**/v3/{name=pr" - + "ojects/*/uptimeCheckConfigs/*}\022\223\001\n\022ListU" - + "ptimeCheckIps\022/.google.monitoring.v3.Lis" - + "tUptimeCheckIpsRequest\0320.google.monitori" - + "ng.v3.ListUptimeCheckIpsResponse\"\032\202\323\344\223\002\024" - + "\022\022/v3/uptimeCheckIps\032\251\001\312A\031monitoring.goo" - + "gleapis.com\322A\211\001https://www.googleapis.co" - + "m/auth/cloud-platform,https://www.google" - + "apis.com/auth/monitoring,https://www.goo" - + "gleapis.com/auth/monitoring.readB\252\001\n\030com" - + ".google.monitoring.v3B\022UptimeServiceProt" - + "oP\001Z>google.golang.org/genproto/googleap" - + "is/monitoring/v3;monitoring\252\002\032Google.Clo" - + "ud.Monitoring.V3\312\002\032Google\\Cloud\\Monitori" - + "ng\\V3b\006proto3" + + "notations.proto\032\027google/api/client.proto" + + "\032\037google/api/field_behavior.proto\032\031googl" + + "e/api/resource.proto\032!google/monitoring/" + + "v3/uptime.proto\032\036google/protobuf/duratio" + + "n.proto\032\033google/protobuf/empty.proto\032 go" + + "ogle/protobuf/field_mask.proto\"\213\001\n\035ListU" + + "ptimeCheckConfigsRequest\022C\n\006parent\030\001 \001(\t" + + "B3\340A\002\372A-\022+monitoring.googleapis.com/Upti" + + "meCheckConfig\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage" + + "_token\030\004 \001(\t\"\224\001\n\036ListUptimeCheckConfigsR" + + "esponse\022E\n\024uptime_check_configs\030\001 \003(\0132\'." + + "google.monitoring.v3.UptimeCheckConfig\022\027" + + "\n\017next_page_token\030\002 \001(\t\022\022\n\ntotal_size\030\003 " + + "\001(\005\"`\n\033GetUptimeCheckConfigRequest\022A\n\004na" + + "me\030\001 \001(\tB3\340A\002\372A-\n+monitoring.googleapis." + + "com/UptimeCheckConfig\"\260\001\n\036CreateUptimeCh" + + "eckConfigRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" + + "\022+monitoring.googleapis.com/UptimeCheckC" + + "onfig\022I\n\023uptime_check_config\030\002 \001(\0132\'.goo" + + "gle.monitoring.v3.UptimeCheckConfigB\003\340A\002" + + "\"\234\001\n\036UpdateUptimeCheckConfigRequest\022/\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "Mask\022I\n\023uptime_check_config\030\003 \001(\0132\'.goog" + + "le.monitoring.v3.UptimeCheckConfigB\003\340A\002\"" + + "c\n\036DeleteUptimeCheckConfigRequest\022A\n\004nam" + + "e\030\001 \001(\tB3\340A\002\372A-\n+monitoring.googleapis.c" + + "om/UptimeCheckConfig\"B\n\031ListUptimeCheckI" + + "psRequest\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"t\n\032ListUptimeCheckIpsResponse\022=" + + "\n\020uptime_check_ips\030\001 \003(\0132#.google.monito" + + "ring.v3.UptimeCheckIp\022\027\n\017next_page_token" + + "\030\002 \001(\t2\275\n\n\022UptimeCheckService\022\300\001\n\026ListUp" + + "timeCheckConfigs\0223.google.monitoring.v3." + + "ListUptimeCheckConfigsRequest\0324.google.m" + + "onitoring.v3.ListUptimeCheckConfigsRespo" + + "nse\";\202\323\344\223\002,\022*/v3/{parent=projects/*}/upt" + + "imeCheckConfigs\332A\006parent\022\255\001\n\024GetUptimeCh" + + "eckConfig\0221.google.monitoring.v3.GetUpti" + + "meCheckConfigRequest\032\'.google.monitoring" + + ".v3.UptimeCheckConfig\"9\202\323\344\223\002,\022*/v3/{name" + + "=projects/*/uptimeCheckConfigs/*}\332A\004name" + + "\022\336\001\n\027CreateUptimeCheckConfig\0224.google.mo" + + "nitoring.v3.CreateUptimeCheckConfigReque" + + "st\032\'.google.monitoring.v3.UptimeCheckCon" + + "fig\"d\202\323\344\223\002A\"*/v3/{parent=projects/*}/upt" + + "imeCheckConfigs:\023uptime_check_config\332A\032p" + + "arent,uptime_check_config\022\353\001\n\027UpdateUpti" + + "meCheckConfig\0224.google.monitoring.v3.Upd" + + "ateUptimeCheckConfigRequest\032\'.google.mon" + + "itoring.v3.UptimeCheckConfig\"q\202\323\344\223\002U2>/v" + + "3/{uptime_check_config.name=projects/*/u" + + "ptimeCheckConfigs/*}:\023uptime_check_confi" + + "g\332A\023uptime_check_config\022\242\001\n\027DeleteUptime" + + "CheckConfig\0224.google.monitoring.v3.Delet" + + "eUptimeCheckConfigRequest\032\026.google.proto" + + "buf.Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/" + + "uptimeCheckConfigs/*}\332A\004name\022\223\001\n\022ListUpt" + + "imeCheckIps\022/.google.monitoring.v3.ListU" + + "ptimeCheckIpsRequest\0320.google.monitoring" + + ".v3.ListUptimeCheckIpsResponse\"\032\202\323\344\223\002\024\022\022" + + "/v3/uptimeCheckIps\032\251\001\312A\031monitoring.googl" + + "eapis.com\322A\211\001https://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/monitoring,https://www.googl" + + "eapis.com/auth/monitoring.readB\252\001\n\030com.g" + + "oogle.monitoring.v3B\022UptimeServiceProtoP" + + "\001Z>google.golang.org/genproto/googleapis" + + "/monitoring/v3;monitoring\252\002\032Google.Cloud" + + ".Monitoring.V3\312\002\032Google\\Cloud\\Monitoring" + + "\\V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.monitoring.v3.UptimeProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -210,16 +221,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.monitoring.v3.UptimeProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java index c6846580..b76b22b5 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java @@ -126,10 +126,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The notification channel to verify.
+   * Required. The notification channel to verify.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -148,10 +150,12 @@ public java.lang.String getName() { * * *
-   * The notification channel to verify.
+   * Required. The notification channel to verify.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -173,7 +177,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The verification code that was delivered to the channel as
+   * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
    * method or that was retrieved from a verified channel via
    * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -182,7 +186,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * make any assumptions regarding the structure or format of the code).
    * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The code. */ @@ -201,7 +205,7 @@ public java.lang.String getCode() { * * *
-   * The verification code that was delivered to the channel as
+   * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
    * method or that was retrieved from a verified channel via
    * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -210,7 +214,7 @@ public java.lang.String getCode() {
    * make any assumptions regarding the structure or format of the code).
    * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for code. */ @@ -566,10 +570,12 @@ public Builder mergeFrom( * * *
-     * The notification channel to verify.
+     * Required. The notification channel to verify.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -588,10 +594,12 @@ public java.lang.String getName() { * * *
-     * The notification channel to verify.
+     * Required. The notification channel to verify.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -610,10 +618,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The notification channel to verify.
+     * Required. The notification channel to verify.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -631,10 +641,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The notification channel to verify.
+     * Required. The notification channel to verify.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -648,10 +660,12 @@ public Builder clearName() { * * *
-     * The notification channel to verify.
+     * Required. The notification channel to verify.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -672,7 +686,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The verification code that was delivered to the channel as
+     * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
      * method or that was retrieved from a verified channel via
      * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -681,7 +695,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * make any assumptions regarding the structure or format of the code).
      * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The code. */ @@ -700,7 +714,7 @@ public java.lang.String getCode() { * * *
-     * The verification code that was delivered to the channel as
+     * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
      * method or that was retrieved from a verified channel via
      * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -709,7 +723,7 @@ public java.lang.String getCode() {
      * make any assumptions regarding the structure or format of the code).
      * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for code. */ @@ -728,7 +742,7 @@ public com.google.protobuf.ByteString getCodeBytes() { * * *
-     * The verification code that was delivered to the channel as
+     * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
      * method or that was retrieved from a verified channel via
      * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -737,7 +751,7 @@ public com.google.protobuf.ByteString getCodeBytes() {
      * make any assumptions regarding the structure or format of the code).
      * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The code to set. * @return This builder for chaining. @@ -755,7 +769,7 @@ public Builder setCode(java.lang.String value) { * * *
-     * The verification code that was delivered to the channel as
+     * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
      * method or that was retrieved from a verified channel via
      * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -764,7 +778,7 @@ public Builder setCode(java.lang.String value) {
      * make any assumptions regarding the structure or format of the code).
      * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -778,7 +792,7 @@ public Builder clearCode() { * * *
-     * The verification code that was delivered to the channel as
+     * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
      * method or that was retrieved from a verified channel via
      * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -787,7 +801,7 @@ public Builder clearCode() {
      * make any assumptions regarding the structure or format of the code).
      * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for code to set. * @return This builder for chaining. diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java index fb5f1502..a5c8ee44 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface VerifyNotificationChannelRequestOrBuilder * * *
-   * The notification channel to verify.
+   * Required. The notification channel to verify.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface VerifyNotificationChannelRequestOrBuilder * * *
-   * The notification channel to verify.
+   * Required. The notification channel to verify.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -52,7 +56,7 @@ public interface VerifyNotificationChannelRequestOrBuilder * * *
-   * The verification code that was delivered to the channel as
+   * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
    * method or that was retrieved from a verified channel via
    * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -61,7 +65,7 @@ public interface VerifyNotificationChannelRequestOrBuilder
    * make any assumptions regarding the structure or format of the code).
    * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The code. */ @@ -70,7 +74,7 @@ public interface VerifyNotificationChannelRequestOrBuilder * * *
-   * The verification code that was delivered to the channel as
+   * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
    * method or that was retrieved from a verified channel via
    * `GetNotificationChannelVerificationCode`. For example, one might have
@@ -79,7 +83,7 @@ public interface VerifyNotificationChannelRequestOrBuilder
    * make any assumptions regarding the structure or format of the code).
    * 
* - * string code = 2; + * string code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for code. */ diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto index fc811a01..d65e00db 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto @@ -17,6 +17,7 @@ syntax = "proto3"; package google.monitoring.v3; +import "google/api/resource.proto"; import "google/monitoring/v3/common.proto"; import "google/monitoring/v3/mutation_record.proto"; import "google/protobuf/duration.proto"; @@ -35,6 +36,14 @@ option php_namespace = "Google\\Cloud\\Monitoring\\V3"; // this state. For an overview of alert policies, see // [Introduction to Alerting](/monitoring/alerts/). message AlertPolicy { + option (google.api.resource) = { + type: "monitoring.googleapis.com/AlertPolicy" + pattern: "projects/{project}/alertPolicies/{alert_policy}" + pattern: "organizations/{organization}/alertPolicies/{alert_policy}" + pattern: "folders/{folder}/alertPolicies/{alert_policy}" + pattern: "*" + }; + // A content string and a MIME type that describes the content string's // format. message Documentation { @@ -54,6 +63,14 @@ message AlertPolicy { // should open an incident. If a condition evaluates to true, it signifies // that something is wrong. message Condition { + option (google.api.resource) = { + type: "monitoring.googleapis.com/AlertPolicyCondition" + pattern: "projects/{project}/alertPolicies/{alert_policy}/conditions/{condition}" + pattern: "organizations/{organization}/alertPolicies/{alert_policy}/conditions/{condition}" + pattern: "folders/{folder}/alertPolicies/{alert_policy}/conditions/{condition}" + pattern: "*" + }; + // Specifies how many time series must fail a predicate to trigger a // condition. If not specified, then a `{count: 1}` trigger is used. message Trigger { @@ -300,10 +317,14 @@ message AlertPolicy { // OR according to the `combiner` field. If the combined conditions evaluate // to true, then an incident is created. A policy can have from one to six // conditions. + // If |condition_time_series_uery_language| is present, it must be the only + // |condition|. repeated Condition conditions = 12; // How to combine the results of multiple conditions to determine if an // incident should be opened. + // If condition_time_series_query_language is present, this must be + // COMBINE_UNSPECIFIED. ConditionCombinerType combiner = 6; // Whether or not the policy is enabled. On write, the default interpretation diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto index de5a30f0..a88c376f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto @@ -18,10 +18,12 @@ syntax = "proto3"; package google.monitoring.v3; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/monitoring/v3/alert.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; @@ -51,6 +53,7 @@ service AlertPolicyService { option (google.api.http) = { get: "/v3/{name=projects/*}/alertPolicies" }; + option (google.api.method_signature) = "name"; } // Gets a single alerting policy. @@ -58,6 +61,7 @@ service AlertPolicyService { option (google.api.http) = { get: "/v3/{name=projects/*/alertPolicies/*}" }; + option (google.api.method_signature) = "name"; } // Creates a new alerting policy. @@ -66,6 +70,7 @@ service AlertPolicyService { post: "/v3/{name=projects/*}/alertPolicies" body: "alert_policy" }; + option (google.api.method_signature) = "name,alert_policy"; } // Deletes an alerting policy. @@ -73,6 +78,7 @@ service AlertPolicyService { option (google.api.http) = { delete: "/v3/{name=projects/*/alertPolicies/*}" }; + option (google.api.method_signature) = "name"; } // Updates an alerting policy. You can either replace the entire policy with @@ -84,12 +90,13 @@ service AlertPolicyService { patch: "/v3/{alert_policy.name=projects/*/alertPolicies/*}" body: "alert_policy" }; + option (google.api.method_signature) = "update_mask,alert_policy"; } } // The protocol for the `CreateAlertPolicy` request. message CreateAlertPolicyRequest { - // The project in which to create the alerting policy. The format is + // Required. The project in which to create the alerting policy. The format is // `projects/[PROJECT_ID]`. // // Note that this field names the parent container in which the alerting @@ -97,25 +104,35 @@ message CreateAlertPolicyRequest { // policy that is returned will have a name that contains a normalized // representation of this name as a prefix but adds a suffix of the form // `/alertPolicies/[POLICY_ID]`, identifying the policy in the container. - string name = 3; - - // The requested alerting policy. You should omit the `name` field in this + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/AlertPolicy" + } + ]; + + // Required. The requested alerting policy. You should omit the `name` field in this // policy. The name will be returned in the new policy, including // a new [ALERT_POLICY_ID] value. - AlertPolicy alert_policy = 2; + AlertPolicy alert_policy = 2 [(google.api.field_behavior) = REQUIRED]; } // The protocol for the `GetAlertPolicy` request. message GetAlertPolicyRequest { - // The alerting policy to retrieve. The format is + // Required. The alerting policy to retrieve. The format is // // projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/AlertPolicy" + } + ]; } // The protocol for the `ListAlertPolicies` request. message ListAlertPoliciesRequest { - // The project whose alert policies are to be listed. The format is + // Required. The project whose alert policies are to be listed. The format is // // projects/[PROJECT_ID] // @@ -124,7 +141,12 @@ message ListAlertPoliciesRequest { // by name, use the // [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy] // operation, instead. - string name = 4; + string name = 4 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/AlertPolicy" + } + ]; // If provided, this field specifies the criteria that must be met by // alert policies to be included in the response. @@ -190,15 +212,20 @@ message UpdateAlertPolicyRequest { // fields listed in `update_mask`. // If `update_mask` is not empty, any fields in this policy that are // not in `update_mask` are ignored. - AlertPolicy alert_policy = 3; + AlertPolicy alert_policy = 3 [(google.api.field_behavior) = REQUIRED]; } // The protocol for the `DeleteAlertPolicy` request. message DeleteAlertPolicyRequest { - // The alerting policy to delete. The format is: + // Required. The alerting policy to delete. The format is: // // projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] // // For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy]. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/AlertPolicy" + } + ]; } diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto index 1e89b0dc..a4093b1c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto @@ -79,329 +79,372 @@ message TimeInterval { google.protobuf.Timestamp start_time = 1; } -// Describes how to combine multiple time series to provide different views of -// the data. Aggregation consists of an alignment step on individual time -// series (`alignment_period` and `per_series_aligner`) followed by an optional -// reduction step of the data across the aligned time series -// (`cross_series_reducer` and `group_by_fields`). For more details, see -// [Aggregation](/monitoring/api/learn_more#aggregation). +// Describes how to combine multiple time series to provide a different view of +// the data. Aggregation of time series is done in two steps. First, each time +// series in the set is _aligned_ to the same time interval boundaries, then the +// set of time series is optionally _reduced_ in number. +// +// Alignment consists of applying the `per_series_aligner` operation +// to each time series after its data has been divided into regular +// `alignment_period` time intervals. This process takes _all_ of the data +// points in an alignment period, applies a mathematical transformation such as +// averaging, minimum, maximum, delta, etc., and converts them into a single +// data point per period. +// +// Reduction is when the aligned and transformed time series can optionally be +// combined, reducing the number of time series through similar mathematical +// transformations. Reduction involves applying a `cross_series_reducer` to +// all the time series, optionally sorting the time series into subsets with +// `group_by_fields`, and applying the reducer to each subset. +// +// The raw time series data can contain a huge amount of information from +// multiple sources. Alignment and reduction transforms this mass of data into +// a more manageable and representative collection of data, for example "the +// 95% latency across the average of all tasks in a cluster". This +// representative data can be more easily graphed and comprehended, and the +// individual time series data is still available for later drilldown. For more +// details, see [Aggregating Time +// Series](/monitoring/api/v3/metrics#aggregating_time_series). message Aggregation { - // The Aligner describes how to bring the data points in a single - // time series into temporal alignment. + // The `Aligner` specifies the operation that will be applied to the data + // points in each alignment period in a time series. Except for + // `ALIGN_NONE`, which specifies that no operation be applied, each alignment + // operation replaces the set of data values in each alignment period with + // a single value: the result of applying the operation to the data values. + // An aligned time series has a single data value at the end of each + // `alignment_period`. + // + // An alignment operation can change the data type of the values, too. For + // example, if you apply a counting operation to boolean values, the data + // `value_type` in the original time series is `BOOLEAN`, but the `value_type` + // in the aligned result is `INT64`. enum Aligner { - // No alignment. Raw data is returned. Not valid if cross-time - // series reduction is requested. The value type of the result is - // the same as the value type of the input. + // No alignment. Raw data is returned. Not valid if cross-series reduction + // is requested. The `value_type` of the result is the same as the + // `value_type` of the input. ALIGN_NONE = 0; - // Align and convert to delta metric type. This alignment is valid - // for cumulative metrics and delta metrics. Aligning an existing - // delta metric to a delta metric requires that the alignment - // period be increased. The value type of the result is the same - // as the value type of the input. + // Align and convert to + // [DELTA][google.api.MetricDescriptor.MetricKind.DELTA]. + // The output is `delta = y1 - y0`. // - // One can think of this aligner as a rate but without time units; that - // is, the output is conceptually (second_point - first_point). + // This alignment is valid for + // [CUMULATIVE][google.api.MetricDescriptor.MetricKind.CUMULATIVE] and + // `DELTA` metrics. If the selected alignment period results in periods + // with no data, then the aligned value for such a period is created by + // interpolation. The `value_type` of the aligned result is the same as + // the `value_type` of the input. ALIGN_DELTA = 1; - // Align and convert to a rate. This alignment is valid for - // cumulative metrics and delta metrics with numeric values. The output is a - // gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Align and convert to a rate. The result is computed as + // `rate = (y1 - y0)/(t1 - t0)`, or "delta over time". + // Think of this aligner as providing the slope of the line that passes + // through the value at the start and at the end of the `alignment_period`. // - // One can think of this aligner as conceptually providing the slope of - // the line that passes through the value at the start and end of the - // window. In other words, this is conceptually ((y1 - y0)/(t1 - t0)), - // and the output unit is one that has a "/time" dimension. + // This aligner is valid for `CUMULATIVE` + // and `DELTA` metrics with numeric values. If the selected alignment + // period results in periods with no data, then the aligned value for + // such a period is created by interpolation. The output is a `GAUGE` + // metric with `value_type` `DOUBLE`. // - // If, by rate, you are looking for percentage change, see the - // `ALIGN_PERCENT_CHANGE` aligner option. + // If, by "rate", you mean "percentage change", see the + // `ALIGN_PERCENT_CHANGE` aligner instead. ALIGN_RATE = 2; - // Align by interpolating between adjacent points around the - // period boundary. This alignment is valid for gauge - // metrics with numeric values. The value type of the result is the same - // as the value type of the input. + // Align by interpolating between adjacent points around the alignment + // period boundary. This aligner is valid for `GAUGE` metrics with + // numeric values. The `value_type` of the aligned result is the same as the + // `value_type` of the input. ALIGN_INTERPOLATE = 3; - // Align by shifting the oldest data point before the period - // boundary to the boundary. This alignment is valid for gauge - // metrics. The value type of the result is the same as the - // value type of the input. + // Align by moving the most recent data point before the end of the + // alignment period to the boundary at the end of the alignment + // period. This aligner is valid for `GAUGE` metrics. The `value_type` of + // the aligned result is the same as the `value_type` of the input. ALIGN_NEXT_OLDER = 4; - // Align time series via aggregation. The resulting data point in - // the alignment period is the minimum of all data points in the - // period. This alignment is valid for gauge and delta metrics with numeric - // values. The value type of the result is the same as the value - // type of the input. + // Align the time series by returning the minimum value in each alignment + // period. This aligner is valid for `GAUGE` and `DELTA` metrics with + // numeric values. The `value_type` of the aligned result is the same as + // the `value_type` of the input. ALIGN_MIN = 10; - // Align time series via aggregation. The resulting data point in - // the alignment period is the maximum of all data points in the - // period. This alignment is valid for gauge and delta metrics with numeric - // values. The value type of the result is the same as the value - // type of the input. + // Align the time series by returning the maximum value in each alignment + // period. This aligner is valid for `GAUGE` and `DELTA` metrics with + // numeric values. The `value_type` of the aligned result is the same as + // the `value_type` of the input. ALIGN_MAX = 11; - // Align time series via aggregation. The resulting data point in - // the alignment period is the average or arithmetic mean of all - // data points in the period. This alignment is valid for gauge and delta - // metrics with numeric values. The value type of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Align the time series by returning the mean value in each alignment + // period. This aligner is valid for `GAUGE` and `DELTA` metrics with + // numeric values. The `value_type` of the aligned result is `DOUBLE`. ALIGN_MEAN = 12; - // Align time series via aggregation. The resulting data point in - // the alignment period is the count of all data points in the - // period. This alignment is valid for gauge and delta metrics with numeric - // or Boolean values. The value type of the output is - // [INT64][google.api.MetricDescriptor.ValueType.INT64]. + // Align the time series by returning the number of values in each alignment + // period. This aligner is valid for `GAUGE` and `DELTA` metrics with + // numeric or Boolean values. The `value_type` of the aligned result is + // `INT64`. ALIGN_COUNT = 13; - // Align time series via aggregation. The resulting data point in - // the alignment period is the sum of all data points in the - // period. This alignment is valid for gauge and delta metrics with numeric - // and distribution values. The value type of the output is the - // same as the value type of the input. + // Align the time series by returning the sum of the values in each + // alignment period. This aligner is valid for `GAUGE` and `DELTA` + // metrics with numeric and distribution values. The `value_type` of the + // aligned result is the same as the `value_type` of the input. ALIGN_SUM = 14; - // Align time series via aggregation. The resulting data point in - // the alignment period is the standard deviation of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with numeric values. The value type of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Align the time series by returning the standard deviation of the values + // in each alignment period. This aligner is valid for `GAUGE` and + // `DELTA` metrics with numeric values. The `value_type` of the output is + // `DOUBLE`. ALIGN_STDDEV = 15; - // Align time series via aggregation. The resulting data point in - // the alignment period is the count of True-valued data points in the - // period. This alignment is valid for gauge metrics with - // Boolean values. The value type of the output is - // [INT64][google.api.MetricDescriptor.ValueType.INT64]. + // Align the time series by returning the number of `True` values in + // each alignment period. This aligner is valid for `GAUGE` metrics with + // Boolean values. The `value_type` of the output is `INT64`. ALIGN_COUNT_TRUE = 16; - // Align time series via aggregation. The resulting data point in - // the alignment period is the count of False-valued data points in the - // period. This alignment is valid for gauge metrics with - // Boolean values. The value type of the output is - // [INT64][google.api.MetricDescriptor.ValueType.INT64]. + // Align the time series by returning the number of `False` values in + // each alignment period. This aligner is valid for `GAUGE` metrics with + // Boolean values. The `value_type` of the output is `INT64`. ALIGN_COUNT_FALSE = 24; - // Align time series via aggregation. The resulting data point in - // the alignment period is the fraction of True-valued data points in the - // period. This alignment is valid for gauge metrics with Boolean values. - // The output value is in the range [0, 1] and has value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Align the time series by returning the ratio of the number of `True` + // values to the total number of values in each alignment period. This + // aligner is valid for `GAUGE` metrics with Boolean values. The output + // value is in the range [0.0, 1.0] and has `value_type` `DOUBLE`. ALIGN_FRACTION_TRUE = 17; - // Align time series via aggregation. The resulting data point in - // the alignment period is the 99th percentile of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with distribution values. The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Align the time series by using [percentile + // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting + // data point in each alignment period is the 99th percentile of all data + // points in the period. This aligner is valid for `GAUGE` and `DELTA` + // metrics with distribution values. The output is a `GAUGE` metric with + // `value_type` `DOUBLE`. ALIGN_PERCENTILE_99 = 18; - // Align time series via aggregation. The resulting data point in - // the alignment period is the 95th percentile of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with distribution values. The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Align the time series by using [percentile + // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting + // data point in each alignment period is the 95th percentile of all data + // points in the period. This aligner is valid for `GAUGE` and `DELTA` + // metrics with distribution values. The output is a `GAUGE` metric with + // `value_type` `DOUBLE`. ALIGN_PERCENTILE_95 = 19; - // Align time series via aggregation. The resulting data point in - // the alignment period is the 50th percentile of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with distribution values. The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Align the time series by using [percentile + // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting + // data point in each alignment period is the 50th percentile of all data + // points in the period. This aligner is valid for `GAUGE` and `DELTA` + // metrics with distribution values. The output is a `GAUGE` metric with + // `value_type` `DOUBLE`. ALIGN_PERCENTILE_50 = 20; - // Align time series via aggregation. The resulting data point in - // the alignment period is the 5th percentile of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with distribution values. The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Align the time series by using [percentile + // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting + // data point in each alignment period is the 5th percentile of all data + // points in the period. This aligner is valid for `GAUGE` and `DELTA` + // metrics with distribution values. The output is a `GAUGE` metric with + // `value_type` `DOUBLE`. ALIGN_PERCENTILE_05 = 21; - // Align and convert to a percentage change. This alignment is valid for - // gauge and delta metrics with numeric values. This alignment conceptually - // computes the equivalent of "((current - previous)/previous)*100" - // where previous value is determined based on the alignmentPeriod. - // In the event that previous is 0 the calculated value is infinity with the - // exception that if both (current - previous) and previous are 0 the - // calculated value is 0. - // A 10 minute moving mean is computed at each point of the time window + // Align and convert to a percentage change. This aligner is valid for + // `GAUGE` and `DELTA` metrics with numeric values. This alignment returns + // `((current - previous)/previous) * 100`, where the value of `previous` is + // determined based on the `alignment_period`. + // + // If the values of `current` and `previous` are both 0, then the returned + // value is 0. If only `previous` is 0, the returned value is infinity. + // + // A 10-minute moving mean is computed at each point of the alignment period // prior to the above calculation to smooth the metric and prevent false - // positives from very short lived spikes. - // Only applicable for data that is >= 0. Any values < 0 are treated as - // no data. While delta metrics are accepted by this alignment special care - // should be taken that the values for the metric will always be positive. - // The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // positives from very short-lived spikes. The moving mean is only + // applicable for data whose values are `>= 0`. Any values `< 0` are + // treated as a missing datapoint, and are ignored. While `DELTA` + // metrics are accepted by this alignment, special care should be taken that + // the values for the metric will always be positive. The output is a + // `GAUGE` metric with `value_type` `DOUBLE`. ALIGN_PERCENT_CHANGE = 23; } - // A Reducer describes how to aggregate data points from multiple - // time series into a single time series. + // A Reducer operation describes how to aggregate data points from multiple + // time series into a single time series, where the value of each data point + // in the resulting series is a function of all the already aligned values in + // the input time series. enum Reducer { - // No cross-time series reduction. The output of the aligner is + // No cross-time series reduction. The output of the `Aligner` is // returned. REDUCE_NONE = 0; - // Reduce by computing the mean across time series for each - // alignment period. This reducer is valid for delta and - // gauge metrics with numeric or distribution values. The value type of the - // output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Reduce by computing the mean value across time series for each + // alignment period. This reducer is valid for + // [DELTA][google.api.MetricDescriptor.MetricKind.DELTA] and + // [GAUGE][google.api.MetricDescriptor.MetricKind.GAUGE] metrics with + // numeric or distribution values. The `value_type` of the output is + // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. REDUCE_MEAN = 1; - // Reduce by computing the minimum across time series for each - // alignment period. This reducer is valid for delta and - // gauge metrics with numeric values. The value type of the output - // is the same as the value type of the input. + // Reduce by computing the minimum value across time series for each + // alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics + // with numeric values. The `value_type` of the output is the same as the + // `value_type` of the input. REDUCE_MIN = 2; - // Reduce by computing the maximum across time series for each - // alignment period. This reducer is valid for delta and - // gauge metrics with numeric values. The value type of the output - // is the same as the value type of the input. + // Reduce by computing the maximum value across time series for each + // alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics + // with numeric values. The `value_type` of the output is the same as the + // `value_type` of the input. REDUCE_MAX = 3; // Reduce by computing the sum across time series for each - // alignment period. This reducer is valid for delta and - // gauge metrics with numeric and distribution values. The value type of - // the output is the same as the value type of the input. + // alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics + // with numeric and distribution values. The `value_type` of the output is + // the same as the `value_type` of the input. REDUCE_SUM = 4; // Reduce by computing the standard deviation across time series - // for each alignment period. This reducer is valid for delta - // and gauge metrics with numeric or distribution values. The value type of - // the output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // for each alignment period. This reducer is valid for `DELTA` and + // `GAUGE` metrics with numeric or distribution values. The `value_type` + // of the output is `DOUBLE`. REDUCE_STDDEV = 5; - // Reduce by computing the count of data points across time series - // for each alignment period. This reducer is valid for delta - // and gauge metrics of numeric, Boolean, distribution, and string value - // type. The value type of the output is - // [INT64][google.api.MetricDescriptor.ValueType.INT64]. + // Reduce by computing the number of data points across time series + // for each alignment period. This reducer is valid for `DELTA` and + // `GAUGE` metrics of numeric, Boolean, distribution, and string + // `value_type`. The `value_type` of the output is `INT64`. REDUCE_COUNT = 6; - // Reduce by computing the count of True-valued data points across time - // series for each alignment period. This reducer is valid for delta - // and gauge metrics of Boolean value type. The value type of - // the output is [INT64][google.api.MetricDescriptor.ValueType.INT64]. + // Reduce by computing the number of `True`-valued data points across time + // series for each alignment period. This reducer is valid for `DELTA` and + // `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output + // is `INT64`. REDUCE_COUNT_TRUE = 7; - // Reduce by computing the count of False-valued data points across time - // series for each alignment period. This reducer is valid for delta - // and gauge metrics of Boolean value type. The value type of - // the output is [INT64][google.api.MetricDescriptor.ValueType.INT64]. + // Reduce by computing the number of `False`-valued data points across time + // series for each alignment period. This reducer is valid for `DELTA` and + // `GAUGE` metrics of Boolean `value_type`. The `value_type` of the output + // is `INT64`. REDUCE_COUNT_FALSE = 15; - // Reduce by computing the fraction of True-valued data points across time - // series for each alignment period. This reducer is valid for delta - // and gauge metrics of Boolean value type. The output value is in the - // range [0, 1] and has value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. + // Reduce by computing the ratio of the number of `True`-valued data points + // to the total number of data points for each alignment period. This + // reducer is valid for `DELTA` and `GAUGE` metrics of Boolean `value_type`. + // The output value is in the range [0.0, 1.0] and has `value_type` + // `DOUBLE`. REDUCE_FRACTION_TRUE = 8; - // Reduce by computing 99th percentile of data points across time series - // for each alignment period. This reducer is valid for gauge and delta - // metrics of numeric and distribution type. The value of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE] + // Reduce by computing the [99th + // percentile](https://en.wikipedia.org/wiki/Percentile) of data points + // across time series for each alignment period. This reducer is valid for + // `GAUGE` and `DELTA` metrics of numeric and distribution type. The value + // of the output is `DOUBLE`. REDUCE_PERCENTILE_99 = 9; - // Reduce by computing 95th percentile of data points across time series - // for each alignment period. This reducer is valid for gauge and delta - // metrics of numeric and distribution type. The value of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE] + // Reduce by computing the [95th + // percentile](https://en.wikipedia.org/wiki/Percentile) of data points + // across time series for each alignment period. This reducer is valid for + // `GAUGE` and `DELTA` metrics of numeric and distribution type. The value + // of the output is `DOUBLE`. REDUCE_PERCENTILE_95 = 10; - // Reduce by computing 50th percentile of data points across time series - // for each alignment period. This reducer is valid for gauge and delta - // metrics of numeric and distribution type. The value of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE] + // Reduce by computing the [50th + // percentile](https://en.wikipedia.org/wiki/Percentile) of data points + // across time series for each alignment period. This reducer is valid for + // `GAUGE` and `DELTA` metrics of numeric and distribution type. The value + // of the output is `DOUBLE`. REDUCE_PERCENTILE_50 = 11; - // Reduce by computing 5th percentile of data points across time series - // for each alignment period. This reducer is valid for gauge and delta - // metrics of numeric and distribution type. The value of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE] + // Reduce by computing the [5th + // percentile](https://en.wikipedia.org/wiki/Percentile) of data points + // across time series for each alignment period. This reducer is valid for + // `GAUGE` and `DELTA` metrics of numeric and distribution type. The value + // of the output is `DOUBLE`. REDUCE_PERCENTILE_05 = 12; } - // The alignment period for per-[time series][google.monitoring.v3.TimeSeries] - // alignment. If present, `alignmentPeriod` must be at least 60 - // seconds. After per-time series alignment, each time series will - // contain data points only on the period boundaries. If - // `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then - // this field is ignored. If `perSeriesAligner` is specified and - // does not equal `ALIGN_NONE`, then this field must be defined; - // otherwise an error is returned. + // The `alignment_period` specifies a time interval, in seconds, that is used + // to divide the data in all the + // [time series][google.monitoring.v3.TimeSeries] into consistent blocks of + // time. This will be done before the per-series aligner can be applied to + // the data. + // + // The value must be at least 60 seconds. If a per-series aligner other than + // `ALIGN_NONE` is specified, this field is required or an error is returned. + // If no per-series aligner is specified, or the aligner `ALIGN_NONE` is + // specified, then this field is ignored. google.protobuf.Duration alignment_period = 1; - // The approach to be used to align individual time series. Not all - // alignment functions may be applied to all time series, depending - // on the metric type and value type of the original time - // series. Alignment may change the metric type or the value type of + // An `Aligner` describes how to bring the data points in a single + // time series into temporal alignment. Except for `ALIGN_NONE`, all + // alignments cause all the data points in an `alignment_period` to be + // mathematically grouped together, resulting in a single data point for + // each `alignment_period` with end timestamp at the end of the period. + // + // Not all alignment operations may be applied to all time series. The valid + // choices depend on the `metric_kind` and `value_type` of the original time + // series. Alignment can change the `metric_kind` or the `value_type` of // the time series. // // Time series data must be aligned in order to perform cross-time - // series reduction. If `crossSeriesReducer` is specified, then - // `perSeriesAligner` must be specified and not equal `ALIGN_NONE` - // and `alignmentPeriod` must be specified; otherwise, an error is + // series reduction. If `cross_series_reducer` is specified, then + // `per_series_aligner` must be specified and not equal to `ALIGN_NONE` + // and `alignment_period` must be specified; otherwise, an error is // returned. Aligner per_series_aligner = 2; - // The approach to be used to combine time series. Not all reducer - // functions may be applied to all time series, depending on the - // metric type and the value type of the original time - // series. Reduction may change the metric type of value type of the - // time series. + // The reduction operation to be used to combine time series into a single + // time series, where the value of each data point in the resulting series is + // a function of all the already aligned values in the input time series. // - // Time series data must be aligned in order to perform cross-time - // series reduction. If `crossSeriesReducer` is specified, then - // `perSeriesAligner` must be specified and not equal `ALIGN_NONE` - // and `alignmentPeriod` must be specified; otherwise, an error is - // returned. + // Not all reducer operations can be applied to all time series. The valid + // choices depend on the `metric_kind` and the `value_type` of the original + // time series. Reduction can yield a time series with a different + // `metric_kind` or `value_type` than the input time series. + // + // Time series data must first be aligned (see `per_series_aligner`) in order + // to perform cross-time series reduction. If `cross_series_reducer` is + // specified, then `per_series_aligner` must be specified, and must not be + // `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an + // error is returned. Reducer cross_series_reducer = 4; - // The set of fields to preserve when `crossSeriesReducer` is - // specified. The `groupByFields` determine how the time series are + // The set of fields to preserve when `cross_series_reducer` is + // specified. The `group_by_fields` determine how the time series are // partitioned into subsets prior to applying the aggregation - // function. Each subset contains time series that have the same + // operation. Each subset contains time series that have the same // value for each of the grouping fields. Each individual time // series is a member of exactly one subset. The - // `crossSeriesReducer` is applied to each subset of time series. + // `cross_series_reducer` is applied to each subset of time series. // It is not possible to reduce across different resource types, so // this field implicitly contains `resource.type`. Fields not - // specified in `groupByFields` are aggregated away. If - // `groupByFields` is not specified and all the time series have + // specified in `group_by_fields` are aggregated away. If + // `group_by_fields` is not specified and all the time series have // the same resource type, then the time series are aggregated into - // a single output time series. If `crossSeriesReducer` is not + // a single output time series. If `cross_series_reducer` is not // defined, this field is ignored. repeated string group_by_fields = 5; } -// Specifies an ordering relationship on two arguments, here called left and -// right. +// Specifies an ordering relationship on two arguments, called `left` and +// `right`. enum ComparisonType { // No ordering relationship is specified. COMPARISON_UNSPECIFIED = 0; - // The left argument is greater than the right argument. + // True if the left argument is greater than the right argument. COMPARISON_GT = 1; - // The left argument is greater than or equal to the right argument. + // True if the left argument is greater than or equal to the right argument. COMPARISON_GE = 2; - // The left argument is less than the right argument. + // True if the left argument is less than the right argument. COMPARISON_LT = 3; - // The left argument is less than or equal to the right argument. + // True if the left argument is less than or equal to the right argument. COMPARISON_LE = 4; - // The left argument is equal to the right argument. + // True if the left argument is equal to the right argument. COMPARISON_EQ = 5; - // The left argument is not equal to the right argument. + // True if the left argument is not equal to the right argument. COMPARISON_NE = 6; } diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto index 716b270e..c6428071 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto @@ -17,6 +17,8 @@ syntax = "proto3"; package google.monitoring.v3; +import "google/api/resource.proto"; + option csharp_namespace = "Google.Cloud.Monitoring.V3"; option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; option java_multiple_files = true; @@ -51,6 +53,14 @@ option php_namespace = "Google\\Cloud\\Monitoring\\V3"; // depending on what resources exist and what filters are associated with the // group and its ancestors. message Group { + option (google.api.resource) = { + type: "monitoring.googleapis.com/Group" + pattern: "projects/{project}/groups/{group}" + pattern: "organizations/{organization}/groups/{group}" + pattern: "folders/{folder}/groups/{group}" + pattern: "*" + }; + // Output only. The name of this group. The format is // `"projects/{project_id_or_number}/groups/{group_id}"`. // When creating a group, this field is ignored and a new name is created diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto index bf91a916..5647dcfb 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto @@ -18,11 +18,13 @@ syntax = "proto3"; package google.monitoring.v3; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/api/monitored_resource.proto"; +import "google/api/resource.proto"; import "google/monitoring/v3/common.proto"; import "google/monitoring/v3/group.proto"; import "google/protobuf/empty.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; @@ -55,6 +57,7 @@ service GroupService { option (google.api.http) = { get: "/v3/{name=projects/*}/groups" }; + option (google.api.method_signature) = "name"; } // Gets a single group. @@ -62,6 +65,7 @@ service GroupService { option (google.api.http) = { get: "/v3/{name=projects/*/groups/*}" }; + option (google.api.method_signature) = "name"; } // Creates a new group. @@ -70,6 +74,7 @@ service GroupService { post: "/v3/{name=projects/*}/groups" body: "group" }; + option (google.api.method_signature) = "name,group"; } // Updates an existing group. @@ -79,6 +84,7 @@ service GroupService { put: "/v3/{group.name=projects/*/groups/*}" body: "group" }; + option (google.api.method_signature) = "group"; } // Deletes an existing group. @@ -86,6 +92,7 @@ service GroupService { option (google.api.http) = { delete: "/v3/{name=projects/*/groups/*}" }; + option (google.api.method_signature) = "name"; } // Lists the monitored resources that are members of a group. @@ -93,14 +100,20 @@ service GroupService { option (google.api.http) = { get: "/v3/{name=projects/*/groups/*}/members" }; + option (google.api.method_signature) = "name"; } } // The `ListGroup` request. message ListGroupsRequest { - // The project whose groups are to be listed. The format is + // Required. The project whose groups are to be listed. The format is // `"projects/{project_id_or_number}"`. - string name = 7; + string name = 7 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/Group" + } + ]; // An optional filter consisting of a single group name. The filters limit // the groups returned based on their parent-child relationship with the @@ -109,20 +122,26 @@ message ListGroupsRequest { // A group name: `"projects/{project_id_or_number}/groups/{group_id}"`. // Returns groups whose `parentName` field contains the group // name. If no groups have this parent, the results are empty. - string children_of_group = 2; + string children_of_group = 2 [(google.api.resource_reference) = { + type: "monitoring.googleapis.com/Group" + }]; // A group name: `"projects/{project_id_or_number}/groups/{group_id}"`. // Returns groups that are ancestors of the specified group. // The groups are returned in order, starting with the immediate parent and // ending with the most distant ancestor. If the specified group has no // immediate parent, the results are empty. - string ancestors_of_group = 3; + string ancestors_of_group = 3 [(google.api.resource_reference) = { + type: "monitoring.googleapis.com/Group" + }]; // A group name: `"projects/{project_id_or_number}/groups/{group_id}"`. // Returns the descendants of the specified group. This is a superset of // the results returned by the `childrenOfGroup` filter, and includes // children-of-children, and so forth. - string descendants_of_group = 4; + string descendants_of_group = 4 [(google.api.resource_reference) = { + type: "monitoring.googleapis.com/Group" + }]; } // A positive number that is the maximum number of results to return. @@ -147,20 +166,30 @@ message ListGroupsResponse { // The `GetGroup` request. message GetGroupRequest { - // The group to retrieve. The format is + // Required. The group to retrieve. The format is // `"projects/{project_id_or_number}/groups/{group_id}"`. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/Group" + } + ]; } // The `CreateGroup` request. message CreateGroupRequest { - // The project in which to create the group. The format is + // Required. The project in which to create the group. The format is // `"projects/{project_id_or_number}"`. - string name = 4; - - // A group definition. It is an error to define the `name` field because + string name = 4 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/Group" + } + ]; + + // Required. A group definition. It is an error to define the `name` field because // the system assigns the name. - Group group = 2; + Group group = 2 [(google.api.field_behavior) = REQUIRED]; // If true, validate this request but do not create the group. bool validate_only = 3; @@ -168,9 +197,9 @@ message CreateGroupRequest { // The `UpdateGroup` request. message UpdateGroupRequest { - // The new definition of the group. All fields of the existing group, + // Required. The new definition of the group. All fields of the existing group, // excepting `name`, are replaced with the corresponding fields of this group. - Group group = 2; + Group group = 2 [(google.api.field_behavior) = REQUIRED]; // If true, validate this request but do not update the existing group. bool validate_only = 3; @@ -179,9 +208,14 @@ message UpdateGroupRequest { // The `DeleteGroup` request. The default behavior is to be able to delete a // single group without any descendants. message DeleteGroupRequest { - // The group to delete. The format is + // Required. The group to delete. The format is // `"projects/{project_id_or_number}/groups/{group_id}"`. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/Group" + } + ]; // If this field is true, then the request means to delete a group with all // its descendants. Otherwise, the request means to delete a group only when @@ -191,9 +225,14 @@ message DeleteGroupRequest { // The `ListGroupMembers` request. message ListGroupMembersRequest { - // The group whose members are listed. The format is + // Required. The group whose members are listed. The format is // `"projects/{project_id_or_number}/groups/{group_id}"`. - string name = 7; + string name = 7 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/Group" + } + ]; // A positive number that is the maximum number of results to return. int32 page_size = 3; diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto index 101dee40..d5d2c334 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto @@ -18,15 +18,17 @@ syntax = "proto3"; package google.monitoring.v3; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/api/metric.proto"; import "google/api/monitored_resource.proto"; +import "google/api/resource.proto"; import "google/monitoring/v3/alert.proto"; import "google/monitoring/v3/common.proto"; import "google/monitoring/v3/metric.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/rpc/status.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; @@ -34,6 +36,22 @@ option java_multiple_files = true; option java_outer_classname = "MetricServiceProto"; option java_package = "com.google.monitoring.v3"; option php_namespace = "Google\\Cloud\\Monitoring\\V3"; +option (google.api.resource_definition) = { + type: "monitoring.googleapis.com/MetricDescriptor" + pattern: "projects/{project}/metricDescriptors/{metric_descriptor=**}" + pattern: "organizations/{organization}/metricDescriptors/{metric_descriptor=**}" + pattern: "folders/{folder}/metricDescriptors/{metric_descriptor=**}" + pattern: "*" + history: ORIGINALLY_SINGLE_PATTERN +}; +option (google.api.resource_definition) = { + type: "monitoring.googleapis.com/MonitoredResourceDescriptor" + pattern: "projects/{project}/monitoredResourceDescriptors/{monitored_resource_descriptor}" + pattern: "organizations/{organization}/monitoredResourceDescriptors/{monitored_resource_descriptor}" + pattern: "folders/{folder}/monitoredResourceDescriptors/{monitored_resource_descriptor}" + pattern: "*" + history: ORIGINALLY_SINGLE_PATTERN +}; // Manages metric descriptors, monitored resource descriptors, and // time series data. @@ -50,13 +68,15 @@ service MetricService { option (google.api.http) = { get: "/v3/{name=projects/*}/monitoredResourceDescriptors" }; + option (google.api.method_signature) = "name"; } // Gets a single monitored resource descriptor. This method does not require a Stackdriver account. rpc GetMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest) returns (google.api.MonitoredResourceDescriptor) { option (google.api.http) = { - get: "/v3/{name=projects/*/monitoredResourceDescriptors/*}" + get: "/v3/{name=projects/*/monitoredResourceDescriptors/**}" }; + option (google.api.method_signature) = "name"; } // Lists metric descriptors that match a filter. This method does not require a Stackdriver account. @@ -64,6 +84,7 @@ service MetricService { option (google.api.http) = { get: "/v3/{name=projects/*}/metricDescriptors" }; + option (google.api.method_signature) = "name"; } // Gets a single metric descriptor. This method does not require a Stackdriver account. @@ -71,6 +92,7 @@ service MetricService { option (google.api.http) = { get: "/v3/{name=projects/*/metricDescriptors/**}" }; + option (google.api.method_signature) = "name"; } // Creates a new metric descriptor. @@ -81,6 +103,7 @@ service MetricService { post: "/v3/{name=projects/*}/metricDescriptors" body: "metric_descriptor" }; + option (google.api.method_signature) = "name,metric_descriptor"; } // Deletes a metric descriptor. Only user-created @@ -89,6 +112,7 @@ service MetricService { option (google.api.http) = { delete: "/v3/{name=projects/*/metricDescriptors/**}" }; + option (google.api.method_signature) = "name"; } // Lists time series that match a filter. This method does not require a Stackdriver account. @@ -96,6 +120,7 @@ service MetricService { option (google.api.http) = { get: "/v3/{name=projects/*}/timeSeries" }; + option (google.api.method_signature) = "name,filter,interval,view"; } // Creates or adds data to one or more time series. @@ -107,14 +132,20 @@ service MetricService { post: "/v3/{name=projects/*}/timeSeries" body: "*" }; + option (google.api.method_signature) = "name,time_series"; } } // The `ListMonitoredResourceDescriptors` request. message ListMonitoredResourceDescriptorsRequest { - // The project on which to execute the request. The format is + // Required. The project on which to execute the request. The format is // `"projects/{project_id_or_number}"`. - string name = 5; + string name = 5 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/MonitoredResourceDescriptor" + } + ]; // An optional [filter](/monitoring/api/v3/filters) describing // the descriptors to be returned. The filter can reference @@ -148,18 +179,28 @@ message ListMonitoredResourceDescriptorsResponse { // The `GetMonitoredResourceDescriptor` request. message GetMonitoredResourceDescriptorRequest { - // The monitored resource descriptor to get. The format is + // Required. The monitored resource descriptor to get. The format is // `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`. // The `{resource_type}` is a predefined type, such as // `cloudsql_database`. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/MonitoredResourceDescriptor" + } + ]; } // The `ListMetricDescriptors` request. message ListMetricDescriptorsRequest { - // The project on which to execute the request. The format is + // Required. The project on which to execute the request. The format is // `"projects/{project_id_or_number}"`. - string name = 5; + string name = 5 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/MetricDescriptor" + } + ]; // If this field is empty, all custom and // system-defined metric descriptors are returned. @@ -194,31 +235,46 @@ message ListMetricDescriptorsResponse { // The `GetMetricDescriptor` request. message GetMetricDescriptorRequest { - // The metric descriptor on which to execute the request. The format is + // Required. The metric descriptor on which to execute the request. The format is // `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. // An example value of `{metric_id}` is // `"compute.googleapis.com/instance/disk/read_bytes_count"`. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/MetricDescriptor" + } + ]; } // The `CreateMetricDescriptor` request. message CreateMetricDescriptorRequest { - // The project on which to execute the request. The format is + // Required. The project on which to execute the request. The format is // `"projects/{project_id_or_number}"`. - string name = 3; - - // The new [custom metric](/monitoring/custom-metrics) + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/MetricDescriptor" + } + ]; + + // Required. The new [custom metric](/monitoring/custom-metrics) // descriptor. - google.api.MetricDescriptor metric_descriptor = 2; + google.api.MetricDescriptor metric_descriptor = 2 [(google.api.field_behavior) = REQUIRED]; } // The `DeleteMetricDescriptor` request. message DeleteMetricDescriptorRequest { - // The metric descriptor on which to execute the request. The format is + // Required. The metric descriptor on which to execute the request. The format is // `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. // An example of `{metric_id}` is: // `"custom.googleapis.com/my_test_metric"`. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/MetricDescriptor" + } + ]; } // The `ListTimeSeries` request. @@ -234,23 +290,28 @@ message ListTimeSeriesRequest { HEADERS = 1; } - // The project on which to execute the request. The format is + // Required. The project on which to execute the request. The format is // "projects/{project_id_or_number}". - string name = 10; - - // A [monitoring filter](/monitoring/api/v3/filters) that specifies which time + string name = 10 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/TimeSeries" + } + ]; + + // Required. A [monitoring filter](/monitoring/api/v3/filters) that specifies which time // series should be returned. The filter must specify a single metric type, // and can additionally specify metric labels and other information. For // example: // // metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND // metric.labels.instance_name = "my-instance-name" - string filter = 2; + string filter = 2 [(google.api.field_behavior) = REQUIRED]; - // The time interval for which results should be returned. Only time series + // Required. The time interval for which results should be returned. Only time series // that contain data points in the specified interval are included // in the response. - TimeInterval interval = 4; + TimeInterval interval = 4 [(google.api.field_behavior) = REQUIRED]; // Specifies the alignment of data points in individual time series as // well as how to combine the retrieved time series across specified labels. @@ -263,8 +324,8 @@ message ListTimeSeriesRequest { // currently returned in reverse time order (most recent to oldest). string order_by = 6; - // Specifies which information is returned about the time series. - TimeSeriesView view = 7; + // Required. Specifies which information is returned about the time series. + TimeSeriesView view = 7 [(google.api.field_behavior) = REQUIRED]; // A positive number that is the maximum number of results to return. If // `page_size` is empty or more than 100,000 results, the effective @@ -296,18 +357,23 @@ message ListTimeSeriesResponse { // The `CreateTimeSeries` request. message CreateTimeSeriesRequest { - // The project on which to execute the request. The format is + // Required. The project on which to execute the request. The format is // `"projects/{project_id_or_number}"`. - string name = 3; - - // The new data to be added to a list of time series. + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/TimeSeries" + } + ]; + + // Required. The new data to be added to a list of time series. // Adds at most one data point to each of several time series. The new data // point must be more recent than any other point in its time series. Each // `TimeSeries` value must fully specify a unique time series by supplying // all label values for the metric and the monitored resource. // // The maximum number of `TimeSeries` objects per `Create` request is 200. - repeated TimeSeries time_series = 2; + repeated TimeSeries time_series = 2 [(google.api.field_behavior) = REQUIRED]; } // DEPRECATED. Used to hold per-time-series error status. diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto index 939ca267..fb3ef462 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto @@ -19,6 +19,7 @@ package google.monitoring.v3; import "google/api/label.proto"; import "google/api/launch_stage.proto"; +import "google/api/resource.proto"; import "google/monitoring/v3/common.proto"; import "google/protobuf/wrappers.proto"; @@ -33,6 +34,14 @@ option php_namespace = "Google\\Cloud\\Monitoring\\V3"; // the properties of the channel and the set of labels or fields that // must be specified to configure channels of a given type. message NotificationChannelDescriptor { + option (google.api.resource) = { + type: "monitoring.googleapis.com/NotificationChannelDescriptor" + pattern: "projects/{project}/notificationChannelDescriptors/{channel_descriptor}" + pattern: "organizations/{organization}/notificationChannelDescriptors/{channel_descriptor}" + pattern: "folders/{folder}/notificationChannelDescriptors/{channel_descriptor}" + pattern: "*" + }; + // The full REST resource name for this descriptor. The syntax is: // // projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE] @@ -61,6 +70,9 @@ message NotificationChannelDescriptor { // The tiers that support this notification channel; the project service tier // must be one of the supported_tiers. repeated ServiceTier supported_tiers = 5 [deprecated = true]; + + // The product launch stage for channels of this type. + google.api.LaunchStage launch_stage = 7; } // A `NotificationChannel` is a medium through which an alert is @@ -69,6 +81,14 @@ message NotificationChannelDescriptor { // containing sensitive information like authentication tokens or // contact info are only partially populated on retrieval. message NotificationChannel { + option (google.api.resource) = { + type: "monitoring.googleapis.com/NotificationChannel" + pattern: "projects/{project}/notificationChannels/{notification_channel}" + pattern: "organizations/{organization}/notificationChannels/{notification_channel}" + pattern: "folders/{folder}/notificationChannels/{notification_channel}" + pattern: "*" + }; + // Indicates whether the channel has been verified or not. It is illegal // to specify this field in a // [`CreateNotificationChannel`][google.monitoring.v3.NotificationChannelService.CreateNotificationChannel] diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto index 263acf83..959cc049 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto @@ -18,12 +18,14 @@ syntax = "proto3"; package google.monitoring.v3; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/monitoring/v3/notification.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; @@ -47,6 +49,7 @@ service NotificationChannelService { option (google.api.http) = { get: "/v3/{name=projects/*}/notificationChannelDescriptors" }; + option (google.api.method_signature) = "name"; } // Gets a single channel descriptor. The descriptor indicates which fields @@ -55,6 +58,7 @@ service NotificationChannelService { option (google.api.http) = { get: "/v3/{name=projects/*/notificationChannelDescriptors/*}" }; + option (google.api.method_signature) = "name"; } // Lists the notification channels that have been created for the project. @@ -62,6 +66,7 @@ service NotificationChannelService { option (google.api.http) = { get: "/v3/{name=projects/*}/notificationChannels" }; + option (google.api.method_signature) = "name"; } // Gets a single notification channel. The channel includes the relevant @@ -73,6 +78,7 @@ service NotificationChannelService { option (google.api.http) = { get: "/v3/{name=projects/*/notificationChannels/*}" }; + option (google.api.method_signature) = "name"; } // Creates a new notification channel, representing a single notification @@ -82,6 +88,7 @@ service NotificationChannelService { post: "/v3/{name=projects/*}/notificationChannels" body: "notification_channel" }; + option (google.api.method_signature) = "name,notification_channel"; } // Updates a notification channel. Fields not specified in the field mask @@ -91,6 +98,7 @@ service NotificationChannelService { patch: "/v3/{notification_channel.name=projects/*/notificationChannels/*}" body: "notification_channel" }; + option (google.api.method_signature) = "update_mask,notification_channel"; } // Deletes a notification channel. @@ -98,6 +106,7 @@ service NotificationChannelService { option (google.api.http) = { delete: "/v3/{name=projects/*/notificationChannels/*}" }; + option (google.api.method_signature) = "name,force"; } // Causes a verification code to be delivered to the channel. The code @@ -107,6 +116,7 @@ service NotificationChannelService { post: "/v3/{name=projects/*/notificationChannels/*}:sendVerificationCode" body: "*" }; + option (google.api.method_signature) = "name"; } // Requests a verification code for an already verified channel that can then @@ -135,6 +145,7 @@ service NotificationChannelService { post: "/v3/{name=projects/*/notificationChannels/*}:getVerificationCode" body: "*" }; + option (google.api.method_signature) = "name"; } // Verifies a `NotificationChannel` by proving receipt of the code @@ -145,12 +156,13 @@ service NotificationChannelService { post: "/v3/{name=projects/*/notificationChannels/*}:verify" body: "*" }; + option (google.api.method_signature) = "name,code"; } } // The `ListNotificationChannelDescriptors` request. message ListNotificationChannelDescriptorsRequest { - // The REST resource name of the parent from which to retrieve + // Required. The REST resource name of the parent from which to retrieve // the notification channel descriptors. The expected syntax is: // // projects/[PROJECT_ID] @@ -159,7 +171,12 @@ message ListNotificationChannelDescriptorsRequest { // descriptors; to retrieve a single descriptor by name, use the // [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] // operation, instead. - string name = 4; + string name = 4 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/NotificationChannelDescriptor" + } + ]; // The maximum number of results to return in a single response. If // not set to a positive number, a reasonable value will be chosen by the @@ -187,14 +204,19 @@ message ListNotificationChannelDescriptorsResponse { // The `GetNotificationChannelDescriptor` response. message GetNotificationChannelDescriptorRequest { - // The channel type for which to execute the request. The format is + // Required. The channel type for which to execute the request. The format is // `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/NotificationChannelDescriptor" + } + ]; } // The `CreateNotificationChannel` request. message CreateNotificationChannelRequest { - // The project on which to execute the request. The format is: + // Required. The project on which to execute the request. The format is: // // projects/[PROJECT_ID] // @@ -202,22 +224,32 @@ message CreateNotificationChannelRequest { // written. This does not name the newly created channel. The resulting // channel's name will have a normalized version of this field as a prefix, // but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel. - string name = 3; - - // The definition of the `NotificationChannel` to create. - NotificationChannel notification_channel = 2; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/NotificationChannel" + } + ]; + + // Required. The definition of the `NotificationChannel` to create. + NotificationChannel notification_channel = 2 [(google.api.field_behavior) = REQUIRED]; } // The `ListNotificationChannels` request. message ListNotificationChannelsRequest { - // The project on which to execute the request. The format is + // Required. The project on which to execute the request. The format is // `projects/[PROJECT_ID]`. That is, this names the container // in which to look for the notification channels; it does not name a // specific channel. To query a specific channel by REST resource name, use // the // [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] // operation. - string name = 5; + string name = 5 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/NotificationChannel" + } + ]; // If provided, this field specifies the criteria that must be met by // notification channels to be included in the response. @@ -259,9 +291,14 @@ message ListNotificationChannelsResponse { // The `GetNotificationChannel` request. message GetNotificationChannelRequest { - // The channel for which to execute the request. The format is + // Required. The channel for which to execute the request. The format is // `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/NotificationChannel" + } + ]; } // The `UpdateNotificationChannel` request. @@ -269,18 +306,23 @@ message UpdateNotificationChannelRequest { // The fields to update. google.protobuf.FieldMask update_mask = 2; - // A description of the changes to be applied to the specified + // Required. A description of the changes to be applied to the specified // notification channel. The description must provide a definition for // fields to be updated; the names of these fields should also be // included in the `update_mask`. - NotificationChannel notification_channel = 3; + NotificationChannel notification_channel = 3 [(google.api.field_behavior) = REQUIRED]; } // The `DeleteNotificationChannel` request. message DeleteNotificationChannelRequest { - // The channel for which to execute the request. The format is + // Required. The channel for which to execute the request. The format is // `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`. - string name = 3; + string name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/NotificationChannel" + } + ]; // If true, the notification channel will be deleted regardless of its // use in alert policies (the policies will be updated to remove the @@ -291,16 +333,26 @@ message DeleteNotificationChannelRequest { // The `SendNotificationChannelVerificationCode` request. message SendNotificationChannelVerificationCodeRequest { - // The notification channel to which to send a verification code. - string name = 1; + // Required. The notification channel to which to send a verification code. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/NotificationChannel" + } + ]; } // The `GetNotificationChannelVerificationCode` request. message GetNotificationChannelVerificationCodeRequest { - // The notification channel for which a verification code is to be generated + // Required. The notification channel for which a verification code is to be generated // and retrieved. This must name a channel that is already verified; if // the specified channel is not verified, the request will fail. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/NotificationChannel" + } + ]; // The desired expiration time. If specified, the API will guarantee that // the returned code will not be valid after the specified timestamp; @@ -330,15 +382,20 @@ message GetNotificationChannelVerificationCodeResponse { // The `VerifyNotificationChannel` request. message VerifyNotificationChannelRequest { - // The notification channel to verify. - string name = 1; - - // The verification code that was delivered to the channel as + // Required. The notification channel to verify. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/NotificationChannel" + } + ]; + + // Required. The verification code that was delivered to the channel as // a result of invoking the `SendNotificationChannelVerificationCode` API // method or that was retrieved from a verified channel via // `GetNotificationChannelVerificationCode`. For example, one might have // "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only // guaranteed that the code is valid UTF-8; one should not // make any assumptions regarding the structure or format of the code). - string code = 2; + string code = 2 [(google.api.field_behavior) = REQUIRED]; } diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto index b0daa551..82a953bd 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto @@ -18,6 +18,7 @@ syntax = "proto3"; package google.monitoring.v3; import "google/api/monitored_resource.proto"; +import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/type/calendar_period.proto"; @@ -35,6 +36,14 @@ option php_namespace = "Google\\Cloud\\Monitoring\\V3"; // Stackdriver Monitoring, a `Service` acts as the root resource under which // operational aspects of the service are accessible. message Service { + option (google.api.resource) = { + type: "monitoring.googleapis.com/Service" + pattern: "projects/{project}/services/{service}" + pattern: "organizations/{organization}/services/{service}" + pattern: "folders/{folder}/services/{service}" + pattern: "*" + }; + // Custom view of service telemetry. Currently a place-holder pending final // design. message Custom { @@ -118,6 +127,15 @@ message Service { // "99% of requests in each rolling week have latency below 200 milliseconds" or // "99.5% of requests in each calendar month return successfully." message ServiceLevelObjective { + option (google.api.resource) = { + type: "monitoring.googleapis.com/ServiceLevelObjective" + pattern: "projects/{project}/services/{service}/serviceLevelObjectives/{service_level_objective}" + pattern: "organizations/{organization}/services/{service}/serviceLevelObjectives/{service_level_objective}" + pattern: "folders/{folder}/services/{service}/serviceLevelObjectives/{service_level_objective}" + pattern: "*" + history: ORIGINALLY_SINGLE_PATTERN + }; + // `ServiceLevelObjective.View` determines what form of // `ServiceLevelObjective` is returned from `GetServiceLevelObjective`, // `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs. diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto index e0a35833..5b9c096a 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto @@ -18,11 +18,13 @@ syntax = "proto3"; package google.monitoring.v3; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/api/monitored_resource.proto"; +import "google/api/resource.proto"; import "google/monitoring/v3/service.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; @@ -48,6 +50,7 @@ service ServiceMonitoringService { post: "/v3/{parent=*/*}/services" body: "service" }; + option (google.api.method_signature) = "parent,service"; } // Get the named `Service`. @@ -55,6 +58,7 @@ service ServiceMonitoringService { option (google.api.http) = { get: "/v3/{name=*/*/services/*}" }; + option (google.api.method_signature) = "name"; } // List `Service`s for this workspace. @@ -62,6 +66,7 @@ service ServiceMonitoringService { option (google.api.http) = { get: "/v3/{parent=*/*}/services" }; + option (google.api.method_signature) = "parent"; } // Update this `Service`. @@ -70,6 +75,7 @@ service ServiceMonitoringService { patch: "/v3/{service.name=*/*/services/*}" body: "service" }; + option (google.api.method_signature) = "service"; } // Soft delete this `Service`. @@ -77,6 +83,7 @@ service ServiceMonitoringService { option (google.api.http) = { delete: "/v3/{name=*/*/services/*}" }; + option (google.api.method_signature) = "name"; } // Create a `ServiceLevelObjective` for the given `Service`. @@ -85,6 +92,7 @@ service ServiceMonitoringService { post: "/v3/{parent=*/*/services/*}/serviceLevelObjectives" body: "service_level_objective" }; + option (google.api.method_signature) = "parent,service_level_objective"; } // Get a `ServiceLevelObjective` by name. @@ -92,6 +100,7 @@ service ServiceMonitoringService { option (google.api.http) = { get: "/v3/{name=*/*/services/*/serviceLevelObjectives/*}" }; + option (google.api.method_signature) = "name"; } // List the `ServiceLevelObjective`s for the given `Service`. @@ -99,6 +108,7 @@ service ServiceMonitoringService { option (google.api.http) = { get: "/v3/{parent=*/*/services/*}/serviceLevelObjectives" }; + option (google.api.method_signature) = "parent"; } // Update the given `ServiceLevelObjective`. @@ -107,6 +117,7 @@ service ServiceMonitoringService { patch: "/v3/{service_level_objective.name=*/*/services/*/serviceLevelObjectives/*}" body: "service_level_objective" }; + option (google.api.method_signature) = "service_level_objective"; } // Delete the given `ServiceLevelObjective`. @@ -114,35 +125,51 @@ service ServiceMonitoringService { option (google.api.http) = { delete: "/v3/{name=*/*/services/*/serviceLevelObjectives/*}" }; + option (google.api.method_signature) = "name"; } } // The `CreateService` request. message CreateServiceRequest { - // Resource name of the parent workspace. + // Required. Resource name of the parent workspace. // Of the form `projects/{project_id}`. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/Service" + } + ]; // Optional. The Service id to use for this Service. If omitted, an id will be // generated instead. Must match the pattern [a-z0-9\-]+ string service_id = 3; - // The `Service` to create. - Service service = 2; + // Required. The `Service` to create. + Service service = 2 [(google.api.field_behavior) = REQUIRED]; } // The `GetService` request. message GetServiceRequest { - // Resource name of the `Service`. + // Required. Resource name of the `Service`. // Of the form `projects/{project_id}/services/{service_id}`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/Service" + } + ]; } // The `ListServices` request. message ListServicesRequest { - // Resource name of the parent `Workspace`. + // Required. Resource name of the parent `Workspace`. // Of the form `projects/{project_id}`. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/Service" + } + ]; // A filter specifying what `Service`s to return. The filter currently // supports the following fields: @@ -184,9 +211,9 @@ message ListServicesResponse { // The `UpdateService` request. message UpdateServiceRequest { - // The `Service` to draw updates from. + // Required. The `Service` to draw updates from. // The given `name` specifies the resource to update. - Service service = 1; + Service service = 1 [(google.api.field_behavior) = REQUIRED]; // A set of field paths defining which fields to use for the update. google.protobuf.FieldMask update_mask = 2; @@ -194,34 +221,49 @@ message UpdateServiceRequest { // The `DeleteService` request. message DeleteServiceRequest { - // Resource name of the `Service` to delete. - // Of the form `projects/{project_id}/service/{service_id}`. - string name = 1; + // Required. Resource name of the `Service` to delete. + // Of the form `projects/{project_id}/services/{service_id}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/Service" + } + ]; } // The `CreateServiceLevelObjective` request. message CreateServiceLevelObjectiveRequest { - // Resource name of the parent `Service`. + // Required. Resource name of the parent `Service`. // Of the form `projects/{project_id}/services/{service_id}`. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/Service" + } + ]; // Optional. The ServiceLevelObjective id to use for this // ServiceLevelObjective. If omitted, an id will be generated instead. Must // match the pattern [a-z0-9\-]+ string service_level_objective_id = 3; - // The `ServiceLevelObjective` to create. + // Required. The `ServiceLevelObjective` to create. // The provided `name` will be respected if no `ServiceLevelObjective` exists // with this name. - ServiceLevelObjective service_level_objective = 2; + ServiceLevelObjective service_level_objective = 2 [(google.api.field_behavior) = REQUIRED]; } // The `GetServiceLevelObjective` request. message GetServiceLevelObjectiveRequest { - // Resource name of the `ServiceLevelObjective` to get. + // Required. Resource name of the `ServiceLevelObjective` to get. // Of the form // `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/ServiceLevelObjective" + } + ]; // View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the // `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the @@ -232,9 +274,14 @@ message GetServiceLevelObjectiveRequest { // The `ListServiceLevelObjectives` request. message ListServiceLevelObjectivesRequest { - // Resource name of the parent `Service`. + // Required. Resource name of the parent `Service`. // Of the form `projects/{project_id}/services/{service_id}`. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/Service" + } + ]; // A filter specifying what `ServiceLevelObjective`s to return. string filter = 2; @@ -268,9 +315,9 @@ message ListServiceLevelObjectivesResponse { // The `UpdateServiceLevelObjective` request. message UpdateServiceLevelObjectiveRequest { - // The `ServiceLevelObjective` to draw updates from. + // Required. The `ServiceLevelObjective` to draw updates from. // The given `name` specifies the resource to update. - ServiceLevelObjective service_level_objective = 1; + ServiceLevelObjective service_level_objective = 1 [(google.api.field_behavior) = REQUIRED]; // A set of field paths defining which fields to use for the update. google.protobuf.FieldMask update_mask = 2; @@ -278,8 +325,13 @@ message UpdateServiceLevelObjectiveRequest { // The `DeleteServiceLevelObjective` request. message DeleteServiceLevelObjectiveRequest { - // Resource name of the `ServiceLevelObjective` to delete. + // Required. Resource name of the `ServiceLevelObjective` to delete. // Of the form // `projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/ServiceLevelObjective" + } + ]; } diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto index 780a2578..7cb4947d 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto @@ -18,6 +18,7 @@ syntax = "proto3"; package google.monitoring.v3; import "google/api/monitored_resource.proto"; +import "google/api/resource.proto"; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; @@ -27,6 +28,27 @@ option java_outer_classname = "UptimeProto"; option java_package = "com.google.monitoring.v3"; option php_namespace = "Google\\Cloud\\Monitoring\\V3"; +// The regions from which an Uptime check can be run. +enum UptimeCheckRegion { + // Default value if no region is specified. Will result in Uptime checks + // running from all regions. + REGION_UNSPECIFIED = 0; + + // Allows checks to run from locations within the United States of America. + USA = 1; + + // Allows checks to run from locations within the continent of Europe. + EUROPE = 2; + + // Allows checks to run from locations within the continent of South + // America. + SOUTH_AMERICA = 3; + + // Allows checks to run from locations within the Asia Pacific area (ex: + // Singapore). + ASIA_PACIFIC = 4; +} + // An internal checker allows Uptime checks to run on private/internal GCP // resources. message InternalChecker { @@ -86,6 +108,14 @@ message InternalChecker { // This message configures which resources and services to monitor for // availability. message UptimeCheckConfig { + option (google.api.resource) = { + type: "monitoring.googleapis.com/UptimeCheckConfig" + pattern: "projects/{project}/uptimeCheckConfigs/{uptime_check_config}" + pattern: "organizations/{organization}/uptimeCheckConfigs/{uptime_check_config}" + pattern: "folders/{folder}/uptimeCheckConfigs/{uptime_check_config}" + pattern: "*" + }; + // The resource submessage for group checks. It can be used instead of a // monitored resource, when multiple resources are being monitored. message ResourceGroup { @@ -283,25 +313,21 @@ message UptimeCheckConfig { repeated InternalChecker internal_checkers = 14 [deprecated = true]; } -// The regions from which an Uptime check can be run. -enum UptimeCheckRegion { - // Default value if no region is specified. Will result in Uptime checks - // running from all regions. - REGION_UNSPECIFIED = 0; - - // Allows checks to run from locations within the United States of America. - USA = 1; - - // Allows checks to run from locations within the continent of Europe. - EUROPE = 2; +// The supported resource types that can be used as values of +// `group_resource.resource_type`. +// `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types. +// The resource types `gae_app` and `uptime_url` are not valid here because +// group checks on App Engine modules and URLs are not allowed. +enum GroupResourceType { + // Default value (not valid). + RESOURCE_TYPE_UNSPECIFIED = 0; - // Allows checks to run from locations within the continent of South - // America. - SOUTH_AMERICA = 3; + // A group of instances from Google Cloud Platform (GCP) or + // Amazon Web Services (AWS). + INSTANCE = 1; - // Allows checks to run from locations within the Asia Pacific area (ex: - // Singapore). - ASIA_PACIFIC = 4; + // A group of Amazon ELB load balancers. + AWS_ELB_LOAD_BALANCER = 2; } // Contains the region, location, and list of IP @@ -322,20 +348,3 @@ message UptimeCheckIp { // interpreting this field in either IPv4 or IPv6 format. string ip_address = 3; } - -// The supported resource types that can be used as values of -// `group_resource.resource_type`. -// `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types. -// The resource types `gae_app` and `uptime_url` are not valid here because -// group checks on App Engine modules and URLs are not allowed. -enum GroupResourceType { - // Default value (not valid). - RESOURCE_TYPE_UNSPECIFIED = 0; - - // A group of instances from Google Cloud Platform (GCP) or - // Amazon Web Services (AWS). - INSTANCE = 1; - - // A group of Amazon ELB load balancers. - AWS_ELB_LOAD_BALANCER = 2; -} diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto index 203db186..9c7bf796 100644 --- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto +++ b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto @@ -18,11 +18,13 @@ syntax = "proto3"; package google.monitoring.v3; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/monitoring/v3/uptime.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; @@ -52,6 +54,7 @@ service UptimeCheckService { option (google.api.http) = { get: "/v3/{parent=projects/*}/uptimeCheckConfigs" }; + option (google.api.method_signature) = "parent"; } // Gets a single Uptime check configuration. @@ -59,6 +62,7 @@ service UptimeCheckService { option (google.api.http) = { get: "/v3/{name=projects/*/uptimeCheckConfigs/*}" }; + option (google.api.method_signature) = "name"; } // Creates a new Uptime check configuration. @@ -67,6 +71,7 @@ service UptimeCheckService { post: "/v3/{parent=projects/*}/uptimeCheckConfigs" body: "uptime_check_config" }; + option (google.api.method_signature) = "parent,uptime_check_config"; } // Updates an Uptime check configuration. You can either replace the entire @@ -78,6 +83,7 @@ service UptimeCheckService { patch: "/v3/{uptime_check_config.name=projects/*/uptimeCheckConfigs/*}" body: "uptime_check_config" }; + option (google.api.method_signature) = "uptime_check_config"; } // Deletes an Uptime check configuration. Note that this method will fail @@ -87,6 +93,7 @@ service UptimeCheckService { option (google.api.http) = { delete: "/v3/{name=projects/*/uptimeCheckConfigs/*}" }; + option (google.api.method_signature) = "name"; } // Returns the list of IP addresses that checkers run from @@ -99,9 +106,14 @@ service UptimeCheckService { // The protocol for the `ListUptimeCheckConfigs` request. message ListUptimeCheckConfigsRequest { - // The project whose Uptime check configurations are listed. The format + // Required. The project whose Uptime check configurations are listed. The format // is `projects/[PROJECT_ID]`. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/UptimeCheckConfig" + } + ]; // The maximum number of results to return in a single response. The server // may further constrain the maximum number of results returned in a single @@ -134,19 +146,29 @@ message ListUptimeCheckConfigsResponse { // The protocol for the `GetUptimeCheckConfig` request. message GetUptimeCheckConfigRequest { - // The Uptime check configuration to retrieve. The format + // Required. The Uptime check configuration to retrieve. The format // is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/UptimeCheckConfig" + } + ]; } // The protocol for the `CreateUptimeCheckConfig` request. message CreateUptimeCheckConfigRequest { - // The project in which to create the Uptime check. The format + // Required. The project in which to create the Uptime check. The format // is `projects/[PROJECT_ID]`. - string parent = 1; - - // The new Uptime check configuration. - UptimeCheckConfig uptime_check_config = 2; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "monitoring.googleapis.com/UptimeCheckConfig" + } + ]; + + // Required. The new Uptime check configuration. + UptimeCheckConfig uptime_check_config = 2 [(google.api.field_behavior) = REQUIRED]; } // The protocol for the `UpdateUptimeCheckConfig` request. @@ -168,14 +190,19 @@ message UpdateUptimeCheckConfigRequest { // The following fields can be updated: `display_name`, // `http_check`, `tcp_check`, `timeout`, `content_matchers`, and // `selected_regions`. - UptimeCheckConfig uptime_check_config = 3; + UptimeCheckConfig uptime_check_config = 3 [(google.api.field_behavior) = REQUIRED]; } // The protocol for the `DeleteUptimeCheckConfig` request. message DeleteUptimeCheckConfigRequest { - // The Uptime check configuration to delete. The format + // Required. The Uptime check configuration to delete. The format // is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "monitoring.googleapis.com/UptimeCheckConfig" + } + ]; } // The protocol for the `ListUptimeCheckIps` request.