(conditions_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000002;
}
}
@@ -11850,7 +12231,7 @@ public Builder addAllConditions(
public Builder clearConditions() {
if (conditionsBuilder_ == null) {
conditions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
conditionsBuilder_.clear();
@@ -11994,7 +12375,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
com.google.monitoring.v3.AlertPolicy.Condition,
com.google.monitoring.v3.AlertPolicy.Condition.Builder,
com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>(
- conditions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+ conditions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
conditions_ = null;
}
return conditionsBuilder_;
@@ -12005,11 +12386,13 @@ 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.
+ * How to combine the results of multiple conditions to determine if an
+ * incident should be opened.
*
*
* .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;
+ *
+ * @return The enum numeric value on the wire for combiner.
*/
public int getCombinerValue() {
return combiner_;
@@ -12018,11 +12401,14 @@ public int getCombinerValue() {
*
*
*
- * How to combine the results of multiple conditions
- * to determine if an incident should be opened.
+ * How to combine the results of multiple conditions to determine if an
+ * incident should be opened.
*
*
* .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;
+ *
+ * @param value The enum numeric value on the wire for combiner to set.
+ * @return This builder for chaining.
*/
public Builder setCombinerValue(int value) {
combiner_ = value;
@@ -12033,11 +12419,13 @@ public Builder setCombinerValue(int value) {
*
*
*
- * How to combine the results of multiple conditions
- * to determine if an incident should be opened.
+ * How to combine the results of multiple conditions to determine if an
+ * incident should be opened.
*
*
* .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;
+ *
+ * @return The combiner.
*/
public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner() {
@SuppressWarnings("deprecation")
@@ -12051,11 +12439,14 @@ public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner()
*
*
*
- * How to combine the results of multiple conditions
- * to determine if an incident should be opened.
+ * How to combine the results of multiple conditions to determine if an
+ * incident should be opened.
*
*
* .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;
+ *
+ * @param value The combiner to set.
+ * @return This builder for chaining.
*/
public Builder setCombiner(com.google.monitoring.v3.AlertPolicy.ConditionCombinerType value) {
if (value == null) {
@@ -12070,11 +12461,13 @@ 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.
+ * How to combine the results of multiple conditions to determine if an
+ * incident should be opened.
*
*
* .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCombiner() {
@@ -12101,6 +12494,8 @@ public Builder clearCombiner() {
*
*
* .google.protobuf.BoolValue enabled = 17;
+ *
+ * @return Whether the enabled field is set.
*/
public boolean hasEnabled() {
return enabledBuilder_ != null || enabled_ != null;
@@ -12117,6 +12512,8 @@ public boolean hasEnabled() {
*
*
* .google.protobuf.BoolValue enabled = 17;
+ *
+ * @return The enabled.
*/
public com.google.protobuf.BoolValue getEnabled() {
if (enabledBuilder_ == null) {
@@ -12307,6 +12704,8 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
*
*
* .google.rpc.Status validity = 18;
+ *
+ * @return Whether the validity field is set.
*/
public boolean hasValidity() {
return validityBuilder_ != null || validity_ != null;
@@ -12320,6 +12719,8 @@ public boolean hasValidity() {
*
*
* .google.rpc.Status validity = 18;
+ *
+ * @return The validity.
*/
public com.google.rpc.Status getValidity() {
if (validityBuilder_ == null) {
@@ -12476,9 +12877,9 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureNotificationChannelsIsMutable() {
- if (!((bitField0_ & 0x00000100) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
notificationChannels_ = new com.google.protobuf.LazyStringArrayList(notificationChannels_);
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -12497,6 +12898,8 @@ private void ensureNotificationChannelsIsMutable() {
*
*
* repeated string notification_channels = 14;
+ *
+ * @return A list containing the notificationChannels.
*/
public com.google.protobuf.ProtocolStringList getNotificationChannelsList() {
return notificationChannels_.getUnmodifiableView();
@@ -12517,6 +12920,8 @@ public com.google.protobuf.ProtocolStringList getNotificationChannelsList() {
*
*
* repeated string notification_channels = 14;
+ *
+ * @return The count of notificationChannels.
*/
public int getNotificationChannelsCount() {
return notificationChannels_.size();
@@ -12537,6 +12942,9 @@ public int getNotificationChannelsCount() {
*
*
* repeated string notification_channels = 14;
+ *
+ * @param index The index of the element to return.
+ * @return The notificationChannels at the given index.
*/
public java.lang.String getNotificationChannels(int index) {
return notificationChannels_.get(index);
@@ -12557,6 +12965,9 @@ public java.lang.String getNotificationChannels(int index) {
*
*
* repeated string notification_channels = 14;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the notificationChannels at the given index.
*/
public com.google.protobuf.ByteString getNotificationChannelsBytes(int index) {
return notificationChannels_.getByteString(index);
@@ -12577,6 +12988,10 @@ public com.google.protobuf.ByteString getNotificationChannelsBytes(int index) {
*
*
* repeated string notification_channels = 14;
+ *
+ * @param index The index to set the value at.
+ * @param value The notificationChannels to set.
+ * @return This builder for chaining.
*/
public Builder setNotificationChannels(int index, java.lang.String value) {
if (value == null) {
@@ -12603,6 +13018,9 @@ public Builder setNotificationChannels(int index, java.lang.String value) {
*
*
* repeated string notification_channels = 14;
+ *
+ * @param value The notificationChannels to add.
+ * @return This builder for chaining.
*/
public Builder addNotificationChannels(java.lang.String value) {
if (value == null) {
@@ -12629,6 +13047,9 @@ public Builder addNotificationChannels(java.lang.String value) {
*
*
* repeated string notification_channels = 14;
+ *
+ * @param values The notificationChannels to add.
+ * @return This builder for chaining.
*/
public Builder addAllNotificationChannels(java.lang.Iterable values) {
ensureNotificationChannelsIsMutable();
@@ -12652,10 +13073,12 @@ public Builder addAllNotificationChannels(java.lang.Iterable v
*
*
* repeated string notification_channels = 14;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNotificationChannels() {
notificationChannels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -12675,6 +13098,9 @@ public Builder clearNotificationChannels() {
*
*
* repeated string notification_channels = 14;
+ *
+ * @param value The bytes of the notificationChannels to add.
+ * @return This builder for chaining.
*/
public Builder addNotificationChannelsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -12702,6 +13128,8 @@ public Builder addNotificationChannelsBytes(com.google.protobuf.ByteString value
*
*
* .google.monitoring.v3.MutationRecord creation_record = 10;
+ *
+ * @return Whether the creationRecord field is set.
*/
public boolean hasCreationRecord() {
return creationRecordBuilder_ != null || creationRecord_ != null;
@@ -12715,6 +13143,8 @@ public boolean hasCreationRecord() {
*
*
* .google.monitoring.v3.MutationRecord creation_record = 10;
+ *
+ * @return The creationRecord.
*/
public com.google.monitoring.v3.MutationRecord getCreationRecord() {
if (creationRecordBuilder_ == null) {
@@ -12893,6 +13323,8 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
*
*
* .google.monitoring.v3.MutationRecord mutation_record = 11;
+ *
+ * @return Whether the mutationRecord field is set.
*/
public boolean hasMutationRecord() {
return mutationRecordBuilder_ != null || mutationRecord_ != null;
@@ -12906,6 +13338,8 @@ public boolean hasMutationRecord() {
*
*
* .google.monitoring.v3.MutationRecord mutation_record = 11;
+ *
+ * @return The mutationRecord.
*/
public com.google.monitoring.v3.MutationRecord getMutationRecord() {
if (mutationRecordBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyConditionName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyConditionName.java
index d64981df..77689720 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyConditionName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyConditionName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class AlertPolicyConditionName implements ResourceName {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java
index d0475c86..86317736 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class AlertPolicyName implements ResourceName {
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 3b40dc0e..5ba5e992 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
@@ -38,6 +38,8 @@ public interface AlertPolicyOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -55,6 +57,8 @@ public interface AlertPolicyOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -69,6 +73,8 @@ public interface AlertPolicyOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -82,6 +88,8 @@ public interface AlertPolicyOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -97,6 +105,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.monitoring.v3.AlertPolicy.Documentation documentation = 13;
+ *
+ * @return Whether the documentation field is set.
*/
boolean hasDocumentation();
/**
@@ -111,6 +121,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.monitoring.v3.AlertPolicy.Documentation documentation = 13;
+ *
+ * @return The documentation.
*/
com.google.monitoring.v3.AlertPolicy.Documentation getDocumentation();
/**
@@ -278,22 +290,26 @@ public interface AlertPolicyOrBuilder
*
*
*
- * How to combine the results of multiple conditions
- * to determine if an incident should be opened.
+ * How to combine the results of multiple conditions to determine if an
+ * incident should be opened.
*
*
* .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;
+ *
+ * @return The enum numeric value on the wire for combiner.
*/
int getCombinerValue();
/**
*
*
*
- * How to combine the results of multiple conditions
- * to determine if an incident should be opened.
+ * How to combine the results of multiple conditions to determine if an
+ * incident should be opened.
*
*
* .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;
+ *
+ * @return The combiner.
*/
com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner();
@@ -309,6 +325,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.protobuf.BoolValue enabled = 17;
+ *
+ * @return Whether the enabled field is set.
*/
boolean hasEnabled();
/**
@@ -323,6 +341,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.protobuf.BoolValue enabled = 17;
+ *
+ * @return The enabled.
*/
com.google.protobuf.BoolValue getEnabled();
/**
@@ -349,6 +369,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.rpc.Status validity = 18;
+ *
+ * @return Whether the validity field is set.
*/
boolean hasValidity();
/**
@@ -360,6 +382,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.rpc.Status validity = 18;
+ *
+ * @return The validity.
*/
com.google.rpc.Status getValidity();
/**
@@ -390,6 +414,8 @@ public interface AlertPolicyOrBuilder
*
*
* repeated string notification_channels = 14;
+ *
+ * @return A list containing the notificationChannels.
*/
java.util.List getNotificationChannelsList();
/**
@@ -408,6 +434,8 @@ public interface AlertPolicyOrBuilder
*
*
* repeated string notification_channels = 14;
+ *
+ * @return The count of notificationChannels.
*/
int getNotificationChannelsCount();
/**
@@ -426,6 +454,9 @@ public interface AlertPolicyOrBuilder
*
*
* repeated string notification_channels = 14;
+ *
+ * @param index The index of the element to return.
+ * @return The notificationChannels at the given index.
*/
java.lang.String getNotificationChannels(int index);
/**
@@ -444,6 +475,9 @@ public interface AlertPolicyOrBuilder
*
*
* repeated string notification_channels = 14;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the notificationChannels at the given index.
*/
com.google.protobuf.ByteString getNotificationChannelsBytes(int index);
@@ -456,6 +490,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.monitoring.v3.MutationRecord creation_record = 10;
+ *
+ * @return Whether the creationRecord field is set.
*/
boolean hasCreationRecord();
/**
@@ -467,6 +503,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.monitoring.v3.MutationRecord creation_record = 10;
+ *
+ * @return The creationRecord.
*/
com.google.monitoring.v3.MutationRecord getCreationRecord();
/**
@@ -490,6 +528,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.monitoring.v3.MutationRecord mutation_record = 11;
+ *
+ * @return Whether the mutationRecord field is set.
*/
boolean hasMutationRecord();
/**
@@ -501,6 +541,8 @@ public interface AlertPolicyOrBuilder
*
*
* .google.monitoring.v3.MutationRecord mutation_record = 11;
+ *
+ * @return The mutationRecord.
*/
com.google.monitoring.v3.MutationRecord getMutationRecord();
/**
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 5e402e33..118b5ca3 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
@@ -117,24 +117,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "g\252\002\032Google.Cloud.Monitoring.V3\312\002\032Google\\"
+ "Cloud\\Monitoring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.monitoring.v3.CommonProto.getDescriptor(),
- com.google.monitoring.v3.MutationRecordProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.WrappersProto.getDescriptor(),
- com.google.rpc.StatusProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.monitoring.v3.CommonProto.getDescriptor(),
+ com.google.monitoring.v3.MutationRecordProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.WrappersProto.getDescriptor(),
+ com.google.rpc.StatusProto.getDescriptor(),
+ });
internal_static_google_monitoring_v3_AlertPolicy_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable =
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 f468c79b..8e0d5e58 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
@@ -110,24 +110,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3"
+ "b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.monitoring.v3.AlertProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.FieldMaskProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.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);
internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable =
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java
index 04fc3d0c..d6f46b1e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java
@@ -48,6 +48,12 @@ private BasicSli() {
version_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BasicSli();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -209,6 +215,12 @@ private AvailabilityCriteria(com.google.protobuf.GeneratedMessageV3.Builder> b
private AvailabilityCriteria() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AvailabilityCriteria();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -639,6 +651,8 @@ public interface LatencyCriteriaOrBuilder
*
*
* .google.protobuf.Duration threshold = 3;
+ *
+ * @return Whether the threshold field is set.
*/
boolean hasThreshold();
/**
@@ -650,6 +664,8 @@ public interface LatencyCriteriaOrBuilder
*
*
* .google.protobuf.Duration threshold = 3;
+ *
+ * @return The threshold.
*/
com.google.protobuf.Duration getThreshold();
/**
@@ -685,6 +701,12 @@ private LatencyCriteria(com.google.protobuf.GeneratedMessageV3.Builder> builde
private LatencyCriteria() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LatencyCriteria();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -698,7 +720,6 @@ private LatencyCriteria(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -769,6 +790,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.Duration threshold = 3;
+ *
+ * @return Whether the threshold field is set.
*/
public boolean hasThreshold() {
return threshold_ != null;
@@ -782,6 +805,8 @@ public boolean hasThreshold() {
*
*
* .google.protobuf.Duration threshold = 3;
+ *
+ * @return The threshold.
*/
public com.google.protobuf.Duration getThreshold() {
return threshold_ == null ? com.google.protobuf.Duration.getDefaultInstance() : threshold_;
@@ -1149,6 +1174,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.Duration threshold = 3;
+ *
+ * @return Whether the threshold field is set.
*/
public boolean hasThreshold() {
return thresholdBuilder_ != null || threshold_ != null;
@@ -1162,6 +1189,8 @@ public boolean hasThreshold() {
*
*
* .google.protobuf.Duration threshold = 3;
+ *
+ * @return The threshold.
*/
public com.google.protobuf.Duration getThreshold() {
if (thresholdBuilder_ == null) {
@@ -1374,11 +1403,13 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria getDefaultInstanceForTy
}
}
- private int bitField0_;
private int sliCriteriaCase_ = 0;
private java.lang.Object sliCriteria_;
- public enum SliCriteriaCase implements com.google.protobuf.Internal.EnumLite {
+ public enum SliCriteriaCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
AVAILABILITY(2),
LATENCY(3),
SLICRITERIA_NOT_SET(0);
@@ -1387,7 +1418,11 @@ public enum SliCriteriaCase implements com.google.protobuf.Internal.EnumLite {
private SliCriteriaCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static SliCriteriaCase valueOf(int value) {
return forNumber(value);
@@ -1429,6 +1464,8 @@ public SliCriteriaCase getSliCriteriaCase() {
*
*
* repeated string method = 7;
+ *
+ * @return A list containing the method.
*/
public com.google.protobuf.ProtocolStringList getMethodList() {
return method_;
@@ -1445,6 +1482,8 @@ public com.google.protobuf.ProtocolStringList getMethodList() {
*
*
* repeated string method = 7;
+ *
+ * @return The count of method.
*/
public int getMethodCount() {
return method_.size();
@@ -1461,6 +1500,9 @@ public int getMethodCount() {
*
*
* repeated string method = 7;
+ *
+ * @param index The index of the element to return.
+ * @return The method at the given index.
*/
public java.lang.String getMethod(int index) {
return method_.get(index);
@@ -1477,6 +1519,9 @@ public java.lang.String getMethod(int index) {
*
*
* repeated string method = 7;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the method at the given index.
*/
public com.google.protobuf.ByteString getMethodBytes(int index) {
return method_.getByteString(index);
@@ -1496,6 +1541,8 @@ public com.google.protobuf.ByteString getMethodBytes(int index) {
*
*
* repeated string location = 8;
+ *
+ * @return A list containing the location.
*/
public com.google.protobuf.ProtocolStringList getLocationList() {
return location_;
@@ -1512,6 +1559,8 @@ public com.google.protobuf.ProtocolStringList getLocationList() {
*
*
* repeated string location = 8;
+ *
+ * @return The count of location.
*/
public int getLocationCount() {
return location_.size();
@@ -1528,6 +1577,9 @@ public int getLocationCount() {
*
*
* repeated string location = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The location at the given index.
*/
public java.lang.String getLocation(int index) {
return location_.get(index);
@@ -1544,6 +1596,9 @@ public java.lang.String getLocation(int index) {
*
*
* repeated string location = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the location at the given index.
*/
public com.google.protobuf.ByteString getLocationBytes(int index) {
return location_.getByteString(index);
@@ -1563,6 +1618,8 @@ public com.google.protobuf.ByteString getLocationBytes(int index) {
*
*
* repeated string version = 9;
+ *
+ * @return A list containing the version.
*/
public com.google.protobuf.ProtocolStringList getVersionList() {
return version_;
@@ -1579,6 +1636,8 @@ public com.google.protobuf.ProtocolStringList getVersionList() {
*
*
* repeated string version = 9;
+ *
+ * @return The count of version.
*/
public int getVersionCount() {
return version_.size();
@@ -1595,6 +1654,9 @@ public int getVersionCount() {
*
*
* repeated string version = 9;
+ *
+ * @param index The index of the element to return.
+ * @return The version at the given index.
*/
public java.lang.String getVersion(int index) {
return version_.get(index);
@@ -1611,6 +1673,9 @@ public java.lang.String getVersion(int index) {
*
*
* repeated string version = 9;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the version at the given index.
*/
public com.google.protobuf.ByteString getVersionBytes(int index) {
return version_.getByteString(index);
@@ -1626,6 +1691,8 @@ public com.google.protobuf.ByteString getVersionBytes(int index) {
*
*
* .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
+ *
+ * @return Whether the availability field is set.
*/
public boolean hasAvailability() {
return sliCriteriaCase_ == 2;
@@ -1639,6 +1706,8 @@ public boolean hasAvailability() {
*
*
* .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
+ *
+ * @return The availability.
*/
public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability() {
if (sliCriteriaCase_ == 2) {
@@ -1674,6 +1743,8 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability()
*
*
* .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
+ *
+ * @return Whether the latency field is set.
*/
public boolean hasLatency() {
return sliCriteriaCase_ == 3;
@@ -1687,6 +1758,8 @@ public boolean hasLatency() {
*
*
* .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
+ *
+ * @return The latency.
*/
public com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency() {
if (sliCriteriaCase_ == 3) {
@@ -2031,7 +2104,6 @@ public com.google.monitoring.v3.BasicSli build() {
public com.google.monitoring.v3.BasicSli buildPartial() {
com.google.monitoring.v3.BasicSli result = new com.google.monitoring.v3.BasicSli(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) != 0)) {
method_ = method_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
@@ -2061,7 +2133,6 @@ public com.google.monitoring.v3.BasicSli buildPartial() {
result.sliCriteria_ = latencyBuilder_.build();
}
}
- result.bitField0_ = to_bitField0_;
result.sliCriteriaCase_ = sliCriteriaCase_;
onBuilt();
return result;
@@ -2224,6 +2295,8 @@ private void ensureMethodIsMutable() {
*
*
* repeated string method = 7;
+ *
+ * @return A list containing the method.
*/
public com.google.protobuf.ProtocolStringList getMethodList() {
return method_.getUnmodifiableView();
@@ -2240,6 +2313,8 @@ public com.google.protobuf.ProtocolStringList getMethodList() {
*
*
* repeated string method = 7;
+ *
+ * @return The count of method.
*/
public int getMethodCount() {
return method_.size();
@@ -2256,6 +2331,9 @@ public int getMethodCount() {
*
*
* repeated string method = 7;
+ *
+ * @param index The index of the element to return.
+ * @return The method at the given index.
*/
public java.lang.String getMethod(int index) {
return method_.get(index);
@@ -2272,6 +2350,9 @@ public java.lang.String getMethod(int index) {
*
*
* repeated string method = 7;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the method at the given index.
*/
public com.google.protobuf.ByteString getMethodBytes(int index) {
return method_.getByteString(index);
@@ -2288,6 +2369,10 @@ public com.google.protobuf.ByteString getMethodBytes(int index) {
*
*
* repeated string method = 7;
+ *
+ * @param index The index to set the value at.
+ * @param value The method to set.
+ * @return This builder for chaining.
*/
public Builder setMethod(int index, java.lang.String value) {
if (value == null) {
@@ -2310,6 +2395,9 @@ public Builder setMethod(int index, java.lang.String value) {
*
*
* repeated string method = 7;
+ *
+ * @param value The method to add.
+ * @return This builder for chaining.
*/
public Builder addMethod(java.lang.String value) {
if (value == null) {
@@ -2332,6 +2420,9 @@ public Builder addMethod(java.lang.String value) {
*
*
* repeated string method = 7;
+ *
+ * @param values The method to add.
+ * @return This builder for chaining.
*/
public Builder addAllMethod(java.lang.Iterable values) {
ensureMethodIsMutable();
@@ -2351,6 +2442,8 @@ public Builder addAllMethod(java.lang.Iterable values) {
*
*
* repeated string method = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMethod() {
method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -2370,6 +2463,9 @@ public Builder clearMethod() {
*
*
* repeated string method = 7;
+ *
+ * @param value The bytes of the method to add.
+ * @return This builder for chaining.
*/
public Builder addMethodBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2403,6 +2499,8 @@ private void ensureLocationIsMutable() {
*
*
* repeated string location = 8;
+ *
+ * @return A list containing the location.
*/
public com.google.protobuf.ProtocolStringList getLocationList() {
return location_.getUnmodifiableView();
@@ -2419,6 +2517,8 @@ public com.google.protobuf.ProtocolStringList getLocationList() {
*
*
* repeated string location = 8;
+ *
+ * @return The count of location.
*/
public int getLocationCount() {
return location_.size();
@@ -2435,6 +2535,9 @@ public int getLocationCount() {
*
*
* repeated string location = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The location at the given index.
*/
public java.lang.String getLocation(int index) {
return location_.get(index);
@@ -2451,6 +2554,9 @@ public java.lang.String getLocation(int index) {
*
*
* repeated string location = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the location at the given index.
*/
public com.google.protobuf.ByteString getLocationBytes(int index) {
return location_.getByteString(index);
@@ -2467,6 +2573,10 @@ public com.google.protobuf.ByteString getLocationBytes(int index) {
*
*
* repeated string location = 8;
+ *
+ * @param index The index to set the value at.
+ * @param value The location to set.
+ * @return This builder for chaining.
*/
public Builder setLocation(int index, java.lang.String value) {
if (value == null) {
@@ -2489,6 +2599,9 @@ public Builder setLocation(int index, java.lang.String value) {
*
*
* repeated string location = 8;
+ *
+ * @param value The location to add.
+ * @return This builder for chaining.
*/
public Builder addLocation(java.lang.String value) {
if (value == null) {
@@ -2511,6 +2624,9 @@ public Builder addLocation(java.lang.String value) {
*
*
* repeated string location = 8;
+ *
+ * @param values The location to add.
+ * @return This builder for chaining.
*/
public Builder addAllLocation(java.lang.Iterable values) {
ensureLocationIsMutable();
@@ -2530,6 +2646,8 @@ public Builder addAllLocation(java.lang.Iterable values) {
*
*
* repeated string location = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocation() {
location_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -2549,6 +2667,9 @@ public Builder clearLocation() {
*
*
* repeated string location = 8;
+ *
+ * @param value The bytes of the location to add.
+ * @return This builder for chaining.
*/
public Builder addLocationBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2582,6 +2703,8 @@ private void ensureVersionIsMutable() {
*
*
* repeated string version = 9;
+ *
+ * @return A list containing the version.
*/
public com.google.protobuf.ProtocolStringList getVersionList() {
return version_.getUnmodifiableView();
@@ -2598,6 +2721,8 @@ public com.google.protobuf.ProtocolStringList getVersionList() {
*
*
* repeated string version = 9;
+ *
+ * @return The count of version.
*/
public int getVersionCount() {
return version_.size();
@@ -2614,6 +2739,9 @@ public int getVersionCount() {
*
*
* repeated string version = 9;
+ *
+ * @param index The index of the element to return.
+ * @return The version at the given index.
*/
public java.lang.String getVersion(int index) {
return version_.get(index);
@@ -2630,6 +2758,9 @@ public java.lang.String getVersion(int index) {
*
*
* repeated string version = 9;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the version at the given index.
*/
public com.google.protobuf.ByteString getVersionBytes(int index) {
return version_.getByteString(index);
@@ -2646,6 +2777,10 @@ public com.google.protobuf.ByteString getVersionBytes(int index) {
*
*
* repeated string version = 9;
+ *
+ * @param index The index to set the value at.
+ * @param value The version to set.
+ * @return This builder for chaining.
*/
public Builder setVersion(int index, java.lang.String value) {
if (value == null) {
@@ -2668,6 +2803,9 @@ public Builder setVersion(int index, java.lang.String value) {
*
*
* repeated string version = 9;
+ *
+ * @param value The version to add.
+ * @return This builder for chaining.
*/
public Builder addVersion(java.lang.String value) {
if (value == null) {
@@ -2690,6 +2828,9 @@ public Builder addVersion(java.lang.String value) {
*
*
* repeated string version = 9;
+ *
+ * @param values The version to add.
+ * @return This builder for chaining.
*/
public Builder addAllVersion(java.lang.Iterable values) {
ensureVersionIsMutable();
@@ -2709,6 +2850,8 @@ public Builder addAllVersion(java.lang.Iterable values) {
*
*
* repeated string version = 9;
+ *
+ * @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -2728,6 +2871,9 @@ public Builder clearVersion() {
*
*
* repeated string version = 9;
+ *
+ * @param value The bytes of the version to add.
+ * @return This builder for chaining.
*/
public Builder addVersionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2754,6 +2900,8 @@ public Builder addVersionBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
+ *
+ * @return Whether the availability field is set.
*/
public boolean hasAvailability() {
return sliCriteriaCase_ == 2;
@@ -2767,6 +2915,8 @@ public boolean hasAvailability() {
*
*
* .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
+ *
+ * @return The availability.
*/
public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability() {
if (availabilityBuilder_ == null) {
@@ -2968,6 +3118,8 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder getAvailab
*
*
* .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
+ *
+ * @return Whether the latency field is set.
*/
public boolean hasLatency() {
return sliCriteriaCase_ == 3;
@@ -2981,6 +3133,8 @@ public boolean hasLatency() {
*
*
* .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
+ *
+ * @return The latency.
*/
public com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency() {
if (latencyBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
index aaeb503e..dbe34b86 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
@@ -35,6 +35,8 @@ public interface BasicSliOrBuilder
*
*
* repeated string method = 7;
+ *
+ * @return A list containing the method.
*/
java.util.List getMethodList();
/**
@@ -49,6 +51,8 @@ public interface BasicSliOrBuilder
*
*
* repeated string method = 7;
+ *
+ * @return The count of method.
*/
int getMethodCount();
/**
@@ -63,6 +67,9 @@ public interface BasicSliOrBuilder
*
*
* repeated string method = 7;
+ *
+ * @param index The index of the element to return.
+ * @return The method at the given index.
*/
java.lang.String getMethod(int index);
/**
@@ -77,6 +84,9 @@ public interface BasicSliOrBuilder
*
*
* repeated string method = 7;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the method at the given index.
*/
com.google.protobuf.ByteString getMethodBytes(int index);
@@ -92,6 +102,8 @@ public interface BasicSliOrBuilder
*
*
* repeated string location = 8;
+ *
+ * @return A list containing the location.
*/
java.util.List getLocationList();
/**
@@ -106,6 +118,8 @@ public interface BasicSliOrBuilder
*
*
* repeated string location = 8;
+ *
+ * @return The count of location.
*/
int getLocationCount();
/**
@@ -120,6 +134,9 @@ public interface BasicSliOrBuilder
*
*
* repeated string location = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The location at the given index.
*/
java.lang.String getLocation(int index);
/**
@@ -134,6 +151,9 @@ public interface BasicSliOrBuilder
*
*
* repeated string location = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the location at the given index.
*/
com.google.protobuf.ByteString getLocationBytes(int index);
@@ -149,6 +169,8 @@ public interface BasicSliOrBuilder
*
*
* repeated string version = 9;
+ *
+ * @return A list containing the version.
*/
java.util.List getVersionList();
/**
@@ -163,6 +185,8 @@ public interface BasicSliOrBuilder
*
*
* repeated string version = 9;
+ *
+ * @return The count of version.
*/
int getVersionCount();
/**
@@ -177,6 +201,9 @@ public interface BasicSliOrBuilder
*
*
* repeated string version = 9;
+ *
+ * @param index The index of the element to return.
+ * @return The version at the given index.
*/
java.lang.String getVersion(int index);
/**
@@ -191,6 +218,9 @@ public interface BasicSliOrBuilder
*
*
* repeated string version = 9;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the version at the given index.
*/
com.google.protobuf.ByteString getVersionBytes(int index);
@@ -203,6 +233,8 @@ public interface BasicSliOrBuilder
*
*
* .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
+ *
+ * @return Whether the availability field is set.
*/
boolean hasAvailability();
/**
@@ -214,6 +246,8 @@ public interface BasicSliOrBuilder
*
*
* .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
+ *
+ * @return The availability.
*/
com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability();
/**
@@ -237,6 +271,8 @@ public interface BasicSliOrBuilder
*
*
* .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
+ *
+ * @return Whether the latency field is set.
*/
boolean hasLatency();
/**
@@ -248,6 +284,8 @@ public interface BasicSliOrBuilder
*
*
* .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
+ *
+ * @return The latency.
*/
com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
index 1b0bbc07..dbcab0bd 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
@@ -95,22 +95,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor"
+ "ing\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.DistributionProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.DistributionProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_monitoring_v3_TypedValue_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable =
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 81e3433e..c2eeae42 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
@@ -181,12 +181,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ComparisonType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static ComparisonType forNumber(int value) {
switch (value) {
case 0:
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 6f2d59db..d3f9f1c3 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
@@ -41,6 +41,12 @@ private CreateAlertPolicyRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateAlertPolicyRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CreateAlertPolicyRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -164,6 +171,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -189,6 +198,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 2;
+ *
+ * @return Whether the alertPolicy field is set.
*/
public boolean hasAlertPolicy() {
return alertPolicy_ != null;
@@ -203,6 +214,8 @@ public boolean hasAlertPolicy() {
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 2;
+ *
+ * @return The alertPolicy.
*/
public com.google.monitoring.v3.AlertPolicy getAlertPolicy() {
return alertPolicy_ == null
@@ -585,6 +598,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -611,6 +626,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -637,6 +654,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -661,6 +681,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -682,6 +704,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -710,6 +735,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 2;
+ *
+ * @return Whether the alertPolicy field is set.
*/
public boolean hasAlertPolicy() {
return alertPolicyBuilder_ != null || alertPolicy_ != null;
@@ -724,6 +751,8 @@ public boolean hasAlertPolicy() {
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 2;
+ *
+ * @return The alertPolicy.
*/
public com.google.monitoring.v3.AlertPolicy getAlertPolicy() {
if (alertPolicyBuilder_ == null) {
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 464e823d..eb424b96 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
@@ -37,6 +37,8 @@ public interface CreateAlertPolicyRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -53,6 +55,8 @@ public interface CreateAlertPolicyRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -66,6 +70,8 @@ public interface CreateAlertPolicyRequestOrBuilder
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 2;
+ *
+ * @return Whether the alertPolicy field is set.
*/
boolean hasAlertPolicy();
/**
@@ -78,6 +84,8 @@ public interface CreateAlertPolicyRequestOrBuilder
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 2;
+ *
+ * @return The alertPolicy.
*/
com.google.monitoring.v3.AlertPolicy getAlertPolicy();
/**
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 e3196416..45a90af4 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
@@ -41,6 +41,12 @@ private CreateGroupRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateGroupRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CreateGroupRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 4;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -158,6 +165,8 @@ public java.lang.String getName() {
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -182,6 +191,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
return group_ != null;
@@ -195,6 +206,8 @@ public boolean hasGroup() {
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return The group.
*/
public com.google.monitoring.v3.Group getGroup() {
return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_;
@@ -223,6 +236,8 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
*
*
* bool validate_only = 3;
+ *
+ * @return The validateOnly.
*/
public boolean getValidateOnly() {
return validateOnly_;
@@ -597,6 +612,8 @@ public Builder mergeFrom(
*
*
* string name = 4;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -618,6 +635,8 @@ public java.lang.String getName() {
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -639,6 +658,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 4;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -658,6 +680,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -674,6 +698,9 @@ public Builder clearName() {
*
*
* string name = 4;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -701,6 +728,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
@@ -714,6 +743,8 @@ public boolean hasGroup() {
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return The group.
*/
public com.google.monitoring.v3.Group getGroup() {
if (groupBuilder_ == null) {
@@ -879,6 +910,8 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
*
*
* bool validate_only = 3;
+ *
+ * @return The validateOnly.
*/
public boolean getValidateOnly() {
return validateOnly_;
@@ -891,6 +924,9 @@ public boolean getValidateOnly() {
*
*
* bool validate_only = 3;
+ *
+ * @param value The validateOnly to set.
+ * @return This builder for chaining.
*/
public Builder setValidateOnly(boolean value) {
@@ -906,6 +942,8 @@ public Builder setValidateOnly(boolean value) {
*
*
* bool validate_only = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValidateOnly() {
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 b59c29db..ea8ac07b 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
@@ -32,6 +32,8 @@ public interface CreateGroupRequestOrBuilder
*
*
* string name = 4;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface CreateGroupRequestOrBuilder
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -55,6 +59,8 @@ public interface CreateGroupRequestOrBuilder
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return Whether the group field is set.
*/
boolean hasGroup();
/**
@@ -66,6 +72,8 @@ public interface CreateGroupRequestOrBuilder
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return The group.
*/
com.google.monitoring.v3.Group getGroup();
/**
@@ -88,6 +96,8 @@ public interface CreateGroupRequestOrBuilder
*
*
* bool validate_only = 3;
+ *
+ * @return The validateOnly.
*/
boolean getValidateOnly();
}
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 a059a2da..6822e964 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
@@ -41,6 +41,12 @@ private CreateMetricDescriptorRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateMetricDescriptorRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CreateMetricDescriptorRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -132,6 +137,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -153,6 +160,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.api.MetricDescriptor metric_descriptor = 2;
+ *
+ * @return Whether the metricDescriptor field is set.
*/
public boolean hasMetricDescriptor() {
return metricDescriptor_ != null;
@@ -190,6 +201,8 @@ public boolean hasMetricDescriptor() {
*
*
* .google.api.MetricDescriptor metric_descriptor = 2;
+ *
+ * @return The metricDescriptor.
*/
public com.google.api.MetricDescriptor getMetricDescriptor() {
return metricDescriptor_ == null
@@ -567,6 +580,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -588,6 +603,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -609,6 +626,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -628,6 +648,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -644,6 +666,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -671,6 +696,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.api.MetricDescriptor metric_descriptor = 2;
+ *
+ * @return Whether the metricDescriptor field is set.
*/
public boolean hasMetricDescriptor() {
return metricDescriptorBuilder_ != null || metricDescriptor_ != null;
@@ -684,6 +711,8 @@ public boolean hasMetricDescriptor() {
*
*
* .google.api.MetricDescriptor metric_descriptor = 2;
+ *
+ * @return The metricDescriptor.
*/
public com.google.api.MetricDescriptor getMetricDescriptor() {
if (metricDescriptorBuilder_ == null) {
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 94be0464..2d213590 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
@@ -32,6 +32,8 @@ public interface CreateMetricDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface CreateMetricDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -55,6 +59,8 @@ public interface CreateMetricDescriptorRequestOrBuilder
*
*
* .google.api.MetricDescriptor metric_descriptor = 2;
+ *
+ * @return Whether the metricDescriptor field is set.
*/
boolean hasMetricDescriptor();
/**
@@ -66,6 +72,8 @@ public interface CreateMetricDescriptorRequestOrBuilder
*
*
* .google.api.MetricDescriptor metric_descriptor = 2;
+ *
+ * @return The metricDescriptor.
*/
com.google.api.MetricDescriptor getMetricDescriptor();
/**
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 c5e1ac93..520427d5 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
@@ -42,6 +42,12 @@ private CreateNotificationChannelRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateNotificationChannelRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private CreateNotificationChannelRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -163,6 +170,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -186,6 +195,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 2;
+ *
+ * @return Whether the notificationChannel field is set.
*/
public boolean hasNotificationChannel() {
return notificationChannel_ != null;
@@ -198,6 +209,8 @@ public boolean hasNotificationChannel() {
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 2;
+ *
+ * @return The notificationChannel.
*/
public com.google.monitoring.v3.NotificationChannel getNotificationChannel() {
return notificationChannel_ == null
@@ -578,6 +591,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -603,6 +618,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -628,6 +645,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -651,6 +671,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -671,6 +693,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -697,6 +722,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 2;
+ *
+ * @return Whether the notificationChannel field is set.
*/
public boolean hasNotificationChannel() {
return notificationChannelBuilder_ != null || notificationChannel_ != null;
@@ -709,6 +736,8 @@ public boolean hasNotificationChannel() {
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 2;
+ *
+ * @return The notificationChannel.
*/
public com.google.monitoring.v3.NotificationChannel getNotificationChannel() {
if (notificationChannelBuilder_ == null) {
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 7fd1fdba..b50bcf10 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
@@ -36,6 +36,8 @@ public interface CreateNotificationChannelRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -51,6 +53,8 @@ public interface CreateNotificationChannelRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -62,6 +66,8 @@ public interface CreateNotificationChannelRequestOrBuilder
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 2;
+ *
+ * @return Whether the notificationChannel field is set.
*/
boolean hasNotificationChannel();
/**
@@ -72,6 +78,8 @@ public interface CreateNotificationChannelRequestOrBuilder
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 2;
+ *
+ * @return The notificationChannel.
*/
com.google.monitoring.v3.NotificationChannel getNotificationChannel();
/**
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 32342236..4a32aeaf 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
@@ -43,6 +43,12 @@ private CreateServiceLevelObjectiveRequest() {
serviceLevelObjectiveId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateServiceLevelObjectiveRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private CreateServiceLevelObjectiveRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -142,6 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -163,6 +170,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -188,6 +197,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string service_level_objective_id = 3;
+ *
+ * @return The serviceLevelObjectiveId.
*/
public java.lang.String getServiceLevelObjectiveId() {
java.lang.Object ref = serviceLevelObjectiveId_;
@@ -210,6 +221,8 @@ public java.lang.String getServiceLevelObjectiveId() {
*
*
* string service_level_objective_id = 3;
+ *
+ * @return The bytes for serviceLevelObjectiveId.
*/
public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() {
java.lang.Object ref = serviceLevelObjectiveId_;
@@ -235,6 +248,8 @@ public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() {
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2;
+ *
+ * @return Whether the serviceLevelObjective field is set.
*/
public boolean hasServiceLevelObjective() {
return serviceLevelObjective_ != null;
@@ -249,6 +264,8 @@ public boolean hasServiceLevelObjective() {
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2;
+ *
+ * @return The serviceLevelObjective.
*/
public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() {
return serviceLevelObjective_ == null
@@ -645,6 +662,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -666,6 +685,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -687,6 +708,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -706,6 +730,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -722,6 +748,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -745,6 +774,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string service_level_objective_id = 3;
+ *
+ * @return The serviceLevelObjectiveId.
*/
public java.lang.String getServiceLevelObjectiveId() {
java.lang.Object ref = serviceLevelObjectiveId_;
@@ -767,6 +798,8 @@ public java.lang.String getServiceLevelObjectiveId() {
*
*
* string service_level_objective_id = 3;
+ *
+ * @return The bytes for serviceLevelObjectiveId.
*/
public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() {
java.lang.Object ref = serviceLevelObjectiveId_;
@@ -789,6 +822,9 @@ public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() {
*
*
* string service_level_objective_id = 3;
+ *
+ * @param value The serviceLevelObjectiveId to set.
+ * @return This builder for chaining.
*/
public Builder setServiceLevelObjectiveId(java.lang.String value) {
if (value == null) {
@@ -809,6 +845,8 @@ public Builder setServiceLevelObjectiveId(java.lang.String value) {
*
*
* string service_level_objective_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearServiceLevelObjectiveId() {
@@ -826,6 +864,9 @@ public Builder clearServiceLevelObjectiveId() {
*
*
* string service_level_objective_id = 3;
+ *
+ * @param value The bytes for serviceLevelObjectiveId to set.
+ * @return This builder for chaining.
*/
public Builder setServiceLevelObjectiveIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -854,6 +895,8 @@ public Builder setServiceLevelObjectiveIdBytes(com.google.protobuf.ByteString va
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2;
+ *
+ * @return Whether the serviceLevelObjective field is set.
*/
public boolean hasServiceLevelObjective() {
return serviceLevelObjectiveBuilder_ != null || serviceLevelObjective_ != null;
@@ -868,6 +911,8 @@ public boolean hasServiceLevelObjective() {
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2;
+ *
+ * @return The serviceLevelObjective.
*/
public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() {
if (serviceLevelObjectiveBuilder_ == null) {
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 8c9a1314..ab7d3b01 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
@@ -32,6 +32,8 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -56,6 +60,8 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder
*
*
* string service_level_objective_id = 3;
+ *
+ * @return The serviceLevelObjectiveId.
*/
java.lang.String getServiceLevelObjectiveId();
/**
@@ -68,6 +74,8 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder
*
*
* string service_level_objective_id = 3;
+ *
+ * @return The bytes for serviceLevelObjectiveId.
*/
com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes();
@@ -81,6 +89,8 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2;
+ *
+ * @return Whether the serviceLevelObjective field is set.
*/
boolean hasServiceLevelObjective();
/**
@@ -93,6 +103,8 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2;
+ *
+ * @return The serviceLevelObjective.
*/
com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective();
/**
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 4adf8f19..1766de8e 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
@@ -42,6 +42,12 @@ private CreateServiceRequest() {
serviceId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateServiceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private CreateServiceRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -161,6 +168,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -185,6 +194,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string service_id = 3;
+ *
+ * @return The serviceId.
*/
public java.lang.String getServiceId() {
java.lang.Object ref = serviceId_;
@@ -206,6 +217,8 @@ public java.lang.String getServiceId() {
*
*
* string service_id = 3;
+ *
+ * @return The bytes for serviceId.
*/
public com.google.protobuf.ByteString getServiceIdBytes() {
java.lang.Object ref = serviceId_;
@@ -229,6 +242,8 @@ public com.google.protobuf.ByteString getServiceIdBytes() {
*
*
* .google.monitoring.v3.Service service = 2;
+ *
+ * @return Whether the service field is set.
*/
public boolean hasService() {
return service_ != null;
@@ -241,6 +256,8 @@ public boolean hasService() {
*
*
* .google.monitoring.v3.Service service = 2;
+ *
+ * @return The service.
*/
public com.google.monitoring.v3.Service getService() {
return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_;
@@ -628,6 +645,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -649,6 +668,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -670,6 +691,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -689,6 +713,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -705,6 +731,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -727,6 +756,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string service_id = 3;
+ *
+ * @return The serviceId.
*/
public java.lang.String getServiceId() {
java.lang.Object ref = serviceId_;
@@ -748,6 +779,8 @@ public java.lang.String getServiceId() {
*
*
* string service_id = 3;
+ *
+ * @return The bytes for serviceId.
*/
public com.google.protobuf.ByteString getServiceIdBytes() {
java.lang.Object ref = serviceId_;
@@ -769,6 +802,9 @@ public com.google.protobuf.ByteString getServiceIdBytes() {
*
*
* string service_id = 3;
+ *
+ * @param value The serviceId to set.
+ * @return This builder for chaining.
*/
public Builder setServiceId(java.lang.String value) {
if (value == null) {
@@ -788,6 +824,8 @@ public Builder setServiceId(java.lang.String value) {
*
*
* string service_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearServiceId() {
@@ -804,6 +842,9 @@ public Builder clearServiceId() {
*
*
* string service_id = 3;
+ *
+ * @param value The bytes for serviceId to set.
+ * @return This builder for chaining.
*/
public Builder setServiceIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -830,6 +871,8 @@ public Builder setServiceIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.Service service = 2;
+ *
+ * @return Whether the service field is set.
*/
public boolean hasService() {
return serviceBuilder_ != null || service_ != null;
@@ -842,6 +885,8 @@ public boolean hasService() {
*
*
* .google.monitoring.v3.Service service = 2;
+ *
+ * @return The service.
*/
public com.google.monitoring.v3.Service getService() {
if (serviceBuilder_ == null) {
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 3057d6cf..8e21ead2 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
@@ -32,6 +32,8 @@ public interface CreateServiceRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface CreateServiceRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -55,6 +59,8 @@ public interface CreateServiceRequestOrBuilder
*
*
* string service_id = 3;
+ *
+ * @return The serviceId.
*/
java.lang.String getServiceId();
/**
@@ -66,6 +72,8 @@ public interface CreateServiceRequestOrBuilder
*
*
* string service_id = 3;
+ *
+ * @return The bytes for serviceId.
*/
com.google.protobuf.ByteString getServiceIdBytes();
@@ -77,6 +85,8 @@ public interface CreateServiceRequestOrBuilder
*
*
* .google.monitoring.v3.Service service = 2;
+ *
+ * @return Whether the service field is set.
*/
boolean hasService();
/**
@@ -87,6 +97,8 @@ public interface CreateServiceRequestOrBuilder
*
*
* .google.monitoring.v3.Service service = 2;
+ *
+ * @return The service.
*/
com.google.monitoring.v3.Service getService();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java
index 4d15c554..7d5cfe75 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java
@@ -39,6 +39,12 @@ private CreateTimeSeriesError(com.google.protobuf.GeneratedMessageV3.Builder>
private CreateTimeSeriesError() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateTimeSeriesError();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private CreateTimeSeriesError(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];
+ *
+ * @return Whether the timeSeries field is set.
*/
@java.lang.Deprecated
public boolean hasTimeSeries() {
@@ -150,6 +157,8 @@ public boolean hasTimeSeries() {
*
*
* .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];
+ *
+ * @return The timeSeries.
*/
@java.lang.Deprecated
public com.google.monitoring.v3.TimeSeries getTimeSeries() {
@@ -181,6 +190,8 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() {
*
*
* .google.rpc.Status status = 2 [deprecated = true];
+ *
+ * @return Whether the status field is set.
*/
@java.lang.Deprecated
public boolean hasStatus() {
@@ -194,6 +205,8 @@ public boolean hasStatus() {
*
*
* .google.rpc.Status status = 2 [deprecated = true];
+ *
+ * @return The status.
*/
@java.lang.Deprecated
public com.google.rpc.Status getStatus() {
@@ -583,6 +596,8 @@ public Builder mergeFrom(
*
*
* .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];
+ *
+ * @return Whether the timeSeries field is set.
*/
@java.lang.Deprecated
public boolean hasTimeSeries() {
@@ -596,6 +611,8 @@ public boolean hasTimeSeries() {
*
*
* .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];
+ *
+ * @return The timeSeries.
*/
@java.lang.Deprecated
public com.google.monitoring.v3.TimeSeries getTimeSeries() {
@@ -770,6 +787,8 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() {
*
*
* .google.rpc.Status status = 2 [deprecated = true];
+ *
+ * @return Whether the status field is set.
*/
@java.lang.Deprecated
public boolean hasStatus() {
@@ -783,6 +802,8 @@ public boolean hasStatus() {
*
*
* .google.rpc.Status status = 2 [deprecated = true];
+ *
+ * @return The status.
*/
@java.lang.Deprecated
public com.google.rpc.Status getStatus() {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java
index 7516a116..60cb81f0 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java
@@ -31,6 +31,8 @@ public interface CreateTimeSeriesErrorOrBuilder
*
*
* .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];
+ *
+ * @return Whether the timeSeries field is set.
*/
@java.lang.Deprecated
boolean hasTimeSeries();
@@ -42,6 +44,8 @@ public interface CreateTimeSeriesErrorOrBuilder
*
*
* .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];
+ *
+ * @return The timeSeries.
*/
@java.lang.Deprecated
com.google.monitoring.v3.TimeSeries getTimeSeries();
@@ -65,6 +69,8 @@ public interface CreateTimeSeriesErrorOrBuilder
*
*
* .google.rpc.Status status = 2 [deprecated = true];
+ *
+ * @return Whether the status field is set.
*/
@java.lang.Deprecated
boolean hasStatus();
@@ -76,6 +82,8 @@ public interface CreateTimeSeriesErrorOrBuilder
*
*
* .google.rpc.Status status = 2 [deprecated = true];
+ *
+ * @return The status.
*/
@java.lang.Deprecated
com.google.rpc.Status getStatus();
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 e13ab151..8eb66337 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
@@ -42,6 +42,12 @@ private CreateTimeSeriesRequest() {
timeSeries_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateTimeSeriesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -68,9 +74,9 @@ private CreateTimeSeriesRequest(
break;
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
timeSeries_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
timeSeries_.add(
input.readMessage(
@@ -98,7 +104,7 @@ private CreateTimeSeriesRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
timeSeries_ = java.util.Collections.unmodifiableList(timeSeries_);
}
this.unknownFields = unknownFields.build();
@@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class);
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
@@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -154,6 +161,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -477,7 +486,7 @@ public Builder clear() {
if (timeSeriesBuilder_ == null) {
timeSeries_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
timeSeriesBuilder_.clear();
}
@@ -509,18 +518,16 @@ public com.google.monitoring.v3.CreateTimeSeriesRequest buildPartial() {
com.google.monitoring.v3.CreateTimeSeriesRequest result =
new com.google.monitoring.v3.CreateTimeSeriesRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
if (timeSeriesBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
timeSeries_ = java.util.Collections.unmodifiableList(timeSeries_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.timeSeries_ = timeSeries_;
} else {
result.timeSeries_ = timeSeriesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -579,7 +586,7 @@ public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesRequest other)
if (!other.timeSeries_.isEmpty()) {
if (timeSeries_.isEmpty()) {
timeSeries_ = other.timeSeries_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTimeSeriesIsMutable();
timeSeries_.addAll(other.timeSeries_);
@@ -592,7 +599,7 @@ public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesRequest other)
timeSeriesBuilder_.dispose();
timeSeriesBuilder_ = null;
timeSeries_ = other.timeSeries_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
timeSeriesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTimeSeriesFieldBuilder()
@@ -643,6 +650,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -664,6 +673,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -685,6 +696,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -704,6 +718,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -720,6 +736,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -736,9 +755,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureTimeSeriesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
timeSeries_ = new java.util.ArrayList(timeSeries_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -1008,7 +1027,7 @@ public Builder addAllTimeSeries(
public Builder clearTimeSeries() {
if (timeSeriesBuilder_ == null) {
timeSeries_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
timeSeriesBuilder_.clear();
@@ -1164,7 +1183,7 @@ public java.util.List getTimeSeries
com.google.monitoring.v3.TimeSeries,
com.google.monitoring.v3.TimeSeries.Builder,
com.google.monitoring.v3.TimeSeriesOrBuilder>(
- timeSeries_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ timeSeries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
timeSeries_ = null;
}
return timeSeriesBuilder_;
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 0e76ccff..312a2c69 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
@@ -32,6 +32,8 @@ public interface CreateTimeSeriesRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface CreateTimeSeriesRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java
index 3e925e0e..1ae58b58 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java
@@ -41,6 +41,12 @@ private CreateTimeSeriesSummary() {
errors_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateTimeSeriesSummary();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -77,11 +83,11 @@ private CreateTimeSeriesSummary(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
errors_ =
new java.util.ArrayList<
com.google.monitoring.v3.CreateTimeSeriesSummary.Error>();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
errors_.add(
input.readMessage(
@@ -103,7 +109,7 @@ private CreateTimeSeriesSummary(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
errors_ = java.util.Collections.unmodifiableList(errors_);
}
this.unknownFields = unknownFields.build();
@@ -139,6 +145,8 @@ public interface ErrorOrBuilder
*
*
* .google.rpc.Status status = 1;
+ *
+ * @return Whether the status field is set.
*/
boolean hasStatus();
/**
@@ -149,6 +157,8 @@ public interface ErrorOrBuilder
*
*
* .google.rpc.Status status = 1;
+ *
+ * @return The status.
*/
com.google.rpc.Status getStatus();
/**
@@ -170,6 +180,8 @@ public interface ErrorOrBuilder
*
*
* int32 point_count = 2;
+ *
+ * @return The pointCount.
*/
int getPointCount();
}
@@ -194,6 +206,12 @@ private Error(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Error() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Error();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -207,7 +225,6 @@ private Error(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -281,6 +298,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.rpc.Status status = 1;
+ *
+ * @return Whether the status field is set.
*/
public boolean hasStatus() {
return status_ != null;
@@ -293,6 +312,8 @@ public boolean hasStatus() {
*
*
* .google.rpc.Status status = 1;
+ *
+ * @return The status.
*/
public com.google.rpc.Status getStatus() {
return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
@@ -320,6 +341,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
*
*
* int32 point_count = 2;
+ *
+ * @return The pointCount.
*/
public int getPointCount() {
return pointCount_;
@@ -687,6 +710,8 @@ public Builder mergeFrom(
*
*
* .google.rpc.Status status = 1;
+ *
+ * @return Whether the status field is set.
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
@@ -699,6 +724,8 @@ public boolean hasStatus() {
*
*
* .google.rpc.Status status = 1;
+ *
+ * @return The status.
*/
public com.google.rpc.Status getStatus() {
if (statusBuilder_ == null) {
@@ -853,6 +880,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
*
*
* int32 point_count = 2;
+ *
+ * @return The pointCount.
*/
public int getPointCount() {
return pointCount_;
@@ -865,6 +894,9 @@ public int getPointCount() {
*
*
* int32 point_count = 2;
+ *
+ * @param value The pointCount to set.
+ * @return This builder for chaining.
*/
public Builder setPointCount(int value) {
@@ -880,6 +912,8 @@ public Builder setPointCount(int value) {
*
*
* int32 point_count = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPointCount() {
@@ -940,7 +974,6 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error getDefaultInstance
}
}
- private int bitField0_;
public static final int TOTAL_POINT_COUNT_FIELD_NUMBER = 1;
private int totalPointCount_;
/**
@@ -951,6 +984,8 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error getDefaultInstance
*
*
* int32 total_point_count = 1;
+ *
+ * @return The totalPointCount.
*/
public int getTotalPointCount() {
return totalPointCount_;
@@ -966,6 +1001,8 @@ public int getTotalPointCount() {
*
*
* int32 success_point_count = 2;
+ *
+ * @return The successPointCount.
*/
public int getSuccessPointCount() {
return successPointCount_;
@@ -1268,7 +1305,7 @@ public Builder clear() {
if (errorsBuilder_ == null) {
errors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
errorsBuilder_.clear();
}
@@ -1300,19 +1337,17 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary buildPartial() {
com.google.monitoring.v3.CreateTimeSeriesSummary result =
new com.google.monitoring.v3.CreateTimeSeriesSummary(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.totalPointCount_ = totalPointCount_;
result.successPointCount_ = successPointCount_;
if (errorsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
errors_ = java.util.Collections.unmodifiableList(errors_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.errors_ = errors_;
} else {
result.errors_ = errorsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1373,7 +1408,7 @@ public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesSummary other)
if (!other.errors_.isEmpty()) {
if (errors_.isEmpty()) {
errors_ = other.errors_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureErrorsIsMutable();
errors_.addAll(other.errors_);
@@ -1386,7 +1421,7 @@ public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesSummary other)
errorsBuilder_.dispose();
errorsBuilder_ = null;
errors_ = other.errors_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
errorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getErrorsFieldBuilder()
@@ -1436,6 +1471,8 @@ public Builder mergeFrom(
*
*
* int32 total_point_count = 1;
+ *
+ * @return The totalPointCount.
*/
public int getTotalPointCount() {
return totalPointCount_;
@@ -1448,6 +1485,9 @@ public int getTotalPointCount() {
*
*
* int32 total_point_count = 1;
+ *
+ * @param value The totalPointCount to set.
+ * @return This builder for chaining.
*/
public Builder setTotalPointCount(int value) {
@@ -1463,6 +1503,8 @@ public Builder setTotalPointCount(int value) {
*
*
* int32 total_point_count = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTotalPointCount() {
@@ -1480,6 +1522,8 @@ public Builder clearTotalPointCount() {
*
*
* int32 success_point_count = 2;
+ *
+ * @return The successPointCount.
*/
public int getSuccessPointCount() {
return successPointCount_;
@@ -1492,6 +1536,9 @@ public int getSuccessPointCount() {
*
*
* int32 success_point_count = 2;
+ *
+ * @param value The successPointCount to set.
+ * @return This builder for chaining.
*/
public Builder setSuccessPointCount(int value) {
@@ -1507,6 +1554,8 @@ public Builder setSuccessPointCount(int value) {
*
*
* int32 success_point_count = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSuccessPointCount() {
@@ -1519,11 +1568,11 @@ public Builder clearSuccessPointCount() {
java.util.Collections.emptyList();
private void ensureErrorsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
errors_ =
new java.util.ArrayList(
errors_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
@@ -1742,7 +1791,7 @@ public Builder addAllErrors(
public Builder clearErrors() {
if (errorsBuilder_ == null) {
errors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
errorsBuilder_.clear();
@@ -1868,7 +1917,7 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder addErrorsB
com.google.monitoring.v3.CreateTimeSeriesSummary.Error,
com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder,
com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder>(
- errors_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+ errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
errors_ = null;
}
return errorsBuilder_;
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java
index 5602c0fd..9cea9dc8 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java
@@ -31,6 +31,8 @@ public interface CreateTimeSeriesSummaryOrBuilder
*
*
* int32 total_point_count = 1;
+ *
+ * @return The totalPointCount.
*/
int getTotalPointCount();
@@ -42,6 +44,8 @@ public interface CreateTimeSeriesSummaryOrBuilder
*
*
* int32 success_point_count = 2;
+ *
+ * @return The successPointCount.
*/
int getSuccessPointCount();
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 b652ee2d..d34f268c 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
@@ -42,6 +42,12 @@ private CreateUptimeCheckConfigRequest() {
parent_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateUptimeCheckConfigRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private CreateUptimeCheckConfigRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -134,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -155,6 +162,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -178,6 +187,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2;
+ *
+ * @return Whether the uptimeCheckConfig field is set.
*/
public boolean hasUptimeCheckConfig() {
return uptimeCheckConfig_ != null;
@@ -190,6 +201,8 @@ public boolean hasUptimeCheckConfig() {
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2;
+ *
+ * @return The uptimeCheckConfig.
*/
public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() {
return uptimeCheckConfig_ == null
@@ -566,6 +579,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -587,6 +602,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -608,6 +625,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -627,6 +647,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -643,6 +665,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -669,6 +694,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2;
+ *
+ * @return Whether the uptimeCheckConfig field is set.
*/
public boolean hasUptimeCheckConfig() {
return uptimeCheckConfigBuilder_ != null || uptimeCheckConfig_ != null;
@@ -681,6 +708,8 @@ public boolean hasUptimeCheckConfig() {
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2;
+ *
+ * @return The uptimeCheckConfig.
*/
public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() {
if (uptimeCheckConfigBuilder_ == null) {
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 205c2911..9a0739c3 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
@@ -32,6 +32,8 @@ public interface CreateUptimeCheckConfigRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface CreateUptimeCheckConfigRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -54,6 +58,8 @@ public interface CreateUptimeCheckConfigRequestOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2;
+ *
+ * @return Whether the uptimeCheckConfig field is set.
*/
boolean hasUptimeCheckConfig();
/**
@@ -64,6 +70,8 @@ public interface CreateUptimeCheckConfigRequestOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2;
+ *
+ * @return The uptimeCheckConfig.
*/
com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig();
/**
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 cc272ae5..b90a6106 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
@@ -41,6 +41,12 @@ private DeleteAlertPolicyRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteAlertPolicyRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteAlertPolicyRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -140,6 +147,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -482,6 +491,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -504,6 +515,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -526,6 +539,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -546,6 +562,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -563,6 +581,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 7fba3da3..641d953a 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
@@ -33,6 +33,8 @@ public interface DeleteAlertPolicyRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface DeleteAlertPolicyRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 29bd5659..e2e279fe 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
@@ -42,6 +42,12 @@ private DeleteGroupRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteGroupRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DeleteGroupRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -169,6 +178,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* bool recursive = 4;
+ *
+ * @return The recursive.
*/
public boolean getRecursive() {
return recursive_;
@@ -516,6 +527,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -537,6 +550,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -558,6 +573,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -577,6 +595,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -593,6 +613,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -616,6 +639,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* bool recursive = 4;
+ *
+ * @return The recursive.
*/
public boolean getRecursive() {
return recursive_;
@@ -630,6 +655,9 @@ public boolean getRecursive() {
*
*
* bool recursive = 4;
+ *
+ * @param value The recursive to set.
+ * @return This builder for chaining.
*/
public Builder setRecursive(boolean value) {
@@ -647,6 +675,8 @@ public Builder setRecursive(boolean value) {
*
*
* bool recursive = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRecursive() {
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 85b6308e..d1c8cbe2 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
@@ -32,6 +32,8 @@ public interface DeleteGroupRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface DeleteGroupRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -56,6 +60,8 @@ public interface DeleteGroupRequestOrBuilder
*
*
* bool recursive = 4;
+ *
+ * @return The recursive.
*/
boolean getRecursive();
}
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 fa0f58af..a1861228 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
@@ -41,6 +41,12 @@ private DeleteMetricDescriptorRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteMetricDescriptorRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteMetricDescriptorRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -142,6 +149,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -486,6 +495,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -509,6 +520,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -532,6 +545,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -553,6 +569,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -571,6 +589,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 199f641b..97df32a7 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
@@ -34,6 +34,8 @@ public interface DeleteMetricDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface DeleteMetricDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 e10b2604..2198dd58 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
@@ -42,6 +42,12 @@ private DeleteNotificationChannelRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteNotificationChannelRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DeleteNotificationChannelRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -170,6 +179,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* bool force = 5;
+ *
+ * @return The force.
*/
public boolean getForce() {
return force_;
@@ -519,6 +530,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -540,6 +553,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -561,6 +576,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -580,6 +598,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -596,6 +616,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -620,6 +643,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* bool force = 5;
+ *
+ * @return The force.
*/
public boolean getForce() {
return force_;
@@ -635,6 +660,9 @@ public boolean getForce() {
*
*
* bool force = 5;
+ *
+ * @param value The force to set.
+ * @return This builder for chaining.
*/
public Builder setForce(boolean value) {
@@ -653,6 +681,8 @@ public Builder setForce(boolean value) {
*
*
* bool force = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearForce() {
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 c44002ac..06b35e40 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
@@ -32,6 +32,8 @@ public interface DeleteNotificationChannelRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface DeleteNotificationChannelRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -57,6 +61,8 @@ public interface DeleteNotificationChannelRequestOrBuilder
*
*
* bool force = 5;
+ *
+ * @return The force.
*/
boolean getForce();
}
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 09489f0b..8280f71f 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
@@ -42,6 +42,12 @@ private DeleteServiceLevelObjectiveRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteServiceLevelObjectiveRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DeleteServiceLevelObjectiveRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -141,6 +148,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -484,6 +493,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -506,6 +517,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -528,6 +541,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -548,6 +564,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -565,6 +583,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 4567aca9..efa5bd03 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
@@ -33,6 +33,8 @@ public interface DeleteServiceLevelObjectiveRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface DeleteServiceLevelObjectiveRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 dfd193f2..8e8f8f41 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
@@ -41,6 +41,12 @@ private DeleteServiceRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteServiceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteServiceRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -477,6 +486,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -498,6 +509,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -538,6 +554,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -554,6 +572,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 439d670b..13c0766b 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
@@ -32,6 +32,8 @@ public interface DeleteServiceRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface DeleteServiceRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 56f63e27..f9920e2a 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
@@ -42,6 +42,12 @@ private DeleteUptimeCheckConfigRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteUptimeCheckConfigRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DeleteUptimeCheckConfigRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -139,6 +146,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -481,6 +490,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -502,6 +513,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -523,6 +536,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -542,6 +558,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -558,6 +576,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 d85410fa..434482e6 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
@@ -32,6 +32,8 @@ public interface DeleteUptimeCheckConfigRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface DeleteUptimeCheckConfigRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java
index 60b8960f..44f4fb21 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java
@@ -45,6 +45,12 @@ private DistributionCut() {
distributionFilter_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DistributionCut();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private DistributionCut(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string distribution_filter = 4;
+ *
+ * @return The distributionFilter.
*/
public java.lang.String getDistributionFilter() {
java.lang.Object ref = distributionFilter_;
@@ -159,6 +166,8 @@ public java.lang.String getDistributionFilter() {
*
*
* string distribution_filter = 4;
+ *
+ * @return The bytes for distributionFilter.
*/
public com.google.protobuf.ByteString getDistributionFilterBytes() {
java.lang.Object ref = distributionFilter_;
@@ -183,6 +192,8 @@ public com.google.protobuf.ByteString getDistributionFilterBytes() {
*
*
* .google.monitoring.v3.Range range = 5;
+ *
+ * @return Whether the range field is set.
*/
public boolean hasRange() {
return range_ != null;
@@ -196,6 +207,8 @@ public boolean hasRange() {
*
*
* .google.monitoring.v3.Range range = 5;
+ *
+ * @return The range.
*/
public com.google.monitoring.v3.Range getRange() {
return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_;
@@ -572,6 +585,8 @@ public Builder mergeFrom(
*
*
* string distribution_filter = 4;
+ *
+ * @return The distributionFilter.
*/
public java.lang.String getDistributionFilter() {
java.lang.Object ref = distributionFilter_;
@@ -594,6 +609,8 @@ public java.lang.String getDistributionFilter() {
*
*
* string distribution_filter = 4;
+ *
+ * @return The bytes for distributionFilter.
*/
public com.google.protobuf.ByteString getDistributionFilterBytes() {
java.lang.Object ref = distributionFilter_;
@@ -616,6 +633,9 @@ public com.google.protobuf.ByteString getDistributionFilterBytes() {
*
*
* string distribution_filter = 4;
+ *
+ * @param value The distributionFilter to set.
+ * @return This builder for chaining.
*/
public Builder setDistributionFilter(java.lang.String value) {
if (value == null) {
@@ -636,6 +656,8 @@ public Builder setDistributionFilter(java.lang.String value) {
*
*
* string distribution_filter = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDistributionFilter() {
@@ -653,6 +675,9 @@ public Builder clearDistributionFilter() {
*
*
* string distribution_filter = 4;
+ *
+ * @param value The bytes for distributionFilter to set.
+ * @return This builder for chaining.
*/
public Builder setDistributionFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -680,6 +705,8 @@ public Builder setDistributionFilterBytes(com.google.protobuf.ByteString value)
*
*
* .google.monitoring.v3.Range range = 5;
+ *
+ * @return Whether the range field is set.
*/
public boolean hasRange() {
return rangeBuilder_ != null || range_ != null;
@@ -693,6 +720,8 @@ public boolean hasRange() {
*
*
* .google.monitoring.v3.Range range = 5;
+ *
+ * @return The range.
*/
public com.google.monitoring.v3.Range getRange() {
if (rangeBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
index 7758f2ec..b0ed354c 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
@@ -33,6 +33,8 @@ public interface DistributionCutOrBuilder
*
*
* string distribution_filter = 4;
+ *
+ * @return The distributionFilter.
*/
java.lang.String getDistributionFilter();
/**
@@ -45,6 +47,8 @@ public interface DistributionCutOrBuilder
*
*
* string distribution_filter = 4;
+ *
+ * @return The bytes for distributionFilter.
*/
com.google.protobuf.ByteString getDistributionFilterBytes();
@@ -57,6 +61,8 @@ public interface DistributionCutOrBuilder
*
*
* .google.monitoring.v3.Range range = 5;
+ *
+ * @return Whether the range field is set.
*/
boolean hasRange();
/**
@@ -68,6 +74,8 @@ public interface DistributionCutOrBuilder
*
*
* .google.monitoring.v3.Range range = 5;
+ *
+ * @return The range.
*/
com.google.monitoring.v3.Range getRange();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
index 0e23a005..3d2f4184 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
@@ -51,6 +51,12 @@ private DroppedLabels(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private DroppedLabels() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DroppedLabels();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java
index 64443d67..72033f6e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java
@@ -55,16 +55,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "d.Monitoring.V3\312\002\032Google\\Cloud\\Monitorin"
+ "g\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}, assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_monitoring_v3_DroppedLabels_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable =
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 470bca72..733a7291 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
@@ -41,6 +41,12 @@ private GetAlertPolicyRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetAlertPolicyRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetAlertPolicyRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -477,6 +486,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -498,6 +509,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -538,6 +554,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -554,6 +572,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 4372b5a8..f26cc697 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
@@ -32,6 +32,8 @@ public interface GetAlertPolicyRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetAlertPolicyRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 a4549a3f..dee9df9e 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
@@ -41,6 +41,12 @@ private GetGroupRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetGroupRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetGroupRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -476,6 +485,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -497,6 +508,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -518,6 +531,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -537,6 +553,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -553,6 +571,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 e1cc587e..94799ccb 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
@@ -32,6 +32,8 @@ public interface GetGroupRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetGroupRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 61f73291..707cb0b1 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
@@ -41,6 +41,12 @@ private GetMetricDescriptorRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetMetricDescriptorRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetMetricDescriptorRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -142,6 +149,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -485,6 +494,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -508,6 +519,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -531,6 +544,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -552,6 +568,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -570,6 +588,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 f538644e..47a2875a 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
@@ -34,6 +34,8 @@ public interface GetMetricDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface GetMetricDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 3f27ecff..f646b34d 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
@@ -43,6 +43,12 @@ private GetMonitoredResourceDescriptorRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetMonitoredResourceDescriptorRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private GetMonitoredResourceDescriptorRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -491,6 +500,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -514,6 +525,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -537,6 +550,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -558,6 +574,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -576,6 +594,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 954eb230..f29bcb74 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
@@ -34,6 +34,8 @@ public interface GetMonitoredResourceDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface GetMonitoredResourceDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 dabeb663..6a61a75c 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
@@ -43,6 +43,12 @@ private GetNotificationChannelDescriptorRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetNotificationChannelDescriptorRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private GetNotificationChannelDescriptorRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -140,6 +147,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -486,6 +495,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -507,6 +518,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -528,6 +541,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -547,6 +563,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -563,6 +581,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 09006f4e..abf99146 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
@@ -32,6 +32,8 @@ public interface GetNotificationChannelDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetNotificationChannelDescriptorRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 434343b7..f7432970 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
@@ -41,6 +41,12 @@ private GetNotificationChannelRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetNotificationChannelRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetNotificationChannelRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -480,6 +489,8 @@ public Builder mergeFrom(
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -501,6 +512,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -522,6 +535,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -541,6 +557,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -557,6 +575,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 d5c84cdd..4c597993 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
@@ -32,6 +32,8 @@ public interface GetNotificationChannelRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetNotificationChannelRequestOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 17962ac0..067ae750 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
@@ -43,6 +43,12 @@ private GetNotificationChannelVerificationCodeRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetNotificationChannelVerificationCodeRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private GetNotificationChannelVerificationCodeRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -135,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -157,6 +164,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -188,6 +197,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
public boolean hasExpireTime() {
return expireTime_ != null;
@@ -208,6 +219,8 @@ public boolean hasExpireTime() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
public com.google.protobuf.Timestamp getExpireTime() {
return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
@@ -600,6 +613,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -622,6 +637,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -644,6 +661,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -664,6 +684,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -681,6 +703,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -715,6 +740,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
public boolean hasExpireTime() {
return expireTimeBuilder_ != null || expireTime_ != null;
@@ -735,6 +762,8 @@ public boolean hasExpireTime() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
public com.google.protobuf.Timestamp getExpireTime() {
if (expireTimeBuilder_ == null) {
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 e89075ac..49e91f8d 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
@@ -33,6 +33,8 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -64,6 +68,8 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
boolean hasExpireTime();
/**
@@ -82,6 +88,8 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
com.google.protobuf.Timestamp getExpireTime();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
index 028d2ee1..d6c5ab5e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
@@ -43,6 +43,12 @@ private GetNotificationChannelVerificationCodeResponse() {
code_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetNotificationChannelVerificationCodeResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private GetNotificationChannelVerificationCodeResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -136,6 +141,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string code = 1;
+ *
+ * @return The code.
*/
public java.lang.String getCode() {
java.lang.Object ref = code_;
@@ -159,6 +166,8 @@ public java.lang.String getCode() {
*
*
* string code = 1;
+ *
+ * @return The bytes for code.
*/
public com.google.protobuf.ByteString getCodeBytes() {
java.lang.Object ref = code_;
@@ -184,6 +193,8 @@ public com.google.protobuf.ByteString getCodeBytes() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
public boolean hasExpireTime() {
return expireTime_ != null;
@@ -198,6 +209,8 @@ public boolean hasExpireTime() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
public com.google.protobuf.Timestamp getExpireTime() {
return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
@@ -587,6 +600,8 @@ public Builder mergeFrom(
*
*
* string code = 1;
+ *
+ * @return The code.
*/
public java.lang.String getCode() {
java.lang.Object ref = code_;
@@ -610,6 +625,8 @@ public java.lang.String getCode() {
*
*
* string code = 1;
+ *
+ * @return The bytes for code.
*/
public com.google.protobuf.ByteString getCodeBytes() {
java.lang.Object ref = code_;
@@ -633,6 +650,9 @@ public com.google.protobuf.ByteString getCodeBytes() {
*
*
* string code = 1;
+ *
+ * @param value The code to set.
+ * @return This builder for chaining.
*/
public Builder setCode(java.lang.String value) {
if (value == null) {
@@ -654,6 +674,8 @@ public Builder setCode(java.lang.String value) {
*
*
* string code = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCode() {
@@ -672,6 +694,9 @@ public Builder clearCode() {
*
*
* string code = 1;
+ *
+ * @param value The bytes for code to set.
+ * @return This builder for chaining.
*/
public Builder setCodeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -700,6 +725,8 @@ public Builder setCodeBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
public boolean hasExpireTime() {
return expireTimeBuilder_ != null || expireTime_ != null;
@@ -714,6 +741,8 @@ public boolean hasExpireTime() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
public com.google.protobuf.Timestamp getExpireTime() {
if (expireTimeBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
index 475c1401..fdaba281 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
@@ -34,6 +34,8 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder
*
*
* string code = 1;
+ *
+ * @return The code.
*/
java.lang.String getCode();
/**
@@ -47,6 +49,8 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder
*
*
* string code = 1;
+ *
+ * @return The bytes for code.
*/
com.google.protobuf.ByteString getCodeBytes();
@@ -60,6 +64,8 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
boolean hasExpireTime();
/**
@@ -72,6 +78,8 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
com.google.protobuf.Timestamp getExpireTime();
/**
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 0f0319a4..b83a46d8 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
@@ -43,6 +43,12 @@ private GetServiceLevelObjectiveRequest() {
view_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetServiceLevelObjectiveRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private GetServiceLevelObjectiveRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -149,6 +156,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -175,6 +184,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -190,6 +201,8 @@ public int getViewValue() {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @return The view.
*/
public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
@SuppressWarnings("deprecation")
@@ -545,6 +558,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -567,6 +582,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -589,6 +606,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -609,6 +629,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -626,6 +648,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -650,6 +675,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -665,6 +692,9 @@ public int getViewValue() {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @param value The enum numeric value on the wire for view to set.
+ * @return This builder for chaining.
*/
public Builder setViewValue(int value) {
view_ = value;
@@ -682,6 +712,8 @@ public Builder setViewValue(int value) {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @return The view.
*/
public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
@SuppressWarnings("deprecation")
@@ -702,6 +734,9 @@ public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @param value The view to set.
+ * @return This builder for chaining.
*/
public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value) {
if (value == null) {
@@ -723,6 +758,8 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearView() {
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 db24b3a0..7a2ae15c 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
@@ -33,6 +33,8 @@ public interface GetServiceLevelObjectiveRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface GetServiceLevelObjectiveRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -59,6 +63,8 @@ public interface GetServiceLevelObjectiveRequestOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @return The enum numeric value on the wire for view.
*/
int getViewValue();
/**
@@ -72,6 +78,8 @@ public interface GetServiceLevelObjectiveRequestOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 2;
+ *
+ * @return The view.
*/
com.google.monitoring.v3.ServiceLevelObjective.View getView();
}
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 9a491278..89188096 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
@@ -41,6 +41,12 @@ private GetServiceRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetServiceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetServiceRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -477,6 +486,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -498,6 +509,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -538,6 +554,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -554,6 +572,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 c51f6712..30bdb9aa 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
@@ -32,6 +32,8 @@ public interface GetServiceRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetServiceRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
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 dca0001c..2a6b7df8 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
@@ -41,6 +41,12 @@ private GetUptimeCheckConfigRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetUptimeCheckConfigRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetUptimeCheckConfigRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -479,6 +488,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -500,6 +511,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -521,6 +534,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -540,6 +556,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -556,6 +574,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 2c3cb4b4..9262ae8d 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
@@ -32,6 +32,8 @@ public interface GetUptimeCheckConfigRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetUptimeCheckConfigRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java
index 2b4f8bd0..563db4f2 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java
@@ -66,6 +66,12 @@ private Group() {
filter_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Group();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -79,7 +85,6 @@ private Group(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -170,6 +175,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -194,6 +201,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -217,6 +226,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -237,6 +248,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -262,6 +275,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string parent_name = 3;
+ *
+ * @return The parentName.
*/
public java.lang.String getParentName() {
java.lang.Object ref = parentName_;
@@ -284,6 +299,8 @@ public java.lang.String getParentName() {
*
*
* string parent_name = 3;
+ *
+ * @return The bytes for parentName.
*/
public com.google.protobuf.ByteString getParentNameBytes() {
java.lang.Object ref = parentName_;
@@ -308,6 +325,8 @@ public com.google.protobuf.ByteString getParentNameBytes() {
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -329,6 +348,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -353,6 +374,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* bool is_cluster = 6;
+ *
+ * @return The isCluster.
*/
public boolean getIsCluster() {
return isCluster_;
@@ -768,6 +791,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -792,6 +817,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -816,6 +843,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -838,6 +868,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -857,6 +889,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -878,6 +913,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -898,6 +935,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -918,6 +957,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -936,6 +978,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -951,6 +995,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -974,6 +1021,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string parent_name = 3;
+ *
+ * @return The parentName.
*/
public java.lang.String getParentName() {
java.lang.Object ref = parentName_;
@@ -996,6 +1045,8 @@ public java.lang.String getParentName() {
*
*
* string parent_name = 3;
+ *
+ * @return The bytes for parentName.
*/
public com.google.protobuf.ByteString getParentNameBytes() {
java.lang.Object ref = parentName_;
@@ -1018,6 +1069,9 @@ public com.google.protobuf.ByteString getParentNameBytes() {
*
*
* string parent_name = 3;
+ *
+ * @param value The parentName to set.
+ * @return This builder for chaining.
*/
public Builder setParentName(java.lang.String value) {
if (value == null) {
@@ -1038,6 +1092,8 @@ public Builder setParentName(java.lang.String value) {
*
*
* string parent_name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParentName() {
@@ -1055,6 +1111,9 @@ public Builder clearParentName() {
*
*
* string parent_name = 3;
+ *
+ * @param value The bytes for parentName to set.
+ * @return This builder for chaining.
*/
public Builder setParentNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1077,6 +1136,8 @@ public Builder setParentNameBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -1098,6 +1159,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -1119,6 +1182,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 5;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -1138,6 +1204,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -1154,6 +1222,9 @@ public Builder clearFilter() {
*
*
* string filter = 5;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1176,6 +1247,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* bool is_cluster = 6;
+ *
+ * @return The isCluster.
*/
public boolean getIsCluster() {
return isCluster_;
@@ -1189,6 +1262,9 @@ public boolean getIsCluster() {
*
*
* bool is_cluster = 6;
+ *
+ * @param value The isCluster to set.
+ * @return This builder for chaining.
*/
public Builder setIsCluster(boolean value) {
@@ -1205,6 +1281,8 @@ public Builder setIsCluster(boolean value) {
*
*
* bool is_cluster = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIsCluster() {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java
index a03b02eb..e1e00cd2 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class GroupName implements ResourceName {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java
index 136824e2..47f7c61e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java
@@ -35,6 +35,8 @@ public interface GroupOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface GroupOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -60,6 +64,8 @@ public interface GroupOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -70,6 +76,8 @@ public interface GroupOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -83,6 +91,8 @@ public interface GroupOrBuilder
*
*
* string parent_name = 3;
+ *
+ * @return The parentName.
*/
java.lang.String getParentName();
/**
@@ -95,6 +105,8 @@ public interface GroupOrBuilder
*
*
* string parent_name = 3;
+ *
+ * @return The bytes for parentName.
*/
com.google.protobuf.ByteString getParentNameBytes();
@@ -107,6 +119,8 @@ public interface GroupOrBuilder
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -118,6 +132,8 @@ public interface GroupOrBuilder
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -130,6 +146,8 @@ public interface GroupOrBuilder
*
*
* bool is_cluster = 6;
+ *
+ * @return The isCluster.
*/
boolean getIsCluster();
}
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 142ec714..074d7d39 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
@@ -50,16 +50,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ".Monitoring.V3\312\002\032Google\\Cloud\\Monitoring"
+ "\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}, assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_monitoring_v3_Group_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_Group_fieldAccessorTable =
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java
index 46c178a1..c9f881aa 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java
@@ -106,12 +106,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static GroupResourceType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static GroupResourceType forNumber(int value) {
switch (value) {
case 0:
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 dfcb91b5..1fd34b6f 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
@@ -126,25 +126,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "loud.Monitoring.V3\312\002\032Google\\Cloud\\Monito"
+ "ring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.MonitoredResourceProto.getDescriptor(),
- com.google.monitoring.v3.CommonProto.getDescriptor(),
- com.google.monitoring.v3.GroupProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.MonitoredResourceProto.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);
internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable =
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java
index 3352e3f5..dcc042fe 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java
@@ -48,6 +48,12 @@ private InternalChecker() {
state_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InternalChecker();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -61,7 +67,6 @@ private InternalChecker(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -250,12 +255,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static State forNumber(int value) {
switch (value) {
case 0:
@@ -326,6 +339,8 @@ private State(int value) {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -349,6 +364,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -374,6 +391,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -396,6 +415,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -420,6 +441,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string network = 3;
+ *
+ * @return The network.
*/
public java.lang.String getNetwork() {
java.lang.Object ref = network_;
@@ -441,6 +464,8 @@ public java.lang.String getNetwork() {
*
*
* string network = 3;
+ *
+ * @return The bytes for network.
*/
public com.google.protobuf.ByteString getNetworkBytes() {
java.lang.Object ref = network_;
@@ -465,6 +490,8 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* string gcp_zone = 4;
+ *
+ * @return The gcpZone.
*/
public java.lang.String getGcpZone() {
java.lang.Object ref = gcpZone_;
@@ -486,6 +513,8 @@ public java.lang.String getGcpZone() {
*
*
* string gcp_zone = 4;
+ *
+ * @return The bytes for gcpZone.
*/
public com.google.protobuf.ByteString getGcpZoneBytes() {
java.lang.Object ref = gcpZone_;
@@ -510,6 +539,8 @@ public com.google.protobuf.ByteString getGcpZoneBytes() {
*
*
* string peer_project_id = 6;
+ *
+ * @return The peerProjectId.
*/
public java.lang.String getPeerProjectId() {
java.lang.Object ref = peerProjectId_;
@@ -531,6 +562,8 @@ public java.lang.String getPeerProjectId() {
*
*
* string peer_project_id = 6;
+ *
+ * @return The bytes for peerProjectId.
*/
public com.google.protobuf.ByteString getPeerProjectIdBytes() {
java.lang.Object ref = peerProjectId_;
@@ -554,6 +587,8 @@ public com.google.protobuf.ByteString getPeerProjectIdBytes() {
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -566,6 +601,8 @@ public int getStateValue() {
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @return The state.
*/
public com.google.monitoring.v3.InternalChecker.State getState() {
@SuppressWarnings("deprecation")
@@ -981,6 +1018,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1004,6 +1043,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1027,6 +1068,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1048,6 +1092,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1066,6 +1112,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1089,6 +1138,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -1111,6 +1162,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1133,6 +1186,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1153,6 +1209,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1170,6 +1228,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1192,6 +1253,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string network = 3;
+ *
+ * @return The network.
*/
public java.lang.String getNetwork() {
java.lang.Object ref = network_;
@@ -1213,6 +1276,8 @@ public java.lang.String getNetwork() {
*
*
* string network = 3;
+ *
+ * @return The bytes for network.
*/
public com.google.protobuf.ByteString getNetworkBytes() {
java.lang.Object ref = network_;
@@ -1234,6 +1299,9 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* string network = 3;
+ *
+ * @param value The network to set.
+ * @return This builder for chaining.
*/
public Builder setNetwork(java.lang.String value) {
if (value == null) {
@@ -1253,6 +1321,8 @@ public Builder setNetwork(java.lang.String value) {
*
*
* string network = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNetwork() {
@@ -1269,6 +1339,9 @@ public Builder clearNetwork() {
*
*
* string network = 3;
+ *
+ * @param value The bytes for network to set.
+ * @return This builder for chaining.
*/
public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1291,6 +1364,8 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
*
*
* string gcp_zone = 4;
+ *
+ * @return The gcpZone.
*/
public java.lang.String getGcpZone() {
java.lang.Object ref = gcpZone_;
@@ -1312,6 +1387,8 @@ public java.lang.String getGcpZone() {
*
*
* string gcp_zone = 4;
+ *
+ * @return The bytes for gcpZone.
*/
public com.google.protobuf.ByteString getGcpZoneBytes() {
java.lang.Object ref = gcpZone_;
@@ -1333,6 +1410,9 @@ public com.google.protobuf.ByteString getGcpZoneBytes() {
*
*
* string gcp_zone = 4;
+ *
+ * @param value The gcpZone to set.
+ * @return This builder for chaining.
*/
public Builder setGcpZone(java.lang.String value) {
if (value == null) {
@@ -1352,6 +1432,8 @@ public Builder setGcpZone(java.lang.String value) {
*
*
* string gcp_zone = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGcpZone() {
@@ -1368,6 +1450,9 @@ public Builder clearGcpZone() {
*
*
* string gcp_zone = 4;
+ *
+ * @param value The bytes for gcpZone to set.
+ * @return This builder for chaining.
*/
public Builder setGcpZoneBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1390,6 +1475,8 @@ public Builder setGcpZoneBytes(com.google.protobuf.ByteString value) {
*
*
* string peer_project_id = 6;
+ *
+ * @return The peerProjectId.
*/
public java.lang.String getPeerProjectId() {
java.lang.Object ref = peerProjectId_;
@@ -1411,6 +1498,8 @@ public java.lang.String getPeerProjectId() {
*
*
* string peer_project_id = 6;
+ *
+ * @return The bytes for peerProjectId.
*/
public com.google.protobuf.ByteString getPeerProjectIdBytes() {
java.lang.Object ref = peerProjectId_;
@@ -1432,6 +1521,9 @@ public com.google.protobuf.ByteString getPeerProjectIdBytes() {
*
*
* string peer_project_id = 6;
+ *
+ * @param value The peerProjectId to set.
+ * @return This builder for chaining.
*/
public Builder setPeerProjectId(java.lang.String value) {
if (value == null) {
@@ -1451,6 +1543,8 @@ public Builder setPeerProjectId(java.lang.String value) {
*
*
* string peer_project_id = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPeerProjectId() {
@@ -1467,6 +1561,9 @@ public Builder clearPeerProjectId() {
*
*
* string peer_project_id = 6;
+ *
+ * @param value The bytes for peerProjectId to set.
+ * @return This builder for chaining.
*/
public Builder setPeerProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1488,6 +1585,8 @@ public Builder setPeerProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -1500,6 +1599,9 @@ public int getStateValue() {
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
@@ -1514,6 +1616,8 @@ public Builder setStateValue(int value) {
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @return The state.
*/
public com.google.monitoring.v3.InternalChecker.State getState() {
@SuppressWarnings("deprecation")
@@ -1529,6 +1633,9 @@ public com.google.monitoring.v3.InternalChecker.State getState() {
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
*/
public Builder setState(com.google.monitoring.v3.InternalChecker.State value) {
if (value == null) {
@@ -1547,6 +1654,8 @@ public Builder setState(com.google.monitoring.v3.InternalChecker.State value) {
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearState() {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java
index 343a1f9e..2c9bc344 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java
@@ -35,6 +35,8 @@ public interface InternalCheckerOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -48,6 +50,8 @@ public interface InternalCheckerOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -61,6 +65,8 @@ public interface InternalCheckerOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -73,6 +79,8 @@ public interface InternalCheckerOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -85,6 +93,8 @@ public interface InternalCheckerOrBuilder
*
*
* string network = 3;
+ *
+ * @return The network.
*/
java.lang.String getNetwork();
/**
@@ -96,6 +106,8 @@ public interface InternalCheckerOrBuilder
*
*
* string network = 3;
+ *
+ * @return The bytes for network.
*/
com.google.protobuf.ByteString getNetworkBytes();
@@ -108,6 +120,8 @@ public interface InternalCheckerOrBuilder
*
*
* string gcp_zone = 4;
+ *
+ * @return The gcpZone.
*/
java.lang.String getGcpZone();
/**
@@ -119,6 +133,8 @@ public interface InternalCheckerOrBuilder
*
*
* string gcp_zone = 4;
+ *
+ * @return The bytes for gcpZone.
*/
com.google.protobuf.ByteString getGcpZoneBytes();
@@ -131,6 +147,8 @@ public interface InternalCheckerOrBuilder
*
*
* string peer_project_id = 6;
+ *
+ * @return The peerProjectId.
*/
java.lang.String getPeerProjectId();
/**
@@ -142,6 +160,8 @@ public interface InternalCheckerOrBuilder
*
*
* string peer_project_id = 6;
+ *
+ * @return The bytes for peerProjectId.
*/
com.google.protobuf.ByteString getPeerProjectIdBytes();
@@ -153,6 +173,8 @@ public interface InternalCheckerOrBuilder
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
@@ -163,6 +185,8 @@ public interface InternalCheckerOrBuilder
*
*
* .google.monitoring.v3.InternalChecker.State state = 7;
+ *
+ * @return The state.
*/
com.google.monitoring.v3.InternalChecker.State getState();
}
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 cfc3bf3f..c32bd20c 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
@@ -44,6 +44,12 @@ private ListAlertPoliciesRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListAlertPoliciesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ListAlertPoliciesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 4;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -177,6 +184,8 @@ public java.lang.String getName() {
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -203,6 +212,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -226,6 +237,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -253,6 +266,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -277,6 +292,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -300,6 +317,8 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -317,6 +336,8 @@ public int getPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -339,6 +360,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -748,6 +771,8 @@ public Builder mergeFrom(
*
*
* string name = 4;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -774,6 +799,8 @@ public java.lang.String getName() {
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -800,6 +827,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 4;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -824,6 +854,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -845,6 +877,9 @@ public Builder clearName() {
*
*
* string name = 4;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -869,6 +904,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -892,6 +929,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -915,6 +954,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 5;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -936,6 +978,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -954,6 +998,9 @@ public Builder clearFilter() {
*
*
* string filter = 5;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -979,6 +1026,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -1003,6 +1052,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -1027,6 +1078,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string order_by = 6;
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderBy(java.lang.String value) {
if (value == null) {
@@ -1049,6 +1103,8 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* string order_by = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrderBy() {
@@ -1068,6 +1124,9 @@ public Builder clearOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1089,6 +1148,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1101,6 +1162,9 @@ public int getPageSize() {
*
*
* int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1116,6 +1180,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1135,6 +1201,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -1157,6 +1225,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -1179,6 +1249,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -1199,6 +1272,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1216,6 +1291,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 685302af..dec97c11 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
@@ -37,6 +37,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* string name = 4;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -53,6 +55,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -67,6 +71,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -80,6 +86,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -95,6 +103,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
java.lang.String getOrderBy();
/**
@@ -109,6 +119,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
com.google.protobuf.ByteString getOrderByBytes();
@@ -120,6 +132,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -133,6 +147,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -145,6 +161,8 @@ public interface ListAlertPoliciesRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java
index 81ba0bd5..8beb25ce 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java
@@ -42,6 +42,12 @@ private ListAlertPoliciesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListAlertPoliciesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class);
}
- private int bitField0_;
public static final int ALERT_POLICIES_FIELD_NUMBER = 3;
private java.util.List alertPolicies_;
/**
@@ -198,6 +203,8 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(i
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -220,6 +227,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -486,7 +495,6 @@ public com.google.monitoring.v3.ListAlertPoliciesResponse buildPartial() {
com.google.monitoring.v3.ListAlertPoliciesResponse result =
new com.google.monitoring.v3.ListAlertPoliciesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (alertPoliciesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
alertPolicies_ = java.util.Collections.unmodifiableList(alertPolicies_);
@@ -497,7 +505,6 @@ public com.google.monitoring.v3.ListAlertPoliciesResponse buildPartial() {
result.alertPolicies_ = alertPoliciesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -975,6 +982,8 @@ public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder(int
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -997,6 +1006,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1019,6 +1030,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1039,6 +1053,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1056,6 +1072,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java
index a58b8d63..c61c34c7 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java
@@ -85,6 +85,8 @@ public interface ListAlertPoliciesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -97,6 +99,8 @@ public interface ListAlertPoliciesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
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 fa5e0738..4dfe86fd 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
@@ -43,6 +43,12 @@ private ListGroupMembersRequest() {
filter_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListGroupMembersRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private ListGroupMembersRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -154,6 +159,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 7;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -175,6 +182,8 @@ public java.lang.String getName() {
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -198,6 +207,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -215,6 +226,8 @@ public int getPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -237,6 +250,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -265,6 +280,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -290,6 +307,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -316,6 +335,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* .google.monitoring.v3.TimeInterval interval = 6;
+ *
+ * @return Whether the interval field is set.
*/
public boolean hasInterval() {
return interval_ != null;
@@ -331,6 +352,8 @@ public boolean hasInterval() {
*
*
* .google.monitoring.v3.TimeInterval interval = 6;
+ *
+ * @return The interval.
*/
public com.google.monitoring.v3.TimeInterval getInterval() {
return interval_ == null
@@ -755,6 +778,8 @@ public Builder mergeFrom(
*
*
* string name = 7;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -776,6 +801,8 @@ public java.lang.String getName() {
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -797,6 +824,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 7;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -816,6 +846,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -832,6 +864,9 @@ public Builder clearName() {
*
*
* string name = 7;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -853,6 +888,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -865,6 +902,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -880,6 +920,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -899,6 +941,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -921,6 +965,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -943,6 +989,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 4;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -963,6 +1012,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -980,6 +1031,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 4;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1006,6 +1060,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -1031,6 +1087,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -1056,6 +1114,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 5;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -1079,6 +1140,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -1099,6 +1162,9 @@ public Builder clearFilter() {
*
*
* string filter = 5;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1128,6 +1194,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.TimeInterval interval = 6;
+ *
+ * @return Whether the interval field is set.
*/
public boolean hasInterval() {
return intervalBuilder_ != null || interval_ != null;
@@ -1143,6 +1211,8 @@ public boolean hasInterval() {
*
*
* .google.monitoring.v3.TimeInterval interval = 6;
+ *
+ * @return The interval.
*/
public com.google.monitoring.v3.TimeInterval getInterval() {
if (intervalBuilder_ == null) {
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 d9d04808..d0451aa2 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
@@ -32,6 +32,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* string name = 7;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -54,6 +58,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -67,6 +73,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -79,6 +87,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -95,6 +105,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -110,6 +122,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -124,6 +138,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* .google.monitoring.v3.TimeInterval interval = 6;
+ *
+ * @return Whether the interval field is set.
*/
boolean hasInterval();
/**
@@ -137,6 +153,8 @@ public interface ListGroupMembersRequestOrBuilder
*
*
* .google.monitoring.v3.TimeInterval interval = 6;
+ *
+ * @return The interval.
*/
com.google.monitoring.v3.TimeInterval getInterval();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
index 6804d38e..a0993165 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
@@ -42,6 +42,12 @@ private ListGroupMembersResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListGroupMembersResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -125,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListGroupMembersResponse.Builder.class);
}
- private int bitField0_;
public static final int MEMBERS_FIELD_NUMBER = 1;
private java.util.List members_;
/**
@@ -202,6 +207,8 @@ public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index)
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -224,6 +231,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -247,6 +256,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* int32 total_size = 3;
+ *
+ * @return The totalSize.
*/
public int getTotalSize() {
return totalSize_;
@@ -516,7 +527,6 @@ public com.google.monitoring.v3.ListGroupMembersResponse buildPartial() {
com.google.monitoring.v3.ListGroupMembersResponse result =
new com.google.monitoring.v3.ListGroupMembersResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (membersBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
members_ = java.util.Collections.unmodifiableList(members_);
@@ -528,7 +538,6 @@ public com.google.monitoring.v3.ListGroupMembersResponse buildPartial() {
}
result.nextPageToken_ = nextPageToken_;
result.totalSize_ = totalSize_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1002,6 +1011,8 @@ public java.util.List getMembersBuilde
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1024,6 +1035,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1046,6 +1059,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1066,6 +1082,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1083,6 +1101,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1104,6 +1125,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 total_size = 3;
+ *
+ * @return The totalSize.
*/
public int getTotalSize() {
return totalSize_;
@@ -1116,6 +1139,9 @@ public int getTotalSize() {
*
*
* int32 total_size = 3;
+ *
+ * @param value The totalSize to set.
+ * @return This builder for chaining.
*/
public Builder setTotalSize(int value) {
@@ -1131,6 +1157,8 @@ public Builder setTotalSize(int value) {
*
*
* int32 total_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTotalSize() {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java
index 338ff154..98d1afdf 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java
@@ -84,6 +84,8 @@ public interface ListGroupMembersResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -96,6 +98,8 @@ public interface ListGroupMembersResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
@@ -107,6 +111,8 @@ public interface ListGroupMembersResponseOrBuilder
*
*
* int32 total_size = 3;
+ *
+ * @return The totalSize.
*/
int getTotalSize();
}
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 ed3e1120..b506e04f 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
@@ -42,6 +42,12 @@ private ListGroupsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListGroupsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ListGroupsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -143,7 +148,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int filterCase_ = 0;
private java.lang.Object filter_;
- public enum FilterCase implements com.google.protobuf.Internal.EnumLite {
+ public enum FilterCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CHILDREN_OF_GROUP(2),
ANCESTORS_OF_GROUP(3),
DESCENDANTS_OF_GROUP(4),
@@ -153,7 +161,11 @@ public enum FilterCase implements com.google.protobuf.Internal.EnumLite {
private FilterCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static FilterCase valueOf(int value) {
return forNumber(value);
@@ -194,6 +206,8 @@ public FilterCase getFilterCase() {
*
*
* string name = 7;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -215,6 +229,8 @@ public java.lang.String getName() {
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -239,6 +255,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string children_of_group = 2;
+ *
+ * @return The childrenOfGroup.
*/
public java.lang.String getChildrenOfGroup() {
java.lang.Object ref = "";
@@ -266,6 +284,8 @@ public java.lang.String getChildrenOfGroup() {
*
*
* string children_of_group = 2;
+ *
+ * @return The bytes for childrenOfGroup.
*/
public com.google.protobuf.ByteString getChildrenOfGroupBytes() {
java.lang.Object ref = "";
@@ -297,6 +317,8 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() {
*
*
* string ancestors_of_group = 3;
+ *
+ * @return The ancestorsOfGroup.
*/
public java.lang.String getAncestorsOfGroup() {
java.lang.Object ref = "";
@@ -326,6 +348,8 @@ public java.lang.String getAncestorsOfGroup() {
*
*
* string ancestors_of_group = 3;
+ *
+ * @return The bytes for ancestorsOfGroup.
*/
public com.google.protobuf.ByteString getAncestorsOfGroupBytes() {
java.lang.Object ref = "";
@@ -356,6 +380,8 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() {
*
*
* string descendants_of_group = 4;
+ *
+ * @return The descendantsOfGroup.
*/
public java.lang.String getDescendantsOfGroup() {
java.lang.Object ref = "";
@@ -384,6 +410,8 @@ public java.lang.String getDescendantsOfGroup() {
*
*
* string descendants_of_group = 4;
+ *
+ * @return The bytes for descendantsOfGroup.
*/
public com.google.protobuf.ByteString getDescendantsOfGroupBytes() {
java.lang.Object ref = "";
@@ -412,6 +440,8 @@ public com.google.protobuf.ByteString getDescendantsOfGroupBytes() {
*
*
* int32 page_size = 5;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -429,6 +459,8 @@ public int getPageSize() {
*
*
* string page_token = 6;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -451,6 +483,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 6;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -922,6 +956,8 @@ public Builder clearFilter() {
*
*
* string name = 7;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -943,6 +979,8 @@ public java.lang.String getName() {
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -964,6 +1002,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 7;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -983,6 +1024,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -999,6 +1042,9 @@ public Builder clearName() {
*
*
* string name = 7;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1021,6 +1067,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string children_of_group = 2;
+ *
+ * @return The childrenOfGroup.
*/
public java.lang.String getChildrenOfGroup() {
java.lang.Object ref = "";
@@ -1048,6 +1096,8 @@ public java.lang.String getChildrenOfGroup() {
*
*
* string children_of_group = 2;
+ *
+ * @return The bytes for childrenOfGroup.
*/
public com.google.protobuf.ByteString getChildrenOfGroupBytes() {
java.lang.Object ref = "";
@@ -1075,6 +1125,9 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() {
*
*
* string children_of_group = 2;
+ *
+ * @param value The childrenOfGroup to set.
+ * @return This builder for chaining.
*/
public Builder setChildrenOfGroup(java.lang.String value) {
if (value == null) {
@@ -1095,6 +1148,8 @@ public Builder setChildrenOfGroup(java.lang.String value) {
*
*
* string children_of_group = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearChildrenOfGroup() {
if (filterCase_ == 2) {
@@ -1114,6 +1169,9 @@ public Builder clearChildrenOfGroup() {
*
*
* string children_of_group = 2;
+ *
+ * @param value The bytes for childrenOfGroup to set.
+ * @return This builder for chaining.
*/
public Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1138,6 +1196,8 @@ public Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value) {
*
*
* string ancestors_of_group = 3;
+ *
+ * @return The ancestorsOfGroup.
*/
public java.lang.String getAncestorsOfGroup() {
java.lang.Object ref = "";
@@ -1167,6 +1227,8 @@ public java.lang.String getAncestorsOfGroup() {
*
*
* string ancestors_of_group = 3;
+ *
+ * @return The bytes for ancestorsOfGroup.
*/
public com.google.protobuf.ByteString getAncestorsOfGroupBytes() {
java.lang.Object ref = "";
@@ -1196,6 +1258,9 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() {
*
*
* string ancestors_of_group = 3;
+ *
+ * @param value The ancestorsOfGroup to set.
+ * @return This builder for chaining.
*/
public Builder setAncestorsOfGroup(java.lang.String value) {
if (value == null) {
@@ -1218,6 +1283,8 @@ public Builder setAncestorsOfGroup(java.lang.String value) {
*
*
* string ancestors_of_group = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAncestorsOfGroup() {
if (filterCase_ == 3) {
@@ -1239,6 +1306,9 @@ public Builder clearAncestorsOfGroup() {
*
*
* string ancestors_of_group = 3;
+ *
+ * @param value The bytes for ancestorsOfGroup to set.
+ * @return This builder for chaining.
*/
public Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1262,6 +1332,8 @@ public Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value) {
*
*
* string descendants_of_group = 4;
+ *
+ * @return The descendantsOfGroup.
*/
public java.lang.String getDescendantsOfGroup() {
java.lang.Object ref = "";
@@ -1290,6 +1362,8 @@ public java.lang.String getDescendantsOfGroup() {
*
*
* string descendants_of_group = 4;
+ *
+ * @return The bytes for descendantsOfGroup.
*/
public com.google.protobuf.ByteString getDescendantsOfGroupBytes() {
java.lang.Object ref = "";
@@ -1318,6 +1392,9 @@ public com.google.protobuf.ByteString getDescendantsOfGroupBytes() {
*
*
* string descendants_of_group = 4;
+ *
+ * @param value The descendantsOfGroup to set.
+ * @return This builder for chaining.
*/
public Builder setDescendantsOfGroup(java.lang.String value) {
if (value == null) {
@@ -1339,6 +1416,8 @@ public Builder setDescendantsOfGroup(java.lang.String value) {
*
*
* string descendants_of_group = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescendantsOfGroup() {
if (filterCase_ == 4) {
@@ -1359,6 +1438,9 @@ public Builder clearDescendantsOfGroup() {
*
*
* string descendants_of_group = 4;
+ *
+ * @param value The bytes for descendantsOfGroup to set.
+ * @return This builder for chaining.
*/
public Builder setDescendantsOfGroupBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1380,6 +1462,8 @@ public Builder setDescendantsOfGroupBytes(com.google.protobuf.ByteString value)
*
*
* int32 page_size = 5;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1392,6 +1476,9 @@ public int getPageSize() {
*
*
* int32 page_size = 5;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1407,6 +1494,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1426,6 +1515,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 6;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -1448,6 +1539,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 6;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -1470,6 +1563,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 6;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -1490,6 +1586,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1507,6 +1605,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 6;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 ff08c8a3..721f51ea 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
@@ -32,6 +32,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string name = 7;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -56,6 +60,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string children_of_group = 2;
+ *
+ * @return The childrenOfGroup.
*/
java.lang.String getChildrenOfGroup();
/**
@@ -68,6 +74,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string children_of_group = 2;
+ *
+ * @return The bytes for childrenOfGroup.
*/
com.google.protobuf.ByteString getChildrenOfGroupBytes();
@@ -83,6 +91,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string ancestors_of_group = 3;
+ *
+ * @return The ancestorsOfGroup.
*/
java.lang.String getAncestorsOfGroup();
/**
@@ -97,6 +107,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string ancestors_of_group = 3;
+ *
+ * @return The bytes for ancestorsOfGroup.
*/
com.google.protobuf.ByteString getAncestorsOfGroupBytes();
@@ -111,6 +123,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string descendants_of_group = 4;
+ *
+ * @return The descendantsOfGroup.
*/
java.lang.String getDescendantsOfGroup();
/**
@@ -124,6 +138,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string descendants_of_group = 4;
+ *
+ * @return The bytes for descendantsOfGroup.
*/
com.google.protobuf.ByteString getDescendantsOfGroupBytes();
@@ -135,6 +151,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* int32 page_size = 5;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -148,6 +166,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string page_token = 6;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -160,6 +180,8 @@ public interface ListGroupsRequestOrBuilder
*
*
* string page_token = 6;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java
index f76510b8..9c8e7fd2 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java
@@ -42,6 +42,12 @@ private ListGroupsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListGroupsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListGroupsResponse.Builder.class);
}
- private int bitField0_;
public static final int GROUP_FIELD_NUMBER = 1;
private java.util.List group_;
/**
@@ -196,6 +201,8 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index) {
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -218,6 +225,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -484,7 +493,6 @@ public com.google.monitoring.v3.ListGroupsResponse buildPartial() {
com.google.monitoring.v3.ListGroupsResponse result =
new com.google.monitoring.v3.ListGroupsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (groupBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
group_ = java.util.Collections.unmodifiableList(group_);
@@ -495,7 +503,6 @@ public com.google.monitoring.v3.ListGroupsResponse buildPartial() {
result.group_ = groupBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -963,6 +970,8 @@ public java.util.List getGroupBuilderLis
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -985,6 +994,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1007,6 +1018,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1027,6 +1041,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1044,6 +1060,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java
index e5c3751a..5e869de8 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java
@@ -84,6 +84,8 @@ public interface ListGroupsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -96,6 +98,8 @@ public interface ListGroupsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
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 287ade91..5cab6ad0 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
@@ -43,6 +43,12 @@ private ListMetricDescriptorsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListMetricDescriptorsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private ListMetricDescriptorsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 5;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -159,6 +166,8 @@ public java.lang.String getName() {
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -188,6 +197,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -214,6 +225,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -237,6 +250,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -254,6 +269,8 @@ public int getPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -276,6 +293,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -665,6 +684,8 @@ public Builder mergeFrom(
*
*
* string name = 5;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -686,6 +707,8 @@ public java.lang.String getName() {
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -707,6 +730,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 5;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -726,6 +752,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -742,6 +770,9 @@ public Builder clearName() {
*
*
* string name = 5;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -769,6 +800,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -795,6 +828,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -821,6 +856,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 2;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -845,6 +883,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -866,6 +906,9 @@ public Builder clearFilter() {
*
*
* string filter = 2;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -887,6 +930,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -899,6 +944,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -914,6 +962,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -933,6 +983,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -955,6 +1007,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -977,6 +1031,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 4;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -997,6 +1054,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1014,6 +1073,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 4;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 f9246c7d..4855babd 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
@@ -32,6 +32,8 @@ public interface ListMetricDescriptorsRequestOrBuilder
*
*
* string name = 5;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface ListMetricDescriptorsRequestOrBuilder
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -60,6 +64,8 @@ public interface ListMetricDescriptorsRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -76,6 +82,8 @@ public interface ListMetricDescriptorsRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -87,6 +95,8 @@ public interface ListMetricDescriptorsRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -100,6 +110,8 @@ public interface ListMetricDescriptorsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -112,6 +124,8 @@ public interface ListMetricDescriptorsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java
index 61e6787c..880ca093 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java
@@ -42,6 +42,12 @@ private ListMetricDescriptorsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListMetricDescriptorsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class);
}
- private int bitField0_;
public static final int METRIC_DESCRIPTORS_FIELD_NUMBER = 1;
private java.util.List metricDescriptors_;
/**
@@ -202,6 +207,8 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(in
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -224,6 +231,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -492,7 +501,6 @@ public com.google.monitoring.v3.ListMetricDescriptorsResponse buildPartial() {
com.google.monitoring.v3.ListMetricDescriptorsResponse result =
new com.google.monitoring.v3.ListMetricDescriptorsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (metricDescriptorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
metricDescriptors_ = java.util.Collections.unmodifiableList(metricDescriptors_);
@@ -503,7 +511,6 @@ public com.google.monitoring.v3.ListMetricDescriptorsResponse buildPartial() {
result.metricDescriptors_ = metricDescriptorsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -999,6 +1006,8 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(int i
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1021,6 +1030,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1043,6 +1054,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1063,6 +1077,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1080,6 +1096,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java
index 43c64298..4c68faa1 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java
@@ -90,6 +90,8 @@ public interface ListMetricDescriptorsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -102,6 +104,8 @@ public interface ListMetricDescriptorsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
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 c8bb7d94..f34a9a4f 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
@@ -45,6 +45,12 @@ private ListMonitoredResourceDescriptorsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListMonitoredResourceDescriptorsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private ListMonitoredResourceDescriptorsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 5;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -161,6 +168,8 @@ public java.lang.String getName() {
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -189,6 +198,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -214,6 +225,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -237,6 +250,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -254,6 +269,8 @@ public int getPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -276,6 +293,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -669,6 +688,8 @@ public Builder mergeFrom(
*
*
* string name = 5;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -690,6 +711,8 @@ public java.lang.String getName() {
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -711,6 +734,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 5;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -730,6 +756,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -746,6 +774,9 @@ public Builder clearName() {
*
*
* string name = 5;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -772,6 +803,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -797,6 +830,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -822,6 +857,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 2;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -845,6 +883,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -865,6 +905,9 @@ public Builder clearFilter() {
*
*
* string filter = 2;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -886,6 +929,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -898,6 +943,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -913,6 +961,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -932,6 +982,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -954,6 +1006,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -976,6 +1030,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 4;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -996,6 +1053,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1013,6 +1072,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 4;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 cde54e77..8aa38818 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
@@ -32,6 +32,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
*
*
* string name = 5;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -59,6 +63,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -74,6 +80,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -85,6 +93,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -98,6 +108,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -110,6 +122,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java
index 7545ee0f..0e3cda5e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java
@@ -44,6 +44,12 @@ private ListMonitoredResourceDescriptorsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListMonitoredResourceDescriptorsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -124,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class);
}
- private int bitField0_;
public static final int RESOURCE_DESCRIPTORS_FIELD_NUMBER = 1;
private java.util.List resourceDescriptors_;
/**
@@ -207,6 +212,8 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -229,6 +236,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -500,7 +509,6 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse buildPa
com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse result =
new com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (resourceDescriptorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
resourceDescriptors_ = java.util.Collections.unmodifiableList(resourceDescriptors_);
@@ -511,7 +519,6 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse buildPa
result.resourceDescriptors_ = resourceDescriptorsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1017,6 +1024,8 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1039,6 +1048,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1061,6 +1072,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1081,6 +1095,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1098,6 +1114,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java
index 653f0125..f1efe7f6 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java
@@ -90,6 +90,8 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -102,6 +104,8 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
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 7895b908..c6d7863c 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
@@ -44,6 +44,12 @@ private ListNotificationChannelDescriptorsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListNotificationChannelDescriptorsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ListNotificationChannelDescriptorsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 4;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -163,6 +170,8 @@ public java.lang.String getName() {
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -188,6 +197,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -205,6 +216,8 @@ public int getPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -227,6 +240,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -613,6 +628,8 @@ public Builder mergeFrom(
*
*
* string name = 4;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -639,6 +656,8 @@ public java.lang.String getName() {
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -665,6 +684,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 4;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -689,6 +711,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -710,6 +734,9 @@ public Builder clearName() {
*
*
* string name = 4;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -733,6 +760,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -747,6 +776,9 @@ public int getPageSize() {
*
*
* int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -764,6 +796,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -783,6 +817,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -805,6 +841,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -827,6 +865,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -847,6 +888,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -864,6 +907,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 bcfb567e..17697ae0 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
@@ -37,6 +37,8 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
*
*
* string name = 4;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -53,6 +55,8 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
*
*
* string name = 4;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -66,6 +70,8 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -79,6 +85,8 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -91,6 +99,8 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java
index b8f9c04c..10e09897 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java
@@ -44,6 +44,12 @@ private ListNotificationChannelDescriptorsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListNotificationChannelDescriptorsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -126,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class);
}
- private int bitField0_;
public static final int CHANNEL_DESCRIPTORS_FIELD_NUMBER = 1;
private java.util.List
channelDescriptors_;
@@ -217,6 +222,8 @@ public com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescript
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -240,6 +247,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -512,7 +521,6 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse build
com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse result =
new com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (channelDescriptorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
channelDescriptors_ = java.util.Collections.unmodifiableList(channelDescriptors_);
@@ -523,7 +531,6 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse build
result.channelDescriptors_ = channelDescriptorsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1054,6 +1061,8 @@ public Builder removeChannelDescriptors(int index) {
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1077,6 +1086,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1100,6 +1111,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1121,6 +1135,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1139,6 +1155,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java
index 099c5a7d..78e327d4 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java
@@ -98,6 +98,8 @@ com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescri
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -111,6 +113,8 @@ com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescri
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
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 ed6ecfa2..b0be15cc 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
@@ -45,6 +45,12 @@ private ListNotificationChannelsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListNotificationChannelsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private ListNotificationChannelsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -152,6 +157,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 5;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -178,6 +185,8 @@ public java.lang.String getName() {
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -204,6 +213,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string filter = 6;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -227,6 +238,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 6;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -254,6 +267,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string order_by = 7;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -278,6 +293,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 7;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -303,6 +320,8 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -320,6 +339,8 @@ public int getPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -342,6 +363,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -752,6 +775,8 @@ public Builder mergeFrom(
*
*
* string name = 5;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -778,6 +803,8 @@ public java.lang.String getName() {
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -804,6 +831,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 5;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -828,6 +858,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -849,6 +881,9 @@ public Builder clearName() {
*
*
* string name = 5;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -873,6 +908,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 6;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -896,6 +933,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 6;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -919,6 +958,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 6;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -940,6 +982,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -958,6 +1002,9 @@ public Builder clearFilter() {
*
*
* string filter = 6;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -983,6 +1030,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* string order_by = 7;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -1007,6 +1056,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 7;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -1031,6 +1082,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string order_by = 7;
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderBy(java.lang.String value) {
if (value == null) {
@@ -1053,6 +1107,8 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* string order_by = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrderBy() {
@@ -1072,6 +1128,9 @@ public Builder clearOrderBy() {
*
*
* string order_by = 7;
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1095,6 +1154,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1109,6 +1170,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1126,6 +1190,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1145,6 +1211,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -1167,6 +1235,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -1189,6 +1259,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 4;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -1209,6 +1282,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1226,6 +1301,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 4;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 ec5f57d3..7af1ecc1 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
@@ -37,6 +37,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* string name = 5;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -53,6 +55,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* string name = 5;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -67,6 +71,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* string filter = 6;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -80,6 +86,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* string filter = 6;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -95,6 +103,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* string order_by = 7;
+ *
+ * @return The orderBy.
*/
java.lang.String getOrderBy();
/**
@@ -109,6 +119,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* string order_by = 7;
+ *
+ * @return The bytes for orderBy.
*/
com.google.protobuf.ByteString getOrderByBytes();
@@ -122,6 +134,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -135,6 +149,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -147,6 +163,8 @@ public interface ListNotificationChannelsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java
index ce185480..c31758b3 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java
@@ -43,6 +43,12 @@ private ListNotificationChannelsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListNotificationChannelsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -123,7 +129,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class);
}
- private int bitField0_;
public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER = 3;
private java.util.List notificationChannels_;
/**
@@ -203,6 +208,8 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -226,6 +233,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -494,7 +503,6 @@ public com.google.monitoring.v3.ListNotificationChannelsResponse buildPartial()
com.google.monitoring.v3.ListNotificationChannelsResponse result =
new com.google.monitoring.v3.ListNotificationChannelsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (notificationChannelsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
notificationChannels_ = java.util.Collections.unmodifiableList(notificationChannels_);
@@ -505,7 +513,6 @@ public com.google.monitoring.v3.ListNotificationChannelsResponse buildPartial()
result.notificationChannels_ = notificationChannelsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -992,6 +999,8 @@ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChann
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1015,6 +1024,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1038,6 +1049,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1059,6 +1073,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1077,6 +1093,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java
index 7be9360c..55281384 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java
@@ -86,6 +86,8 @@ public interface ListNotificationChannelsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -99,6 +101,8 @@ public interface ListNotificationChannelsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
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 eb2484a0..1ffc8a40 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
@@ -45,6 +45,12 @@ private ListServiceLevelObjectivesRequest() {
view_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListServiceLevelObjectivesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private ListServiceLevelObjectivesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -147,6 +152,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -168,6 +175,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -191,6 +200,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -211,6 +222,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -235,6 +248,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -252,6 +267,8 @@ public int getPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -274,6 +291,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -300,6 +319,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -315,6 +336,8 @@ public int getViewValue() {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @return The view.
*/
public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
@SuppressWarnings("deprecation")
@@ -716,6 +739,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -737,6 +762,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -758,6 +785,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -777,6 +807,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -793,6 +825,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -814,6 +849,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -834,6 +871,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -854,6 +893,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 2;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -872,6 +914,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -887,6 +931,9 @@ public Builder clearFilter() {
*
*
* string filter = 2;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -909,6 +956,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -922,6 +971,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -938,6 +990,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -957,6 +1011,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -979,6 +1035,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -1001,6 +1059,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 4;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -1021,6 +1082,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1038,6 +1101,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 4;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1062,6 +1128,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -1077,6 +1145,9 @@ public int getViewValue() {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @param value The enum numeric value on the wire for view to set.
+ * @return This builder for chaining.
*/
public Builder setViewValue(int value) {
view_ = value;
@@ -1094,6 +1165,8 @@ public Builder setViewValue(int value) {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @return The view.
*/
public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
@SuppressWarnings("deprecation")
@@ -1114,6 +1187,9 @@ public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @param value The view to set.
+ * @return This builder for chaining.
*/
public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value) {
if (value == null) {
@@ -1135,6 +1211,8 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearView() {
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 c4239913..7cfc49e8 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
@@ -32,6 +32,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -54,6 +58,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -64,6 +70,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -76,6 +84,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -89,6 +99,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -101,6 +113,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -115,6 +129,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @return The enum numeric value on the wire for view.
*/
int getViewValue();
/**
@@ -128,6 +144,8 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelObjective.View view = 5;
+ *
+ * @return The view.
*/
com.google.monitoring.v3.ServiceLevelObjective.View getView();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java
index 7fe405e1..b69b1b77 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java
@@ -43,6 +43,12 @@ private ListServiceLevelObjectivesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListServiceLevelObjectivesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -123,7 +129,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class);
}
- private int bitField0_;
public static final int SERVICE_LEVEL_OBJECTIVES_FIELD_NUMBER = 1;
private java.util.List serviceLevelObjectives_;
/**
@@ -202,6 +207,8 @@ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelOb
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -224,6 +231,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -494,7 +503,6 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesResponse buildPartial(
com.google.monitoring.v3.ListServiceLevelObjectivesResponse result =
new com.google.monitoring.v3.ListServiceLevelObjectivesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (serviceLevelObjectivesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
serviceLevelObjectives_ = java.util.Collections.unmodifiableList(serviceLevelObjectives_);
@@ -505,7 +513,6 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesResponse buildPartial(
result.serviceLevelObjectives_ = serviceLevelObjectivesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1010,6 +1017,8 @@ public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObj
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1032,6 +1041,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1054,6 +1065,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1074,6 +1088,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1091,6 +1107,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java
index af60fcc9..e0157313 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java
@@ -86,6 +86,8 @@ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjective
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -98,6 +100,8 @@ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjective
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
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 bc19d2ee..5123bdfa 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
@@ -43,6 +43,12 @@ private ListServicesRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListServicesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private ListServicesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -159,6 +166,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -194,6 +203,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -226,6 +237,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -250,6 +263,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -267,6 +282,8 @@ public int getPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -289,6 +306,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -675,6 +694,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -696,6 +717,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -717,6 +740,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -736,6 +762,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -752,6 +780,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -785,6 +816,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -817,6 +850,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -849,6 +884,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 2;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -879,6 +917,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -906,6 +946,9 @@ public Builder clearFilter() {
*
*
* string filter = 2;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -928,6 +971,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -941,6 +986,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -957,6 +1005,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -976,6 +1026,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -998,6 +1050,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -1020,6 +1074,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 4;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -1040,6 +1097,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1057,6 +1116,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 4;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 9692ed53..a8fb3205 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
@@ -32,6 +32,8 @@ public interface ListServicesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface ListServicesRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -66,6 +70,8 @@ public interface ListServicesRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -88,6 +94,8 @@ public interface ListServicesRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -100,6 +108,8 @@ public interface ListServicesRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -113,6 +123,8 @@ public interface ListServicesRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -125,6 +137,8 @@ public interface ListServicesRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java
index 8e079ac1..f90be366 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java
@@ -42,6 +42,12 @@ private ListServicesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListServicesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListServicesResponse.Builder.class);
}
- private int bitField0_;
public static final int SERVICES_FIELD_NUMBER = 1;
private java.util.List services_;
/**
@@ -197,6 +202,8 @@ public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index)
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -219,6 +226,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -485,7 +494,6 @@ public com.google.monitoring.v3.ListServicesResponse buildPartial() {
com.google.monitoring.v3.ListServicesResponse result =
new com.google.monitoring.v3.ListServicesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (servicesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
services_ = java.util.Collections.unmodifiableList(services_);
@@ -496,7 +504,6 @@ public com.google.monitoring.v3.ListServicesResponse buildPartial() {
result.services_ = servicesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -967,6 +974,8 @@ public java.util.List getServicesBuild
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -989,6 +998,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1011,6 +1022,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1031,6 +1045,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1048,6 +1064,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java
index e178151a..9ca5a478 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java
@@ -84,6 +84,8 @@ public interface ListServicesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -96,6 +98,8 @@ public interface ListServicesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
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 9bd2718d..a25d91e0 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
@@ -45,6 +45,12 @@ private ListTimeSeriesRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTimeSeriesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private ListTimeSeriesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -241,12 +246,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TimeSeriesView valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TimeSeriesView forNumber(int value) {
switch (value) {
case 0:
@@ -313,6 +326,8 @@ private TimeSeriesView(int value) {
*
*
* string name = 10;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -334,6 +349,8 @@ public java.lang.String getName() {
*
*
* string name = 10;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -362,6 +379,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -387,6 +406,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -412,6 +433,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* .google.monitoring.v3.TimeInterval interval = 4;
+ *
+ * @return Whether the interval field is set.
*/
public boolean hasInterval() {
return interval_ != null;
@@ -426,6 +449,8 @@ public boolean hasInterval() {
*
*
* .google.monitoring.v3.TimeInterval interval = 4;
+ *
+ * @return The interval.
*/
public com.google.monitoring.v3.TimeInterval getInterval() {
return interval_ == null
@@ -460,6 +485,8 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
*
*
* .google.monitoring.v3.Aggregation aggregation = 5;
+ *
+ * @return Whether the aggregation field is set.
*/
public boolean hasAggregation() {
return aggregation_ != null;
@@ -475,6 +502,8 @@ public boolean hasAggregation() {
*
*
* .google.monitoring.v3.Aggregation aggregation = 5;
+ *
+ * @return The aggregation.
*/
public com.google.monitoring.v3.Aggregation getAggregation() {
return aggregation_ == null
@@ -508,6 +537,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -529,6 +560,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -552,6 +585,8 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -564,6 +599,8 @@ public int getViewValue() {
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @return The view.
*/
public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() {
@SuppressWarnings("deprecation")
@@ -588,6 +625,8 @@ public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() {
*
*
* int32 page_size = 8;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -605,6 +644,8 @@ public int getPageSize() {
*
*
* string page_token = 9;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -627,6 +668,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 9;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -1100,6 +1143,8 @@ public Builder mergeFrom(
*
*
* string name = 10;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1121,6 +1166,8 @@ public java.lang.String getName() {
*
*
* string name = 10;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1142,6 +1189,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 10;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1161,6 +1211,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 10;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1177,6 +1229,9 @@ public Builder clearName() {
*
*
* string name = 10;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1203,6 +1258,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -1228,6 +1285,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -1253,6 +1312,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 2;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -1276,6 +1338,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -1296,6 +1360,9 @@ public Builder clearFilter() {
*
*
* string filter = 2;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1324,6 +1391,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.TimeInterval interval = 4;
+ *
+ * @return Whether the interval field is set.
*/
public boolean hasInterval() {
return intervalBuilder_ != null || interval_ != null;
@@ -1338,6 +1407,8 @@ public boolean hasInterval() {
*
*
* .google.monitoring.v3.TimeInterval interval = 4;
+ *
+ * @return The interval.
*/
public com.google.monitoring.v3.TimeInterval getInterval() {
if (intervalBuilder_ == null) {
@@ -1524,6 +1595,8 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
*
*
* .google.monitoring.v3.Aggregation aggregation = 5;
+ *
+ * @return Whether the aggregation field is set.
*/
public boolean hasAggregation() {
return aggregationBuilder_ != null || aggregation_ != null;
@@ -1539,6 +1612,8 @@ public boolean hasAggregation() {
*
*
* .google.monitoring.v3.Aggregation aggregation = 5;
+ *
+ * @return The aggregation.
*/
public com.google.monitoring.v3.Aggregation getAggregation() {
if (aggregationBuilder_ == null) {
@@ -1725,6 +1800,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -1746,6 +1823,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -1767,6 +1846,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string order_by = 6;
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderBy(java.lang.String value) {
if (value == null) {
@@ -1786,6 +1868,8 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* string order_by = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrderBy() {
@@ -1802,6 +1886,9 @@ public Builder clearOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1823,6 +1910,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @return The enum numeric value on the wire for view.
*/
public int getViewValue() {
return view_;
@@ -1835,6 +1924,9 @@ public int getViewValue() {
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @param value The enum numeric value on the wire for view to set.
+ * @return This builder for chaining.
*/
public Builder setViewValue(int value) {
view_ = value;
@@ -1849,6 +1941,8 @@ public Builder setViewValue(int value) {
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @return The view.
*/
public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() {
@SuppressWarnings("deprecation")
@@ -1866,6 +1960,9 @@ public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() {
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @param value The view to set.
+ * @return This builder for chaining.
*/
public Builder setView(com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView value) {
if (value == null) {
@@ -1884,6 +1981,8 @@ public Builder setView(com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeries
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearView() {
@@ -1905,6 +2004,8 @@ public Builder clearView() {
*
*
* int32 page_size = 8;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1921,6 +2022,9 @@ public int getPageSize() {
*
*
* int32 page_size = 8;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1940,6 +2044,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1959,6 +2065,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 9;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -1981,6 +2089,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 9;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -2003,6 +2113,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 9;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -2023,6 +2136,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 9;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -2040,6 +2155,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 9;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 06021583..3addd560 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
@@ -32,6 +32,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* string name = 10;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* string name = 10;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -59,6 +63,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -74,6 +80,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -87,6 +95,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* .google.monitoring.v3.TimeInterval interval = 4;
+ *
+ * @return Whether the interval field is set.
*/
boolean hasInterval();
/**
@@ -99,6 +109,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* .google.monitoring.v3.TimeInterval interval = 4;
+ *
+ * @return The interval.
*/
com.google.monitoring.v3.TimeInterval getInterval();
/**
@@ -125,6 +137,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* .google.monitoring.v3.Aggregation aggregation = 5;
+ *
+ * @return Whether the aggregation field is set.
*/
boolean hasAggregation();
/**
@@ -138,6 +152,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* .google.monitoring.v3.Aggregation aggregation = 5;
+ *
+ * @return The aggregation.
*/
com.google.monitoring.v3.Aggregation getAggregation();
/**
@@ -163,6 +179,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
java.lang.String getOrderBy();
/**
@@ -174,6 +192,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
com.google.protobuf.ByteString getOrderByBytes();
@@ -185,6 +205,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @return The enum numeric value on the wire for view.
*/
int getViewValue();
/**
@@ -195,6 +217,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
+ *
+ * @return The view.
*/
com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView();
@@ -210,6 +234,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* int32 page_size = 8;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -223,6 +249,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* string page_token = 9;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -235,6 +263,8 @@ public interface ListTimeSeriesRequestOrBuilder
*
*
* string page_token = 9;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java
index 30f7590d..7f2ad0b0 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java
@@ -43,6 +43,12 @@ private ListTimeSeriesResponse() {
executionErrors_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTimeSeriesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -87,9 +93,9 @@ private ListTimeSeriesResponse(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
executionErrors_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000002;
}
executionErrors_.add(
input.readMessage(com.google.rpc.Status.parser(), extensionRegistry));
@@ -112,7 +118,7 @@ private ListTimeSeriesResponse(
if (((mutable_bitField0_ & 0x00000001) != 0)) {
timeSeries_ = java.util.Collections.unmodifiableList(timeSeries_);
}
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
executionErrors_ = java.util.Collections.unmodifiableList(executionErrors_);
}
this.unknownFields = unknownFields.build();
@@ -135,7 +141,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class);
}
- private int bitField0_;
public static final int TIME_SERIES_FIELD_NUMBER = 1;
private java.util.List timeSeries_;
/**
@@ -212,6 +217,8 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -234,6 +241,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -555,7 +564,7 @@ public Builder clear() {
if (executionErrorsBuilder_ == null) {
executionErrors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
executionErrorsBuilder_.clear();
}
@@ -587,7 +596,6 @@ public com.google.monitoring.v3.ListTimeSeriesResponse buildPartial() {
com.google.monitoring.v3.ListTimeSeriesResponse result =
new com.google.monitoring.v3.ListTimeSeriesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (timeSeriesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
timeSeries_ = java.util.Collections.unmodifiableList(timeSeries_);
@@ -599,15 +607,14 @@ public com.google.monitoring.v3.ListTimeSeriesResponse buildPartial() {
}
result.nextPageToken_ = nextPageToken_;
if (executionErrorsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
executionErrors_ = java.util.Collections.unmodifiableList(executionErrors_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.executionErrors_ = executionErrors_;
} else {
result.executionErrors_ = executionErrorsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -693,7 +700,7 @@ public Builder mergeFrom(com.google.monitoring.v3.ListTimeSeriesResponse other)
if (!other.executionErrors_.isEmpty()) {
if (executionErrors_.isEmpty()) {
executionErrors_ = other.executionErrors_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureExecutionErrorsIsMutable();
executionErrors_.addAll(other.executionErrors_);
@@ -706,7 +713,7 @@ public Builder mergeFrom(com.google.monitoring.v3.ListTimeSeriesResponse other)
executionErrorsBuilder_.dispose();
executionErrorsBuilder_ = null;
executionErrors_ = other.executionErrors_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
executionErrorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getExecutionErrorsFieldBuilder()
@@ -1106,6 +1113,8 @@ public java.util.List getTimeSeries
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1128,6 +1137,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1150,6 +1161,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1170,6 +1184,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1187,6 +1203,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1203,9 +1222,9 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureExecutionErrorsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
executionErrors_ = new java.util.ArrayList(executionErrors_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
}
}
@@ -1427,7 +1446,7 @@ public Builder addAllExecutionErrors(
public Builder clearExecutionErrors() {
if (executionErrorsBuilder_ == null) {
executionErrors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
executionErrorsBuilder_.clear();
@@ -1554,7 +1573,7 @@ public java.util.List getExecutionErrorsBuilderLi
com.google.rpc.Status.Builder,
com.google.rpc.StatusOrBuilder>(
executionErrors_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
executionErrors_ = null;
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java
index 86db01f9..e10fe166 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java
@@ -85,6 +85,8 @@ public interface ListTimeSeriesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -97,6 +99,8 @@ public interface ListTimeSeriesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
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 ef38b8f9..2e25cb6f 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
@@ -42,6 +42,12 @@ private ListUptimeCheckConfigsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListUptimeCheckConfigsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ListUptimeCheckConfigsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -130,6 +135,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -151,6 +158,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -194,6 +205,8 @@ public int getPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -216,6 +229,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -589,6 +604,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -610,6 +627,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -631,6 +650,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -650,6 +672,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -666,6 +690,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -690,6 +717,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -705,6 +734,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -723,6 +755,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -742,6 +776,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -764,6 +800,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -786,6 +824,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 4;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -806,6 +847,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -823,6 +866,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 4;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 e059d3c6..578a70ec 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
@@ -32,6 +32,8 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -43,6 +45,8 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -57,6 +61,8 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -70,6 +76,8 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -82,6 +90,8 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java
index 4b3b9829..47fbc9b4 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java
@@ -43,6 +43,12 @@ private ListUptimeCheckConfigsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListUptimeCheckConfigsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -128,7 +134,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class);
}
- private int bitField0_;
public static final int UPTIME_CHECK_CONFIGS_FIELD_NUMBER = 1;
private java.util.List uptimeCheckConfigs_;
/**
@@ -208,6 +213,8 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -232,6 +239,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -256,6 +265,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* int32 total_size = 3;
+ *
+ * @return The totalSize.
*/
public int getTotalSize() {
return totalSize_;
@@ -527,7 +538,6 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsResponse buildPartial() {
com.google.monitoring.v3.ListUptimeCheckConfigsResponse result =
new com.google.monitoring.v3.ListUptimeCheckConfigsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (uptimeCheckConfigsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
uptimeCheckConfigs_ = java.util.Collections.unmodifiableList(uptimeCheckConfigs_);
@@ -539,7 +549,6 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsResponse buildPartial() {
}
result.nextPageToken_ = nextPageToken_;
result.totalSize_ = totalSize_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1029,6 +1038,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsB
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1053,6 +1064,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1077,6 +1090,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1099,6 +1115,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1118,6 +1136,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1140,6 +1161,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 total_size = 3;
+ *
+ * @return The totalSize.
*/
public int getTotalSize() {
return totalSize_;
@@ -1153,6 +1176,9 @@ public int getTotalSize() {
*
*
* int32 total_size = 3;
+ *
+ * @param value The totalSize to set.
+ * @return This builder for chaining.
*/
public Builder setTotalSize(int value) {
@@ -1169,6 +1195,8 @@ public Builder setTotalSize(int value) {
*
*
* int32 total_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTotalSize() {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java
index 7db0cd9a..f3666480 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java
@@ -87,6 +87,8 @@ public interface ListUptimeCheckConfigsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -101,6 +103,8 @@ public interface ListUptimeCheckConfigsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
@@ -113,6 +117,8 @@ public interface ListUptimeCheckConfigsResponseOrBuilder
*
*
* int32 total_size = 3;
+ *
+ * @return The totalSize.
*/
int getTotalSize();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java
index 033c77c5..c6069348 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java
@@ -41,6 +41,12 @@ private ListUptimeCheckIpsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListUptimeCheckIpsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private ListUptimeCheckIpsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -143,6 +150,8 @@ public int getPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -166,6 +175,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -525,6 +536,8 @@ public Builder mergeFrom(
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -541,6 +554,9 @@ public int getPageSize() {
*
*
* int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -560,6 +576,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -580,6 +598,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -603,6 +623,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -626,6 +648,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -647,6 +672,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -665,6 +692,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java
index 671626bd..de4b7eb6 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface ListUptimeCheckIpsRequestOrBuilder
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -49,6 +51,8 @@ public interface ListUptimeCheckIpsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -62,6 +66,8 @@ public interface ListUptimeCheckIpsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java
index d6ac051b..f6e8e5a4 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java
@@ -42,6 +42,12 @@ private ListUptimeCheckIpsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListUptimeCheckIpsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class);
}
- private int bitField0_;
public static final int UPTIME_CHECK_IPS_FIELD_NUMBER = 1;
private java.util.List uptimeCheckIps_;
/**
@@ -206,6 +211,8 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -231,6 +238,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -497,7 +506,6 @@ public com.google.monitoring.v3.ListUptimeCheckIpsResponse buildPartial() {
com.google.monitoring.v3.ListUptimeCheckIpsResponse result =
new com.google.monitoring.v3.ListUptimeCheckIpsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (uptimeCheckIpsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
uptimeCheckIps_ = java.util.Collections.unmodifiableList(uptimeCheckIps_);
@@ -508,7 +516,6 @@ public com.google.monitoring.v3.ListUptimeCheckIpsResponse buildPartial() {
result.uptimeCheckIps_ = uptimeCheckIpsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1008,6 +1015,8 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(i
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1033,6 +1042,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1058,6 +1069,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1081,6 +1095,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1101,6 +1117,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java
index a187e26f..fcc46bbc 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java
@@ -93,6 +93,8 @@ public interface ListUptimeCheckIpsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -108,6 +110,8 @@ public interface ListUptimeCheckIpsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java
index 7867260c..27ca31dc 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class MetricDescriptorName implements ResourceName {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java
index 2c3f86ac..d5e2c6b0 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java
@@ -66,24 +66,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "le.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\Mo"
+ "nitoring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.DistributionProto.getDescriptor(),
- com.google.api.LabelProto.getDescriptor(),
- com.google.api.MetricProto.getDescriptor(),
- com.google.api.MonitoredResourceProto.getDescriptor(),
- com.google.monitoring.v3.CommonProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.DistributionProto.getDescriptor(),
+ com.google.api.LabelProto.getDescriptor(),
+ com.google.api.MetricProto.getDescriptor(),
+ com.google.api.MonitoredResourceProto.getDescriptor(),
+ com.google.monitoring.v3.CommonProto.getDescriptor(),
+ });
internal_static_google_monitoring_v3_Point_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_Point_fieldAccessorTable =
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 8845bc29..538b2cfc 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
@@ -189,29 +189,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\032Google.Cloud.Monitoring.V3\312\002\032Google\\Clo"
+ "ud\\Monitoring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.MetricProto.getDescriptor(),
- com.google.api.MonitoredResourceProto.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(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.MetricProto.getDescriptor(),
+ com.google.api.MonitoredResourceProto.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);
internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable =
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java
index 6fa2e89b..b0c6dd2e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class MonitoredResourceDescriptorName implements ResourceName {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java
index 860d98ec..76d525f5 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java
@@ -41,6 +41,12 @@ private MutationRecord() {
mutatedBy_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MutationRecord();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private MutationRecord(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -131,6 +136,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.Timestamp mutate_time = 1;
+ *
+ * @return Whether the mutateTime field is set.
*/
public boolean hasMutateTime() {
return mutateTime_ != null;
@@ -143,6 +150,8 @@ public boolean hasMutateTime() {
*
*
* .google.protobuf.Timestamp mutate_time = 1;
+ *
+ * @return The mutateTime.
*/
public com.google.protobuf.Timestamp getMutateTime() {
return mutateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : mutateTime_;
@@ -170,6 +179,8 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() {
*
*
* string mutated_by = 2;
+ *
+ * @return The mutatedBy.
*/
public java.lang.String getMutatedBy() {
java.lang.Object ref = mutatedBy_;
@@ -190,6 +201,8 @@ public java.lang.String getMutatedBy() {
*
*
* string mutated_by = 2;
+ *
+ * @return The bytes for mutatedBy.
*/
public com.google.protobuf.ByteString getMutatedByBytes() {
java.lang.Object ref = mutatedBy_;
@@ -560,6 +573,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.Timestamp mutate_time = 1;
+ *
+ * @return Whether the mutateTime field is set.
*/
public boolean hasMutateTime() {
return mutateTimeBuilder_ != null || mutateTime_ != null;
@@ -572,6 +587,8 @@ public boolean hasMutateTime() {
*
*
* .google.protobuf.Timestamp mutate_time = 1;
+ *
+ * @return The mutateTime.
*/
public com.google.protobuf.Timestamp getMutateTime() {
if (mutateTimeBuilder_ == null) {
@@ -734,6 +751,8 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() {
*
*
* string mutated_by = 2;
+ *
+ * @return The mutatedBy.
*/
public java.lang.String getMutatedBy() {
java.lang.Object ref = mutatedBy_;
@@ -754,6 +773,8 @@ public java.lang.String getMutatedBy() {
*
*
* string mutated_by = 2;
+ *
+ * @return The bytes for mutatedBy.
*/
public com.google.protobuf.ByteString getMutatedByBytes() {
java.lang.Object ref = mutatedBy_;
@@ -774,6 +795,9 @@ public com.google.protobuf.ByteString getMutatedByBytes() {
*
*
* string mutated_by = 2;
+ *
+ * @param value The mutatedBy to set.
+ * @return This builder for chaining.
*/
public Builder setMutatedBy(java.lang.String value) {
if (value == null) {
@@ -792,6 +816,8 @@ public Builder setMutatedBy(java.lang.String value) {
*
*
* string mutated_by = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMutatedBy() {
@@ -807,6 +833,9 @@ public Builder clearMutatedBy() {
*
*
* string mutated_by = 2;
+ *
+ * @param value The bytes for mutatedBy to set.
+ * @return This builder for chaining.
*/
public Builder setMutatedByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java
index 2eaa8cdf..dcce347f 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java
@@ -31,6 +31,8 @@ public interface MutationRecordOrBuilder
*
*
* .google.protobuf.Timestamp mutate_time = 1;
+ *
+ * @return Whether the mutateTime field is set.
*/
boolean hasMutateTime();
/**
@@ -41,6 +43,8 @@ public interface MutationRecordOrBuilder
*
*
* .google.protobuf.Timestamp mutate_time = 1;
+ *
+ * @return The mutateTime.
*/
com.google.protobuf.Timestamp getMutateTime();
/**
@@ -62,6 +66,8 @@ public interface MutationRecordOrBuilder
*
*
* string mutated_by = 2;
+ *
+ * @return The mutatedBy.
*/
java.lang.String getMutatedBy();
/**
@@ -72,6 +78,8 @@ public interface MutationRecordOrBuilder
*
*
* string mutated_by = 2;
+ *
+ * @return The bytes for mutatedBy.
*/
com.google.protobuf.ByteString getMutatedByBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java
index 0b310cbe..6510c9ae 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java
@@ -51,20 +51,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3"
+ "b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_monitoring_v3_MutationRecord_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable =
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java
index efa9e3c7..9de048b8 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java
@@ -49,6 +49,12 @@ private NotificationChannel() {
verificationStatus_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new NotificationChannel();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -96,10 +102,10 @@ private NotificationChannel(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ =
com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000010;
+ mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry labels__ =
input.readMessage(
@@ -116,11 +122,11 @@ private NotificationChannel(
}
case 66:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
userLabels_ =
com.google.protobuf.MapField.newMapField(
UserLabelsDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000002;
}
com.google.protobuf.MapEntry userLabels__ =
input.readMessage(
@@ -299,12 +305,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static VerificationStatus valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static VerificationStatus forNumber(int value) {
switch (value) {
case 0:
@@ -365,7 +379,6 @@ private VerificationStatus(int value) {
// @@protoc_insertion_point(enum_scope:google.monitoring.v3.NotificationChannel.VerificationStatus)
}
- private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object type_;
/**
@@ -377,6 +390,8 @@ private VerificationStatus(int value) {
*
*
* string type = 1;
+ *
+ * @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
@@ -398,6 +413,8 @@ public java.lang.String getType() {
*
*
* string type = 1;
+ *
+ * @return The bytes for type.
*/
public com.google.protobuf.ByteString getTypeBytes() {
java.lang.Object ref = type_;
@@ -423,6 +440,8 @@ public com.google.protobuf.ByteString getTypeBytes() {
*
*
* string name = 6;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -445,6 +464,8 @@ public java.lang.String getName() {
*
*
* string name = 6;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -471,6 +492,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -494,6 +517,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -519,6 +544,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string description = 4;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -541,6 +568,8 @@ public java.lang.String getDescription() {
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -807,6 +836,8 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
*
* .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @return The enum numeric value on the wire for verificationStatus.
*/
public int getVerificationStatusValue() {
return verificationStatus_;
@@ -835,6 +866,8 @@ public int getVerificationStatusValue() {
*
* .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @return The verificationStatus.
*/
public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus() {
@SuppressWarnings("deprecation")
@@ -861,6 +894,8 @@ public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerifi
*
*
* .google.protobuf.BoolValue enabled = 11;
+ *
+ * @return Whether the enabled field is set.
*/
public boolean hasEnabled() {
return enabled_ != null;
@@ -878,6 +913,8 @@ public boolean hasEnabled() {
*
*
* .google.protobuf.BoolValue enabled = 11;
+ *
+ * @return The enabled.
*/
public com.google.protobuf.BoolValue getEnabled() {
return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
@@ -1268,7 +1305,6 @@ public com.google.monitoring.v3.NotificationChannel buildPartial() {
com.google.monitoring.v3.NotificationChannel result =
new com.google.monitoring.v3.NotificationChannel(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.type_ = type_;
result.name_ = name_;
result.displayName_ = displayName_;
@@ -1283,7 +1319,6 @@ public com.google.monitoring.v3.NotificationChannel buildPartial() {
} else {
result.enabled_ = enabledBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1398,6 +1433,8 @@ public Builder mergeFrom(
*
*
* string type = 1;
+ *
+ * @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
@@ -1419,6 +1456,8 @@ public java.lang.String getType() {
*
*
* string type = 1;
+ *
+ * @return The bytes for type.
*/
public com.google.protobuf.ByteString getTypeBytes() {
java.lang.Object ref = type_;
@@ -1440,6 +1479,9 @@ public com.google.protobuf.ByteString getTypeBytes() {
*
*
* string type = 1;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(java.lang.String value) {
if (value == null) {
@@ -1459,6 +1501,8 @@ public Builder setType(java.lang.String value) {
*
*
* string type = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -1475,6 +1519,9 @@ public Builder clearType() {
*
*
* string type = 1;
+ *
+ * @param value The bytes for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1498,6 +1545,8 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
*
*
* string name = 6;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1520,6 +1569,8 @@ public java.lang.String getName() {
*
*
* string name = 6;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1542,6 +1593,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 6;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1562,6 +1616,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1579,6 +1635,9 @@ public Builder clearName() {
*
*
* string name = 6;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1603,6 +1662,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -1626,6 +1687,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1649,6 +1712,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 3;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1670,6 +1736,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1688,6 +1756,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1711,6 +1782,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 4;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1733,6 +1806,8 @@ public java.lang.String getDescription() {
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1755,6 +1830,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 4;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1775,6 +1853,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1792,6 +1872,9 @@ public Builder clearDescription() {
*
*
* string description = 4;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2206,6 +2289,8 @@ public Builder putAllUserLabels(java.util.Map.google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @return The enum numeric value on the wire for verificationStatus.
*/
public int getVerificationStatusValue() {
return verificationStatus_;
@@ -2234,6 +2319,9 @@ public int getVerificationStatusValue() {
*
* .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @param value The enum numeric value on the wire for verificationStatus to set.
+ * @return This builder for chaining.
*/
public Builder setVerificationStatusValue(int value) {
verificationStatus_ = value;
@@ -2264,6 +2352,8 @@ public Builder setVerificationStatusValue(int value) {
*
* .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @return The verificationStatus.
*/
public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus() {
@SuppressWarnings("deprecation")
@@ -2298,6 +2388,9 @@ public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerifi
*
* .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @param value The verificationStatus to set.
+ * @return This builder for chaining.
*/
public Builder setVerificationStatus(
com.google.monitoring.v3.NotificationChannel.VerificationStatus value) {
@@ -2333,6 +2426,8 @@ public Builder setVerificationStatus(
*
* .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearVerificationStatus() {
@@ -2360,6 +2455,8 @@ public Builder clearVerificationStatus() {
*
*
* .google.protobuf.BoolValue enabled = 11;
+ *
+ * @return Whether the enabled field is set.
*/
public boolean hasEnabled() {
return enabledBuilder_ != null || enabled_ != null;
@@ -2377,6 +2474,8 @@ public boolean hasEnabled() {
*
*
* .google.protobuf.BoolValue enabled = 11;
+ *
+ * @return The enabled.
*/
public com.google.protobuf.BoolValue getEnabled() {
if (enabledBuilder_ == null) {
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 f7057422..f4991c39 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
@@ -48,6 +48,12 @@ private NotificationChannelDescriptor() {
supportedTiers_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new NotificationChannelDescriptor();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -95,9 +101,9 @@ private NotificationChannelDescriptor(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000010;
+ mutable_bitField0_ |= 0x00000001;
}
labels_.add(
input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry));
@@ -106,9 +112,9 @@ private NotificationChannelDescriptor(
case 40:
{
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
supportedTiers_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000002;
}
supportedTiers_.add(rawValue);
break;
@@ -119,9 +125,9 @@ private NotificationChannelDescriptor(
int oldLimit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
supportedTiers_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000002;
}
supportedTiers_.add(rawValue);
}
@@ -149,10 +155,10 @@ private NotificationChannelDescriptor(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ = java.util.Collections.unmodifiableList(labels_);
}
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
supportedTiers_ = java.util.Collections.unmodifiableList(supportedTiers_);
}
this.unknownFields = unknownFields.build();
@@ -175,7 +181,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 6;
private volatile java.lang.Object name_;
/**
@@ -188,6 +193,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 6;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -210,6 +217,8 @@ public java.lang.String getName() {
*
*
* string name = 6;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -234,6 +243,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string type = 1;
+ *
+ * @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
@@ -255,6 +266,8 @@ public java.lang.String getType() {
*
*
* string type = 1;
+ *
+ * @return The bytes for type.
*/
public com.google.protobuf.ByteString getTypeBytes() {
java.lang.Object ref = type_;
@@ -279,6 +292,8 @@ public com.google.protobuf.ByteString getTypeBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -300,6 +315,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -325,6 +342,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -347,6 +366,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -458,6 +479,8 @@ public com.google.monitoring.v3.ServiceTier convert(java.lang.Integer from) {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return A list containing the supportedTiers.
*/
@java.lang.Deprecated
public java.util.List getSupportedTiersList() {
@@ -475,6 +498,8 @@ public java.util.List getSupportedTiersLis
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param value The supportedTiers to add.
*/
@java.lang.Deprecated
public int getSupportedTiersCount() {
@@ -490,6 +515,9 @@ public int getSupportedTiersCount() {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param index The index of the element to return.
+ * @return The supportedTiers at the given index.
*/
@java.lang.Deprecated
public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) {
@@ -505,6 +533,8 @@ public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return A list containing the enum numeric values on the wire for supportedTiers.
*/
@java.lang.Deprecated
public java.util.List getSupportedTiersValueList() {
@@ -520,6 +550,9 @@ public java.util.List getSupportedTiersValueList() {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of supportedTiers at the given index.
*/
@java.lang.Deprecated
public int getSupportedTiersValue(int index) {
@@ -811,12 +844,12 @@ public Builder clear() {
if (labelsBuilder_ == null) {
labels_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
labelsBuilder_.clear();
}
supportedTiers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -845,26 +878,24 @@ public com.google.monitoring.v3.NotificationChannelDescriptor buildPartial() {
com.google.monitoring.v3.NotificationChannelDescriptor result =
new com.google.monitoring.v3.NotificationChannelDescriptor(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.type_ = type_;
result.displayName_ = displayName_;
result.description_ = description_;
if (labelsBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
labels_ = java.util.Collections.unmodifiableList(labels_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.labels_ = labels_;
} else {
result.labels_ = labelsBuilder_.build();
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
supportedTiers_ = java.util.Collections.unmodifiableList(supportedTiers_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.supportedTiers_ = supportedTiers_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -935,7 +966,7 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannelDescriptor
if (!other.labels_.isEmpty()) {
if (labels_.isEmpty()) {
labels_ = other.labels_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLabelsIsMutable();
labels_.addAll(other.labels_);
@@ -948,7 +979,7 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannelDescriptor
labelsBuilder_.dispose();
labelsBuilder_ = null;
labels_ = other.labels_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
labelsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getLabelsFieldBuilder()
@@ -961,7 +992,7 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannelDescriptor
if (!other.supportedTiers_.isEmpty()) {
if (supportedTiers_.isEmpty()) {
supportedTiers_ = other.supportedTiers_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSupportedTiersIsMutable();
supportedTiers_.addAll(other.supportedTiers_);
@@ -1011,6 +1042,8 @@ public Builder mergeFrom(
*
*
* string name = 6;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1033,6 +1066,8 @@ public java.lang.String getName() {
*
*
* string name = 6;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1055,6 +1090,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 6;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1075,6 +1113,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1092,6 +1132,9 @@ public Builder clearName() {
*
*
* string name = 6;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1114,6 +1157,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string type = 1;
+ *
+ * @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
@@ -1135,6 +1180,8 @@ public java.lang.String getType() {
*
*
* string type = 1;
+ *
+ * @return The bytes for type.
*/
public com.google.protobuf.ByteString getTypeBytes() {
java.lang.Object ref = type_;
@@ -1156,6 +1203,9 @@ public com.google.protobuf.ByteString getTypeBytes() {
*
*
* string type = 1;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(java.lang.String value) {
if (value == null) {
@@ -1175,6 +1225,8 @@ public Builder setType(java.lang.String value) {
*
*
* string type = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -1191,6 +1243,9 @@ public Builder clearType() {
*
*
* string type = 1;
+ *
+ * @param value The bytes for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1213,6 +1268,8 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -1234,6 +1291,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1255,6 +1314,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1274,6 +1336,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1290,6 +1354,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1313,6 +1380,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1335,6 +1404,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1357,6 +1428,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 3;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1377,6 +1451,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1394,6 +1470,9 @@ public Builder clearDescription() {
*
*
* string description = 3;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1410,9 +1489,9 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureLabelsIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
labels_ = new java.util.ArrayList(labels_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000001;
}
}
@@ -1647,7 +1726,7 @@ public Builder addAllLabels(
public Builder clearLabels() {
if (labelsBuilder_ == null) {
labels_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
labelsBuilder_.clear();
@@ -1782,7 +1861,7 @@ public java.util.List getLabelsBuilderLi
com.google.api.LabelDescriptor,
com.google.api.LabelDescriptor.Builder,
com.google.api.LabelDescriptorOrBuilder>(
- labels_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+ labels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
labels_ = null;
}
return labelsBuilder_;
@@ -1791,9 +1870,9 @@ public java.util.List getLabelsBuilderLi
private java.util.List supportedTiers_ = java.util.Collections.emptyList();
private void ensureSupportedTiersIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
supportedTiers_ = new java.util.ArrayList(supportedTiers_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -1806,6 +1885,8 @@ private void ensureSupportedTiersIsMutable() {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return A list containing the supportedTiers.
*/
@java.lang.Deprecated
public java.util.List getSupportedTiersList() {
@@ -1823,6 +1904,8 @@ public java.util.List getSupportedTiersLis
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return The count of supportedTiers.
*/
@java.lang.Deprecated
public int getSupportedTiersCount() {
@@ -1838,6 +1921,9 @@ public int getSupportedTiersCount() {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param index The index of the element to return.
+ * @return The supportedTiers at the given index.
*/
@java.lang.Deprecated
public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) {
@@ -1853,6 +1939,10 @@ public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param index The index to set the value at.
+ * @param value The supportedTiers to set.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setSupportedTiers(int index, com.google.monitoring.v3.ServiceTier value) {
@@ -1874,6 +1964,9 @@ public Builder setSupportedTiers(int index, com.google.monitoring.v3.ServiceTier
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param value The supportedTiers to add.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder addSupportedTiers(com.google.monitoring.v3.ServiceTier value) {
@@ -1895,6 +1988,9 @@ public Builder addSupportedTiers(com.google.monitoring.v3.ServiceTier value) {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param values The supportedTiers to add.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder addAllSupportedTiers(
@@ -1916,11 +2012,13 @@ public Builder addAllSupportedTiers(
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder clearSupportedTiers() {
supportedTiers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1934,6 +2032,8 @@ public Builder clearSupportedTiers() {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return A list containing the enum numeric values on the wire for supportedTiers.
*/
@java.lang.Deprecated
public java.util.List getSupportedTiersValueList() {
@@ -1949,6 +2049,9 @@ public java.util.List getSupportedTiersValueList() {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of supportedTiers at the given index.
*/
@java.lang.Deprecated
public int getSupportedTiersValue(int index) {
@@ -1964,6 +2067,10 @@ public int getSupportedTiersValue(int index) {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of supportedTiers at the given index.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setSupportedTiersValue(int index, int value) {
@@ -1982,6 +2089,9 @@ public Builder setSupportedTiersValue(int index, int value) {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param value The enum numeric value on the wire for supportedTiers to add.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder addSupportedTiersValue(int value) {
@@ -2000,6 +2110,9 @@ public Builder addSupportedTiersValue(int value) {
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param values The enum numeric values on the wire for supportedTiers to add.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder addAllSupportedTiersValue(java.lang.Iterable values) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java
index 7d709c08..f6ff7418 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class NotificationChannelDescriptorName implements ResourceName {
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 e92542e3..1eb7ae50 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
@@ -33,6 +33,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
*
* string name = 6;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
*
* string name = 6;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -57,6 +61,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
*
* string type = 1;
+ *
+ * @return The type.
*/
java.lang.String getType();
/**
@@ -68,6 +74,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
*
* string type = 1;
+ *
+ * @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
@@ -80,6 +88,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -91,6 +101,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -104,6 +116,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
*
* string description = 3;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -116,6 +130,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -190,6 +206,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return A list containing the supportedTiers.
*/
@java.lang.Deprecated
java.util.List getSupportedTiersList();
@@ -203,6 +221,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return The count of supportedTiers.
*/
@java.lang.Deprecated
int getSupportedTiersCount();
@@ -216,6 +236,9 @@ public interface NotificationChannelDescriptorOrBuilder
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param index The index of the element to return.
+ * @return The supportedTiers at the given index.
*/
@java.lang.Deprecated
com.google.monitoring.v3.ServiceTier getSupportedTiers(int index);
@@ -229,6 +252,8 @@ public interface NotificationChannelDescriptorOrBuilder
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @return A list containing the enum numeric values on the wire for supportedTiers.
*/
@java.lang.Deprecated
java.util.List getSupportedTiersValueList();
@@ -242,6 +267,9 @@ public interface NotificationChannelDescriptorOrBuilder
*
* repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of supportedTiers at the given index.
*/
@java.lang.Deprecated
int getSupportedTiersValue(int index);
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java
index 2c3ccc5c..fd95003d 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class NotificationChannelName implements ResourceName {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java
index 3ad5aa9b..a9572136 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java
@@ -32,6 +32,8 @@ public interface NotificationChannelOrBuilder
*
*
* string type = 1;
+ *
+ * @return The type.
*/
java.lang.String getType();
/**
@@ -43,6 +45,8 @@ public interface NotificationChannelOrBuilder
*
*
* string type = 1;
+ *
+ * @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
@@ -56,6 +60,8 @@ public interface NotificationChannelOrBuilder
*
*
* string name = 6;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -68,6 +74,8 @@ public interface NotificationChannelOrBuilder
*
*
* string name = 6;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -82,6 +90,8 @@ public interface NotificationChannelOrBuilder
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -95,6 +105,8 @@ public interface NotificationChannelOrBuilder
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -108,6 +120,8 @@ public interface NotificationChannelOrBuilder
*
*
* string description = 4;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -120,6 +134,8 @@ public interface NotificationChannelOrBuilder
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -305,6 +321,8 @@ public interface NotificationChannelOrBuilder
*
* .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @return The enum numeric value on the wire for verificationStatus.
*/
int getVerificationStatusValue();
/**
@@ -331,6 +349,8 @@ public interface NotificationChannelOrBuilder
*
* .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
*
+ *
+ * @return The verificationStatus.
*/
com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus();
@@ -347,6 +367,8 @@ public interface NotificationChannelOrBuilder
*
*
* .google.protobuf.BoolValue enabled = 11;
+ *
+ * @return Whether the enabled field is set.
*/
boolean hasEnabled();
/**
@@ -362,6 +384,8 @@ public interface NotificationChannelOrBuilder
*
*
* .google.protobuf.BoolValue enabled = 11;
+ *
+ * @return The enabled.
*/
com.google.protobuf.BoolValue getEnabled();
/**
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 388025bb..c704fa19 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
@@ -82,23 +82,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ng\252\002\032Google.Cloud.Monitoring.V3\312\002\032Google"
+ "\\Cloud\\Monitoring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.LabelProto.getDescriptor(),
- com.google.api.LaunchStageProto.getDescriptor(),
- com.google.monitoring.v3.CommonProto.getDescriptor(),
- com.google.protobuf.WrappersProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.LabelProto.getDescriptor(),
+ com.google.api.LaunchStageProto.getDescriptor(),
+ com.google.monitoring.v3.CommonProto.getDescriptor(),
+ com.google.protobuf.WrappersProto.getDescriptor(),
+ });
internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable =
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 87e40d63..ba450f3e 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
@@ -191,26 +191,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "monitoring\252\002\032Google.Cloud.Monitoring.V3\312"
+ "\002\032Google\\Cloud\\Monitoring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.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(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.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);
internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable =
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java
index 58ee9894..6b643479 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java
@@ -39,6 +39,12 @@ private Point(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Point() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Point();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private Point(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -146,6 +151,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.monitoring.v3.TimeInterval interval = 1;
+ *
+ * @return Whether the interval field is set.
*/
public boolean hasInterval() {
return interval_ != null;
@@ -166,6 +173,8 @@ public boolean hasInterval() {
*
*
* .google.monitoring.v3.TimeInterval interval = 1;
+ *
+ * @return The interval.
*/
public com.google.monitoring.v3.TimeInterval getInterval() {
return interval_ == null
@@ -203,6 +212,8 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
*
*
* .google.monitoring.v3.TypedValue value = 2;
+ *
+ * @return Whether the value field is set.
*/
public boolean hasValue() {
return value_ != null;
@@ -215,6 +226,8 @@ public boolean hasValue() {
*
*
* .google.monitoring.v3.TypedValue value = 2;
+ *
+ * @return The value.
*/
public com.google.monitoring.v3.TypedValue getValue() {
return value_ == null ? com.google.monitoring.v3.TypedValue.getDefaultInstance() : value_;
@@ -606,6 +619,8 @@ public Builder mergeFrom(
*
*
* .google.monitoring.v3.TimeInterval interval = 1;
+ *
+ * @return Whether the interval field is set.
*/
public boolean hasInterval() {
return intervalBuilder_ != null || interval_ != null;
@@ -626,6 +641,8 @@ public boolean hasInterval() {
*
*
* .google.monitoring.v3.TimeInterval interval = 1;
+ *
+ * @return The interval.
*/
public com.google.monitoring.v3.TimeInterval getInterval() {
if (intervalBuilder_ == null) {
@@ -851,6 +868,8 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
*
*
* .google.monitoring.v3.TypedValue value = 2;
+ *
+ * @return Whether the value field is set.
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
@@ -863,6 +882,8 @@ public boolean hasValue() {
*
*
* .google.monitoring.v3.TypedValue value = 2;
+ *
+ * @return The value.
*/
public com.google.monitoring.v3.TypedValue getValue() {
if (valueBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java
index 0da3d4e1..ad1e0a48 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java
@@ -39,6 +39,8 @@ public interface PointOrBuilder
*
*
* .google.monitoring.v3.TimeInterval interval = 1;
+ *
+ * @return Whether the interval field is set.
*/
boolean hasInterval();
/**
@@ -57,6 +59,8 @@ public interface PointOrBuilder
*
*
* .google.monitoring.v3.TimeInterval interval = 1;
+ *
+ * @return The interval.
*/
com.google.monitoring.v3.TimeInterval getInterval();
/**
@@ -86,6 +90,8 @@ public interface PointOrBuilder
*
*
* .google.monitoring.v3.TypedValue value = 2;
+ *
+ * @return Whether the value field is set.
*/
boolean hasValue();
/**
@@ -96,6 +102,8 @@ public interface PointOrBuilder
*
*
* .google.monitoring.v3.TypedValue value = 2;
+ *
+ * @return The value.
*/
com.google.monitoring.v3.TypedValue getValue();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java
index 09db7c99..382c7460 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class ProjectName implements ResourceName {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
index 9356fecc..871d4430 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
@@ -41,6 +41,12 @@ private Range(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Range() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Range();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private Range(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* double min = 1;
+ *
+ * @return The min.
*/
public double getMin() {
return min_;
@@ -133,6 +140,8 @@ public double getMin() {
*
*
* double max = 2;
+ *
+ * @return The max.
*/
public double getMax() {
return max_;
@@ -481,6 +490,8 @@ public Builder mergeFrom(
*
*
* double min = 1;
+ *
+ * @return The min.
*/
public double getMin() {
return min_;
@@ -493,6 +504,9 @@ public double getMin() {
*
*
* double min = 1;
+ *
+ * @param value The min to set.
+ * @return This builder for chaining.
*/
public Builder setMin(double value) {
@@ -508,6 +522,8 @@ public Builder setMin(double value) {
*
*
* double min = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMin() {
@@ -525,6 +541,8 @@ public Builder clearMin() {
*
*
* double max = 2;
+ *
+ * @return The max.
*/
public double getMax() {
return max_;
@@ -537,6 +555,9 @@ public double getMax() {
*
*
* double max = 2;
+ *
+ * @param value The max to set.
+ * @return This builder for chaining.
*/
public Builder setMax(double value) {
@@ -552,6 +573,8 @@ public Builder setMax(double value) {
*
*
* double max = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMax() {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java
index 83863d50..f250ff00 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java
@@ -31,6 +31,8 @@ public interface RangeOrBuilder
*
*
* double min = 1;
+ *
+ * @return The min.
*/
double getMin();
@@ -42,6 +44,8 @@ public interface RangeOrBuilder
*
*
* double max = 2;
+ *
+ * @return The max.
*/
double getMax();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java
index 6115bb04..7be08444 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java
@@ -40,6 +40,12 @@ private RequestBasedSli(com.google.protobuf.GeneratedMessageV3.Builder> builde
private RequestBasedSli() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RequestBasedSli();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private RequestBasedSli(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -133,7 +138,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int methodCase_ = 0;
private java.lang.Object method_;
- public enum MethodCase implements com.google.protobuf.Internal.EnumLite {
+ public enum MethodCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
GOOD_TOTAL_RATIO(1),
DISTRIBUTION_CUT(3),
METHOD_NOT_SET(0);
@@ -142,7 +150,11 @@ public enum MethodCase implements com.google.protobuf.Internal.EnumLite {
private MethodCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static MethodCase valueOf(int value) {
return forNumber(value);
@@ -180,6 +192,8 @@ public MethodCase getMethodCase() {
*
*
* .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
+ *
+ * @return Whether the goodTotalRatio field is set.
*/
public boolean hasGoodTotalRatio() {
return methodCase_ == 1;
@@ -193,6 +207,8 @@ public boolean hasGoodTotalRatio() {
*
*
* .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
+ *
+ * @return The goodTotalRatio.
*/
public com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio() {
if (methodCase_ == 1) {
@@ -229,6 +245,8 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
*
*
* .google.monitoring.v3.DistributionCut distribution_cut = 3;
+ *
+ * @return Whether the distributionCut field is set.
*/
public boolean hasDistributionCut() {
return methodCase_ == 3;
@@ -244,6 +262,8 @@ public boolean hasDistributionCut() {
*
*
* .google.monitoring.v3.DistributionCut distribution_cut = 3;
+ *
+ * @return The distributionCut.
*/
public com.google.monitoring.v3.DistributionCut getDistributionCut() {
if (methodCase_ == 3) {
@@ -670,6 +690,8 @@ public Builder clearMethod() {
*
*
* .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
+ *
+ * @return Whether the goodTotalRatio field is set.
*/
public boolean hasGoodTotalRatio() {
return methodCase_ == 1;
@@ -683,6 +705,8 @@ public boolean hasGoodTotalRatio() {
*
*
* .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
+ *
+ * @return The goodTotalRatio.
*/
public com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio() {
if (goodTotalRatioBuilder_ == null) {
@@ -883,6 +907,8 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
*
*
* .google.monitoring.v3.DistributionCut distribution_cut = 3;
+ *
+ * @return Whether the distributionCut field is set.
*/
public boolean hasDistributionCut() {
return methodCase_ == 3;
@@ -898,6 +924,8 @@ public boolean hasDistributionCut() {
*
*
* .google.monitoring.v3.DistributionCut distribution_cut = 3;
+ *
+ * @return The distributionCut.
*/
public com.google.monitoring.v3.DistributionCut getDistributionCut() {
if (distributionCutBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
index b76f1d3f..77f5aaf9 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
@@ -32,6 +32,8 @@ public interface RequestBasedSliOrBuilder
*
*
* .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
+ *
+ * @return Whether the goodTotalRatio field is set.
*/
boolean hasGoodTotalRatio();
/**
@@ -43,6 +45,8 @@ public interface RequestBasedSliOrBuilder
*
*
* .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
+ *
+ * @return The goodTotalRatio.
*/
com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio();
/**
@@ -68,6 +72,8 @@ public interface RequestBasedSliOrBuilder
*
*
* .google.monitoring.v3.DistributionCut distribution_cut = 3;
+ *
+ * @return Whether the distributionCut field is set.
*/
boolean hasDistributionCut();
/**
@@ -81,6 +87,8 @@ public interface RequestBasedSliOrBuilder
*
*
* .google.monitoring.v3.DistributionCut distribution_cut = 3;
+ *
+ * @return The distributionCut.
*/
com.google.monitoring.v3.DistributionCut getDistributionCut();
/**
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 2fba043f..595faa52 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
@@ -43,6 +43,12 @@ private SendNotificationChannelVerificationCodeRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SendNotificationChannelVerificationCodeRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private SendNotificationChannelVerificationCodeRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -490,6 +499,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -510,6 +521,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -530,6 +543,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -548,6 +564,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -563,6 +581,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 90322248..6bce479b 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
@@ -31,6 +31,8 @@ public interface SendNotificationChannelVerificationCodeRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface SendNotificationChannelVerificationCodeRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java
index 27dad330..9c3035eb 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java
@@ -46,6 +46,12 @@ private Service() {
displayName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Service();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private Service(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -225,6 +230,12 @@ private Custom(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Custom() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Custom();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -653,6 +664,8 @@ public interface AppEngineOrBuilder
*
*
* string module_id = 1;
+ *
+ * @return The moduleId.
*/
java.lang.String getModuleId();
/**
@@ -665,6 +678,8 @@ public interface AppEngineOrBuilder
*
*
* string module_id = 1;
+ *
+ * @return The bytes for moduleId.
*/
com.google.protobuf.ByteString getModuleIdBytes();
}
@@ -691,6 +706,12 @@ private AppEngine() {
moduleId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AppEngine();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -704,7 +725,6 @@ private AppEngine(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -768,6 +788,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string module_id = 1;
+ *
+ * @return The moduleId.
*/
public java.lang.String getModuleId() {
java.lang.Object ref = moduleId_;
@@ -790,6 +812,8 @@ public java.lang.String getModuleId() {
*
*
* string module_id = 1;
+ *
+ * @return The bytes for moduleId.
*/
public com.google.protobuf.ByteString getModuleIdBytes() {
java.lang.Object ref = moduleId_;
@@ -1134,6 +1158,8 @@ public Builder mergeFrom(
*
*
* string module_id = 1;
+ *
+ * @return The moduleId.
*/
public java.lang.String getModuleId() {
java.lang.Object ref = moduleId_;
@@ -1156,6 +1182,8 @@ public java.lang.String getModuleId() {
*
*
* string module_id = 1;
+ *
+ * @return The bytes for moduleId.
*/
public com.google.protobuf.ByteString getModuleIdBytes() {
java.lang.Object ref = moduleId_;
@@ -1178,6 +1206,9 @@ public com.google.protobuf.ByteString getModuleIdBytes() {
*
*
* string module_id = 1;
+ *
+ * @param value The moduleId to set.
+ * @return This builder for chaining.
*/
public Builder setModuleId(java.lang.String value) {
if (value == null) {
@@ -1198,6 +1229,8 @@ public Builder setModuleId(java.lang.String value) {
*
*
* string module_id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearModuleId() {
@@ -1215,6 +1248,9 @@ public Builder clearModuleId() {
*
*
* string module_id = 1;
+ *
+ * @param value The bytes for moduleId to set.
+ * @return This builder for chaining.
*/
public Builder setModuleIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1294,6 +1330,8 @@ public interface CloudEndpointsOrBuilder
*
*
* string service = 1;
+ *
+ * @return The service.
*/
java.lang.String getService();
/**
@@ -1306,6 +1344,8 @@ public interface CloudEndpointsOrBuilder
*
*
* string service = 1;
+ *
+ * @return The bytes for service.
*/
com.google.protobuf.ByteString getServiceBytes();
}
@@ -1332,6 +1372,12 @@ private CloudEndpoints() {
service_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CloudEndpoints();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1345,7 +1391,6 @@ private CloudEndpoints(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -1409,6 +1454,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string service = 1;
+ *
+ * @return The service.
*/
public java.lang.String getService() {
java.lang.Object ref = service_;
@@ -1431,6 +1478,8 @@ public java.lang.String getService() {
*
*
* string service = 1;
+ *
+ * @return The bytes for service.
*/
public com.google.protobuf.ByteString getServiceBytes() {
java.lang.Object ref = service_;
@@ -1777,6 +1826,8 @@ public Builder mergeFrom(
*
*
* string service = 1;
+ *
+ * @return The service.
*/
public java.lang.String getService() {
java.lang.Object ref = service_;
@@ -1799,6 +1850,8 @@ public java.lang.String getService() {
*
*
* string service = 1;
+ *
+ * @return The bytes for service.
*/
public com.google.protobuf.ByteString getServiceBytes() {
java.lang.Object ref = service_;
@@ -1821,6 +1874,9 @@ public com.google.protobuf.ByteString getServiceBytes() {
*
*
* string service = 1;
+ *
+ * @param value The service to set.
+ * @return This builder for chaining.
*/
public Builder setService(java.lang.String value) {
if (value == null) {
@@ -1841,6 +1897,8 @@ public Builder setService(java.lang.String value) {
*
*
* string service = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearService() {
@@ -1858,6 +1916,9 @@ public Builder clearService() {
*
*
* string service = 1;
+ *
+ * @param value The bytes for service to set.
+ * @return This builder for chaining.
*/
public Builder setServiceBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1937,6 +1998,8 @@ public interface ClusterIstioOrBuilder
*
*
* string location = 1;
+ *
+ * @return The location.
*/
java.lang.String getLocation();
/**
@@ -1949,6 +2012,8 @@ public interface ClusterIstioOrBuilder
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
com.google.protobuf.ByteString getLocationBytes();
@@ -1962,6 +2027,8 @@ public interface ClusterIstioOrBuilder
*
*
* string cluster_name = 2;
+ *
+ * @return The clusterName.
*/
java.lang.String getClusterName();
/**
@@ -1974,6 +2041,8 @@ public interface ClusterIstioOrBuilder
*
*
* string cluster_name = 2;
+ *
+ * @return The bytes for clusterName.
*/
com.google.protobuf.ByteString getClusterNameBytes();
@@ -1986,6 +2055,8 @@ public interface ClusterIstioOrBuilder
*
*
* string service_namespace = 3;
+ *
+ * @return The serviceNamespace.
*/
java.lang.String getServiceNamespace();
/**
@@ -1997,6 +2068,8 @@ public interface ClusterIstioOrBuilder
*
*
* string service_namespace = 3;
+ *
+ * @return The bytes for serviceNamespace.
*/
com.google.protobuf.ByteString getServiceNamespaceBytes();
@@ -2009,6 +2082,8 @@ public interface ClusterIstioOrBuilder
*
*
* string service_name = 4;
+ *
+ * @return The serviceName.
*/
java.lang.String getServiceName();
/**
@@ -2020,6 +2095,8 @@ public interface ClusterIstioOrBuilder
*
*
* string service_name = 4;
+ *
+ * @return The bytes for serviceName.
*/
com.google.protobuf.ByteString getServiceNameBytes();
}
@@ -2049,6 +2126,12 @@ private ClusterIstio() {
serviceName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ClusterIstio();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2062,7 +2145,6 @@ private ClusterIstio(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -2147,6 +2229,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string location = 1;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -2169,6 +2253,8 @@ public java.lang.String getLocation() {
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -2194,6 +2280,8 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* string cluster_name = 2;
+ *
+ * @return The clusterName.
*/
public java.lang.String getClusterName() {
java.lang.Object ref = clusterName_;
@@ -2216,6 +2304,8 @@ public java.lang.String getClusterName() {
*
*
* string cluster_name = 2;
+ *
+ * @return The bytes for clusterName.
*/
public com.google.protobuf.ByteString getClusterNameBytes() {
java.lang.Object ref = clusterName_;
@@ -2240,6 +2330,8 @@ public com.google.protobuf.ByteString getClusterNameBytes() {
*
*
* string service_namespace = 3;
+ *
+ * @return The serviceNamespace.
*/
public java.lang.String getServiceNamespace() {
java.lang.Object ref = serviceNamespace_;
@@ -2261,6 +2353,8 @@ public java.lang.String getServiceNamespace() {
*
*
* string service_namespace = 3;
+ *
+ * @return The bytes for serviceNamespace.
*/
public com.google.protobuf.ByteString getServiceNamespaceBytes() {
java.lang.Object ref = serviceNamespace_;
@@ -2285,6 +2379,8 @@ public com.google.protobuf.ByteString getServiceNamespaceBytes() {
*
*
* string service_name = 4;
+ *
+ * @return The serviceName.
*/
public java.lang.String getServiceName() {
java.lang.Object ref = serviceName_;
@@ -2306,6 +2402,8 @@ public java.lang.String getServiceName() {
*
*
* string service_name = 4;
+ *
+ * @return The bytes for serviceName.
*/
public com.google.protobuf.ByteString getServiceNameBytes() {
java.lang.Object ref = serviceName_;
@@ -2699,6 +2797,8 @@ public Builder mergeFrom(
*
*
* string location = 1;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -2721,6 +2821,8 @@ public java.lang.String getLocation() {
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -2743,6 +2845,9 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* string location = 1;
+ *
+ * @param value The location to set.
+ * @return This builder for chaining.
*/
public Builder setLocation(java.lang.String value) {
if (value == null) {
@@ -2763,6 +2868,8 @@ public Builder setLocation(java.lang.String value) {
*
*
* string location = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocation() {
@@ -2780,6 +2887,9 @@ public Builder clearLocation() {
*
*
* string location = 1;
+ *
+ * @param value The bytes for location to set.
+ * @return This builder for chaining.
*/
public Builder setLocationBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2803,6 +2913,8 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
*
*
* string cluster_name = 2;
+ *
+ * @return The clusterName.
*/
public java.lang.String getClusterName() {
java.lang.Object ref = clusterName_;
@@ -2825,6 +2937,8 @@ public java.lang.String getClusterName() {
*
*
* string cluster_name = 2;
+ *
+ * @return The bytes for clusterName.
*/
public com.google.protobuf.ByteString getClusterNameBytes() {
java.lang.Object ref = clusterName_;
@@ -2847,6 +2961,9 @@ public com.google.protobuf.ByteString getClusterNameBytes() {
*
*
* string cluster_name = 2;
+ *
+ * @param value The clusterName to set.
+ * @return This builder for chaining.
*/
public Builder setClusterName(java.lang.String value) {
if (value == null) {
@@ -2867,6 +2984,8 @@ public Builder setClusterName(java.lang.String value) {
*
*
* string cluster_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearClusterName() {
@@ -2884,6 +3003,9 @@ public Builder clearClusterName() {
*
*
* string cluster_name = 2;
+ *
+ * @param value The bytes for clusterName to set.
+ * @return This builder for chaining.
*/
public Builder setClusterNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2906,6 +3028,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) {
*
*
* string service_namespace = 3;
+ *
+ * @return The serviceNamespace.
*/
public java.lang.String getServiceNamespace() {
java.lang.Object ref = serviceNamespace_;
@@ -2927,6 +3051,8 @@ public java.lang.String getServiceNamespace() {
*
*
* string service_namespace = 3;
+ *
+ * @return The bytes for serviceNamespace.
*/
public com.google.protobuf.ByteString getServiceNamespaceBytes() {
java.lang.Object ref = serviceNamespace_;
@@ -2948,6 +3074,9 @@ public com.google.protobuf.ByteString getServiceNamespaceBytes() {
*
*
* string service_namespace = 3;
+ *
+ * @param value The serviceNamespace to set.
+ * @return This builder for chaining.
*/
public Builder setServiceNamespace(java.lang.String value) {
if (value == null) {
@@ -2967,6 +3096,8 @@ public Builder setServiceNamespace(java.lang.String value) {
*
*
* string service_namespace = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearServiceNamespace() {
@@ -2983,6 +3114,9 @@ public Builder clearServiceNamespace() {
*
*
* string service_namespace = 3;
+ *
+ * @param value The bytes for serviceNamespace to set.
+ * @return This builder for chaining.
*/
public Builder setServiceNamespaceBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3005,6 +3139,8 @@ public Builder setServiceNamespaceBytes(com.google.protobuf.ByteString value) {
*
*
* string service_name = 4;
+ *
+ * @return The serviceName.
*/
public java.lang.String getServiceName() {
java.lang.Object ref = serviceName_;
@@ -3026,6 +3162,8 @@ public java.lang.String getServiceName() {
*
*
* string service_name = 4;
+ *
+ * @return The bytes for serviceName.
*/
public com.google.protobuf.ByteString getServiceNameBytes() {
java.lang.Object ref = serviceName_;
@@ -3047,6 +3185,9 @@ public com.google.protobuf.ByteString getServiceNameBytes() {
*
*
* string service_name = 4;
+ *
+ * @param value The serviceName to set.
+ * @return This builder for chaining.
*/
public Builder setServiceName(java.lang.String value) {
if (value == null) {
@@ -3066,6 +3207,8 @@ public Builder setServiceName(java.lang.String value) {
*
*
* string service_name = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearServiceName() {
@@ -3082,6 +3225,9 @@ public Builder clearServiceName() {
*
*
* string service_name = 4;
+ *
+ * @param value The bytes for serviceName to set.
+ * @return This builder for chaining.
*/
public Builder setServiceNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3160,6 +3306,8 @@ public interface TelemetryOrBuilder
*
*
* string resource_name = 1;
+ *
+ * @return The resourceName.
*/
java.lang.String getResourceName();
/**
@@ -3171,6 +3319,8 @@ public interface TelemetryOrBuilder
*
*
* string resource_name = 1;
+ *
+ * @return The bytes for resourceName.
*/
com.google.protobuf.ByteString getResourceNameBytes();
}
@@ -3197,6 +3347,12 @@ private Telemetry() {
resourceName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Telemetry();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3210,7 +3366,6 @@ private Telemetry(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -3273,6 +3428,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string resource_name = 1;
+ *
+ * @return The resourceName.
*/
public java.lang.String getResourceName() {
java.lang.Object ref = resourceName_;
@@ -3294,6 +3451,8 @@ public java.lang.String getResourceName() {
*
*
* string resource_name = 1;
+ *
+ * @return The bytes for resourceName.
*/
public com.google.protobuf.ByteString getResourceNameBytes() {
java.lang.Object ref = resourceName_;
@@ -3637,6 +3796,8 @@ public Builder mergeFrom(
*
*
* string resource_name = 1;
+ *
+ * @return The resourceName.
*/
public java.lang.String getResourceName() {
java.lang.Object ref = resourceName_;
@@ -3658,6 +3819,8 @@ public java.lang.String getResourceName() {
*
*
* string resource_name = 1;
+ *
+ * @return The bytes for resourceName.
*/
public com.google.protobuf.ByteString getResourceNameBytes() {
java.lang.Object ref = resourceName_;
@@ -3679,6 +3842,9 @@ public com.google.protobuf.ByteString getResourceNameBytes() {
*
*
* string resource_name = 1;
+ *
+ * @param value The resourceName to set.
+ * @return This builder for chaining.
*/
public Builder setResourceName(java.lang.String value) {
if (value == null) {
@@ -3698,6 +3864,8 @@ public Builder setResourceName(java.lang.String value) {
*
*
* string resource_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearResourceName() {
@@ -3714,6 +3882,9 @@ public Builder clearResourceName() {
*
*
* string resource_name = 1;
+ *
+ * @param value The bytes for resourceName to set.
+ * @return This builder for chaining.
*/
public Builder setResourceNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3781,7 +3952,10 @@ public com.google.monitoring.v3.Service.Telemetry getDefaultInstanceForType() {
private int identifierCase_ = 0;
private java.lang.Object identifier_;
- public enum IdentifierCase implements com.google.protobuf.Internal.EnumLite {
+ public enum IdentifierCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CUSTOM(6),
APP_ENGINE(7),
CLOUD_ENDPOINTS(8),
@@ -3792,7 +3966,11 @@ public enum IdentifierCase implements com.google.protobuf.Internal.EnumLite {
private IdentifierCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static IdentifierCase valueOf(int value) {
return forNumber(value);
@@ -3835,6 +4013,8 @@ public IdentifierCase getIdentifierCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -3856,6 +4036,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -3879,6 +4061,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -3899,6 +4083,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -3921,6 +4107,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* .google.monitoring.v3.Service.Custom custom = 6;
+ *
+ * @return Whether the custom field is set.
*/
public boolean hasCustom() {
return identifierCase_ == 6;
@@ -3933,6 +4121,8 @@ public boolean hasCustom() {
*
*
* .google.monitoring.v3.Service.Custom custom = 6;
+ *
+ * @return The custom.
*/
public com.google.monitoring.v3.Service.Custom getCustom() {
if (identifierCase_ == 6) {
@@ -3965,6 +4155,8 @@ public com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder() {
*
*
* .google.monitoring.v3.Service.AppEngine app_engine = 7;
+ *
+ * @return Whether the appEngine field is set.
*/
public boolean hasAppEngine() {
return identifierCase_ == 7;
@@ -3977,6 +4169,8 @@ public boolean hasAppEngine() {
*
*
* .google.monitoring.v3.Service.AppEngine app_engine = 7;
+ *
+ * @return The appEngine.
*/
public com.google.monitoring.v3.Service.AppEngine getAppEngine() {
if (identifierCase_ == 7) {
@@ -4009,6 +4203,8 @@ public com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder
*
*
* .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
+ *
+ * @return Whether the cloudEndpoints field is set.
*/
public boolean hasCloudEndpoints() {
return identifierCase_ == 8;
@@ -4021,6 +4217,8 @@ public boolean hasCloudEndpoints() {
*
*
* .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
+ *
+ * @return The cloudEndpoints.
*/
public com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints() {
if (identifierCase_ == 8) {
@@ -4053,6 +4251,8 @@ public com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpoint
*
*
* .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
+ *
+ * @return Whether the clusterIstio field is set.
*/
public boolean hasClusterIstio() {
return identifierCase_ == 9;
@@ -4065,6 +4265,8 @@ public boolean hasClusterIstio() {
*
*
* .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
+ *
+ * @return The clusterIstio.
*/
public com.google.monitoring.v3.Service.ClusterIstio getClusterIstio() {
if (identifierCase_ == 9) {
@@ -4098,6 +4300,8 @@ public com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrB
*
*
* .google.monitoring.v3.Service.Telemetry telemetry = 13;
+ *
+ * @return Whether the telemetry field is set.
*/
public boolean hasTelemetry() {
return telemetry_ != null;
@@ -4110,6 +4314,8 @@ public boolean hasTelemetry() {
*
*
* .google.monitoring.v3.Service.Telemetry telemetry = 13;
+ *
+ * @return The telemetry.
*/
public com.google.monitoring.v3.Service.Telemetry getTelemetry() {
return telemetry_ == null
@@ -4640,6 +4846,8 @@ public Builder clearIdentifier() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -4661,6 +4869,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -4682,6 +4892,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -4701,6 +4914,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -4717,6 +4932,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -4738,6 +4956,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -4758,6 +4978,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -4778,6 +5000,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -4796,6 +5021,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -4811,6 +5038,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -4836,6 +5066,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.Service.Custom custom = 6;
+ *
+ * @return Whether the custom field is set.
*/
public boolean hasCustom() {
return identifierCase_ == 6;
@@ -4848,6 +5080,8 @@ public boolean hasCustom() {
*
*
* .google.monitoring.v3.Service.Custom custom = 6;
+ *
+ * @return The custom.
*/
public com.google.monitoring.v3.Service.Custom getCustom() {
if (customBuilder_ == null) {
@@ -5037,6 +5271,8 @@ public com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder() {
*
*
* .google.monitoring.v3.Service.AppEngine app_engine = 7;
+ *
+ * @return Whether the appEngine field is set.
*/
public boolean hasAppEngine() {
return identifierCase_ == 7;
@@ -5049,6 +5285,8 @@ public boolean hasAppEngine() {
*
*
* .google.monitoring.v3.Service.AppEngine app_engine = 7;
+ *
+ * @return The appEngine.
*/
public com.google.monitoring.v3.Service.AppEngine getAppEngine() {
if (appEngineBuilder_ == null) {
@@ -5239,6 +5477,8 @@ public com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder
*
*
* .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
+ *
+ * @return Whether the cloudEndpoints field is set.
*/
public boolean hasCloudEndpoints() {
return identifierCase_ == 8;
@@ -5251,6 +5491,8 @@ public boolean hasCloudEndpoints() {
*
*
* .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
+ *
+ * @return The cloudEndpoints.
*/
public com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints() {
if (cloudEndpointsBuilder_ == null) {
@@ -5442,6 +5684,8 @@ public com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpoint
*
*
* .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
+ *
+ * @return Whether the clusterIstio field is set.
*/
public boolean hasClusterIstio() {
return identifierCase_ == 9;
@@ -5454,6 +5698,8 @@ public boolean hasClusterIstio() {
*
*
* .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
+ *
+ * @return The clusterIstio.
*/
public com.google.monitoring.v3.Service.ClusterIstio getClusterIstio() {
if (clusterIstioBuilder_ == null) {
@@ -5645,6 +5891,8 @@ public com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrB
*
*
* .google.monitoring.v3.Service.Telemetry telemetry = 13;
+ *
+ * @return Whether the telemetry field is set.
*/
public boolean hasTelemetry() {
return telemetryBuilder_ != null || telemetry_ != null;
@@ -5657,6 +5905,8 @@ public boolean hasTelemetry() {
*
*
* .google.monitoring.v3.Service.Telemetry telemetry = 13;
+ *
+ * @return The telemetry.
*/
public com.google.monitoring.v3.Service.Telemetry getTelemetry() {
if (telemetryBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
index ed4c22be..64e4dc32 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
@@ -51,6 +51,12 @@ private ServiceLevelIndicator(com.google.protobuf.GeneratedMessageV3.Builder>
private ServiceLevelIndicator() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ServiceLevelIndicator();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -64,7 +70,6 @@ private ServiceLevelIndicator(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -159,7 +164,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
BASIC_SLI(4),
REQUEST_BASED(1),
WINDOWS_BASED(2),
@@ -169,7 +177,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -208,6 +220,8 @@ public TypeCase getTypeCase() {
*
*
* .google.monitoring.v3.BasicSli basic_sli = 4;
+ *
+ * @return Whether the basicSli field is set.
*/
public boolean hasBasicSli() {
return typeCase_ == 4;
@@ -220,6 +234,8 @@ public boolean hasBasicSli() {
*
*
* .google.monitoring.v3.BasicSli basic_sli = 4;
+ *
+ * @return The basicSli.
*/
public com.google.monitoring.v3.BasicSli getBasicSli() {
if (typeCase_ == 4) {
@@ -252,6 +268,8 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder() {
*
*
* .google.monitoring.v3.RequestBasedSli request_based = 1;
+ *
+ * @return Whether the requestBased field is set.
*/
public boolean hasRequestBased() {
return typeCase_ == 1;
@@ -264,6 +282,8 @@ public boolean hasRequestBased() {
*
*
* .google.monitoring.v3.RequestBasedSli request_based = 1;
+ *
+ * @return The requestBased.
*/
public com.google.monitoring.v3.RequestBasedSli getRequestBased() {
if (typeCase_ == 1) {
@@ -296,6 +316,8 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilde
*
*
* .google.monitoring.v3.WindowsBasedSli windows_based = 2;
+ *
+ * @return Whether the windowsBased field is set.
*/
public boolean hasWindowsBased() {
return typeCase_ == 2;
@@ -308,6 +330,8 @@ public boolean hasWindowsBased() {
*
*
* .google.monitoring.v3.WindowsBasedSli windows_based = 2;
+ *
+ * @return The windowsBased.
*/
public com.google.monitoring.v3.WindowsBasedSli getWindowsBased() {
if (typeCase_ == 2) {
@@ -769,6 +793,8 @@ public Builder clearType() {
*
*
* .google.monitoring.v3.BasicSli basic_sli = 4;
+ *
+ * @return Whether the basicSli field is set.
*/
public boolean hasBasicSli() {
return typeCase_ == 4;
@@ -781,6 +807,8 @@ public boolean hasBasicSli() {
*
*
* .google.monitoring.v3.BasicSli basic_sli = 4;
+ *
+ * @return The basicSli.
*/
public com.google.monitoring.v3.BasicSli getBasicSli() {
if (basicSliBuilder_ == null) {
@@ -967,6 +995,8 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder() {
*
*
* .google.monitoring.v3.RequestBasedSli request_based = 1;
+ *
+ * @return Whether the requestBased field is set.
*/
public boolean hasRequestBased() {
return typeCase_ == 1;
@@ -979,6 +1009,8 @@ public boolean hasRequestBased() {
*
*
* .google.monitoring.v3.RequestBasedSli request_based = 1;
+ *
+ * @return The requestBased.
*/
public com.google.monitoring.v3.RequestBasedSli getRequestBased() {
if (requestBasedBuilder_ == null) {
@@ -1169,6 +1201,8 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilde
*
*
* .google.monitoring.v3.WindowsBasedSli windows_based = 2;
+ *
+ * @return Whether the windowsBased field is set.
*/
public boolean hasWindowsBased() {
return typeCase_ == 2;
@@ -1181,6 +1215,8 @@ public boolean hasWindowsBased() {
*
*
* .google.monitoring.v3.WindowsBasedSli windows_based = 2;
+ *
+ * @return The windowsBased.
*/
public com.google.monitoring.v3.WindowsBasedSli getWindowsBased() {
if (windowsBasedBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java
index 3e00bee1..519056d1 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java
@@ -31,6 +31,8 @@ public interface ServiceLevelIndicatorOrBuilder
*
*
* .google.monitoring.v3.BasicSli basic_sli = 4;
+ *
+ * @return Whether the basicSli field is set.
*/
boolean hasBasicSli();
/**
@@ -41,6 +43,8 @@ public interface ServiceLevelIndicatorOrBuilder
*
*
* .google.monitoring.v3.BasicSli basic_sli = 4;
+ *
+ * @return The basicSli.
*/
com.google.monitoring.v3.BasicSli getBasicSli();
/**
@@ -62,6 +66,8 @@ public interface ServiceLevelIndicatorOrBuilder
*
*
* .google.monitoring.v3.RequestBasedSli request_based = 1;
+ *
+ * @return Whether the requestBased field is set.
*/
boolean hasRequestBased();
/**
@@ -72,6 +78,8 @@ public interface ServiceLevelIndicatorOrBuilder
*
*
* .google.monitoring.v3.RequestBasedSli request_based = 1;
+ *
+ * @return The requestBased.
*/
com.google.monitoring.v3.RequestBasedSli getRequestBased();
/**
@@ -93,6 +101,8 @@ public interface ServiceLevelIndicatorOrBuilder
*
*
* .google.monitoring.v3.WindowsBasedSli windows_based = 2;
+ *
+ * @return Whether the windowsBased field is set.
*/
boolean hasWindowsBased();
/**
@@ -103,6 +113,8 @@ public interface ServiceLevelIndicatorOrBuilder
*
*
* .google.monitoring.v3.WindowsBasedSli windows_based = 2;
+ *
+ * @return The windowsBased.
*/
com.google.monitoring.v3.WindowsBasedSli getWindowsBased();
/**
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 c94d8102..6f09168b 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
@@ -47,6 +47,12 @@ private ServiceLevelObjective() {
displayName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ServiceLevelObjective();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -60,7 +66,6 @@ private ServiceLevelObjective(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -255,12 +260,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static View valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static View forNumber(int value) {
switch (value) {
case 0:
@@ -321,7 +334,10 @@ private View(int value) {
private int periodCase_ = 0;
private java.lang.Object period_;
- public enum PeriodCase implements com.google.protobuf.Internal.EnumLite {
+ public enum PeriodCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
ROLLING_PERIOD(5),
CALENDAR_PERIOD(6),
PERIOD_NOT_SET(0);
@@ -330,7 +346,11 @@ public enum PeriodCase implements com.google.protobuf.Internal.EnumLite {
private PeriodCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static PeriodCase valueOf(int value) {
return forNumber(value);
@@ -370,6 +390,8 @@ public PeriodCase getPeriodCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -392,6 +414,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -415,6 +439,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 11;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -435,6 +461,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 11;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -460,6 +488,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
+ *
+ * @return Whether the serviceLevelIndicator field is set.
*/
public boolean hasServiceLevelIndicator() {
return serviceLevelIndicator_ != null;
@@ -474,6 +504,8 @@ public boolean hasServiceLevelIndicator() {
*
*
* .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
+ *
+ * @return The serviceLevelIndicator.
*/
public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator() {
return serviceLevelIndicator_ == null
@@ -503,10 +535,12 @@ public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator()
*
*
* The fraction of service that must be good in order for this objective to be
- * met. `0 < goal <= 1`.
+ * met. `0 < goal <= 0.999`.
*
*
* double goal = 4;
+ *
+ * @return The goal.
*/
public double getGoal() {
return goal_;
@@ -522,6 +556,8 @@ public double getGoal() {
*
*
* .google.protobuf.Duration rolling_period = 5;
+ *
+ * @return Whether the rollingPeriod field is set.
*/
public boolean hasRollingPeriod() {
return periodCase_ == 5;
@@ -535,6 +571,8 @@ public boolean hasRollingPeriod() {
*
*
* .google.protobuf.Duration rolling_period = 5;
+ *
+ * @return The rollingPeriod.
*/
public com.google.protobuf.Duration getRollingPeriod() {
if (periodCase_ == 5) {
@@ -570,6 +608,8 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @return The enum numeric value on the wire for calendarPeriod.
*/
public int getCalendarPeriodValue() {
if (periodCase_ == 6) {
@@ -587,6 +627,8 @@ public int getCalendarPeriodValue() {
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @return The calendarPeriod.
*/
public com.google.type.CalendarPeriod getCalendarPeriod() {
if (periodCase_ == 6) {
@@ -1074,6 +1116,8 @@ public Builder clearPeriod() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1096,6 +1140,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1118,6 +1164,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1138,6 +1187,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1155,6 +1206,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1176,6 +1230,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 11;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -1196,6 +1252,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 11;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1216,6 +1274,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 11;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1234,6 +1295,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 11;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1249,6 +1312,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 11;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1277,6 +1343,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
+ *
+ * @return Whether the serviceLevelIndicator field is set.
*/
public boolean hasServiceLevelIndicator() {
return serviceLevelIndicatorBuilder_ != null || serviceLevelIndicator_ != null;
@@ -1291,6 +1359,8 @@ public boolean hasServiceLevelIndicator() {
*
*
* .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
+ *
+ * @return The serviceLevelIndicator.
*/
public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator() {
if (serviceLevelIndicatorBuilder_ == null) {
@@ -1470,10 +1540,12 @@ public Builder clearServiceLevelIndicator() {
*
*
* The fraction of service that must be good in order for this objective to be
- * met. `0 < goal <= 1`.
+ * met. `0 < goal <= 0.999`.
*
*
* double goal = 4;
+ *
+ * @return The goal.
*/
public double getGoal() {
return goal_;
@@ -1483,10 +1555,13 @@ public double getGoal() {
*
*
* The fraction of service that must be good in order for this objective to be
- * met. `0 < goal <= 1`.
+ * met. `0 < goal <= 0.999`.
*
*
* double goal = 4;
+ *
+ * @param value The goal to set.
+ * @return This builder for chaining.
*/
public Builder setGoal(double value) {
@@ -1499,10 +1574,12 @@ public Builder setGoal(double value) {
*
*
* The fraction of service that must be good in order for this objective to be
- * met. `0 < goal <= 1`.
+ * met. `0 < goal <= 0.999`.
*
*
* double goal = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGoal() {
@@ -1525,6 +1602,8 @@ public Builder clearGoal() {
*
*
* .google.protobuf.Duration rolling_period = 5;
+ *
+ * @return Whether the rollingPeriod field is set.
*/
public boolean hasRollingPeriod() {
return periodCase_ == 5;
@@ -1538,6 +1617,8 @@ public boolean hasRollingPeriod() {
*
*
* .google.protobuf.Duration rolling_period = 5;
+ *
+ * @return The rollingPeriod.
*/
public com.google.protobuf.Duration getRollingPeriod() {
if (rollingPeriodBuilder_ == null) {
@@ -1727,6 +1808,8 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @return The enum numeric value on the wire for calendarPeriod.
*/
public int getCalendarPeriodValue() {
if (periodCase_ == 6) {
@@ -1744,6 +1827,9 @@ public int getCalendarPeriodValue() {
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @param value The enum numeric value on the wire for calendarPeriod to set.
+ * @return This builder for chaining.
*/
public Builder setCalendarPeriodValue(int value) {
periodCase_ = 6;
@@ -1761,6 +1847,8 @@ public Builder setCalendarPeriodValue(int value) {
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @return The calendarPeriod.
*/
public com.google.type.CalendarPeriod getCalendarPeriod() {
if (periodCase_ == 6) {
@@ -1781,6 +1869,9 @@ public com.google.type.CalendarPeriod getCalendarPeriod() {
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @param value The calendarPeriod to set.
+ * @return This builder for chaining.
*/
public Builder setCalendarPeriod(com.google.type.CalendarPeriod value) {
if (value == null) {
@@ -1801,6 +1892,8 @@ public Builder setCalendarPeriod(com.google.type.CalendarPeriod value) {
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCalendarPeriod() {
if (periodCase_ == 6) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
index 6eb10636..cd525de1 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class ServiceLevelObjectiveName implements ResourceName {
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 f7194db9..0ec73276 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
@@ -33,6 +33,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -56,6 +60,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* string display_name = 11;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -66,6 +72,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* string display_name = 11;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -79,6 +87,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
+ *
+ * @return Whether the serviceLevelIndicator field is set.
*/
boolean hasServiceLevelIndicator();
/**
@@ -91,6 +101,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
+ *
+ * @return The serviceLevelIndicator.
*/
com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator();
/**
@@ -111,10 +123,12 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* The fraction of service that must be good in order for this objective to be
- * met. `0 < goal <= 1`.
+ * met. `0 < goal <= 0.999`.
*
*
* double goal = 4;
+ *
+ * @return The goal.
*/
double getGoal();
@@ -127,6 +141,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* .google.protobuf.Duration rolling_period = 5;
+ *
+ * @return Whether the rollingPeriod field is set.
*/
boolean hasRollingPeriod();
/**
@@ -138,6 +154,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* .google.protobuf.Duration rolling_period = 5;
+ *
+ * @return The rollingPeriod.
*/
com.google.protobuf.Duration getRollingPeriod();
/**
@@ -162,6 +180,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @return The enum numeric value on the wire for calendarPeriod.
*/
int getCalendarPeriodValue();
/**
@@ -174,6 +194,8 @@ public interface ServiceLevelObjectiveOrBuilder
*
*
* .google.type.CalendarPeriod calendar_period = 6;
+ *
+ * @return The calendarPeriod.
*/
com.google.type.CalendarPeriod getCalendarPeriod();
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 4d7c55b5..6b086676 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
@@ -181,23 +181,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "v3;monitoring\252\002\032Google.Cloud.Monitoring."
+ "V3\312\002\032Google\\Cloud\\Monitoring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.MonitoredResourceProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- com.google.type.CalendarPeriodProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.MonitoredResourceProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.type.CalendarPeriodProto.getDescriptor(),
+ });
internal_static_google_monitoring_v3_Service_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_Service_fieldAccessorTable =
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 e6eec5d1..b2bea9bd 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
@@ -177,25 +177,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "loud.Monitoring.V3\312\002\032Google\\Cloud\\Monito"
+ "ring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.MonitoredResourceProto.getDescriptor(),
- com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.FieldMaskProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.MonitoredResourceProto.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);
internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable =
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
index dcfc4a18..44d1be37 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class ServiceName implements ResourceName {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
index 2f80c0bf..8fbd2d97 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
@@ -32,6 +32,8 @@ public interface ServiceOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface ServiceOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -54,6 +58,8 @@ public interface ServiceOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -64,6 +70,8 @@ public interface ServiceOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -75,6 +83,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.Custom custom = 6;
+ *
+ * @return Whether the custom field is set.
*/
boolean hasCustom();
/**
@@ -85,6 +95,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.Custom custom = 6;
+ *
+ * @return The custom.
*/
com.google.monitoring.v3.Service.Custom getCustom();
/**
@@ -106,6 +118,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.AppEngine app_engine = 7;
+ *
+ * @return Whether the appEngine field is set.
*/
boolean hasAppEngine();
/**
@@ -116,6 +130,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.AppEngine app_engine = 7;
+ *
+ * @return The appEngine.
*/
com.google.monitoring.v3.Service.AppEngine getAppEngine();
/**
@@ -137,6 +153,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
+ *
+ * @return Whether the cloudEndpoints field is set.
*/
boolean hasCloudEndpoints();
/**
@@ -147,6 +165,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
+ *
+ * @return The cloudEndpoints.
*/
com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints();
/**
@@ -168,6 +188,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
+ *
+ * @return Whether the clusterIstio field is set.
*/
boolean hasClusterIstio();
/**
@@ -178,6 +200,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
+ *
+ * @return The clusterIstio.
*/
com.google.monitoring.v3.Service.ClusterIstio getClusterIstio();
/**
@@ -199,6 +223,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.Telemetry telemetry = 13;
+ *
+ * @return Whether the telemetry field is set.
*/
boolean hasTelemetry();
/**
@@ -209,6 +235,8 @@ public interface ServiceOrBuilder
*
*
* .google.monitoring.v3.Service.Telemetry telemetry = 13;
+ *
+ * @return The telemetry.
*/
com.google.monitoring.v3.Service.Telemetry getTelemetry();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
index 0eb99e52..e0cc129f 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
@@ -121,12 +121,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ServiceTier valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static ServiceTier forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
index fee95114..49a0c9ba 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
@@ -44,6 +44,12 @@ private SpanContext() {
spanName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SpanContext();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private SpanContext(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string span_name = 1;
+ *
+ * @return The spanName.
*/
public java.lang.String getSpanName() {
java.lang.Object ref = spanName_;
@@ -149,6 +156,8 @@ public java.lang.String getSpanName() {
*
*
* string span_name = 1;
+ *
+ * @return The bytes for spanName.
*/
public com.google.protobuf.ByteString getSpanNameBytes() {
java.lang.Object ref = spanName_;
@@ -492,6 +501,8 @@ public Builder mergeFrom(
*
*
* string span_name = 1;
+ *
+ * @return The spanName.
*/
public java.lang.String getSpanName() {
java.lang.Object ref = spanName_;
@@ -517,6 +528,8 @@ public java.lang.String getSpanName() {
*
*
* string span_name = 1;
+ *
+ * @return The bytes for spanName.
*/
public com.google.protobuf.ByteString getSpanNameBytes() {
java.lang.Object ref = spanName_;
@@ -542,6 +555,9 @@ public com.google.protobuf.ByteString getSpanNameBytes() {
*
*
* string span_name = 1;
+ *
+ * @param value The spanName to set.
+ * @return This builder for chaining.
*/
public Builder setSpanName(java.lang.String value) {
if (value == null) {
@@ -565,6 +581,8 @@ public Builder setSpanName(java.lang.String value) {
*
*
* string span_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSpanName() {
@@ -585,6 +603,9 @@ public Builder clearSpanName() {
*
*
* string span_name = 1;
+ *
+ * @param value The bytes for spanName to set.
+ * @return This builder for chaining.
*/
public Builder setSpanNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java
index 97140df1..4193d631 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java
@@ -36,6 +36,8 @@ public interface SpanContextOrBuilder
*
*
* string span_name = 1;
+ *
+ * @return The spanName.
*/
java.lang.String getSpanName();
/**
@@ -51,6 +53,8 @@ public interface SpanContextOrBuilder
*
*
* string span_name = 1;
+ *
+ * @return The bytes for spanName.
*/
com.google.protobuf.ByteString getSpanNameBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java
index 353620e2..ef91859e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java
@@ -48,16 +48,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "monitoring\252\002\032Google.Cloud.Monitoring.V3\312"
+ "\002\032Google\\Cloud\\Monitoring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}, assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_monitoring_v3_SpanContext_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable =
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java
index 9538ba18..979d26d6 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java
@@ -53,6 +53,12 @@ private TimeInterval(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private TimeInterval() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimeInterval();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -66,7 +72,6 @@ private TimeInterval(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTime_ != null;
@@ -163,6 +170,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
@@ -192,6 +201,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -206,6 +217,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
@@ -607,6 +620,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
@@ -619,6 +634,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
@@ -784,6 +801,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -798,6 +817,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
index 910b1e79..187c2536 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
@@ -31,6 +31,8 @@ public interface TimeIntervalOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -41,6 +43,8 @@ public interface TimeIntervalOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
@@ -64,6 +68,8 @@ public interface TimeIntervalOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -76,6 +82,8 @@ public interface TimeIntervalOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
index a0ea9f50..5a309534 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
@@ -46,6 +46,12 @@ private TimeSeries() {
points_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimeSeries();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -115,9 +121,9 @@ private TimeSeries(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
points_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000001;
}
points_.add(
input.readMessage(com.google.monitoring.v3.Point.parser(), extensionRegistry));
@@ -153,7 +159,7 @@ private TimeSeries(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
points_ = java.util.Collections.unmodifiableList(points_);
}
this.unknownFields = unknownFields.build();
@@ -176,7 +182,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.monitoring.v3.TimeSeries.Builder.class);
}
- private int bitField0_;
public static final int METRIC_FIELD_NUMBER = 1;
private com.google.api.Metric metric_;
/**
@@ -188,6 +193,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.api.Metric metric = 1;
+ *
+ * @return Whether the metric field is set.
*/
public boolean hasMetric() {
return metric_ != null;
@@ -201,6 +208,8 @@ public boolean hasMetric() {
*
*
* .google.api.Metric metric = 1;
+ *
+ * @return The metric.
*/
public com.google.api.Metric getMetric() {
return metric_ == null ? com.google.api.Metric.getDefaultInstance() : metric_;
@@ -230,6 +239,8 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
*
*
* .google.api.MonitoredResource resource = 2;
+ *
+ * @return Whether the resource field is set.
*/
public boolean hasResource() {
return resource_ != null;
@@ -243,6 +254,8 @@ public boolean hasResource() {
*
*
* .google.api.MonitoredResource resource = 2;
+ *
+ * @return The resource.
*/
public com.google.api.MonitoredResource getResource() {
return resource_ == null ? com.google.api.MonitoredResource.getDefaultInstance() : resource_;
@@ -273,6 +286,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
*
*
* .google.api.MonitoredResourceMetadata metadata = 7;
+ *
+ * @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
return metadata_ != null;
@@ -287,6 +302,8 @@ public boolean hasMetadata() {
*
*
* .google.api.MonitoredResourceMetadata metadata = 7;
+ *
+ * @return The metadata.
*/
public com.google.api.MonitoredResourceMetadata getMetadata() {
return metadata_ == null
@@ -325,6 +342,8 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @return The enum numeric value on the wire for metricKind.
*/
public int getMetricKindValue() {
return metricKind_;
@@ -344,6 +363,8 @@ public int getMetricKindValue() {
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @return The metricKind.
*/
public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
@SuppressWarnings("deprecation")
@@ -366,6 +387,8 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @return The enum numeric value on the wire for valueType.
*/
public int getValueTypeValue() {
return valueType_;
@@ -382,6 +405,8 @@ public int getValueTypeValue() {
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @return The valueType.
*/
public com.google.api.MetricDescriptor.ValueType getValueType() {
@SuppressWarnings("deprecation")
@@ -781,7 +806,7 @@ public Builder clear() {
if (pointsBuilder_ == null) {
points_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
pointsBuilder_.clear();
}
@@ -812,7 +837,6 @@ public com.google.monitoring.v3.TimeSeries build() {
public com.google.monitoring.v3.TimeSeries buildPartial() {
com.google.monitoring.v3.TimeSeries result = new com.google.monitoring.v3.TimeSeries(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (metricBuilder_ == null) {
result.metric_ = metric_;
} else {
@@ -831,15 +855,14 @@ public com.google.monitoring.v3.TimeSeries buildPartial() {
result.metricKind_ = metricKind_;
result.valueType_ = valueType_;
if (pointsBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
points_ = java.util.Collections.unmodifiableList(points_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.points_ = points_;
} else {
result.points_ = pointsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -908,7 +931,7 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeries other) {
if (!other.points_.isEmpty()) {
if (points_.isEmpty()) {
points_ = other.points_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePointsIsMutable();
points_.addAll(other.points_);
@@ -921,7 +944,7 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeries other) {
pointsBuilder_.dispose();
pointsBuilder_ = null;
points_ = other.points_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
pointsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getPointsFieldBuilder()
@@ -975,6 +998,8 @@ public Builder mergeFrom(
*
*
* .google.api.Metric metric = 1;
+ *
+ * @return Whether the metric field is set.
*/
public boolean hasMetric() {
return metricBuilder_ != null || metric_ != null;
@@ -988,6 +1013,8 @@ public boolean hasMetric() {
*
*
* .google.api.Metric metric = 1;
+ *
+ * @return The metric.
*/
public com.google.api.Metric getMetric() {
if (metricBuilder_ == null) {
@@ -1155,6 +1182,8 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
*
*
* .google.api.MonitoredResource resource = 2;
+ *
+ * @return Whether the resource field is set.
*/
public boolean hasResource() {
return resourceBuilder_ != null || resource_ != null;
@@ -1168,6 +1197,8 @@ public boolean hasResource() {
*
*
* .google.api.MonitoredResource resource = 2;
+ *
+ * @return The resource.
*/
public com.google.api.MonitoredResource getResource() {
if (resourceBuilder_ == null) {
@@ -1346,6 +1377,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
*
*
* .google.api.MonitoredResourceMetadata metadata = 7;
+ *
+ * @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
return metadataBuilder_ != null || metadata_ != null;
@@ -1360,6 +1393,8 @@ public boolean hasMetadata() {
*
*
* .google.api.MonitoredResourceMetadata metadata = 7;
+ *
+ * @return The metadata.
*/
public com.google.api.MonitoredResourceMetadata getMetadata() {
if (metadataBuilder_ == null) {
@@ -1545,6 +1580,8 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @return The enum numeric value on the wire for metricKind.
*/
public int getMetricKindValue() {
return metricKind_;
@@ -1564,6 +1601,9 @@ public int getMetricKindValue() {
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @param value The enum numeric value on the wire for metricKind to set.
+ * @return This builder for chaining.
*/
public Builder setMetricKindValue(int value) {
metricKind_ = value;
@@ -1585,6 +1625,8 @@ public Builder setMetricKindValue(int value) {
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @return The metricKind.
*/
public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
@SuppressWarnings("deprecation")
@@ -1607,6 +1649,9 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @param value The metricKind to set.
+ * @return This builder for chaining.
*/
public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) {
if (value == null) {
@@ -1632,6 +1677,8 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) {
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMetricKind() {
@@ -1653,6 +1700,8 @@ public Builder clearMetricKind() {
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @return The enum numeric value on the wire for valueType.
*/
public int getValueTypeValue() {
return valueType_;
@@ -1669,6 +1718,9 @@ public int getValueTypeValue() {
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @param value The enum numeric value on the wire for valueType to set.
+ * @return This builder for chaining.
*/
public Builder setValueTypeValue(int value) {
valueType_ = value;
@@ -1687,6 +1739,8 @@ public Builder setValueTypeValue(int value) {
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @return The valueType.
*/
public com.google.api.MetricDescriptor.ValueType getValueType() {
@SuppressWarnings("deprecation")
@@ -1706,6 +1760,9 @@ public com.google.api.MetricDescriptor.ValueType getValueType() {
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @param value The valueType to set.
+ * @return This builder for chaining.
*/
public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) {
if (value == null) {
@@ -1728,6 +1785,8 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) {
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValueType() {
@@ -1740,9 +1799,9 @@ public Builder clearValueType() {
java.util.Collections.emptyList();
private void ensurePointsIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
points_ = new java.util.ArrayList(points_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000001;
}
}
@@ -2021,7 +2080,7 @@ public Builder addAllPoints(
public Builder clearPoints() {
if (pointsBuilder_ == null) {
points_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
pointsBuilder_.clear();
@@ -2184,7 +2243,7 @@ public java.util.List getPointsBuilderLi
com.google.monitoring.v3.Point,
com.google.monitoring.v3.Point.Builder,
com.google.monitoring.v3.PointOrBuilder>(
- points_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+ points_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
points_ = null;
}
return pointsBuilder_;
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java
index 3d8af760..ee2a552b 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java
@@ -32,6 +32,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.Metric metric = 1;
+ *
+ * @return Whether the metric field is set.
*/
boolean hasMetric();
/**
@@ -43,6 +45,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.Metric metric = 1;
+ *
+ * @return The metric.
*/
com.google.api.Metric getMetric();
/**
@@ -66,6 +70,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.MonitoredResource resource = 2;
+ *
+ * @return Whether the resource field is set.
*/
boolean hasResource();
/**
@@ -77,6 +83,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.MonitoredResource resource = 2;
+ *
+ * @return The resource.
*/
com.google.api.MonitoredResource getResource();
/**
@@ -101,6 +109,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.MonitoredResourceMetadata metadata = 7;
+ *
+ * @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
@@ -113,6 +123,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.MonitoredResourceMetadata metadata = 7;
+ *
+ * @return The metadata.
*/
com.google.api.MonitoredResourceMetadata getMetadata();
/**
@@ -143,6 +155,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @return The enum numeric value on the wire for metricKind.
*/
int getMetricKindValue();
/**
@@ -160,6 +174,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.MetricDescriptor.MetricKind metric_kind = 3;
+ *
+ * @return The metricKind.
*/
com.google.api.MetricDescriptor.MetricKind getMetricKind();
@@ -175,6 +191,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @return The enum numeric value on the wire for valueType.
*/
int getValueTypeValue();
/**
@@ -189,6 +207,8 @@ public interface TimeSeriesOrBuilder
*
*
* .google.api.MetricDescriptor.ValueType value_type = 4;
+ *
+ * @return The valueType.
*/
com.google.api.MetricDescriptor.ValueType getValueType();
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java
index 651743b9..8fbf419d 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java
@@ -48,6 +48,12 @@ private TimeSeriesRatio() {
totalServiceFilter_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimeSeriesRatio();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -61,7 +67,6 @@ private TimeSeriesRatio(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string good_service_filter = 4;
+ *
+ * @return The goodServiceFilter.
*/
public java.lang.String getGoodServiceFilter() {
java.lang.Object ref = goodServiceFilter_;
@@ -163,6 +170,8 @@ public java.lang.String getGoodServiceFilter() {
*
*
* string good_service_filter = 4;
+ *
+ * @return The bytes for goodServiceFilter.
*/
public com.google.protobuf.ByteString getGoodServiceFilterBytes() {
java.lang.Object ref = goodServiceFilter_;
@@ -190,6 +199,8 @@ public com.google.protobuf.ByteString getGoodServiceFilterBytes() {
*
*
* string bad_service_filter = 5;
+ *
+ * @return The badServiceFilter.
*/
public java.lang.String getBadServiceFilter() {
java.lang.Object ref = badServiceFilter_;
@@ -214,6 +225,8 @@ public java.lang.String getBadServiceFilter() {
*
*
* string bad_service_filter = 5;
+ *
+ * @return The bytes for badServiceFilter.
*/
public com.google.protobuf.ByteString getBadServiceFilterBytes() {
java.lang.Object ref = badServiceFilter_;
@@ -240,6 +253,8 @@ public com.google.protobuf.ByteString getBadServiceFilterBytes() {
*
*
* string total_service_filter = 6;
+ *
+ * @return The totalServiceFilter.
*/
public java.lang.String getTotalServiceFilter() {
java.lang.Object ref = totalServiceFilter_;
@@ -263,6 +278,8 @@ public java.lang.String getTotalServiceFilter() {
*
*
* string total_service_filter = 6;
+ *
+ * @return The bytes for totalServiceFilter.
*/
public com.google.protobuf.ByteString getTotalServiceFilterBytes() {
java.lang.Object ref = totalServiceFilter_;
@@ -640,6 +657,8 @@ public Builder mergeFrom(
*
*
* string good_service_filter = 4;
+ *
+ * @return The goodServiceFilter.
*/
public java.lang.String getGoodServiceFilter() {
java.lang.Object ref = goodServiceFilter_;
@@ -663,6 +682,8 @@ public java.lang.String getGoodServiceFilter() {
*
*
* string good_service_filter = 4;
+ *
+ * @return The bytes for goodServiceFilter.
*/
public com.google.protobuf.ByteString getGoodServiceFilterBytes() {
java.lang.Object ref = goodServiceFilter_;
@@ -686,6 +707,9 @@ public com.google.protobuf.ByteString getGoodServiceFilterBytes() {
*
*
* string good_service_filter = 4;
+ *
+ * @param value The goodServiceFilter to set.
+ * @return This builder for chaining.
*/
public Builder setGoodServiceFilter(java.lang.String value) {
if (value == null) {
@@ -707,6 +731,8 @@ public Builder setGoodServiceFilter(java.lang.String value) {
*
*
* string good_service_filter = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGoodServiceFilter() {
@@ -725,6 +751,9 @@ public Builder clearGoodServiceFilter() {
*
*
* string good_service_filter = 4;
+ *
+ * @param value The bytes for goodServiceFilter to set.
+ * @return This builder for chaining.
*/
public Builder setGoodServiceFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -750,6 +779,8 @@ public Builder setGoodServiceFilterBytes(com.google.protobuf.ByteString value) {
*
*
* string bad_service_filter = 5;
+ *
+ * @return The badServiceFilter.
*/
public java.lang.String getBadServiceFilter() {
java.lang.Object ref = badServiceFilter_;
@@ -774,6 +805,8 @@ public java.lang.String getBadServiceFilter() {
*
*
* string bad_service_filter = 5;
+ *
+ * @return The bytes for badServiceFilter.
*/
public com.google.protobuf.ByteString getBadServiceFilterBytes() {
java.lang.Object ref = badServiceFilter_;
@@ -798,6 +831,9 @@ public com.google.protobuf.ByteString getBadServiceFilterBytes() {
*
*
* string bad_service_filter = 5;
+ *
+ * @param value The badServiceFilter to set.
+ * @return This builder for chaining.
*/
public Builder setBadServiceFilter(java.lang.String value) {
if (value == null) {
@@ -820,6 +856,8 @@ public Builder setBadServiceFilter(java.lang.String value) {
*
*
* string bad_service_filter = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBadServiceFilter() {
@@ -839,6 +877,9 @@ public Builder clearBadServiceFilter() {
*
*
* string bad_service_filter = 5;
+ *
+ * @param value The bytes for badServiceFilter to set.
+ * @return This builder for chaining.
*/
public Builder setBadServiceFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -863,6 +904,8 @@ public Builder setBadServiceFilterBytes(com.google.protobuf.ByteString value) {
*
*
* string total_service_filter = 6;
+ *
+ * @return The totalServiceFilter.
*/
public java.lang.String getTotalServiceFilter() {
java.lang.Object ref = totalServiceFilter_;
@@ -886,6 +929,8 @@ public java.lang.String getTotalServiceFilter() {
*
*
* string total_service_filter = 6;
+ *
+ * @return The bytes for totalServiceFilter.
*/
public com.google.protobuf.ByteString getTotalServiceFilterBytes() {
java.lang.Object ref = totalServiceFilter_;
@@ -909,6 +954,9 @@ public com.google.protobuf.ByteString getTotalServiceFilterBytes() {
*
*
* string total_service_filter = 6;
+ *
+ * @param value The totalServiceFilter to set.
+ * @return This builder for chaining.
*/
public Builder setTotalServiceFilter(java.lang.String value) {
if (value == null) {
@@ -930,6 +978,8 @@ public Builder setTotalServiceFilter(java.lang.String value) {
*
*
* string total_service_filter = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTotalServiceFilter() {
@@ -948,6 +998,9 @@ public Builder clearTotalServiceFilter() {
*
*
* string total_service_filter = 6;
+ *
+ * @param value The bytes for totalServiceFilter to set.
+ * @return This builder for chaining.
*/
public Builder setTotalServiceFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java
index 308296a7..8149693b 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java
@@ -34,6 +34,8 @@ public interface TimeSeriesRatioOrBuilder
*
*
* string good_service_filter = 4;
+ *
+ * @return The goodServiceFilter.
*/
java.lang.String getGoodServiceFilter();
/**
@@ -47,6 +49,8 @@ public interface TimeSeriesRatioOrBuilder
*
*
* string good_service_filter = 4;
+ *
+ * @return The bytes for goodServiceFilter.
*/
com.google.protobuf.ByteString getGoodServiceFilterBytes();
@@ -62,6 +66,8 @@ public interface TimeSeriesRatioOrBuilder
*
*
* string bad_service_filter = 5;
+ *
+ * @return The badServiceFilter.
*/
java.lang.String getBadServiceFilter();
/**
@@ -76,6 +82,8 @@ public interface TimeSeriesRatioOrBuilder
*
*
* string bad_service_filter = 5;
+ *
+ * @return The bytes for badServiceFilter.
*/
com.google.protobuf.ByteString getBadServiceFilterBytes();
@@ -90,6 +98,8 @@ public interface TimeSeriesRatioOrBuilder
*
*
* string total_service_filter = 6;
+ *
+ * @return The totalServiceFilter.
*/
java.lang.String getTotalServiceFilter();
/**
@@ -103,6 +113,8 @@ public interface TimeSeriesRatioOrBuilder
*
*
* string total_service_filter = 6;
+ *
+ * @return The bytes for totalServiceFilter.
*/
com.google.protobuf.ByteString getTotalServiceFilterBytes();
}
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 4ef6c475..55312ae2 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
@@ -39,6 +39,12 @@ private TypedValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private TypedValue() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TypedValue();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private TypedValue(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -139,7 +144,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int valueCase_ = 0;
private java.lang.Object value_;
- public enum ValueCase implements com.google.protobuf.Internal.EnumLite {
+ public enum ValueCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
BOOL_VALUE(1),
INT64_VALUE(2),
DOUBLE_VALUE(3),
@@ -151,7 +159,11 @@ public enum ValueCase implements com.google.protobuf.Internal.EnumLite {
private ValueCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ValueCase valueOf(int value) {
return forNumber(value);
@@ -194,6 +206,8 @@ public ValueCase getValueCase() {
*
*
* bool bool_value = 1;
+ *
+ * @return The boolValue.
*/
public boolean getBoolValue() {
if (valueCase_ == 1) {
@@ -211,6 +225,8 @@ public boolean getBoolValue() {
*
*
* int64 int64_value = 2;
+ *
+ * @return The int64Value.
*/
public long getInt64Value() {
if (valueCase_ == 2) {
@@ -230,6 +246,8 @@ public long getInt64Value() {
*
*
* double double_value = 3;
+ *
+ * @return The doubleValue.
*/
public double getDoubleValue() {
if (valueCase_ == 3) {
@@ -247,6 +265,8 @@ public double getDoubleValue() {
*
*
* string string_value = 4;
+ *
+ * @return The stringValue.
*/
public java.lang.String getStringValue() {
java.lang.Object ref = "";
@@ -272,6 +292,8 @@ public java.lang.String getStringValue() {
*
*
* string string_value = 4;
+ *
+ * @return The bytes for stringValue.
*/
public com.google.protobuf.ByteString getStringValueBytes() {
java.lang.Object ref = "";
@@ -299,6 +321,8 @@ public com.google.protobuf.ByteString getStringValueBytes() {
*
*
* .google.api.Distribution distribution_value = 5;
+ *
+ * @return Whether the distributionValue field is set.
*/
public boolean hasDistributionValue() {
return valueCase_ == 5;
@@ -311,6 +335,8 @@ public boolean hasDistributionValue() {
*
*
* .google.api.Distribution distribution_value = 5;
+ *
+ * @return The distributionValue.
*/
public com.google.api.Distribution getDistributionValue() {
if (valueCase_ == 5) {
@@ -794,6 +820,8 @@ public Builder clearValue() {
*
*
* bool bool_value = 1;
+ *
+ * @return The boolValue.
*/
public boolean getBoolValue() {
if (valueCase_ == 1) {
@@ -809,6 +837,9 @@ public boolean getBoolValue() {
*
*
* bool bool_value = 1;
+ *
+ * @param value The boolValue to set.
+ * @return This builder for chaining.
*/
public Builder setBoolValue(boolean value) {
valueCase_ = 1;
@@ -824,6 +855,8 @@ public Builder setBoolValue(boolean value) {
*
*
* bool bool_value = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBoolValue() {
if (valueCase_ == 1) {
@@ -842,6 +875,8 @@ public Builder clearBoolValue() {
*
*
* int64 int64_value = 2;
+ *
+ * @return The int64Value.
*/
public long getInt64Value() {
if (valueCase_ == 2) {
@@ -857,6 +892,9 @@ public long getInt64Value() {
*
*
* int64 int64_value = 2;
+ *
+ * @param value The int64Value to set.
+ * @return This builder for chaining.
*/
public Builder setInt64Value(long value) {
valueCase_ = 2;
@@ -872,6 +910,8 @@ public Builder setInt64Value(long value) {
*
*
* int64 int64_value = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearInt64Value() {
if (valueCase_ == 2) {
@@ -892,6 +932,8 @@ public Builder clearInt64Value() {
*
*
* double double_value = 3;
+ *
+ * @return The doubleValue.
*/
public double getDoubleValue() {
if (valueCase_ == 3) {
@@ -909,6 +951,9 @@ public double getDoubleValue() {
*
*
* double double_value = 3;
+ *
+ * @param value The doubleValue to set.
+ * @return This builder for chaining.
*/
public Builder setDoubleValue(double value) {
valueCase_ = 3;
@@ -926,6 +971,8 @@ public Builder setDoubleValue(double value) {
*
*
* double double_value = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDoubleValue() {
if (valueCase_ == 3) {
@@ -944,6 +991,8 @@ public Builder clearDoubleValue() {
*
*
* string string_value = 4;
+ *
+ * @return The stringValue.
*/
public java.lang.String getStringValue() {
java.lang.Object ref = "";
@@ -969,6 +1018,8 @@ public java.lang.String getStringValue() {
*
*
* string string_value = 4;
+ *
+ * @return The bytes for stringValue.
*/
public com.google.protobuf.ByteString getStringValueBytes() {
java.lang.Object ref = "";
@@ -994,6 +1045,9 @@ public com.google.protobuf.ByteString getStringValueBytes() {
*
*
* string string_value = 4;
+ *
+ * @param value The stringValue to set.
+ * @return This builder for chaining.
*/
public Builder setStringValue(java.lang.String value) {
if (value == null) {
@@ -1012,6 +1066,8 @@ public Builder setStringValue(java.lang.String value) {
*
*
* string string_value = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStringValue() {
if (valueCase_ == 4) {
@@ -1029,6 +1085,9 @@ public Builder clearStringValue() {
*
*
* string string_value = 4;
+ *
+ * @param value The bytes for stringValue to set.
+ * @return This builder for chaining.
*/
public Builder setStringValueBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1054,6 +1113,8 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) {
*
*
* .google.api.Distribution distribution_value = 5;
+ *
+ * @return Whether the distributionValue field is set.
*/
public boolean hasDistributionValue() {
return valueCase_ == 5;
@@ -1066,6 +1127,8 @@ public boolean hasDistributionValue() {
*
*
* .google.api.Distribution distribution_value = 5;
+ *
+ * @return The distributionValue.
*/
public com.google.api.Distribution getDistributionValue() {
if (distributionValueBuilder_ == null) {
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 e7d1a920..978487d2 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
@@ -31,6 +31,8 @@ public interface TypedValueOrBuilder
*
*
* bool bool_value = 1;
+ *
+ * @return The boolValue.
*/
boolean getBoolValue();
@@ -42,6 +44,8 @@ public interface TypedValueOrBuilder
*
*
* int64 int64_value = 2;
+ *
+ * @return The int64Value.
*/
long getInt64Value();
@@ -55,6 +59,8 @@ public interface TypedValueOrBuilder
*
*
* double double_value = 3;
+ *
+ * @return The doubleValue.
*/
double getDoubleValue();
@@ -66,6 +72,8 @@ public interface TypedValueOrBuilder
*
*
* string string_value = 4;
+ *
+ * @return The stringValue.
*/
java.lang.String getStringValue();
/**
@@ -76,6 +84,8 @@ public interface TypedValueOrBuilder
*
*
* string string_value = 4;
+ *
+ * @return The bytes for stringValue.
*/
com.google.protobuf.ByteString getStringValueBytes();
@@ -87,6 +97,8 @@ public interface TypedValueOrBuilder
*
*
* .google.api.Distribution distribution_value = 5;
+ *
+ * @return Whether the distributionValue field is set.
*/
boolean hasDistributionValue();
/**
@@ -97,6 +109,8 @@ public interface TypedValueOrBuilder
*
*
* .google.api.Distribution distribution_value = 5;
+ *
+ * @return The distributionValue.
*/
com.google.api.Distribution getDistributionValue();
/**
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 318932fd..cfee9a55 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
@@ -39,6 +39,12 @@ private UpdateAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder<
private UpdateAlertPolicyRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateAlertPolicyRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private UpdateAlertPolicyRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -155,6 +160,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -184,6 +191,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -231,6 +240,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 3;
+ *
+ * @return Whether the alertPolicy field is set.
*/
public boolean hasAlertPolicy() {
return alertPolicy_ != null;
@@ -246,6 +257,8 @@ public boolean hasAlertPolicy() {
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 3;
+ *
+ * @return The alertPolicy.
*/
public com.google.monitoring.v3.AlertPolicy getAlertPolicy() {
return alertPolicy_ == null
@@ -657,6 +670,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -686,6 +701,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
@@ -975,6 +992,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 3;
+ *
+ * @return Whether the alertPolicy field is set.
*/
public boolean hasAlertPolicy() {
return alertPolicyBuilder_ != null || alertPolicy_ != null;
@@ -990,6 +1009,8 @@ public boolean hasAlertPolicy() {
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 3;
+ *
+ * @return The alertPolicy.
*/
public com.google.monitoring.v3.AlertPolicy getAlertPolicy() {
if (alertPolicyBuilder_ == null) {
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 cbcad5ca..2a4942ae 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
@@ -48,6 +48,8 @@ public interface UpdateAlertPolicyRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -75,6 +77,8 @@ public interface UpdateAlertPolicyRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
@@ -116,6 +120,8 @@ public interface UpdateAlertPolicyRequestOrBuilder
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 3;
+ *
+ * @return Whether the alertPolicy field is set.
*/
boolean hasAlertPolicy();
/**
@@ -129,6 +135,8 @@ public interface UpdateAlertPolicyRequestOrBuilder
*
*
* .google.monitoring.v3.AlertPolicy alert_policy = 3;
+ *
+ * @return The alertPolicy.
*/
com.google.monitoring.v3.AlertPolicy getAlertPolicy();
/**
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 a28208f8..36a2772c 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
@@ -39,6 +39,12 @@ private UpdateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder> bui
private UpdateGroupRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateGroupRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private UpdateGroupRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -128,6 +133,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
return group_ != null;
@@ -141,6 +148,8 @@ public boolean hasGroup() {
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return The group.
*/
public com.google.monitoring.v3.Group getGroup() {
return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_;
@@ -169,6 +178,8 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
*
*
* bool validate_only = 3;
+ *
+ * @return The validateOnly.
*/
public boolean getValidateOnly() {
return validateOnly_;
@@ -532,6 +543,8 @@ public Builder mergeFrom(
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
@@ -545,6 +558,8 @@ public boolean hasGroup() {
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return The group.
*/
public com.google.monitoring.v3.Group getGroup() {
if (groupBuilder_ == null) {
@@ -710,6 +725,8 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
*
*
* bool validate_only = 3;
+ *
+ * @return The validateOnly.
*/
public boolean getValidateOnly() {
return validateOnly_;
@@ -722,6 +739,9 @@ public boolean getValidateOnly() {
*
*
* bool validate_only = 3;
+ *
+ * @param value The validateOnly to set.
+ * @return This builder for chaining.
*/
public Builder setValidateOnly(boolean value) {
@@ -737,6 +757,8 @@ public Builder setValidateOnly(boolean value) {
*
*
* bool validate_only = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValidateOnly() {
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 c4d02049..46a3992a 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
@@ -32,6 +32,8 @@ public interface UpdateGroupRequestOrBuilder
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return Whether the group field is set.
*/
boolean hasGroup();
/**
@@ -43,6 +45,8 @@ public interface UpdateGroupRequestOrBuilder
*
*
* .google.monitoring.v3.Group group = 2;
+ *
+ * @return The group.
*/
com.google.monitoring.v3.Group getGroup();
/**
@@ -65,6 +69,8 @@ public interface UpdateGroupRequestOrBuilder
*
*
* bool validate_only = 3;
+ *
+ * @return The validateOnly.
*/
boolean getValidateOnly();
}
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 f8bae0cb..afd1173d 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
@@ -40,6 +40,12 @@ private UpdateNotificationChannelRequest(
private UpdateNotificationChannelRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateNotificationChannelRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private UpdateNotificationChannelRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -151,6 +158,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -181,6 +190,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 3;
+ *
+ * @return Whether the notificationChannel field is set.
*/
public boolean hasNotificationChannel() {
return notificationChannel_ != null;
@@ -196,6 +207,8 @@ public boolean hasNotificationChannel() {
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 3;
+ *
+ * @return The notificationChannel.
*/
public com.google.monitoring.v3.NotificationChannel getNotificationChannel() {
return notificationChannel_ == null
@@ -591,6 +604,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -603,6 +618,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
@@ -773,6 +790,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 3;
+ *
+ * @return Whether the notificationChannel field is set.
*/
public boolean hasNotificationChannel() {
return notificationChannelBuilder_ != null || notificationChannel_ != null;
@@ -788,6 +807,8 @@ public boolean hasNotificationChannel() {
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 3;
+ *
+ * @return The notificationChannel.
*/
public com.google.monitoring.v3.NotificationChannel getNotificationChannel() {
if (notificationChannelBuilder_ == null) {
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 1bc9cb68..2afb5001 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
@@ -31,6 +31,8 @@ public interface UpdateNotificationChannelRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -41,6 +43,8 @@ public interface UpdateNotificationChannelRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
@@ -65,6 +69,8 @@ public interface UpdateNotificationChannelRequestOrBuilder
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 3;
+ *
+ * @return Whether the notificationChannel field is set.
*/
boolean hasNotificationChannel();
/**
@@ -78,6 +84,8 @@ public interface UpdateNotificationChannelRequestOrBuilder
*
*
* .google.monitoring.v3.NotificationChannel notification_channel = 3;
+ *
+ * @return The notificationChannel.
*/
com.google.monitoring.v3.NotificationChannel getNotificationChannel();
/**
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 39f0e199..d857c545 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
@@ -40,6 +40,12 @@ private UpdateServiceLevelObjectiveRequest(
private UpdateServiceLevelObjectiveRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateServiceLevelObjectiveRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private UpdateServiceLevelObjectiveRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1;
+ *
+ * @return Whether the serviceLevelObjective field is set.
*/
public boolean hasServiceLevelObjective() {
return serviceLevelObjective_ != null;
@@ -153,6 +160,8 @@ public boolean hasServiceLevelObjective() {
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1;
+ *
+ * @return The serviceLevelObjective.
*/
public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() {
return serviceLevelObjective_ == null
@@ -184,6 +193,8 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective()
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -196,6 +207,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -588,6 +601,8 @@ public Builder mergeFrom(
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1;
+ *
+ * @return Whether the serviceLevelObjective field is set.
*/
public boolean hasServiceLevelObjective() {
return serviceLevelObjectiveBuilder_ != null || serviceLevelObjective_ != null;
@@ -601,6 +616,8 @@ public boolean hasServiceLevelObjective() {
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1;
+ *
+ * @return The serviceLevelObjective.
*/
public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() {
if (serviceLevelObjectiveBuilder_ == null) {
@@ -781,6 +798,8 @@ public Builder clearServiceLevelObjective() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -793,6 +812,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
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 c7164db3..1512c48e 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
@@ -32,6 +32,8 @@ public interface UpdateServiceLevelObjectiveRequestOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1;
+ *
+ * @return Whether the serviceLevelObjective field is set.
*/
boolean hasServiceLevelObjective();
/**
@@ -43,6 +45,8 @@ public interface UpdateServiceLevelObjectiveRequestOrBuilder
*
*
* .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1;
+ *
+ * @return The serviceLevelObjective.
*/
com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective();
/**
@@ -65,6 +69,8 @@ public interface UpdateServiceLevelObjectiveRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -75,6 +81,8 @@ public interface UpdateServiceLevelObjectiveRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
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 695b8c86..1ee15bad 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
@@ -39,6 +39,12 @@ private UpdateServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder> b
private UpdateServiceRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateServiceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private UpdateServiceRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.monitoring.v3.Service service = 1;
+ *
+ * @return Whether the service field is set.
*/
public boolean hasService() {
return service_ != null;
@@ -151,6 +158,8 @@ public boolean hasService() {
*
*
* .google.monitoring.v3.Service service = 1;
+ *
+ * @return The service.
*/
public com.google.monitoring.v3.Service getService() {
return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_;
@@ -179,6 +188,8 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -191,6 +202,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -579,6 +592,8 @@ public Builder mergeFrom(
*
*
* .google.monitoring.v3.Service service = 1;
+ *
+ * @return Whether the service field is set.
*/
public boolean hasService() {
return serviceBuilder_ != null || service_ != null;
@@ -592,6 +607,8 @@ public boolean hasService() {
*
*
* .google.monitoring.v3.Service service = 1;
+ *
+ * @return The service.
*/
public com.google.monitoring.v3.Service getService() {
if (serviceBuilder_ == null) {
@@ -762,6 +779,8 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -774,6 +793,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
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 1b797c93..7dd7b391 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
@@ -32,6 +32,8 @@ public interface UpdateServiceRequestOrBuilder
*
*
* .google.monitoring.v3.Service service = 1;
+ *
+ * @return Whether the service field is set.
*/
boolean hasService();
/**
@@ -43,6 +45,8 @@ public interface UpdateServiceRequestOrBuilder
*
*
* .google.monitoring.v3.Service service = 1;
+ *
+ * @return The service.
*/
com.google.monitoring.v3.Service getService();
/**
@@ -65,6 +69,8 @@ public interface UpdateServiceRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -75,6 +81,8 @@ public interface UpdateServiceRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
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 bd190d1d..20d78f95 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
@@ -40,6 +40,12 @@ private UpdateUptimeCheckConfigRequest(
private UpdateUptimeCheckConfigRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateUptimeCheckConfigRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private UpdateUptimeCheckConfigRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -142,6 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -157,6 +164,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -196,6 +205,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3;
+ *
+ * @return Whether the uptimeCheckConfig field is set.
*/
public boolean hasUptimeCheckConfig() {
return uptimeCheckConfig_ != null;
@@ -217,6 +228,8 @@ public boolean hasUptimeCheckConfig() {
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3;
+ *
+ * @return The uptimeCheckConfig.
*/
public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() {
return uptimeCheckConfig_ == null
@@ -621,6 +634,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -636,6 +651,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
@@ -833,6 +850,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3;
+ *
+ * @return Whether the uptimeCheckConfig field is set.
*/
public boolean hasUptimeCheckConfig() {
return uptimeCheckConfigBuilder_ != null || uptimeCheckConfig_ != null;
@@ -854,6 +873,8 @@ public boolean hasUptimeCheckConfig() {
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3;
+ *
+ * @return The uptimeCheckConfig.
*/
public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() {
if (uptimeCheckConfigBuilder_ == null) {
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 7d800eee..c6ea3c00 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
@@ -34,6 +34,8 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -47,6 +49,8 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
@@ -80,6 +84,8 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3;
+ *
+ * @return Whether the uptimeCheckConfig field is set.
*/
boolean hasUptimeCheckConfig();
/**
@@ -99,6 +105,8 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3;
+ *
+ * @return The uptimeCheckConfig.
*/
com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig();
/**
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java
index 013ec142..bae474b1 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java
@@ -46,6 +46,12 @@ private UptimeCheckConfig() {
internalCheckers_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UptimeCheckConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -190,11 +196,11 @@ private UptimeCheckConfig(
}
case 74:
{
- if (!((mutable_bitField0_ & 0x00000100) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
contentMatchers_ =
new java.util.ArrayList<
com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher>();
- mutable_bitField0_ |= 0x00000100;
+ mutable_bitField0_ |= 0x00000001;
}
contentMatchers_.add(
input.readMessage(
@@ -205,9 +211,9 @@ private UptimeCheckConfig(
case 80:
{
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000200) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
selectedRegions_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000200;
+ mutable_bitField0_ |= 0x00000002;
}
selectedRegions_.add(rawValue);
break;
@@ -218,9 +224,9 @@ private UptimeCheckConfig(
int oldLimit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000200) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
selectedRegions_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000200;
+ mutable_bitField0_ |= 0x00000002;
}
selectedRegions_.add(rawValue);
}
@@ -229,10 +235,10 @@ private UptimeCheckConfig(
}
case 114:
{
- if (!((mutable_bitField0_ & 0x00000800) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
internalCheckers_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000800;
+ mutable_bitField0_ |= 0x00000004;
}
internalCheckers_.add(
input.readMessage(
@@ -258,13 +264,13 @@ private UptimeCheckConfig(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000100) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
contentMatchers_ = java.util.Collections.unmodifiableList(contentMatchers_);
}
- if (((mutable_bitField0_ & 0x00000200) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
selectedRegions_ = java.util.Collections.unmodifiableList(selectedRegions_);
}
- if (((mutable_bitField0_ & 0x00000800) != 0)) {
+ if (((mutable_bitField0_ & 0x00000004) != 0)) {
internalCheckers_ = java.util.Collections.unmodifiableList(internalCheckers_);
}
this.unknownFields = unknownFields.build();
@@ -301,6 +307,8 @@ public interface ResourceGroupOrBuilder
*
*
* string group_id = 1;
+ *
+ * @return The groupId.
*/
java.lang.String getGroupId();
/**
@@ -312,6 +320,8 @@ public interface ResourceGroupOrBuilder
*
*
* string group_id = 1;
+ *
+ * @return The bytes for groupId.
*/
com.google.protobuf.ByteString getGroupIdBytes();
@@ -323,6 +333,8 @@ public interface ResourceGroupOrBuilder
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @return The enum numeric value on the wire for resourceType.
*/
int getResourceTypeValue();
/**
@@ -333,6 +345,8 @@ public interface ResourceGroupOrBuilder
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @return The resourceType.
*/
com.google.monitoring.v3.GroupResourceType getResourceType();
}
@@ -361,6 +375,12 @@ private ResourceGroup() {
resourceType_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ResourceGroup();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -374,7 +394,6 @@ private ResourceGroup(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -444,6 +463,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string group_id = 1;
+ *
+ * @return The groupId.
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
@@ -465,6 +486,8 @@ public java.lang.String getGroupId() {
*
*
* string group_id = 1;
+ *
+ * @return The bytes for groupId.
*/
public com.google.protobuf.ByteString getGroupIdBytes() {
java.lang.Object ref = groupId_;
@@ -488,6 +511,8 @@ public com.google.protobuf.ByteString getGroupIdBytes() {
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @return The enum numeric value on the wire for resourceType.
*/
public int getResourceTypeValue() {
return resourceType_;
@@ -500,6 +525,8 @@ public int getResourceTypeValue() {
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @return The resourceType.
*/
public com.google.monitoring.v3.GroupResourceType getResourceType() {
@SuppressWarnings("deprecation")
@@ -859,6 +886,8 @@ public Builder mergeFrom(
*
*
* string group_id = 1;
+ *
+ * @return The groupId.
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
@@ -880,6 +909,8 @@ public java.lang.String getGroupId() {
*
*
* string group_id = 1;
+ *
+ * @return The bytes for groupId.
*/
public com.google.protobuf.ByteString getGroupIdBytes() {
java.lang.Object ref = groupId_;
@@ -901,6 +932,9 @@ public com.google.protobuf.ByteString getGroupIdBytes() {
*
*
* string group_id = 1;
+ *
+ * @param value The groupId to set.
+ * @return This builder for chaining.
*/
public Builder setGroupId(java.lang.String value) {
if (value == null) {
@@ -920,6 +954,8 @@ public Builder setGroupId(java.lang.String value) {
*
*
* string group_id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGroupId() {
@@ -936,6 +972,9 @@ public Builder clearGroupId() {
*
*
* string group_id = 1;
+ *
+ * @param value The bytes for groupId to set.
+ * @return This builder for chaining.
*/
public Builder setGroupIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -957,6 +996,8 @@ public Builder setGroupIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @return The enum numeric value on the wire for resourceType.
*/
public int getResourceTypeValue() {
return resourceType_;
@@ -969,6 +1010,9 @@ public int getResourceTypeValue() {
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @param value The enum numeric value on the wire for resourceType to set.
+ * @return This builder for chaining.
*/
public Builder setResourceTypeValue(int value) {
resourceType_ = value;
@@ -983,6 +1027,8 @@ public Builder setResourceTypeValue(int value) {
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @return The resourceType.
*/
public com.google.monitoring.v3.GroupResourceType getResourceType() {
@SuppressWarnings("deprecation")
@@ -998,6 +1044,9 @@ public com.google.monitoring.v3.GroupResourceType getResourceType() {
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @param value The resourceType to set.
+ * @return This builder for chaining.
*/
public Builder setResourceType(com.google.monitoring.v3.GroupResourceType value) {
if (value == null) {
@@ -1016,6 +1065,8 @@ public Builder setResourceType(com.google.monitoring.v3.GroupResourceType value)
*
*
* .google.monitoring.v3.GroupResourceType resource_type = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearResourceType() {
@@ -1089,6 +1140,8 @@ public interface HttpCheckOrBuilder
*
*
* bool use_ssl = 1;
+ *
+ * @return The useSsl.
*/
boolean getUseSsl();
@@ -1104,6 +1157,8 @@ public interface HttpCheckOrBuilder
*
*
* string path = 2;
+ *
+ * @return The path.
*/
java.lang.String getPath();
/**
@@ -1118,6 +1173,8 @@ public interface HttpCheckOrBuilder
*
*
* string path = 2;
+ *
+ * @return The bytes for path.
*/
com.google.protobuf.ByteString getPathBytes();
@@ -1132,6 +1189,8 @@ public interface HttpCheckOrBuilder
*
*
* int32 port = 3;
+ *
+ * @return The port.
*/
int getPort();
@@ -1145,6 +1204,8 @@ public interface HttpCheckOrBuilder
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
*
+ *
+ * @return Whether the authInfo field is set.
*/
boolean hasAuthInfo();
/**
@@ -1157,6 +1218,8 @@ public interface HttpCheckOrBuilder
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
*
+ *
+ * @return The authInfo.
*/
com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo();
/**
@@ -1186,6 +1249,8 @@ public interface HttpCheckOrBuilder
*
*
* bool mask_headers = 5;
+ *
+ * @return The maskHeaders.
*/
boolean getMaskHeaders();
@@ -1289,6 +1354,8 @@ public interface HttpCheckOrBuilder
*
*
* bool validate_ssl = 7;
+ *
+ * @return The validateSsl.
*/
boolean getValidateSsl();
}
@@ -1315,6 +1382,12 @@ private HttpCheck() {
path_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new HttpCheck();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1382,11 +1455,11 @@ private HttpCheck(
}
case 50:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
headers_ =
com.google.protobuf.MapField.newMapField(
HeadersDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry headers__ =
input.readMessage(
@@ -1458,6 +1531,8 @@ public interface BasicAuthenticationOrBuilder
*
*
* string username = 1;
+ *
+ * @return The username.
*/
java.lang.String getUsername();
/**
@@ -1468,6 +1543,8 @@ public interface BasicAuthenticationOrBuilder
*
*
* string username = 1;
+ *
+ * @return The bytes for username.
*/
com.google.protobuf.ByteString getUsernameBytes();
@@ -1479,6 +1556,8 @@ public interface BasicAuthenticationOrBuilder
*
*
* string password = 2;
+ *
+ * @return The password.
*/
java.lang.String getPassword();
/**
@@ -1489,6 +1568,8 @@ public interface BasicAuthenticationOrBuilder
*
*
* string password = 2;
+ *
+ * @return The bytes for password.
*/
com.google.protobuf.ByteString getPasswordBytes();
}
@@ -1519,6 +1600,12 @@ private BasicAuthentication() {
password_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BasicAuthentication();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1532,7 +1619,6 @@ private BasicAuthentication(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -1603,6 +1689,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string username = 1;
+ *
+ * @return The username.
*/
public java.lang.String getUsername() {
java.lang.Object ref = username_;
@@ -1623,6 +1711,8 @@ public java.lang.String getUsername() {
*
*
* string username = 1;
+ *
+ * @return The bytes for username.
*/
public com.google.protobuf.ByteString getUsernameBytes() {
java.lang.Object ref = username_;
@@ -1646,6 +1736,8 @@ public com.google.protobuf.ByteString getUsernameBytes() {
*
*
* string password = 2;
+ *
+ * @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
@@ -1666,6 +1758,8 @@ public java.lang.String getPassword() {
*
*
* string password = 2;
+ *
+ * @return The bytes for password.
*/
public com.google.protobuf.ByteString getPasswordBytes() {
java.lang.Object ref = password_;
@@ -2051,6 +2145,8 @@ public Builder mergeFrom(
*
*
* string username = 1;
+ *
+ * @return The username.
*/
public java.lang.String getUsername() {
java.lang.Object ref = username_;
@@ -2071,6 +2167,8 @@ public java.lang.String getUsername() {
*
*
* string username = 1;
+ *
+ * @return The bytes for username.
*/
public com.google.protobuf.ByteString getUsernameBytes() {
java.lang.Object ref = username_;
@@ -2091,6 +2189,9 @@ public com.google.protobuf.ByteString getUsernameBytes() {
*
*
* string username = 1;
+ *
+ * @param value The username to set.
+ * @return This builder for chaining.
*/
public Builder setUsername(java.lang.String value) {
if (value == null) {
@@ -2109,6 +2210,8 @@ public Builder setUsername(java.lang.String value) {
*
*
* string username = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUsername() {
@@ -2124,6 +2227,9 @@ public Builder clearUsername() {
*
*
* string username = 1;
+ *
+ * @param value The bytes for username to set.
+ * @return This builder for chaining.
*/
public Builder setUsernameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2145,6 +2251,8 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) {
*
*
* string password = 2;
+ *
+ * @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
@@ -2165,6 +2273,8 @@ public java.lang.String getPassword() {
*
*
* string password = 2;
+ *
+ * @return The bytes for password.
*/
public com.google.protobuf.ByteString getPasswordBytes() {
java.lang.Object ref = password_;
@@ -2185,6 +2295,9 @@ public com.google.protobuf.ByteString getPasswordBytes() {
*
*
* string password = 2;
+ *
+ * @param value The password to set.
+ * @return This builder for chaining.
*/
public Builder setPassword(java.lang.String value) {
if (value == null) {
@@ -2203,6 +2316,8 @@ public Builder setPassword(java.lang.String value) {
*
*
* string password = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPassword() {
@@ -2218,6 +2333,9 @@ public Builder clearPassword() {
*
*
* string password = 2;
+ *
+ * @param value The bytes for password to set.
+ * @return This builder for chaining.
*/
public Builder setPasswordBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2286,7 +2404,6 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- private int bitField0_;
public static final int USE_SSL_FIELD_NUMBER = 1;
private boolean useSsl_;
/**
@@ -2297,6 +2414,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* bool use_ssl = 1;
+ *
+ * @return The useSsl.
*/
public boolean getUseSsl() {
return useSsl_;
@@ -2316,6 +2435,8 @@ public boolean getUseSsl() {
*
*
* string path = 2;
+ *
+ * @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
@@ -2340,6 +2461,8 @@ public java.lang.String getPath() {
*
*
* string path = 2;
+ *
+ * @return The bytes for path.
*/
public com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
@@ -2366,6 +2489,8 @@ public com.google.protobuf.ByteString getPathBytes() {
*
*
* int32 port = 3;
+ *
+ * @return The port.
*/
public int getPort() {
return port_;
@@ -2383,6 +2508,8 @@ public int getPort() {
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
*
+ *
+ * @return Whether the authInfo field is set.
*/
public boolean hasAuthInfo() {
return authInfo_ != null;
@@ -2397,6 +2524,8 @@ public boolean hasAuthInfo() {
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
*
+ *
+ * @return The authInfo.
*/
public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo() {
return authInfo_ == null
@@ -2435,6 +2564,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
*
*
* bool mask_headers = 5;
+ *
+ * @return The maskHeaders.
*/
public boolean getMaskHeaders() {
return maskHeaders_;
@@ -2575,6 +2706,8 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
*
*
* bool validate_ssl = 7;
+ *
+ * @return The validateSsl.
*/
public boolean getValidateSsl() {
return validateSsl_;
@@ -2919,7 +3052,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck buildPartial() {
com.google.monitoring.v3.UptimeCheckConfig.HttpCheck result =
new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.useSsl_ = useSsl_;
result.path_ = path_;
result.port_ = port_;
@@ -2932,7 +3064,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck buildPartial() {
result.headers_ = internalGetHeaders();
result.headers_.makeImmutable();
result.validateSsl_ = validateSsl_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -3046,6 +3177,8 @@ public Builder mergeFrom(
*
*
* bool use_ssl = 1;
+ *
+ * @return The useSsl.
*/
public boolean getUseSsl() {
return useSsl_;
@@ -3058,6 +3191,9 @@ public boolean getUseSsl() {
*
*
* bool use_ssl = 1;
+ *
+ * @param value The useSsl to set.
+ * @return This builder for chaining.
*/
public Builder setUseSsl(boolean value) {
@@ -3073,6 +3209,8 @@ public Builder setUseSsl(boolean value) {
*
*
* bool use_ssl = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUseSsl() {
@@ -3094,6 +3232,8 @@ public Builder clearUseSsl() {
*
*
* string path = 2;
+ *
+ * @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
@@ -3118,6 +3258,8 @@ public java.lang.String getPath() {
*
*
* string path = 2;
+ *
+ * @return The bytes for path.
*/
public com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
@@ -3142,6 +3284,9 @@ public com.google.protobuf.ByteString getPathBytes() {
*
*
* string path = 2;
+ *
+ * @param value The path to set.
+ * @return This builder for chaining.
*/
public Builder setPath(java.lang.String value) {
if (value == null) {
@@ -3164,6 +3309,8 @@ public Builder setPath(java.lang.String value) {
*
*
* string path = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPath() {
@@ -3183,6 +3330,9 @@ public Builder clearPath() {
*
*
* string path = 2;
+ *
+ * @param value The bytes for path to set.
+ * @return This builder for chaining.
*/
public Builder setPathBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3207,6 +3357,8 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) {
*
*
* int32 port = 3;
+ *
+ * @return The port.
*/
public int getPort() {
return port_;
@@ -3222,6 +3374,9 @@ public int getPort() {
*
*
* int32 port = 3;
+ *
+ * @param value The port to set.
+ * @return This builder for chaining.
*/
public Builder setPort(int value) {
@@ -3240,6 +3395,8 @@ public Builder setPort(int value) {
*
*
* int32 port = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPort() {
@@ -3264,6 +3421,8 @@ public Builder clearPort() {
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
*
+ *
+ * @return Whether the authInfo field is set.
*/
public boolean hasAuthInfo() {
return authInfoBuilder_ != null || authInfo_ != null;
@@ -3278,6 +3437,8 @@ public boolean hasAuthInfo() {
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4;
*
+ *
+ * @return The authInfo.
*/
public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
getAuthInfo() {
@@ -3472,6 +3633,8 @@ public Builder clearAuthInfo() {
*
*
* bool mask_headers = 5;
+ *
+ * @return The maskHeaders.
*/
public boolean getMaskHeaders() {
return maskHeaders_;
@@ -3489,6 +3652,9 @@ public boolean getMaskHeaders() {
*
*
* bool mask_headers = 5;
+ *
+ * @param value The maskHeaders to set.
+ * @return This builder for chaining.
*/
public Builder setMaskHeaders(boolean value) {
@@ -3509,6 +3675,8 @@ public Builder setMaskHeaders(boolean value) {
*
*
* bool mask_headers = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMaskHeaders() {
@@ -3732,6 +3900,8 @@ public Builder putAllHeaders(java.util.Map v
*
*
* bool validate_ssl = 7;
+ *
+ * @return The validateSsl.
*/
public boolean getValidateSsl() {
return validateSsl_;
@@ -3747,6 +3917,9 @@ public boolean getValidateSsl() {
*
*
* bool validate_ssl = 7;
+ *
+ * @param value The validateSsl to set.
+ * @return This builder for chaining.
*/
public Builder setValidateSsl(boolean value) {
@@ -3765,6 +3938,8 @@ public Builder setValidateSsl(boolean value) {
*
*
* bool validate_ssl = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValidateSsl() {
@@ -3840,6 +4015,8 @@ public interface TcpCheckOrBuilder
*
*
* int32 port = 1;
+ *
+ * @return The port.
*/
int getPort();
}
@@ -3864,6 +4041,12 @@ private TcpCheck(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private TcpCheck() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TcpCheck();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3877,7 +4060,6 @@ private TcpCheck(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -3939,6 +4121,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int32 port = 1;
+ *
+ * @return The port.
*/
public int getPort() {
return port_;
@@ -4277,6 +4461,8 @@ public Builder mergeFrom(
*
*
* int32 port = 1;
+ *
+ * @return The port.
*/
public int getPort() {
return port_;
@@ -4291,6 +4477,9 @@ public int getPort() {
*
*
* int32 port = 1;
+ *
+ * @param value The port to set.
+ * @return This builder for chaining.
*/
public Builder setPort(int value) {
@@ -4308,6 +4497,8 @@ public Builder setPort(int value) {
*
*
* int32 port = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPort() {
@@ -4382,6 +4573,8 @@ public interface ContentMatcherOrBuilder
*
*
* string content = 1;
+ *
+ * @return The content.
*/
java.lang.String getContent();
/**
@@ -4393,6 +4586,8 @@ public interface ContentMatcherOrBuilder
*
*
* string content = 1;
+ *
+ * @return The bytes for content.
*/
com.google.protobuf.ByteString getContentBytes();
@@ -4407,6 +4602,8 @@ public interface ContentMatcherOrBuilder
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @return The enum numeric value on the wire for matcher.
*/
int getMatcherValue();
/**
@@ -4420,6 +4617,8 @@ public interface ContentMatcherOrBuilder
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @return The matcher.
*/
com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption getMatcher();
}
@@ -4451,6 +4650,12 @@ private ContentMatcher() {
matcher_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ContentMatcher();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -4464,7 +4669,6 @@ private ContentMatcher(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -4664,12 +4868,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ContentMatcherOption valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static ContentMatcherOption forNumber(int value) {
switch (value) {
case 0:
@@ -4747,6 +4959,8 @@ private ContentMatcherOption(int value) {
*
*
* string content = 1;
+ *
+ * @return The content.
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
@@ -4768,6 +4982,8 @@ public java.lang.String getContent() {
*
*
* string content = 1;
+ *
+ * @return The bytes for content.
*/
public com.google.protobuf.ByteString getContentBytes() {
java.lang.Object ref = content_;
@@ -4794,6 +5010,8 @@ public com.google.protobuf.ByteString getContentBytes() {
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @return The enum numeric value on the wire for matcher.
*/
public int getMatcherValue() {
return matcher_;
@@ -4809,6 +5027,8 @@ public int getMatcherValue() {
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @return The matcher.
*/
public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption
getMatcher() {
@@ -5180,6 +5400,8 @@ public Builder mergeFrom(
*
*
* string content = 1;
+ *
+ * @return The content.
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
@@ -5201,6 +5423,8 @@ public java.lang.String getContent() {
*
*
* string content = 1;
+ *
+ * @return The bytes for content.
*/
public com.google.protobuf.ByteString getContentBytes() {
java.lang.Object ref = content_;
@@ -5222,6 +5446,9 @@ public com.google.protobuf.ByteString getContentBytes() {
*
*
* string content = 1;
+ *
+ * @param value The content to set.
+ * @return This builder for chaining.
*/
public Builder setContent(java.lang.String value) {
if (value == null) {
@@ -5241,6 +5468,8 @@ public Builder setContent(java.lang.String value) {
*
*
* string content = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearContent() {
@@ -5257,6 +5486,9 @@ public Builder clearContent() {
*
*
* string content = 1;
+ *
+ * @param value The bytes for content to set.
+ * @return This builder for chaining.
*/
public Builder setContentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -5281,6 +5513,8 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) {
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @return The enum numeric value on the wire for matcher.
*/
public int getMatcherValue() {
return matcher_;
@@ -5296,6 +5530,9 @@ public int getMatcherValue() {
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @param value The enum numeric value on the wire for matcher to set.
+ * @return This builder for chaining.
*/
public Builder setMatcherValue(int value) {
matcher_ = value;
@@ -5313,6 +5550,8 @@ public Builder setMatcherValue(int value) {
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @return The matcher.
*/
public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption
getMatcher() {
@@ -5336,6 +5575,9 @@ public Builder setMatcherValue(int value) {
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @param value The matcher to set.
+ * @return This builder for chaining.
*/
public Builder setMatcher(
com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption value) {
@@ -5358,6 +5600,8 @@ public Builder setMatcher(
*
* .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearMatcher() {
@@ -5418,11 +5662,13 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getDefaultInsta
}
}
- private int bitField0_;
private int resourceCase_ = 0;
private java.lang.Object resource_;
- public enum ResourceCase implements com.google.protobuf.Internal.EnumLite {
+ public enum ResourceCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
MONITORED_RESOURCE(3),
RESOURCE_GROUP(4),
RESOURCE_NOT_SET(0);
@@ -5431,7 +5677,11 @@ public enum ResourceCase implements com.google.protobuf.Internal.EnumLite {
private ResourceCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ResourceCase valueOf(int value) {
return forNumber(value);
@@ -5462,7 +5712,10 @@ public ResourceCase getResourceCase() {
private int checkRequestTypeCase_ = 0;
private java.lang.Object checkRequestType_;
- public enum CheckRequestTypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum CheckRequestTypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
HTTP_CHECK(5),
TCP_CHECK(6),
CHECKREQUESTTYPE_NOT_SET(0);
@@ -5471,7 +5724,11 @@ public enum CheckRequestTypeCase implements com.google.protobuf.Internal.EnumLit
private CheckRequestTypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static CheckRequestTypeCase valueOf(int value) {
return forNumber(value);
@@ -5513,6 +5770,8 @@ public CheckRequestTypeCase getCheckRequestTypeCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -5537,6 +5796,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -5562,6 +5823,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -5584,6 +5847,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -5614,6 +5879,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* .google.api.MonitoredResource monitored_resource = 3;
+ *
+ * @return Whether the monitoredResource field is set.
*/
public boolean hasMonitoredResource() {
return resourceCase_ == 3;
@@ -5634,6 +5901,8 @@ public boolean hasMonitoredResource() {
*
*
* .google.api.MonitoredResource monitored_resource = 3;
+ *
+ * @return The monitoredResource.
*/
public com.google.api.MonitoredResource getMonitoredResource() {
if (resourceCase_ == 3) {
@@ -5674,6 +5943,8 @@ public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
*
*
* .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
+ *
+ * @return Whether the resourceGroup field is set.
*/
public boolean hasResourceGroup() {
return resourceCase_ == 4;
@@ -5686,6 +5957,8 @@ public boolean hasResourceGroup() {
*
*
* .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
+ *
+ * @return The resourceGroup.
*/
public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup() {
if (resourceCase_ == 4) {
@@ -5719,6 +5992,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup
*
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
+ *
+ * @return Whether the httpCheck field is set.
*/
public boolean hasHttpCheck() {
return checkRequestTypeCase_ == 5;
@@ -5731,6 +6006,8 @@ public boolean hasHttpCheck() {
*
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
+ *
+ * @return The httpCheck.
*/
public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck() {
if (checkRequestTypeCase_ == 5) {
@@ -5763,6 +6040,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpChec
*
*
* .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
+ *
+ * @return Whether the tcpCheck field is set.
*/
public boolean hasTcpCheck() {
return checkRequestTypeCase_ == 6;
@@ -5775,6 +6054,8 @@ public boolean hasTcpCheck() {
*
*
* .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
+ *
+ * @return The tcpCheck.
*/
public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck() {
if (checkRequestTypeCase_ == 6) {
@@ -5811,6 +6092,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO
*
*
* .google.protobuf.Duration period = 7;
+ *
+ * @return Whether the period field is set.
*/
public boolean hasPeriod() {
return period_ != null;
@@ -5826,6 +6109,8 @@ public boolean hasPeriod() {
*
*
* .google.protobuf.Duration period = 7;
+ *
+ * @return The period.
*/
public com.google.protobuf.Duration getPeriod() {
return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_;
@@ -5857,6 +6142,8 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
*
*
* .google.protobuf.Duration timeout = 8;
+ *
+ * @return Whether the timeout field is set.
*/
public boolean hasTimeout() {
return timeout_ != null;
@@ -5870,6 +6157,8 @@ public boolean hasTimeout() {
*
*
* .google.protobuf.Duration timeout = 8;
+ *
+ * @return The timeout.
*/
public com.google.protobuf.Duration getTimeout() {
return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
@@ -6009,6 +6298,8 @@ public com.google.monitoring.v3.UptimeCheckRegion convert(java.lang.Integer from
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return A list containing the selectedRegions.
*/
public java.util.List getSelectedRegionsList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -6027,6 +6318,8 @@ public java.util.List getSelectedReg
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param value The selectedRegions to add.
*/
public int getSelectedRegionsCount() {
return selectedRegions_.size();
@@ -6043,6 +6336,9 @@ public int getSelectedRegionsCount() {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param index The index of the element to return.
+ * @return The selectedRegions at the given index.
*/
public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index) {
return selectedRegions_converter_.convert(selectedRegions_.get(index));
@@ -6059,6 +6355,8 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return A list containing the enum numeric values on the wire for selectedRegions.
*/
public java.util.List getSelectedRegionsValueList() {
return selectedRegions_;
@@ -6075,6 +6373,9 @@ public java.util.List getSelectedRegionsValueList() {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of selectedRegions at the given index.
*/
public int getSelectedRegionsValue(int index) {
return selectedRegions_.get(index);
@@ -6095,6 +6396,8 @@ public int getSelectedRegionsValue(int index) {
*
*
* bool is_internal = 15 [deprecated = true];
+ *
+ * @return The isInternal.
*/
@java.lang.Deprecated
public boolean getIsInternal() {
@@ -6596,17 +6899,17 @@ public Builder clear() {
}
if (contentMatchersBuilder_ == null) {
contentMatchers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
contentMatchersBuilder_.clear();
}
selectedRegions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000002);
isInternal_ = false;
if (internalCheckersBuilder_ == null) {
internalCheckers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
internalCheckersBuilder_.clear();
}
@@ -6642,7 +6945,6 @@ public com.google.monitoring.v3.UptimeCheckConfig buildPartial() {
com.google.monitoring.v3.UptimeCheckConfig result =
new com.google.monitoring.v3.UptimeCheckConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.displayName_ = displayName_;
if (resourceCase_ == 3) {
@@ -6684,30 +6986,29 @@ public com.google.monitoring.v3.UptimeCheckConfig buildPartial() {
result.timeout_ = timeoutBuilder_.build();
}
if (contentMatchersBuilder_ == null) {
- if (((bitField0_ & 0x00000100) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
contentMatchers_ = java.util.Collections.unmodifiableList(contentMatchers_);
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.contentMatchers_ = contentMatchers_;
} else {
result.contentMatchers_ = contentMatchersBuilder_.build();
}
- if (((bitField0_ & 0x00000200) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
selectedRegions_ = java.util.Collections.unmodifiableList(selectedRegions_);
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.selectedRegions_ = selectedRegions_;
result.isInternal_ = isInternal_;
if (internalCheckersBuilder_ == null) {
- if (((bitField0_ & 0x00000800) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
internalCheckers_ = java.util.Collections.unmodifiableList(internalCheckers_);
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.internalCheckers_ = internalCheckers_;
} else {
result.internalCheckers_ = internalCheckersBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
result.resourceCase_ = resourceCase_;
result.checkRequestTypeCase_ = checkRequestTypeCase_;
onBuilt();
@@ -6777,7 +7078,7 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
if (!other.contentMatchers_.isEmpty()) {
if (contentMatchers_.isEmpty()) {
contentMatchers_ = other.contentMatchers_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureContentMatchersIsMutable();
contentMatchers_.addAll(other.contentMatchers_);
@@ -6790,7 +7091,7 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
contentMatchersBuilder_.dispose();
contentMatchersBuilder_ = null;
contentMatchers_ = other.contentMatchers_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000001);
contentMatchersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getContentMatchersFieldBuilder()
@@ -6803,7 +7104,7 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
if (!other.selectedRegions_.isEmpty()) {
if (selectedRegions_.isEmpty()) {
selectedRegions_ = other.selectedRegions_;
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSelectedRegionsIsMutable();
selectedRegions_.addAll(other.selectedRegions_);
@@ -6817,7 +7118,7 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
if (!other.internalCheckers_.isEmpty()) {
if (internalCheckers_.isEmpty()) {
internalCheckers_ = other.internalCheckers_;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureInternalCheckersIsMutable();
internalCheckers_.addAll(other.internalCheckers_);
@@ -6830,7 +7131,7 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
internalCheckersBuilder_.dispose();
internalCheckersBuilder_ = null;
internalCheckers_ = other.internalCheckers_;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
internalCheckersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getInternalCheckersFieldBuilder()
@@ -6944,6 +7245,8 @@ public Builder clearCheckRequestType() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -6968,6 +7271,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -6992,6 +7297,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -7014,6 +7322,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -7033,6 +7343,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -7056,6 +7369,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -7078,6 +7393,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -7100,6 +7417,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -7120,6 +7440,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -7137,6 +7459,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -7170,6 +7495,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.api.MonitoredResource monitored_resource = 3;
+ *
+ * @return Whether the monitoredResource field is set.
*/
public boolean hasMonitoredResource() {
return resourceCase_ == 3;
@@ -7190,6 +7517,8 @@ public boolean hasMonitoredResource() {
*
*
* .google.api.MonitoredResource monitored_resource = 3;
+ *
+ * @return The monitoredResource.
*/
public com.google.api.MonitoredResource getMonitoredResource() {
if (monitoredResourceBuilder_ == null) {
@@ -7433,6 +7762,8 @@ public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
*
*
* .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
+ *
+ * @return Whether the resourceGroup field is set.
*/
public boolean hasResourceGroup() {
return resourceCase_ == 4;
@@ -7445,6 +7776,8 @@ public boolean hasResourceGroup() {
*
*
* .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
+ *
+ * @return The resourceGroup.
*/
public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup() {
if (resourceGroupBuilder_ == null) {
@@ -7640,6 +7973,8 @@ public Builder clearResourceGroup() {
*
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
+ *
+ * @return Whether the httpCheck field is set.
*/
public boolean hasHttpCheck() {
return checkRequestTypeCase_ == 5;
@@ -7652,6 +7987,8 @@ public boolean hasHttpCheck() {
*
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
+ *
+ * @return The httpCheck.
*/
public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck() {
if (httpCheckBuilder_ == null) {
@@ -7844,6 +8181,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpChec
*
*
* .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
+ *
+ * @return Whether the tcpCheck field is set.
*/
public boolean hasTcpCheck() {
return checkRequestTypeCase_ == 6;
@@ -7856,6 +8195,8 @@ public boolean hasTcpCheck() {
*
*
* .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
+ *
+ * @return The tcpCheck.
*/
public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck() {
if (tcpCheckBuilder_ == null) {
@@ -8052,6 +8393,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO
*
*
* .google.protobuf.Duration period = 7;
+ *
+ * @return Whether the period field is set.
*/
public boolean hasPeriod() {
return periodBuilder_ != null || period_ != null;
@@ -8067,6 +8410,8 @@ public boolean hasPeriod() {
*
*
* .google.protobuf.Duration period = 7;
+ *
+ * @return The period.
*/
public com.google.protobuf.Duration getPeriod() {
if (periodBuilder_ == null) {
@@ -8252,6 +8597,8 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
*
*
* .google.protobuf.Duration timeout = 8;
+ *
+ * @return Whether the timeout field is set.
*/
public boolean hasTimeout() {
return timeoutBuilder_ != null || timeout_ != null;
@@ -8265,6 +8612,8 @@ public boolean hasTimeout() {
*
*
* .google.protobuf.Duration timeout = 8;
+ *
+ * @return The timeout.
*/
public com.google.protobuf.Duration getTimeout() {
if (timeoutBuilder_ == null) {
@@ -8425,11 +8774,11 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
contentMatchers_ = java.util.Collections.emptyList();
private void ensureContentMatchersIsMutable() {
- if (!((bitField0_ & 0x00000100) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
contentMatchers_ =
new java.util.ArrayList(
contentMatchers_);
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000001;
}
}
@@ -8707,7 +9056,7 @@ public Builder addAllContentMatchers(
public Builder clearContentMatchers() {
if (contentMatchersBuilder_ == null) {
contentMatchers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
contentMatchersBuilder_.clear();
@@ -8873,7 +9222,7 @@ public Builder removeContentMatchers(int index) {
com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder,
com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder>(
contentMatchers_,
- ((bitField0_ & 0x00000100) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
contentMatchers_ = null;
@@ -8884,9 +9233,9 @@ public Builder removeContentMatchers(int index) {
private java.util.List selectedRegions_ = java.util.Collections.emptyList();
private void ensureSelectedRegionsIsMutable() {
- if (!((bitField0_ & 0x00000200) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
selectedRegions_ = new java.util.ArrayList(selectedRegions_);
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -8901,6 +9250,8 @@ private void ensureSelectedRegionsIsMutable() {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return A list containing the selectedRegions.
*/
public java.util.List getSelectedRegionsList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -8919,6 +9270,8 @@ public java.util.List getSelectedReg
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return The count of selectedRegions.
*/
public int getSelectedRegionsCount() {
return selectedRegions_.size();
@@ -8935,6 +9288,9 @@ public int getSelectedRegionsCount() {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param index The index of the element to return.
+ * @return The selectedRegions at the given index.
*/
public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index) {
return selectedRegions_converter_.convert(selectedRegions_.get(index));
@@ -8951,6 +9307,10 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param index The index to set the value at.
+ * @param value The selectedRegions to set.
+ * @return This builder for chaining.
*/
public Builder setSelectedRegions(int index, com.google.monitoring.v3.UptimeCheckRegion value) {
if (value == null) {
@@ -8973,6 +9333,9 @@ public Builder setSelectedRegions(int index, com.google.monitoring.v3.UptimeChec
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param value The selectedRegions to add.
+ * @return This builder for chaining.
*/
public Builder addSelectedRegions(com.google.monitoring.v3.UptimeCheckRegion value) {
if (value == null) {
@@ -8995,6 +9358,9 @@ public Builder addSelectedRegions(com.google.monitoring.v3.UptimeCheckRegion val
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param values The selectedRegions to add.
+ * @return This builder for chaining.
*/
public Builder addAllSelectedRegions(
java.lang.Iterable extends com.google.monitoring.v3.UptimeCheckRegion> values) {
@@ -9017,10 +9383,12 @@ public Builder addAllSelectedRegions(
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSelectedRegions() {
selectedRegions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -9036,6 +9404,8 @@ public Builder clearSelectedRegions() {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return A list containing the enum numeric values on the wire for selectedRegions.
*/
public java.util.List getSelectedRegionsValueList() {
return java.util.Collections.unmodifiableList(selectedRegions_);
@@ -9052,6 +9422,9 @@ public java.util.List getSelectedRegionsValueList() {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of selectedRegions at the given index.
*/
public int getSelectedRegionsValue(int index) {
return selectedRegions_.get(index);
@@ -9068,6 +9441,10 @@ public int getSelectedRegionsValue(int index) {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of selectedRegions at the given index.
+ * @return This builder for chaining.
*/
public Builder setSelectedRegionsValue(int index, int value) {
ensureSelectedRegionsIsMutable();
@@ -9087,6 +9464,9 @@ public Builder setSelectedRegionsValue(int index, int value) {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param value The enum numeric value on the wire for selectedRegions to add.
+ * @return This builder for chaining.
*/
public Builder addSelectedRegionsValue(int value) {
ensureSelectedRegionsIsMutable();
@@ -9106,6 +9486,9 @@ public Builder addSelectedRegionsValue(int value) {
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param values The enum numeric values on the wire for selectedRegions to add.
+ * @return This builder for chaining.
*/
public Builder addAllSelectedRegionsValue(java.lang.Iterable values) {
ensureSelectedRegionsIsMutable();
@@ -9128,6 +9511,8 @@ public Builder addAllSelectedRegionsValue(java.lang.Iterable
*
*
* bool is_internal = 15 [deprecated = true];
+ *
+ * @return The isInternal.
*/
@java.lang.Deprecated
public boolean getIsInternal() {
@@ -9144,6 +9529,9 @@ public boolean getIsInternal() {
*
*
* bool is_internal = 15 [deprecated = true];
+ *
+ * @param value The isInternal to set.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setIsInternal(boolean value) {
@@ -9163,6 +9551,8 @@ public Builder setIsInternal(boolean value) {
*
*
* bool is_internal = 15 [deprecated = true];
+ *
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder clearIsInternal() {
@@ -9176,10 +9566,10 @@ public Builder clearIsInternal() {
java.util.Collections.emptyList();
private void ensureInternalCheckersIsMutable() {
- if (!((bitField0_ & 0x00000800) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
internalCheckers_ =
new java.util.ArrayList(internalCheckers_);
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00000004;
}
}
@@ -9461,7 +9851,7 @@ public Builder addAllInternalCheckers(
public Builder clearInternalCheckers() {
if (internalCheckersBuilder_ == null) {
internalCheckers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
internalCheckersBuilder_.clear();
@@ -9627,7 +10017,7 @@ public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuild
com.google.monitoring.v3.InternalChecker.Builder,
com.google.monitoring.v3.InternalCheckerOrBuilder>(
internalCheckers_,
- ((bitField0_ & 0x00000800) != 0),
+ ((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
internalCheckers_ = null;
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java
index 0dd39f0e..24b4cae8 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class UptimeCheckConfigName implements ResourceName {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java
index 83555903..63c1960a 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java
@@ -35,6 +35,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -62,6 +66,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -74,6 +80,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -93,6 +101,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.api.MonitoredResource monitored_resource = 3;
+ *
+ * @return Whether the monitoredResource field is set.
*/
boolean hasMonitoredResource();
/**
@@ -111,6 +121,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.api.MonitoredResource monitored_resource = 3;
+ *
+ * @return The monitoredResource.
*/
com.google.api.MonitoredResource getMonitoredResource();
/**
@@ -140,6 +152,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
+ *
+ * @return Whether the resourceGroup field is set.
*/
boolean hasResourceGroup();
/**
@@ -150,6 +164,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4;
+ *
+ * @return The resourceGroup.
*/
com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup();
/**
@@ -171,6 +187,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
+ *
+ * @return Whether the httpCheck field is set.
*/
boolean hasHttpCheck();
/**
@@ -181,6 +199,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5;
+ *
+ * @return The httpCheck.
*/
com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck();
/**
@@ -202,6 +222,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
+ *
+ * @return Whether the tcpCheck field is set.
*/
boolean hasTcpCheck();
/**
@@ -212,6 +234,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6;
+ *
+ * @return The tcpCheck.
*/
com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck();
/**
@@ -236,6 +260,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.protobuf.Duration period = 7;
+ *
+ * @return Whether the period field is set.
*/
boolean hasPeriod();
/**
@@ -249,6 +275,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.protobuf.Duration period = 7;
+ *
+ * @return The period.
*/
com.google.protobuf.Duration getPeriod();
/**
@@ -274,6 +302,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.protobuf.Duration timeout = 8;
+ *
+ * @return Whether the timeout field is set.
*/
boolean hasTimeout();
/**
@@ -285,6 +315,8 @@ public interface UptimeCheckConfigOrBuilder
*
*
* .google.protobuf.Duration timeout = 8;
+ *
+ * @return The timeout.
*/
com.google.protobuf.Duration getTimeout();
/**
@@ -390,6 +422,8 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return A list containing the selectedRegions.
*/
java.util.List getSelectedRegionsList();
/**
@@ -404,6 +438,8 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return The count of selectedRegions.
*/
int getSelectedRegionsCount();
/**
@@ -418,6 +454,9 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param index The index of the element to return.
+ * @return The selectedRegions at the given index.
*/
com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index);
/**
@@ -432,6 +471,8 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @return A list containing the enum numeric values on the wire for selectedRegions.
*/
java.util.List getSelectedRegionsValueList();
/**
@@ -446,6 +487,9 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
*
*
* repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of selectedRegions at the given index.
*/
int getSelectedRegionsValue(int index);
@@ -460,6 +504,8 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
*
*
* bool is_internal = 15 [deprecated = true];
+ *
+ * @return The isInternal.
*/
@java.lang.Deprecated
boolean getIsInternal();
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java
index 3881cefb..7d009827 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java
@@ -44,6 +44,12 @@ private UptimeCheckIp() {
ipAddress_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UptimeCheckIp();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private UptimeCheckIp(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @return The enum numeric value on the wire for region.
*/
public int getRegionValue() {
return region_;
@@ -145,6 +152,8 @@ public int getRegionValue() {
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @return The region.
*/
public com.google.monitoring.v3.UptimeCheckRegion getRegion() {
@SuppressWarnings("deprecation")
@@ -165,6 +174,8 @@ public com.google.monitoring.v3.UptimeCheckRegion getRegion() {
*
*
* string location = 2;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -187,6 +198,8 @@ public java.lang.String getLocation() {
*
*
* string location = 2;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -214,6 +227,8 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* string ip_address = 3;
+ *
+ * @return The ipAddress.
*/
public java.lang.String getIpAddress() {
java.lang.Object ref = ipAddress_;
@@ -238,6 +253,8 @@ public java.lang.String getIpAddress() {
*
*
* string ip_address = 3;
+ *
+ * @return The bytes for ipAddress.
*/
public com.google.protobuf.ByteString getIpAddressBytes() {
java.lang.Object ref = ipAddress_;
@@ -607,6 +624,8 @@ public Builder mergeFrom(
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @return The enum numeric value on the wire for region.
*/
public int getRegionValue() {
return region_;
@@ -619,6 +638,9 @@ public int getRegionValue() {
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @param value The enum numeric value on the wire for region to set.
+ * @return This builder for chaining.
*/
public Builder setRegionValue(int value) {
region_ = value;
@@ -633,6 +655,8 @@ public Builder setRegionValue(int value) {
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @return The region.
*/
public com.google.monitoring.v3.UptimeCheckRegion getRegion() {
@SuppressWarnings("deprecation")
@@ -648,6 +672,9 @@ public com.google.monitoring.v3.UptimeCheckRegion getRegion() {
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @param value The region to set.
+ * @return This builder for chaining.
*/
public Builder setRegion(com.google.monitoring.v3.UptimeCheckRegion value) {
if (value == null) {
@@ -666,6 +693,8 @@ public Builder setRegion(com.google.monitoring.v3.UptimeCheckRegion value) {
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRegion() {
@@ -685,6 +714,8 @@ public Builder clearRegion() {
*
*
* string location = 2;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -707,6 +738,8 @@ public java.lang.String getLocation() {
*
*
* string location = 2;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -729,6 +762,9 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* string location = 2;
+ *
+ * @param value The location to set.
+ * @return This builder for chaining.
*/
public Builder setLocation(java.lang.String value) {
if (value == null) {
@@ -749,6 +785,8 @@ public Builder setLocation(java.lang.String value) {
*
*
* string location = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocation() {
@@ -766,6 +804,9 @@ public Builder clearLocation() {
*
*
* string location = 2;
+ *
+ * @param value The bytes for location to set.
+ * @return This builder for chaining.
*/
public Builder setLocationBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -791,6 +832,8 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
*
*
* string ip_address = 3;
+ *
+ * @return The ipAddress.
*/
public java.lang.String getIpAddress() {
java.lang.Object ref = ipAddress_;
@@ -815,6 +858,8 @@ public java.lang.String getIpAddress() {
*
*
* string ip_address = 3;
+ *
+ * @return The bytes for ipAddress.
*/
public com.google.protobuf.ByteString getIpAddressBytes() {
java.lang.Object ref = ipAddress_;
@@ -839,6 +884,9 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
*
*
* string ip_address = 3;
+ *
+ * @param value The ipAddress to set.
+ * @return This builder for chaining.
*/
public Builder setIpAddress(java.lang.String value) {
if (value == null) {
@@ -861,6 +909,8 @@ public Builder setIpAddress(java.lang.String value) {
*
*
* string ip_address = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIpAddress() {
@@ -880,6 +930,9 @@ public Builder clearIpAddress() {
*
*
* string ip_address = 3;
+ *
+ * @param value The bytes for ipAddress to set.
+ * @return This builder for chaining.
*/
public Builder setIpAddressBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java
index 4128ec26..b171677c 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java
@@ -31,6 +31,8 @@ public interface UptimeCheckIpOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @return The enum numeric value on the wire for region.
*/
int getRegionValue();
/**
@@ -41,6 +43,8 @@ public interface UptimeCheckIpOrBuilder
*
*
* .google.monitoring.v3.UptimeCheckRegion region = 1;
+ *
+ * @return The region.
*/
com.google.monitoring.v3.UptimeCheckRegion getRegion();
@@ -54,6 +58,8 @@ public interface UptimeCheckIpOrBuilder
*
*
* string location = 2;
+ *
+ * @return The location.
*/
java.lang.String getLocation();
/**
@@ -66,6 +72,8 @@ public interface UptimeCheckIpOrBuilder
*
*
* string location = 2;
+ *
+ * @return The bytes for location.
*/
com.google.protobuf.ByteString getLocationBytes();
@@ -81,6 +89,8 @@ public interface UptimeCheckIpOrBuilder
*
*
* string ip_address = 3;
+ *
+ * @return The ipAddress.
*/
java.lang.String getIpAddress();
/**
@@ -95,6 +105,8 @@ public interface UptimeCheckIpOrBuilder
*
*
* string ip_address = 3;
+ *
+ * @return The bytes for ipAddress.
*/
com.google.protobuf.ByteString getIpAddressBytes();
}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java
index 7455960a..7e575da6 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java
@@ -146,12 +146,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static UptimeCheckRegion valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static UptimeCheckRegion forNumber(int value) {
switch (value) {
case 0:
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 2f7a934b..cbccb731 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
@@ -132,21 +132,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "le.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\Mo"
+ "nitoring\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.MonitoredResourceProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.MonitoredResourceProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ });
internal_static_google_monitoring_v3_InternalChecker_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable =
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 1367d09b..8b0eba8a 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
@@ -132,25 +132,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ud.Monitoring.V3\312\002\032Google\\Cloud\\Monitori"
+ "ng\\V3b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.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(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.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);
internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable =
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 4d694d54..462793fa 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
@@ -43,6 +43,12 @@ private VerifyNotificationChannelRequest() {
code_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new VerifyNotificationChannelRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private VerifyNotificationChannelRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -145,6 +152,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -174,6 +183,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string code = 2;
+ *
+ * @return The code.
*/
public java.lang.String getCode() {
java.lang.Object ref = code_;
@@ -200,6 +211,8 @@ public java.lang.String getCode() {
*
*
* string code = 2;
+ *
+ * @return The bytes for code.
*/
public com.google.protobuf.ByteString getCodeBytes() {
java.lang.Object ref = code_;
@@ -557,6 +570,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -577,6 +592,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -597,6 +614,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -615,6 +635,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -630,6 +652,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -657,6 +682,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string code = 2;
+ *
+ * @return The code.
*/
public java.lang.String getCode() {
java.lang.Object ref = code_;
@@ -683,6 +710,8 @@ public java.lang.String getCode() {
*
*
* string code = 2;
+ *
+ * @return The bytes for code.
*/
public com.google.protobuf.ByteString getCodeBytes() {
java.lang.Object ref = code_;
@@ -709,6 +738,9 @@ public com.google.protobuf.ByteString getCodeBytes() {
*
*
* string code = 2;
+ *
+ * @param value The code to set.
+ * @return This builder for chaining.
*/
public Builder setCode(java.lang.String value) {
if (value == null) {
@@ -733,6 +765,8 @@ public Builder setCode(java.lang.String value) {
*
*
* string code = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCode() {
@@ -754,6 +788,9 @@ public Builder clearCode() {
*
*
* string code = 2;
+ *
+ * @param value The bytes for code to set.
+ * @return This builder for chaining.
*/
public Builder setCodeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
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 9c1a2cc5..5c5c152b 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
@@ -31,6 +31,8 @@ public interface VerifyNotificationChannelRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface VerifyNotificationChannelRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -58,6 +62,8 @@ public interface VerifyNotificationChannelRequestOrBuilder
*
*
* string code = 2;
+ *
+ * @return The code.
*/
java.lang.String getCode();
/**
@@ -74,6 +80,8 @@ public interface VerifyNotificationChannelRequestOrBuilder
*
*
* string code = 2;
+ *
+ * @return The bytes for code.
*/
com.google.protobuf.ByteString getCodeBytes();
}
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 5a20d3b2..2ae3e976 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
@@ -41,6 +41,12 @@ private WindowsBasedSli(com.google.protobuf.GeneratedMessageV3.Builder> builde
private WindowsBasedSli() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new WindowsBasedSli();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private WindowsBasedSli(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -197,6 +202,8 @@ public interface PerformanceThresholdOrBuilder
*
*
* .google.monitoring.v3.RequestBasedSli performance = 1;
+ *
+ * @return Whether the performance field is set.
*/
boolean hasPerformance();
/**
@@ -207,6 +214,8 @@ public interface PerformanceThresholdOrBuilder
*
*
* .google.monitoring.v3.RequestBasedSli performance = 1;
+ *
+ * @return The performance.
*/
com.google.monitoring.v3.RequestBasedSli getPerformance();
/**
@@ -228,6 +237,8 @@ public interface PerformanceThresholdOrBuilder
*
*
* .google.monitoring.v3.BasicSli basic_sli_performance = 3;
+ *
+ * @return Whether the basicSliPerformance field is set.
*/
boolean hasBasicSliPerformance();
/**
@@ -238,6 +249,8 @@ public interface PerformanceThresholdOrBuilder
*
*
* .google.monitoring.v3.BasicSli basic_sli_performance = 3;
+ *
+ * @return The basicSliPerformance.
*/
com.google.monitoring.v3.BasicSli getBasicSliPerformance();
/**
@@ -259,6 +272,8 @@ public interface PerformanceThresholdOrBuilder
*
*
* double threshold = 2;
+ *
+ * @return The threshold.
*/
double getThreshold();
@@ -286,6 +301,12 @@ private PerformanceThreshold(com.google.protobuf.GeneratedMessageV3.Builder> b
private PerformanceThreshold() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PerformanceThreshold();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -299,7 +320,6 @@ private PerformanceThreshold(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -384,7 +404,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PERFORMANCE(1),
BASIC_SLI_PERFORMANCE(3),
TYPE_NOT_SET(0);
@@ -393,7 +416,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -430,6 +457,8 @@ public TypeCase getTypeCase() {
*
*
* .google.monitoring.v3.RequestBasedSli performance = 1;
+ *
+ * @return Whether the performance field is set.
*/
public boolean hasPerformance() {
return typeCase_ == 1;
@@ -442,6 +471,8 @@ public boolean hasPerformance() {
*
*
* .google.monitoring.v3.RequestBasedSli performance = 1;
+ *
+ * @return The performance.
*/
public com.google.monitoring.v3.RequestBasedSli getPerformance() {
if (typeCase_ == 1) {
@@ -474,6 +505,8 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder
*
*
* .google.monitoring.v3.BasicSli basic_sli_performance = 3;
+ *
+ * @return Whether the basicSliPerformance field is set.
*/
public boolean hasBasicSliPerformance() {
return typeCase_ == 3;
@@ -486,6 +519,8 @@ public boolean hasBasicSliPerformance() {
*
*
* .google.monitoring.v3.BasicSli basic_sli_performance = 3;
+ *
+ * @return The basicSliPerformance.
*/
public com.google.monitoring.v3.BasicSli getBasicSliPerformance() {
if (typeCase_ == 3) {
@@ -519,6 +554,8 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilde
*
*
* double threshold = 2;
+ *
+ * @return The threshold.
*/
public double getThreshold() {
return threshold_;
@@ -954,6 +991,8 @@ public Builder clearType() {
*
*
* .google.monitoring.v3.RequestBasedSli performance = 1;
+ *
+ * @return Whether the performance field is set.
*/
public boolean hasPerformance() {
return typeCase_ == 1;
@@ -966,6 +1005,8 @@ public boolean hasPerformance() {
*
*
* .google.monitoring.v3.RequestBasedSli performance = 1;
+ *
+ * @return The performance.
*/
public com.google.monitoring.v3.RequestBasedSli getPerformance() {
if (performanceBuilder_ == null) {
@@ -1156,6 +1197,8 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder
*
*
* .google.monitoring.v3.BasicSli basic_sli_performance = 3;
+ *
+ * @return Whether the basicSliPerformance field is set.
*/
public boolean hasBasicSliPerformance() {
return typeCase_ == 3;
@@ -1168,6 +1211,8 @@ public boolean hasBasicSliPerformance() {
*
*
* .google.monitoring.v3.BasicSli basic_sli_performance = 3;
+ *
+ * @return The basicSliPerformance.
*/
public com.google.monitoring.v3.BasicSli getBasicSliPerformance() {
if (basicSliPerformanceBuilder_ == null) {
@@ -1351,6 +1396,8 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilde
*
*
* double threshold = 2;
+ *
+ * @return The threshold.
*/
public double getThreshold() {
return threshold_;
@@ -1363,6 +1410,9 @@ public double getThreshold() {
*
*
* double threshold = 2;
+ *
+ * @param value The threshold to set.
+ * @return This builder for chaining.
*/
public Builder setThreshold(double value) {
@@ -1378,6 +1428,8 @@ public Builder setThreshold(double value) {
*
*
* double threshold = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearThreshold() {
@@ -1455,6 +1507,8 @@ public interface MetricRangeOrBuilder
*
*
* string time_series = 1;
+ *
+ * @return The timeSeries.
*/
java.lang.String getTimeSeries();
/**
@@ -1466,6 +1520,8 @@ public interface MetricRangeOrBuilder
*
*
* string time_series = 1;
+ *
+ * @return The bytes for timeSeries.
*/
com.google.protobuf.ByteString getTimeSeriesBytes();
@@ -1478,6 +1534,8 @@ public interface MetricRangeOrBuilder
*
*
* .google.monitoring.v3.Range range = 4;
+ *
+ * @return Whether the range field is set.
*/
boolean hasRange();
/**
@@ -1489,6 +1547,8 @@ public interface MetricRangeOrBuilder
*
*
* .google.monitoring.v3.Range range = 4;
+ *
+ * @return The range.
*/
com.google.monitoring.v3.Range getRange();
/**
@@ -1529,6 +1589,12 @@ private MetricRange() {
timeSeries_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MetricRange();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1542,7 +1608,6 @@ private MetricRange(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -1620,6 +1685,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string time_series = 1;
+ *
+ * @return The timeSeries.
*/
public java.lang.String getTimeSeries() {
java.lang.Object ref = timeSeries_;
@@ -1641,6 +1708,8 @@ public java.lang.String getTimeSeries() {
*
*
* string time_series = 1;
+ *
+ * @return The bytes for timeSeries.
*/
public com.google.protobuf.ByteString getTimeSeriesBytes() {
java.lang.Object ref = timeSeries_;
@@ -1665,6 +1734,8 @@ public com.google.protobuf.ByteString getTimeSeriesBytes() {
*
*
* .google.monitoring.v3.Range range = 4;
+ *
+ * @return Whether the range field is set.
*/
public boolean hasRange() {
return range_ != null;
@@ -1678,6 +1749,8 @@ public boolean hasRange() {
*
*
* .google.monitoring.v3.Range range = 4;
+ *
+ * @return The range.
*/
public com.google.monitoring.v3.Range getRange() {
return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_;
@@ -2060,6 +2133,8 @@ public Builder mergeFrom(
*
*
* string time_series = 1;
+ *
+ * @return The timeSeries.
*/
public java.lang.String getTimeSeries() {
java.lang.Object ref = timeSeries_;
@@ -2081,6 +2156,8 @@ public java.lang.String getTimeSeries() {
*
*
* string time_series = 1;
+ *
+ * @return The bytes for timeSeries.
*/
public com.google.protobuf.ByteString getTimeSeriesBytes() {
java.lang.Object ref = timeSeries_;
@@ -2102,6 +2179,9 @@ public com.google.protobuf.ByteString getTimeSeriesBytes() {
*
*
* string time_series = 1;
+ *
+ * @param value The timeSeries to set.
+ * @return This builder for chaining.
*/
public Builder setTimeSeries(java.lang.String value) {
if (value == null) {
@@ -2121,6 +2201,8 @@ public Builder setTimeSeries(java.lang.String value) {
*
*
* string time_series = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTimeSeries() {
@@ -2137,6 +2219,9 @@ public Builder clearTimeSeries() {
*
*
* string time_series = 1;
+ *
+ * @param value The bytes for timeSeries to set.
+ * @return This builder for chaining.
*/
public Builder setTimeSeriesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2164,6 +2249,8 @@ public Builder setTimeSeriesBytes(com.google.protobuf.ByteString value) {
*
*
* .google.monitoring.v3.Range range = 4;
+ *
+ * @return Whether the range field is set.
*/
public boolean hasRange() {
return rangeBuilder_ != null || range_ != null;
@@ -2177,6 +2264,8 @@ public boolean hasRange() {
*
*
* .google.monitoring.v3.Range range = 4;
+ *
+ * @return The range.
*/
public com.google.monitoring.v3.Range getRange() {
if (rangeBuilder_ == null) {
@@ -2388,7 +2477,10 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getDefaultInstanceFo
private int windowCriterionCase_ = 0;
private java.lang.Object windowCriterion_;
- public enum WindowCriterionCase implements com.google.protobuf.Internal.EnumLite {
+ public enum WindowCriterionCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
GOOD_BAD_METRIC_FILTER(5),
GOOD_TOTAL_RATIO_THRESHOLD(2),
METRIC_MEAN_IN_RANGE(6),
@@ -2399,7 +2491,11 @@ public enum WindowCriterionCase implements com.google.protobuf.Internal.EnumLite
private WindowCriterionCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static WindowCriterionCase valueOf(int value) {
return forNumber(value);
@@ -2442,6 +2538,8 @@ public WindowCriterionCase getWindowCriterionCase() {
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @return The goodBadMetricFilter.
*/
public java.lang.String getGoodBadMetricFilter() {
java.lang.Object ref = "";
@@ -2469,6 +2567,8 @@ public java.lang.String getGoodBadMetricFilter() {
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @return The bytes for goodBadMetricFilter.
*/
public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() {
java.lang.Object ref = "";
@@ -2498,6 +2598,8 @@ public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() {
*
* .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
*
+ *
+ * @return Whether the goodTotalRatioThreshold field is set.
*/
public boolean hasGoodTotalRatioThreshold() {
return windowCriterionCase_ == 2;
@@ -2512,6 +2614,8 @@ public boolean hasGoodTotalRatioThreshold() {
*
* .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
*
+ *
+ * @return The goodTotalRatioThreshold.
*/
public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold
getGoodTotalRatioThreshold() {
@@ -2549,6 +2653,8 @@ public boolean hasGoodTotalRatioThreshold() {
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
+ *
+ * @return Whether the metricMeanInRange field is set.
*/
public boolean hasMetricMeanInRange() {
return windowCriterionCase_ == 6;
@@ -2562,6 +2668,8 @@ public boolean hasMetricMeanInRange() {
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
+ *
+ * @return The metricMeanInRange.
*/
public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange() {
if (windowCriterionCase_ == 6) {
@@ -2597,6 +2705,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
+ *
+ * @return Whether the metricSumInRange field is set.
*/
public boolean hasMetricSumInRange() {
return windowCriterionCase_ == 7;
@@ -2610,6 +2720,8 @@ public boolean hasMetricSumInRange() {
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
+ *
+ * @return The metricSumInRange.
*/
public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange() {
if (windowCriterionCase_ == 7) {
@@ -2646,6 +2758,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange(
*
*
* .google.protobuf.Duration window_period = 4;
+ *
+ * @return Whether the windowPeriod field is set.
*/
public boolean hasWindowPeriod() {
return windowPeriod_ != null;
@@ -2659,6 +2773,8 @@ public boolean hasWindowPeriod() {
*
*
* .google.protobuf.Duration window_period = 4;
+ *
+ * @return The windowPeriod.
*/
public com.google.protobuf.Duration getWindowPeriod() {
return windowPeriod_ == null
@@ -3157,6 +3273,8 @@ public Builder clearWindowCriterion() {
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @return The goodBadMetricFilter.
*/
public java.lang.String getGoodBadMetricFilter() {
java.lang.Object ref = "";
@@ -3184,6 +3302,8 @@ public java.lang.String getGoodBadMetricFilter() {
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @return The bytes for goodBadMetricFilter.
*/
public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() {
java.lang.Object ref = "";
@@ -3211,6 +3331,9 @@ public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() {
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @param value The goodBadMetricFilter to set.
+ * @return This builder for chaining.
*/
public Builder setGoodBadMetricFilter(java.lang.String value) {
if (value == null) {
@@ -3231,6 +3354,8 @@ public Builder setGoodBadMetricFilter(java.lang.String value) {
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGoodBadMetricFilter() {
if (windowCriterionCase_ == 5) {
@@ -3250,6 +3375,9 @@ public Builder clearGoodBadMetricFilter() {
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @param value The bytes for goodBadMetricFilter to set.
+ * @return This builder for chaining.
*/
public Builder setGoodBadMetricFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3277,6 +3405,8 @@ public Builder setGoodBadMetricFilterBytes(com.google.protobuf.ByteString value)
*
* .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
*
+ *
+ * @return Whether the goodTotalRatioThreshold field is set.
*/
public boolean hasGoodTotalRatioThreshold() {
return windowCriterionCase_ == 2;
@@ -3291,6 +3421,8 @@ public boolean hasGoodTotalRatioThreshold() {
*
* .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
*
+ *
+ * @return The goodTotalRatioThreshold.
*/
public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold
getGoodTotalRatioThreshold() {
@@ -3505,6 +3637,8 @@ public Builder clearGoodTotalRatioThreshold() {
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
+ *
+ * @return Whether the metricMeanInRange field is set.
*/
public boolean hasMetricMeanInRange() {
return windowCriterionCase_ == 6;
@@ -3518,6 +3652,8 @@ public boolean hasMetricMeanInRange() {
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
+ *
+ * @return The metricMeanInRange.
*/
public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange() {
if (metricMeanInRangeBuilder_ == null) {
@@ -3722,6 +3858,8 @@ public Builder clearMetricMeanInRange() {
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
+ *
+ * @return Whether the metricSumInRange field is set.
*/
public boolean hasMetricSumInRange() {
return windowCriterionCase_ == 7;
@@ -3735,6 +3873,8 @@ public boolean hasMetricSumInRange() {
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
+ *
+ * @return The metricSumInRange.
*/
public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange() {
if (metricSumInRangeBuilder_ == null) {
@@ -3939,6 +4079,8 @@ public Builder clearMetricSumInRange() {
*
*
* .google.protobuf.Duration window_period = 4;
+ *
+ * @return Whether the windowPeriod field is set.
*/
public boolean hasWindowPeriod() {
return windowPeriodBuilder_ != null || windowPeriod_ != null;
@@ -3952,6 +4094,8 @@ public boolean hasWindowPeriod() {
*
*
* .google.protobuf.Duration window_period = 4;
+ *
+ * @return The windowPeriod.
*/
public com.google.protobuf.Duration getWindowPeriod() {
if (windowPeriodBuilder_ == null) {
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 e7b27710..347493bc 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
@@ -33,6 +33,8 @@ public interface WindowsBasedSliOrBuilder
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @return The goodBadMetricFilter.
*/
java.lang.String getGoodBadMetricFilter();
/**
@@ -45,6 +47,8 @@ public interface WindowsBasedSliOrBuilder
*
*
* string good_bad_metric_filter = 5;
+ *
+ * @return The bytes for goodBadMetricFilter.
*/
com.google.protobuf.ByteString getGoodBadMetricFilterBytes();
@@ -58,6 +62,8 @@ public interface WindowsBasedSliOrBuilder
*
* .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
*
+ *
+ * @return Whether the goodTotalRatioThreshold field is set.
*/
boolean hasGoodTotalRatioThreshold();
/**
@@ -70,6 +76,8 @@ public interface WindowsBasedSliOrBuilder
*
* .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2;
*
+ *
+ * @return The goodTotalRatioThreshold.
*/
com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold();
/**
@@ -95,6 +103,8 @@ public interface WindowsBasedSliOrBuilder
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
+ *
+ * @return Whether the metricMeanInRange field is set.
*/
boolean hasMetricMeanInRange();
/**
@@ -106,6 +116,8 @@ public interface WindowsBasedSliOrBuilder
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
+ *
+ * @return The metricMeanInRange.
*/
com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange();
/**
@@ -129,6 +141,8 @@ public interface WindowsBasedSliOrBuilder
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
+ *
+ * @return Whether the metricSumInRange field is set.
*/
boolean hasMetricSumInRange();
/**
@@ -140,6 +154,8 @@ public interface WindowsBasedSliOrBuilder
*
*
* .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
+ *
+ * @return The metricSumInRange.
*/
com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange();
/**
@@ -163,6 +179,8 @@ public interface WindowsBasedSliOrBuilder
*
*
* .google.protobuf.Duration window_period = 4;
+ *
+ * @return Whether the windowPeriod field is set.
*/
boolean hasWindowPeriod();
/**
@@ -174,6 +192,8 @@ public interface WindowsBasedSliOrBuilder
*
*
* .google.protobuf.Duration window_period = 4;
+ *
+ * @return The windowPeriod.
*/
com.google.protobuf.Duration getWindowPeriod();
/**
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 a4ea225d..fc811a01 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
@@ -302,8 +302,8 @@ message AlertPolicy {
// conditions.
repeated Condition conditions = 12;
- // How to combine the results of multiple conditions
- // to determine if an incident should be opened.
+ // How to combine the results of multiple conditions to determine if an
+ // incident should be opened.
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/service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto
index 7de20331..b0daa551 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
@@ -151,7 +151,7 @@ message ServiceLevelObjective {
ServiceLevelIndicator service_level_indicator = 3;
// The fraction of service that must be good in order for this objective to be
- // met. `0 < goal <= 1`.
+ // met. `0 < goal <= 0.999`.
double goal = 4;
// The time period over which the objective will be evaluated.
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 eb424e97..780a2578 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
@@ -83,27 +83,6 @@ message InternalChecker {
State state = 7;
}
-// 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;
-}
-
// This message configures which resources and services to monitor for
// availability.
message UptimeCheckConfig {
@@ -304,6 +283,27 @@ 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;
+
+ // 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;
+}
+
// Contains the region, location, and list of IP
// addresses where checkers in the location run from.
message UptimeCheckIp {
diff --git a/synth.metadata b/synth.metadata
index aaf29309..134442f2 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-11-19T19:54:11.687742Z",
+ "updateTime": "2019-12-12T08:46:49.606420Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.42.1",
- "dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57"
+ "version": "0.42.2",
+ "dockerImage": "googleapis/artman@sha256:a86051ce32e2454ca2558ec9e437d46c2184b6dd291f57b0686676d77242658e"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "5af83f47b9656261cafcf88b0b3334521ab266b3",
- "internalRef": "281334391"
+ "sha": "19c4589a3cb44b3679f7b3fba88365b3d055d5f8",
+ "internalRef": "285013366"
}
},
{