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

docs: fix relative URLs and regenerate with updated protoc #176

Merged
merged 3 commits into from Jun 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>5.3.0</version>
<version>5.5.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Expand Up @@ -820,6 +820,10 @@ public Aligner findValueByNumber(int number) {
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}

Expand Down Expand Up @@ -1312,6 +1316,10 @@ public Reducer findValueByNumber(int number) {
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}

Expand Down Expand Up @@ -1365,6 +1373,7 @@ private Reducer(int value) {
*
* @return Whether the alignmentPeriod field is set.
*/
@java.lang.Override
public boolean hasAlignmentPeriod() {
return alignmentPeriod_ != null;
}
Expand All @@ -1387,6 +1396,7 @@ public boolean hasAlignmentPeriod() {
*
* @return The alignmentPeriod.
*/
@java.lang.Override
public com.google.protobuf.Duration getAlignmentPeriod() {
return alignmentPeriod_ == null
? com.google.protobuf.Duration.getDefaultInstance()
Expand All @@ -1409,6 +1419,7 @@ public com.google.protobuf.Duration getAlignmentPeriod() {
*
* <code>.google.protobuf.Duration alignment_period = 1;</code>
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
return getAlignmentPeriod();
}
Expand Down Expand Up @@ -1439,6 +1450,7 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
*
* @return The enum numeric value on the wire for perSeriesAligner.
*/
@java.lang.Override
public int getPerSeriesAlignerValue() {
return perSeriesAligner_;
}
Expand Down Expand Up @@ -1466,6 +1478,7 @@ public int getPerSeriesAlignerValue() {
*
* @return The perSeriesAligner.
*/
@java.lang.Override
public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() {
@SuppressWarnings("deprecation")
com.google.monitoring.v3.Aggregation.Aligner result =
Expand Down Expand Up @@ -1497,6 +1510,7 @@ public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() {
*
* @return The enum numeric value on the wire for crossSeriesReducer.
*/
@java.lang.Override
public int getCrossSeriesReducerValue() {
return crossSeriesReducer_;
}
Expand All @@ -1522,6 +1536,7 @@ public int getCrossSeriesReducerValue() {
*
* @return The crossSeriesReducer.
*/
@java.lang.Override
public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() {
@SuppressWarnings("deprecation")
com.google.monitoring.v3.Aggregation.Reducer result =
Expand Down Expand Up @@ -2339,6 +2354,7 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
*
* @return The enum numeric value on the wire for perSeriesAligner.
*/
@java.lang.Override
public int getPerSeriesAlignerValue() {
return perSeriesAligner_;
}
Expand Down Expand Up @@ -2368,6 +2384,7 @@ public int getPerSeriesAlignerValue() {
* @return This builder for chaining.
*/
public Builder setPerSeriesAlignerValue(int value) {

perSeriesAligner_ = value;
onChanged();
return this;
Expand Down Expand Up @@ -2396,6 +2413,7 @@ public Builder setPerSeriesAlignerValue(int value) {
*
* @return The perSeriesAligner.
*/
@java.lang.Override
public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() {
@SuppressWarnings("deprecation")
com.google.monitoring.v3.Aggregation.Aligner result =
Expand Down Expand Up @@ -2490,6 +2508,7 @@ public Builder clearPerSeriesAligner() {
*
* @return The enum numeric value on the wire for crossSeriesReducer.
*/
@java.lang.Override
public int getCrossSeriesReducerValue() {
return crossSeriesReducer_;
}
Expand Down Expand Up @@ -2517,6 +2536,7 @@ public int getCrossSeriesReducerValue() {
* @return This builder for chaining.
*/
public Builder setCrossSeriesReducerValue(int value) {

crossSeriesReducer_ = value;
onChanged();
return this;
Expand All @@ -2543,6 +2563,7 @@ public Builder setCrossSeriesReducerValue(int value) {
*
* @return The crossSeriesReducer.
*/
@java.lang.Override
public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() {
@SuppressWarnings("deprecation")
com.google.monitoring.v3.Aggregation.Reducer result =
Expand Down