public Metric update() {
    // [START update]
    Metric updatedMetric =
        metric.toBuilder().setDescription("A more detailed description").build().update();
    // [END update]
    return updatedMetric;
  }
public Metric update ( ) { Metric updatedMetric = metric . toBuilder ( ) . setDescription ( "A more detailed description" ) . build ( ) . update ( ) ; return updatedMetric ; }
[TARGET update()]