Package com.google.monitoring.v3
Class MetricDescriptorName
- java.lang.Object
-
- com.google.monitoring.v3.MetricDescriptorName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class MetricDescriptorName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricDescriptorName.Builder
Builder for projects/{project}/metricDescriptors/{metric_descriptor=**}.static class
MetricDescriptorName.FolderMetricDescriptorBuilder
Builder for folders/{folder}/metricDescriptors/{metric_descriptor=**}.static class
MetricDescriptorName.OrganizationMetricDescriptorBuilder
Builder for organizations/{organization}/metricDescriptors/{metric_descriptor=**}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetricDescriptorName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
MetricDescriptorName
@Deprecated protected MetricDescriptorName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getMetricDescriptor
public String getMetricDescriptor()
-
getOrganization
public String getOrganization()
-
getFolder
public String getFolder()
-
newBuilder
public static MetricDescriptorName.Builder newBuilder()
-
newProjectMetricDescriptorBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static MetricDescriptorName.Builder newProjectMetricDescriptorBuilder()
-
newOrganizationMetricDescriptorBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static MetricDescriptorName.OrganizationMetricDescriptorBuilder newOrganizationMetricDescriptorBuilder()
-
newFolderMetricDescriptorBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static MetricDescriptorName.FolderMetricDescriptorBuilder newFolderMetricDescriptorBuilder()
-
toBuilder
public MetricDescriptorName.Builder toBuilder()
-
of
public static MetricDescriptorName of(String project, String metricDescriptor)
-
ofProjectMetricDescriptorName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static MetricDescriptorName ofProjectMetricDescriptorName(String project, String metricDescriptor)
-
ofOrganizationMetricDescriptorName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static MetricDescriptorName ofOrganizationMetricDescriptorName(String organization, String metricDescriptor)
-
ofFolderMetricDescriptorName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static MetricDescriptorName ofFolderMetricDescriptorName(String folder, String metricDescriptor)
-
formatProjectMetricDescriptorName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectMetricDescriptorName(String project, String metricDescriptor)
-
formatOrganizationMetricDescriptorName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationMetricDescriptorName(String organization, String metricDescriptor)
-
formatFolderMetricDescriptorName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderMetricDescriptorName(String folder, String metricDescriptor)
-
parse
public static MetricDescriptorName parse(String formattedString)
-
parseList
public static List<MetricDescriptorName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<MetricDescriptorName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-