Interface CreateServiceRequestOrBuilder

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

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

      • getParent

        String getParent()
         Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
         the parent workspace. The format is:
        
             projects/[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. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
         the parent workspace. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • getServiceId

        String getServiceId()
         Optional. The Service id to use for this Service. If omitted, an id will be
         generated instead. Must match the pattern `[a-z0-9\-]+`
         
        string service_id = 3;
        Returns:
        The serviceId.
      • getServiceIdBytes

        com.google.protobuf.ByteString getServiceIdBytes()
         Optional. The Service id to use for this Service. If omitted, an id will be
         generated instead. Must match the pattern `[a-z0-9\-]+`
         
        string service_id = 3;
        Returns:
        The bytes for serviceId.
      • hasService

        boolean hasService()
         Required. The `Service` to create.
         
        .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the service field is set.
      • getService

        Service getService()
         Required. The `Service` to create.
         
        .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The service.
      • getServiceOrBuilder

        ServiceOrBuilder getServiceOrBuilder()
         Required. The `Service` to create.
         
        .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED];