@java.lang.Override public Builder newBuilderForType() { return newBuilder(); }
@java.lang.Override public com.google.monitoring.v3.TimeInterval buildPartial() { com.google.monitoring.v3.TimeInterval result = new com.google.monitoring.v3.TimeInterval(this); if (endTimeBuilder_ == null) { result.endTime_ = endTime_; } else { result.endTime_ = endTimeBuilder_.build(); } if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { result.startTime_ = startTimeBuilder_.build(); } onBuilt(); return result; }
public Builder mergeFrom(com.google.monitoring.v3.TimeInterval other) { if (other == com.google.monitoring.v3.TimeInterval.getDefaultInstance()) return this; if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } if (endTime_ != null) { output.writeMessage(2, getEndTime()); } unknownFields.writeTo(output); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.TimeInterval)) { return super.equals(obj); } com.google.monitoring.v3.TimeInterval other = (com.google.monitoring.v3.TimeInterval) obj; boolean result = true; result = result && (hasEndTime() == other.hasEndTime()); if (hasEndTime()) { result = result && getEndTime().equals(other.getEndTime()); } result = result && (hasStartTime() == other.hasStartTime()); if (hasStartTime()) { result = result && getStartTime().equals(other.getStartTime()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public com.google.monitoring.v3.TimeInterval getDefaultInstanceForType() { return com.google.monitoring.v3.TimeInterval.getDefaultInstance(); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.ListGroupMembersRequest)) { return super.equals(obj); } com.google.monitoring.v3.ListGroupMembersRequest other = (com.google.monitoring.v3.ListGroupMembersRequest) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken().equals(other.getPageToken()); result = result && getFilter().equals(other.getFilter()); result = result && (hasInterval() == other.hasInterval()); if (hasInterval()) { result = result && getInterval().equals(other.getInterval()); } result = result && unknownFields.equals(other.unknownFields); return result; }
/** * * * <pre> * Required. The end of the time interval. * </pre> * * <code>.google.protobuf.Timestamp end_time = 2;</code> */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return getEndTime(); }
/** * * * <pre> * Optional. The beginning of the time interval. The default value * for the start time is the end time. The start time must not be * later than the end time. * </pre> * * <code>.google.protobuf.Timestamp start_time = 1;</code> */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); }
/** * * * <pre> * The time interval for which results should be returned. Only time series * that contain data points in the specified interval are included * in the response. * </pre> * * <code>.google.monitoring.v3.TimeInterval interval = 4;</code> */ public com.google.monitoring.v3.TimeInterval getInterval() { return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } /**
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (startTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.Point)) { return super.equals(obj); } com.google.monitoring.v3.Point other = (com.google.monitoring.v3.Point) obj; boolean result = true; result = result && (hasInterval() == other.hasInterval()); if (hasInterval()) { result = result && getInterval().equals(other.getInterval()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue().equals(other.getValue()); } result = result && unknownFields.equals(other.unknownFields); return result; }
/** * <pre> * Required. The end of the time interval. * </pre> * * <code>optional .google.protobuf.Timestamp end_time = 2;</code> */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return getEndTime(); }
/** * <pre> * Optional. The beginning of the time interval. The default value * for the start time is the end time. The start time must not be * later than the end time. * </pre> * * <code>optional .google.protobuf.Timestamp start_time = 1;</code> */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); }
/** * * * <pre> * An optional time interval for which results should be returned. Only * members that were part of the group during the specified interval are * included in the response. If no interval is provided then the group * membership over the last minute is returned. * </pre> * * <code>.google.monitoring.v3.TimeInterval interval = 6;</code> */ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) { if (intervalBuilder_ == null) { if (interval_ != null) { interval_ = com.google.monitoring.v3.TimeInterval.newBuilder(interval_) .mergeFrom(value) .buildPartial(); } else { interval_ = value; } onChanged(); } else { intervalBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * An optional time interval for which results should be returned. Only * members that were part of the group during the specified interval are * included in the response. If no interval is provided then the group * membership over the last minute is returned. * </pre> * * <code>.google.monitoring.v3.TimeInterval interval = 6;</code> */ public com.google.monitoring.v3.TimeInterval getInterval() { return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } /**
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } if (endTime_ != null) { output.writeMessage(2, getEndTime()); } }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.monitoring.v3.ListTimeSeriesRequest)) { return super.equals(obj); } com.google.monitoring.v3.ListTimeSeriesRequest other = (com.google.monitoring.v3.ListTimeSeriesRequest) obj; boolean result = true; result = result && getName().equals(other.getName()); result = result && getFilter().equals(other.getFilter()); result = result && (hasInterval() == other.hasInterval()); if (hasInterval()) { result = result && getInterval().equals(other.getInterval()); } result = result && (hasAggregation() == other.hasAggregation()); if (hasAggregation()) { result = result && getAggregation().equals(other.getAggregation()); } result = result && getOrderBy().equals(other.getOrderBy()); result = result && view_ == other.view_; result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken().equals(other.getPageToken()); result = result && unknownFields.equals(other.unknownFields); return result; }
public com.google.monitoring.v3.TimeInterval buildPartial() { com.google.monitoring.v3.TimeInterval result = new com.google.monitoring.v3.TimeInterval(this); if (endTimeBuilder_ == null) { result.endTime_ = endTime_; } else { result.endTime_ = endTimeBuilder_.build(); } if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { result.startTime_ = startTimeBuilder_.build(); } onBuilt(); return result; }
/** * * * <pre> * The time interval for which results should be returned. Only time series * that contain data points in the specified interval are included * in the response. * </pre> * * <code>.google.monitoring.v3.TimeInterval interval = 4;</code> */ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) { if (intervalBuilder_ == null) { if (interval_ != null) { interval_ = com.google.monitoring.v3.TimeInterval.newBuilder(interval_) .mergeFrom(value) .buildPartial(); } else { interval_ = value; } onChanged(); } else { intervalBuilder_.mergeFrom(value); } return this; } /**