Interface CreateMonitoredProjectRequestOrBuilder

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

@Generated public interface CreateMonitoredProjectRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The resource name of the existing `Metrics Scope` that will monitor this
       project.
       Example:
       `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the existing `Metrics Scope` that will monitor this
       project.
       Example:
       `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasMonitoredProject

      boolean hasMonitoredProject()
       Required. The initial `MonitoredProject` configuration.
       Specify only the `monitored_project.name` field. All other fields are
       ignored. The `monitored_project.name` must be in the format:
       `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
       
      .google.monitoring.metricsscope.v1.MonitoredProject monitored_project = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the monitoredProject field is set.
    • getMonitoredProject

      MonitoredProject getMonitoredProject()
       Required. The initial `MonitoredProject` configuration.
       Specify only the `monitored_project.name` field. All other fields are
       ignored. The `monitored_project.name` must be in the format:
       `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
       
      .google.monitoring.metricsscope.v1.MonitoredProject monitored_project = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The monitoredProject.
    • getMonitoredProjectOrBuilder

      MonitoredProjectOrBuilder getMonitoredProjectOrBuilder()
       Required. The initial `MonitoredProject` configuration.
       Specify only the `monitored_project.name` field. All other fields are
       ignored. The `monitored_project.name` must be in the format:
       `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
       
      .google.monitoring.metricsscope.v1.MonitoredProject monitored_project = 2 [(.google.api.field_behavior) = REQUIRED];