From e489cf514e573b40a45f9b2423700967db868567 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 1 Mar 2021 09:30:26 -0800 Subject: [PATCH] feat(generator): update protoc to v3.15.3 (#447) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/03645e34-b7a2-470a-9ea5-23f9d034150c/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../com/google/monitoring/v3/AlertPolicy.java | 88 +++++++++++++ .../com/google/monitoring/v3/LabelValue.java | 87 +++++++++++++ .../monitoring/v3/LabelValueOrBuilder.java | 36 ++++++ .../monitoring/v3/ListGroupsRequest.java | 111 ++++++++++++++++ .../v3/ListGroupsRequestOrBuilder.java | 48 +++++++ .../monitoring/v3/ServiceLevelObjective.java | 33 +++++ .../v3/ServiceLevelObjectiveOrBuilder.java | 14 ++ .../com/google/monitoring/v3/TypedValue.java | 120 ++++++++++++++++++ .../monitoring/v3/TypedValueOrBuilder.java | 50 ++++++++ .../google/monitoring/v3/WindowsBasedSli.java | 33 +++++ .../v3/WindowsBasedSliOrBuilder.java | 14 ++ synth.metadata | 6 +- 12 files changed, 637 insertions(+), 3 deletions(-) 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 eb5c0037..98a23c86 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 @@ -1689,6 +1689,19 @@ public interface TriggerOrBuilder // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.Trigger) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+       * The absolute number of time series that must fail
+       * the predicate for the condition to be triggered.
+       * 
+ * + * int32 count = 1; + * + * @return Whether the count field is set. + */ + boolean hasCount(); /** * * @@ -1703,6 +1716,19 @@ public interface TriggerOrBuilder */ int getCount(); + /** + * + * + *
+       * The percentage of time series that must fail the
+       * predicate for the condition to be triggered.
+       * 
+ * + * double percent = 2; + * + * @return Whether the percent field is set. + */ + boolean hasPercent(); /** * * @@ -1865,6 +1891,22 @@ public TypeCase getTypeCase() { } public static final int COUNT_FIELD_NUMBER = 1; + /** + * + * + *
+       * The absolute number of time series that must fail
+       * the predicate for the condition to be triggered.
+       * 
+ * + * int32 count = 1; + * + * @return Whether the count field is set. + */ + @java.lang.Override + public boolean hasCount() { + return typeCase_ == 1; + } /** * * @@ -1886,6 +1928,22 @@ public int getCount() { } public static final int PERCENT_FIELD_NUMBER = 2; + /** + * + * + *
+       * The percentage of time series that must fail the
+       * predicate for the condition to be triggered.
+       * 
+ * + * double percent = 2; + * + * @return Whether the percent field is set. + */ + @java.lang.Override + public boolean hasPercent() { + return typeCase_ == 2; + } /** * * @@ -2296,6 +2354,21 @@ public Builder clearType() { return this; } + /** + * + * + *
+         * The absolute number of time series that must fail
+         * the predicate for the condition to be triggered.
+         * 
+ * + * int32 count = 1; + * + * @return Whether the count field is set. + */ + public boolean hasCount() { + return typeCase_ == 1; + } /** * * @@ -2354,6 +2427,21 @@ public Builder clearCount() { return this; } + /** + * + * + *
+         * The percentage of time series that must fail the
+         * predicate for the condition to be triggered.
+         * 
+ * + * double percent = 2; + * + * @return Whether the percent field is set. + */ + public boolean hasPercent() { + return typeCase_ == 2; + } /** * * diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java index 57c7b637..384b09fb 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java @@ -172,6 +172,21 @@ public ValueCase getValueCase() { } public static final int BOOL_VALUE_FIELD_NUMBER = 1; + /** + * + * + *
+   * A bool label value.
+   * 
+ * + * bool bool_value = 1; + * + * @return Whether the boolValue field is set. + */ + @java.lang.Override + public boolean hasBoolValue() { + return valueCase_ == 1; + } /** * * @@ -192,6 +207,21 @@ public boolean getBoolValue() { } public static final int INT64_VALUE_FIELD_NUMBER = 2; + /** + * + * + *
+   * An int64 label value.
+   * 
+ * + * int64 int64_value = 2; + * + * @return Whether the int64Value field is set. + */ + @java.lang.Override + public boolean hasInt64Value() { + return valueCase_ == 2; + } /** * * @@ -212,6 +242,20 @@ public long getInt64Value() { } public static final int STRING_VALUE_FIELD_NUMBER = 3; + /** + * + * + *
+   * A string label value.
+   * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + public boolean hasStringValue() { + return valueCase_ == 3; + } /** * * @@ -665,6 +709,20 @@ public Builder clearValue() { return this; } + /** + * + * + *
+     * A bool label value.
+     * 
+ * + * bool bool_value = 1; + * + * @return Whether the boolValue field is set. + */ + public boolean hasBoolValue() { + return valueCase_ == 1; + } /** * * @@ -720,6 +778,20 @@ public Builder clearBoolValue() { return this; } + /** + * + * + *
+     * An int64 label value.
+     * 
+ * + * int64 int64_value = 2; + * + * @return Whether the int64Value field is set. + */ + public boolean hasInt64Value() { + return valueCase_ == 2; + } /** * * @@ -775,6 +847,21 @@ public Builder clearInt64Value() { return this; } + /** + * + * + *
+     * A string label value.
+     * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + @java.lang.Override + public boolean hasStringValue() { + return valueCase_ == 3; + } /** * * diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java index 3ac6a5f9..128520de 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java @@ -23,6 +23,18 @@ public interface LabelValueOrBuilder // @@protoc_insertion_point(interface_extends:google.monitoring.v3.LabelValue) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * A bool label value.
+   * 
+ * + * bool bool_value = 1; + * + * @return Whether the boolValue field is set. + */ + boolean hasBoolValue(); /** * * @@ -36,6 +48,18 @@ public interface LabelValueOrBuilder */ boolean getBoolValue(); + /** + * + * + *
+   * An int64 label value.
+   * 
+ * + * int64 int64_value = 2; + * + * @return Whether the int64Value field is set. + */ + boolean hasInt64Value(); /** * * @@ -49,6 +73,18 @@ public interface LabelValueOrBuilder */ long getInt64Value(); + /** + * + * + *
+   * A string label value.
+   * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + boolean hasStringValue(); /** * * 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 e49b864a..4f64e7ff 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 @@ -251,6 +251,23 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CHILDREN_OF_GROUP_FIELD_NUMBER = 2; + /** + * + * + *
+   * A group name. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
+   * Returns groups whose `parent_name` field contains the group
+   * name.  If no groups have this parent, the results are empty.
+   * 
+ * + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * + * @return Whether the childrenOfGroup field is set. + */ + public boolean hasChildrenOfGroup() { + return filterCase_ == 2; + } /** * * @@ -313,6 +330,25 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() { } public static final int ANCESTORS_OF_GROUP_FIELD_NUMBER = 3; + /** + * + * + *
+   * A group name. The format is:
+   *     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 [(.google.api.resource_reference) = { ... } + * + * @return Whether the ancestorsOfGroup field is set. + */ + public boolean hasAncestorsOfGroup() { + return filterCase_ == 3; + } /** * * @@ -379,6 +415,24 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { } public static final int DESCENDANTS_OF_GROUP_FIELD_NUMBER = 4; + /** + * + * + *
+   * A group name. The format is:
+   *     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 `children_of_group` filter, and includes
+   * children-of-children, and so forth.
+   * 
+ * + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * + * @return Whether the descendantsOfGroup field is set. + */ + public boolean hasDescendantsOfGroup() { + return filterCase_ == 4; + } /** * * @@ -1082,6 +1136,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * A group name. The format is:
+     *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
+     * Returns groups whose `parent_name` field contains the group
+     * name.  If no groups have this parent, the results are empty.
+     * 
+ * + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * + * @return Whether the childrenOfGroup field is set. + */ + @java.lang.Override + public boolean hasChildrenOfGroup() { + return filterCase_ == 2; + } /** * * @@ -1216,6 +1288,26 @@ public Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * A group name. The format is:
+     *     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 [(.google.api.resource_reference) = { ... } + * + * @return Whether the ancestorsOfGroup field is set. + */ + @java.lang.Override + public boolean hasAncestorsOfGroup() { + return filterCase_ == 3; + } /** * * @@ -1360,6 +1452,25 @@ public Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * A group name. The format is:
+     *     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 `children_of_group` filter, and includes
+     * children-of-children, and so forth.
+     * 
+ * + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * + * @return Whether the descendantsOfGroup field is set. + */ + @java.lang.Override + public boolean hasDescendantsOfGroup() { + return filterCase_ == 4; + } /** * * 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 89420019..b322a92f 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 @@ -54,6 +54,21 @@ public interface ListGroupsRequestOrBuilder */ com.google.protobuf.ByteString getNameBytes(); + /** + * + * + *
+   * A group name. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
+   * Returns groups whose `parent_name` field contains the group
+   * name.  If no groups have this parent, the results are empty.
+   * 
+ * + * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * + * @return Whether the childrenOfGroup field is set. + */ + boolean hasChildrenOfGroup(); /** * * @@ -85,6 +100,23 @@ public interface ListGroupsRequestOrBuilder */ com.google.protobuf.ByteString getChildrenOfGroupBytes(); + /** + * + * + *
+   * A group name. The format is:
+   *     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 [(.google.api.resource_reference) = { ... } + * + * @return Whether the ancestorsOfGroup field is set. + */ + boolean hasAncestorsOfGroup(); /** * * @@ -120,6 +152,22 @@ public interface ListGroupsRequestOrBuilder */ com.google.protobuf.ByteString getAncestorsOfGroupBytes(); + /** + * + * + *
+   * A group name. The format is:
+   *     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 `children_of_group` filter, and includes
+   * children-of-children, and so forth.
+   * 
+ * + * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * + * @return Whether the descendantsOfGroup field is set. + */ + boolean hasDescendantsOfGroup(); /** * * diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java index b15583eb..e86cfa67 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java @@ -611,6 +611,22 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() { } public static final int CALENDAR_PERIOD_FIELD_NUMBER = 6; + /** + * + * + *
+   * A calendar period, semantically "since the start of the current
+   * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
+   * `MONTH` are supported.
+   * 
+ * + * .google.type.CalendarPeriod calendar_period = 6; + * + * @return Whether the calendarPeriod field is set. + */ + public boolean hasCalendarPeriod() { + return periodCase_ == 6; + } /** * * @@ -1810,6 +1826,23 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() { return rollingPeriodBuilder_; } + /** + * + * + *
+     * A calendar period, semantically "since the start of the current
+     * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
+     * `MONTH` are supported.
+     * 
+ * + * .google.type.CalendarPeriod calendar_period = 6; + * + * @return Whether the calendarPeriod field is set. + */ + @java.lang.Override + public boolean hasCalendarPeriod() { + return periodCase_ == 6; + } /** * * diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java index 43137e0d..4a4c45a1 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java @@ -168,6 +168,20 @@ public interface ServiceLevelObjectiveOrBuilder */ com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder(); + /** + * + * + *
+   * A calendar period, semantically "since the start of the current
+   * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
+   * `MONTH` are supported.
+   * 
+ * + * .google.type.CalendarPeriod calendar_period = 6; + * + * @return Whether the calendarPeriod field is set. + */ + boolean hasCalendarPeriod(); /** * * diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java index c183f0d5..052e07c2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java @@ -198,6 +198,21 @@ public ValueCase getValueCase() { } public static final int BOOL_VALUE_FIELD_NUMBER = 1; + /** + * + * + *
+   * A Boolean value: `true` or `false`.
+   * 
+ * + * bool bool_value = 1; + * + * @return Whether the boolValue field is set. + */ + @java.lang.Override + public boolean hasBoolValue() { + return valueCase_ == 1; + } /** * * @@ -218,6 +233,21 @@ public boolean getBoolValue() { } public static final int INT64_VALUE_FIELD_NUMBER = 2; + /** + * + * + *
+   * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
+   * 
+ * + * int64 int64_value = 2; + * + * @return Whether the int64Value field is set. + */ + @java.lang.Override + public boolean hasInt64Value() { + return valueCase_ == 2; + } /** * * @@ -238,6 +268,23 @@ public long getInt64Value() { } public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; + /** + * + * + *
+   * A 64-bit double-precision floating-point number. Its magnitude
+   * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
+   * significant digits of precision.
+   * 
+ * + * double double_value = 3; + * + * @return Whether the doubleValue field is set. + */ + @java.lang.Override + public boolean hasDoubleValue() { + return valueCase_ == 3; + } /** * * @@ -260,6 +307,20 @@ public double getDoubleValue() { } public static final int STRING_VALUE_FIELD_NUMBER = 4; + /** + * + * + *
+   * A variable-length string value.
+   * 
+ * + * string string_value = 4; + * + * @return Whether the stringValue field is set. + */ + public boolean hasStringValue() { + return valueCase_ == 4; + } /** * * @@ -818,6 +879,20 @@ public Builder clearValue() { return this; } + /** + * + * + *
+     * A Boolean value: `true` or `false`.
+     * 
+ * + * bool bool_value = 1; + * + * @return Whether the boolValue field is set. + */ + public boolean hasBoolValue() { + return valueCase_ == 1; + } /** * * @@ -873,6 +948,20 @@ public Builder clearBoolValue() { return this; } + /** + * + * + *
+     * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
+     * 
+ * + * int64 int64_value = 2; + * + * @return Whether the int64Value field is set. + */ + public boolean hasInt64Value() { + return valueCase_ == 2; + } /** * * @@ -928,6 +1017,22 @@ public Builder clearInt64Value() { return this; } + /** + * + * + *
+     * A 64-bit double-precision floating-point number. Its magnitude
+     * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
+     * significant digits of precision.
+     * 
+ * + * double double_value = 3; + * + * @return Whether the doubleValue field is set. + */ + public boolean hasDoubleValue() { + return valueCase_ == 3; + } /** * * @@ -989,6 +1094,21 @@ public Builder clearDoubleValue() { return this; } + /** + * + * + *
+     * A variable-length string value.
+     * 
+ * + * string string_value = 4; + * + * @return Whether the stringValue field is set. + */ + @java.lang.Override + public boolean hasStringValue() { + return valueCase_ == 4; + } /** * * diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java index 0b07bd0c..b7b3bc08 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java @@ -23,6 +23,18 @@ public interface TypedValueOrBuilder // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TypedValue) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * A Boolean value: `true` or `false`.
+   * 
+ * + * bool bool_value = 1; + * + * @return Whether the boolValue field is set. + */ + boolean hasBoolValue(); /** * * @@ -36,6 +48,18 @@ public interface TypedValueOrBuilder */ boolean getBoolValue(); + /** + * + * + *
+   * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
+   * 
+ * + * int64 int64_value = 2; + * + * @return Whether the int64Value field is set. + */ + boolean hasInt64Value(); /** * * @@ -49,6 +73,20 @@ public interface TypedValueOrBuilder */ long getInt64Value(); + /** + * + * + *
+   * A 64-bit double-precision floating-point number. Its magnitude
+   * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
+   * significant digits of precision.
+   * 
+ * + * double double_value = 3; + * + * @return Whether the doubleValue field is set. + */ + boolean hasDoubleValue(); /** * * @@ -64,6 +102,18 @@ public interface TypedValueOrBuilder */ double getDoubleValue(); + /** + * + * + *
+   * A variable-length string value.
+   * 
+ * + * string string_value = 4; + * + * @return Whether the stringValue field is set. + */ + boolean hasStringValue(); /** * * diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java index e1a42d49..ef8a8300 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java @@ -2547,6 +2547,22 @@ public WindowCriterionCase getWindowCriterionCase() { } public static final int GOOD_BAD_METRIC_FILTER_FIELD_NUMBER = 5; + /** + * + * + *
+   * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
+   * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
+   * any `true` values appear in the window.
+   * 
+ * + * string good_bad_metric_filter = 5; + * + * @return Whether the goodBadMetricFilter field is set. + */ + public boolean hasGoodBadMetricFilter() { + return windowCriterionCase_ == 5; + } /** * * @@ -3294,6 +3310,23 @@ public Builder clearWindowCriterion() { return this; } + /** + * + * + *
+     * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
+     * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
+     * any `true` values appear in the window.
+     * 
+ * + * string good_bad_metric_filter = 5; + * + * @return Whether the goodBadMetricFilter field is set. + */ + @java.lang.Override + public boolean hasGoodBadMetricFilter() { + return windowCriterionCase_ == 5; + } /** * * diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java index bb142b4b..b50815dd 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java @@ -23,6 +23,20 @@ public interface WindowsBasedSliOrBuilder // @@protoc_insertion_point(interface_extends:google.monitoring.v3.WindowsBasedSli) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
+   * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
+   * any `true` values appear in the window.
+   * 
+ * + * string good_bad_metric_filter = 5; + * + * @return Whether the goodBadMetricFilter field is set. + */ + boolean hasGoodBadMetricFilter(); /** * * diff --git a/synth.metadata b/synth.metadata index 2171372a..6acf8a0e 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-monitoring.git", - "sha": "56ec572360902025048d7e4a6c45d578d699ca3c" + "sha": "5a14ce56c4bb56ec8c40bf742169c58fc8cdb884" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, {