Interface MetricsScopeOrBuilder

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

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

      • getName

        String getName()
         Immutable. The resource name of the Monitoring Metrics Scope.
         On input, the resource name can be specified with the
         scoping project ID or number. On output, the resource name is
         specified with the scoping project number.
         Example:
         `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Immutable. The resource name of the Monitoring Metrics Scope.
         On input, the resource name can be specified with the
         scoping project ID or number. On output, the resource name is
         specified with the scoping project number.
         Example:
         `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for name.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The time when this `Metrics Scope` was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The time when this `Metrics Scope` was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time when this `Metrics Scope` was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. The time when this `Metrics Scope` record was last updated.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time when this `Metrics Scope` record was last updated.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time when this `Metrics Scope` record was last updated.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMonitoredProjectsList

        List<MonitoredProject> getMonitoredProjectsList()
         Output only. The list of projects monitored by this `Metrics Scope`.
         
        repeated .google.monitoring.metricsscope.v1.MonitoredProject monitored_projects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMonitoredProjects

        MonitoredProject getMonitoredProjects​(int index)
         Output only. The list of projects monitored by this `Metrics Scope`.
         
        repeated .google.monitoring.metricsscope.v1.MonitoredProject monitored_projects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMonitoredProjectsCount

        int getMonitoredProjectsCount()
         Output only. The list of projects monitored by this `Metrics Scope`.
         
        repeated .google.monitoring.metricsscope.v1.MonitoredProject monitored_projects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMonitoredProjectsOrBuilderList

        List<? extends MonitoredProjectOrBuilder> getMonitoredProjectsOrBuilderList()
         Output only. The list of projects monitored by this `Metrics Scope`.
         
        repeated .google.monitoring.metricsscope.v1.MonitoredProject monitored_projects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMonitoredProjectsOrBuilder

        MonitoredProjectOrBuilder getMonitoredProjectsOrBuilder​(int index)
         Output only. The list of projects monitored by this `Metrics Scope`.
         
        repeated .google.monitoring.metricsscope.v1.MonitoredProject monitored_projects = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];