Map < String , String > function ( ) { return labels ; }
returns the values for all the labels required by the corresponding monitored resource descriptor see monitoredresourcedescriptor #getlabels . for example , google compute engine vm instances use the labels instance_id and zone . concode_field_sep long serialVersionUID concode_elem_sep Map<String,String> labels concode_elem_sep String type concode_elem_sep Map<String,String> labels concode_field_sep Builder toBuilder concode_elem_sep Builder setType concode_elem_sep Builder newBuilder concode_elem_sep Builder addLabel concode_elem_sep MonitoredResource fromPb concode_elem_sep MonitoredResource build concode_elem_sep String getType concode_elem_sep Builder clearLabels concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep MonitoredResource of concode_elem_sep String toString concode_elem_sep com.google.api.MonitoredResource toPb concode_elem_sep Builder setLabels