Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
feat(generator): update protoc to v3.15.3 (#447)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

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: googleapis/googleapis@f6dd7e4
  • Loading branch information
yoshi-automation committed Mar 1, 2021
1 parent 5a14ce5 commit e489cf5
Show file tree
Hide file tree
Showing 12 changed files with 637 additions and 3 deletions.
Expand Up @@ -1689,6 +1689,19 @@ public interface TriggerOrBuilder
// @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.Trigger)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* The absolute number of time series that must fail
* the predicate for the condition to be triggered.
* </pre>
*
* <code>int32 count = 1;</code>
*
* @return Whether the count field is set.
*/
boolean hasCount();
/**
*
*
Expand All @@ -1703,6 +1716,19 @@ public interface TriggerOrBuilder
*/
int getCount();

/**
*
*
* <pre>
* The percentage of time series that must fail the
* predicate for the condition to be triggered.
* </pre>
*
* <code>double percent = 2;</code>
*
* @return Whether the percent field is set.
*/
boolean hasPercent();
/**
*
*
Expand Down Expand Up @@ -1865,6 +1891,22 @@ public TypeCase getTypeCase() {
}

public static final int COUNT_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* The absolute number of time series that must fail
* the predicate for the condition to be triggered.
* </pre>
*
* <code>int32 count = 1;</code>
*
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return typeCase_ == 1;
}
/**
*
*
Expand All @@ -1886,6 +1928,22 @@ public int getCount() {
}

public static final int PERCENT_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The percentage of time series that must fail the
* predicate for the condition to be triggered.
* </pre>
*
* <code>double percent = 2;</code>
*
* @return Whether the percent field is set.
*/
@java.lang.Override
public boolean hasPercent() {
return typeCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -2296,6 +2354,21 @@ public Builder clearType() {
return this;
}

/**
*
*
* <pre>
* The absolute number of time series that must fail
* the predicate for the condition to be triggered.
* </pre>
*
* <code>int32 count = 1;</code>
*
* @return Whether the count field is set.
*/
public boolean hasCount() {
return typeCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -2354,6 +2427,21 @@ public Builder clearCount() {
return this;
}

/**
*
*
* <pre>
* The percentage of time series that must fail the
* predicate for the condition to be triggered.
* </pre>
*
* <code>double percent = 2;</code>
*
* @return Whether the percent field is set.
*/
public boolean hasPercent() {
return typeCase_ == 2;
}
/**
*
*
Expand Down
Expand Up @@ -172,6 +172,21 @@ public ValueCase getValueCase() {
}

public static final int BOOL_VALUE_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* A bool label value.
* </pre>
*
* <code>bool bool_value = 1;</code>
*
* @return Whether the boolValue field is set.
*/
@java.lang.Override
public boolean hasBoolValue() {
return valueCase_ == 1;
}
/**
*
*
Expand All @@ -192,6 +207,21 @@ public boolean getBoolValue() {
}

public static final int INT64_VALUE_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* An int64 label value.
* </pre>
*
* <code>int64 int64_value = 2;</code>
*
* @return Whether the int64Value field is set.
*/
@java.lang.Override
public boolean hasInt64Value() {
return valueCase_ == 2;
}
/**
*
*
Expand All @@ -212,6 +242,20 @@ public long getInt64Value() {
}

public static final int STRING_VALUE_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* A string label value.
* </pre>
*
* <code>string string_value = 3;</code>
*
* @return Whether the stringValue field is set.
*/
public boolean hasStringValue() {
return valueCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -665,6 +709,20 @@ public Builder clearValue() {
return this;
}

/**
*
*
* <pre>
* A bool label value.
* </pre>
*
* <code>bool bool_value = 1;</code>
*
* @return Whether the boolValue field is set.
*/
public boolean hasBoolValue() {
return valueCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -720,6 +778,20 @@ public Builder clearBoolValue() {
return this;
}

/**
*
*
* <pre>
* An int64 label value.
* </pre>
*
* <code>int64 int64_value = 2;</code>
*
* @return Whether the int64Value field is set.
*/
public boolean hasInt64Value() {
return valueCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -775,6 +847,21 @@ public Builder clearInt64Value() {
return this;
}

/**
*
*
* <pre>
* A string label value.
* </pre>
*
* <code>string string_value = 3;</code>
*
* @return Whether the stringValue field is set.
*/
@java.lang.Override
public boolean hasStringValue() {
return valueCase_ == 3;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,18 @@ public interface LabelValueOrBuilder
// @@protoc_insertion_point(interface_extends:google.monitoring.v3.LabelValue)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* A bool label value.
* </pre>
*
* <code>bool bool_value = 1;</code>
*
* @return Whether the boolValue field is set.
*/
boolean hasBoolValue();
/**
*
*
Expand All @@ -36,6 +48,18 @@ public interface LabelValueOrBuilder
*/
boolean getBoolValue();

/**
*
*
* <pre>
* An int64 label value.
* </pre>
*
* <code>int64 int64_value = 2;</code>
*
* @return Whether the int64Value field is set.
*/
boolean hasInt64Value();
/**
*
*
Expand All @@ -49,6 +73,18 @@ public interface LabelValueOrBuilder
*/
long getInt64Value();

/**
*
*
* <pre>
* A string label value.
* </pre>
*
* <code>string string_value = 3;</code>
*
* @return Whether the stringValue field is set.
*/
boolean hasStringValue();
/**
*
*
Expand Down

0 comments on commit e489cf5

Please sign in to comment.