public interface MonitoredResourceDescriptorOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Optional.
|
ByteString |
getDescriptionBytes()
Optional.
|
java.lang.String |
getDisplayName()
Optional.
|
ByteString |
getDisplayNameBytes()
Optional.
|
LabelDescriptor |
getLabels(int index)
Required.
|
int |
getLabelsCount()
Required.
|
java.util.List<LabelDescriptor> |
getLabelsList()
Required.
|
LabelDescriptorOrBuilder |
getLabelsOrBuilder(int index)
Required.
|
java.util.List<? extends LabelDescriptorOrBuilder> |
getLabelsOrBuilderList()
Required.
|
LaunchStage |
getLaunchStage()
Optional.
|
int |
getLaunchStageValue()
Optional.
|
java.lang.String |
getName()
Optional.
|
ByteString |
getNameBytes()
Optional.
|
java.lang.String |
getType()
Required.
|
ByteString |
getTypeBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.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;
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;
java.lang.String getType()
Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.
string type = 1;
ByteString getTypeBytes()
Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.
string type = 1;
java.lang.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;
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;
java.lang.String getDescription()
Optional. A detailed description of the monitored resource type that might be used in documentation.
string description = 3;
ByteString getDescriptionBytes()
Optional. A detailed description of the monitored resource type that might be used in documentation.
string description = 3;
java.util.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;
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;
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;
java.util.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;
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;
int getLaunchStageValue()
Optional. The launch stage of the monitored resource definition.
.google.api.LaunchStage launch_stage = 7;
LaunchStage getLaunchStage()
Optional. The launch stage of the monitored resource definition.
.google.api.LaunchStage launch_stage = 7;