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

Commit

Permalink
feat(generator): update protoc to v3.15.3 (#386)
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/85ff6015-d55c-4478-8392-d9259b8d2bde/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 4efca18 commit 9a884db
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 3 deletions.
Expand Up @@ -182,6 +182,18 @@ public interface MetricOrBuilder
*/
com.google.protobuf.ByteString getNameBytes();

/**
*
*
* <pre>
* For metrics with integer value.
* </pre>
*
* <code>int64 int_value = 2;</code>
*
* @return Whether the intValue field is set.
*/
boolean hasIntValue();
/**
*
*
Expand All @@ -195,6 +207,18 @@ public interface MetricOrBuilder
*/
long getIntValue();

/**
*
*
* <pre>
* For metrics with floating point value.
* </pre>
*
* <code>double double_value = 3;</code>
*
* @return Whether the doubleValue field is set.
*/
boolean hasDoubleValue();
/**
*
*
Expand All @@ -208,6 +232,18 @@ public interface MetricOrBuilder
*/
double getDoubleValue();

/**
*
*
* <pre>
* For metrics with custom values (ratios, visual progress, etc.).
* </pre>
*
* <code>string string_value = 4;</code>
*
* @return Whether the stringValue field is set.
*/
boolean hasStringValue();
/**
*
*
Expand Down Expand Up @@ -447,6 +483,21 @@ public com.google.protobuf.ByteString getNameBytes() {
}

public static final int INT_VALUE_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* For metrics with integer value.
* </pre>
*
* <code>int64 int_value = 2;</code>
*
* @return Whether the intValue field is set.
*/
@java.lang.Override
public boolean hasIntValue() {
return valueCase_ == 2;
}
/**
*
*
Expand All @@ -467,6 +518,21 @@ public long getIntValue() {
}

public static final int DOUBLE_VALUE_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* For metrics with floating point value.
* </pre>
*
* <code>double double_value = 3;</code>
*
* @return Whether the doubleValue field is set.
*/
@java.lang.Override
public boolean hasDoubleValue() {
return valueCase_ == 3;
}
/**
*
*
Expand All @@ -487,6 +553,20 @@ public double getDoubleValue() {
}

public static final int STRING_VALUE_FIELD_NUMBER = 4;
/**
*
*
* <pre>
* For metrics with custom values (ratios, visual progress, etc.).
* </pre>
*
* <code>string string_value = 4;</code>
*
* @return Whether the stringValue field is set.
*/
public boolean hasStringValue() {
return valueCase_ == 4;
}
/**
*
*
Expand Down Expand Up @@ -1075,6 +1155,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* For metrics with integer value.
* </pre>
*
* <code>int64 int_value = 2;</code>
*
* @return Whether the intValue field is set.
*/
public boolean hasIntValue() {
return valueCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -1130,6 +1224,20 @@ public Builder clearIntValue() {
return this;
}

/**
*
*
* <pre>
* For metrics with floating point value.
* </pre>
*
* <code>double double_value = 3;</code>
*
* @return Whether the doubleValue field is set.
*/
public boolean hasDoubleValue() {
return valueCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -1185,6 +1293,21 @@ public Builder clearDoubleValue() {
return this;
}

/**
*
*
* <pre>
* For metrics with custom values (ratios, visual progress, etc.).
* </pre>
*
* <code>string string_value = 4;</code>
*
* @return Whether the stringValue field is set.
*/
@java.lang.Override
public boolean hasStringValue() {
return valueCase_ == 4;
}
/**
*
*
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-container.git",
"sha": "ffa66c41451ff5518958a93e64736bb1028e2fcd"
"sha": "4efca189a828324577f8b04e8e689fb361d8043f"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
"internalRef": "358516065"
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
}
},
{
Expand Down

0 comments on commit 9a884db

Please sign in to comment.