com.google.api.servicecontrol.v1.MetricValueOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-service-control-v1 Show documentation
Show all versions of proto-google-cloud-service-control-v1 Show documentation
Proto library for google-cloud-service-control
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicecontrol/v1/metric_value.proto
// Protobuf Java Version: 3.25.5
package com.google.api.servicecontrol.v1;
public interface MetricValueOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.MetricValue)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The labels describing the metric value.
* See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
* the overriding relationship.
* Note that this map must not contain monitored resource labels.
*
*
* map<string, string> labels = 1;
*/
int getLabelsCount();
/**
*
*
*
* The labels describing the metric value.
* See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
* the overriding relationship.
* Note that this map must not contain monitored resource labels.
*
*
* map<string, string> labels = 1;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* The labels describing the metric value.
* See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
* the overriding relationship.
* Note that this map must not contain monitored resource labels.
*
*
* map<string, string> labels = 1;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* The labels describing the metric value.
* See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
* the overriding relationship.
* Note that this map must not contain monitored resource labels.
*
*
* map<string, string> labels = 1;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* The labels describing the metric value.
* See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
* the overriding relationship.
* Note that this map must not contain monitored resource labels.
*
*
* map<string, string> labels = 1;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* The start of the time period over which this metric value's measurement
* applies. The time period has different semantics for different metric
* types (cumulative, delta, and gauge). See the metric definition
* documentation in the service configuration for details. If not specified,
* [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
*
*
* .google.protobuf.Timestamp start_time = 2;
*
* @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
*
*
*
* The start of the time period over which this metric value's measurement
* applies. The time period has different semantics for different metric
* types (cumulative, delta, and gauge). See the metric definition
* documentation in the service configuration for details. If not specified,
* [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
*
*
* .google.protobuf.Timestamp start_time = 2;
*
* @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
*
*
*
* The start of the time period over which this metric value's measurement
* applies. The time period has different semantics for different metric
* types (cumulative, delta, and gauge). See the metric definition
* documentation in the service configuration for details. If not specified,
* [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
*
*
* .google.protobuf.Timestamp start_time = 2;
*/
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
/**
*
*
*
* The end of the time period over which this metric value's measurement
* applies. If not specified,
* [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
*
*
* .google.protobuf.Timestamp end_time = 3;
*
* @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
*
*
*
* The end of the time period over which this metric value's measurement
* applies. If not specified,
* [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
*
*
* .google.protobuf.Timestamp end_time = 3;
*
* @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
*
*
*
* The end of the time period over which this metric value's measurement
* applies. If not specified,
* [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
*
*
* .google.protobuf.Timestamp end_time = 3;
*/
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
/**
*
*
*
* A boolean value.
*
*
* bool bool_value = 4;
*
* @return Whether the boolValue field is set.
*/
boolean hasBoolValue();
/**
*
*
*
* A boolean value.
*
*
* bool bool_value = 4;
*
* @return The boolValue.
*/
boolean getBoolValue();
/**
*
*
*
* A signed 64-bit integer value.
*
*
* int64 int64_value = 5;
*
* @return Whether the int64Value field is set.
*/
boolean hasInt64Value();
/**
*
*
*
* A signed 64-bit integer value.
*
*
* int64 int64_value = 5;
*
* @return The int64Value.
*/
long getInt64Value();
/**
*
*
*
* A double precision floating point value.
*
*
* double double_value = 6;
*
* @return Whether the doubleValue field is set.
*/
boolean hasDoubleValue();
/**
*
*
*
* A double precision floating point value.
*
*
* double double_value = 6;
*
* @return The doubleValue.
*/
double getDoubleValue();
/**
*
*
*
* A text string value.
*
*
* string string_value = 7;
*
* @return Whether the stringValue field is set.
*/
boolean hasStringValue();
/**
*
*
*
* A text string value.
*
*
* string string_value = 7;
*
* @return The stringValue.
*/
java.lang.String getStringValue();
/**
*
*
*
* A text string value.
*
*
* string string_value = 7;
*
* @return The bytes for stringValue.
*/
com.google.protobuf.ByteString getStringValueBytes();
/**
*
*
*
* A distribution value.
*
*
* .google.api.servicecontrol.v1.Distribution distribution_value = 8;
*
* @return Whether the distributionValue field is set.
*/
boolean hasDistributionValue();
/**
*
*
*
* A distribution value.
*
*
* .google.api.servicecontrol.v1.Distribution distribution_value = 8;
*
* @return The distributionValue.
*/
com.google.api.servicecontrol.v1.Distribution getDistributionValue();
/**
*
*
*
* A distribution value.
*
*
* .google.api.servicecontrol.v1.Distribution distribution_value = 8;
*/
com.google.api.servicecontrol.v1.DistributionOrBuilder getDistributionValueOrBuilder();
com.google.api.servicecontrol.v1.MetricValue.ValueCase getValueCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy