Package com.google.api
Interface MonitoredResourceDescriptorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MonitoredResourceDescriptor
,MonitoredResourceDescriptor.Builder
public interface MonitoredResourceDescriptorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.LabelDescriptor
getLabels(int index)
Required.int
getLabelsCount()
Required.List<LabelDescriptor>
getLabelsList()
Required.LabelDescriptorOrBuilder
getLabelsOrBuilder(int index)
Required.List<? extends LabelDescriptorOrBuilder>
getLabelsOrBuilderList()
Required.LaunchStage
getLaunchStage()
Optional.int
getLaunchStageValue()
Optional.String
getName()
Optional.com.google.protobuf.ByteString
getNameBytes()
Optional.String
getType()
Required.com.google.protobuf.ByteString
getTypeBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`.
string name = 5;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`.
string name = 5;
- Returns:
- The bytes for name.
-
getType
String getType()
Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).
string type = 1;
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).
string type = 1;
- Returns:
- The bytes for type.
-
getDisplayName
String getDisplayName()
Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `"Google Cloud SQL Database"`.
string display_name = 2;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `"Google Cloud SQL Database"`.
string display_name = 2;
- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
Optional. A detailed description of the monitored resource type that might be used in documentation.
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. A detailed description of the monitored resource type that might be used in documentation.
string description = 3;
- Returns:
- The bytes for description.
-
getLabelsList
List<LabelDescriptor> getLabelsList()
Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`.
repeated .google.api.LabelDescriptor labels = 4;
-
getLabels
LabelDescriptor getLabels(int index)
Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`.
repeated .google.api.LabelDescriptor labels = 4;
-
getLabelsCount
int getLabelsCount()
Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`.
repeated .google.api.LabelDescriptor labels = 4;
-
getLabelsOrBuilderList
List<? extends LabelDescriptorOrBuilder> getLabelsOrBuilderList()
Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`.
repeated .google.api.LabelDescriptor labels = 4;
-
getLabelsOrBuilder
LabelDescriptorOrBuilder getLabelsOrBuilder(int index)
Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`.
repeated .google.api.LabelDescriptor labels = 4;
-
getLaunchStageValue
int getLaunchStageValue()
Optional. The launch stage of the monitored resource definition.
.google.api.LaunchStage launch_stage = 7;
- Returns:
- The enum numeric value on the wire for launchStage.
-
getLaunchStage
LaunchStage getLaunchStage()
Optional. The launch stage of the monitored resource definition.
.google.api.LaunchStage launch_stage = 7;
- Returns:
- The launchStage.
-
-