Interface CreateTimeSeriesRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CreateTimeSeriesRequest, CreateTimeSeriesRequest.Builder

    public interface CreateTimeSeriesRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
         which to execute the request. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]
         
        string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
         which to execute the request. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]
         
        string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getTimeSeriesList

        List<TimeSeries> getTimeSeriesList()
         Required. The new data to be added to a list of time series.
         Adds at most one data point to each of several time series.  The new data
         point must be more recent than any other point in its time series.  Each
         `TimeSeries` value must fully specify a unique time series by supplying
         all label values for the metric and the monitored resource.
        
         The maximum number of `TimeSeries` objects per `Create` request is 200.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED];
      • getTimeSeries

        TimeSeries getTimeSeries​(int index)
         Required. The new data to be added to a list of time series.
         Adds at most one data point to each of several time series.  The new data
         point must be more recent than any other point in its time series.  Each
         `TimeSeries` value must fully specify a unique time series by supplying
         all label values for the metric and the monitored resource.
        
         The maximum number of `TimeSeries` objects per `Create` request is 200.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED];
      • getTimeSeriesCount

        int getTimeSeriesCount()
         Required. The new data to be added to a list of time series.
         Adds at most one data point to each of several time series.  The new data
         point must be more recent than any other point in its time series.  Each
         `TimeSeries` value must fully specify a unique time series by supplying
         all label values for the metric and the monitored resource.
        
         The maximum number of `TimeSeries` objects per `Create` request is 200.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED];
      • getTimeSeriesOrBuilderList

        List<? extends TimeSeriesOrBuilder> getTimeSeriesOrBuilderList()
         Required. The new data to be added to a list of time series.
         Adds at most one data point to each of several time series.  The new data
         point must be more recent than any other point in its time series.  Each
         `TimeSeries` value must fully specify a unique time series by supplying
         all label values for the metric and the monitored resource.
        
         The maximum number of `TimeSeries` objects per `Create` request is 200.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED];
      • getTimeSeriesOrBuilder

        TimeSeriesOrBuilder getTimeSeriesOrBuilder​(int index)
         Required. The new data to be added to a list of time series.
         Adds at most one data point to each of several time series.  The new data
         point must be more recent than any other point in its time series.  Each
         `TimeSeries` value must fully specify a unique time series by supplying
         all label values for the metric and the monitored resource.
        
         The maximum number of `TimeSeries` objects per `Create` request is 200.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED];