public interface MonitoredResourceDescriptorOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDescription()
public abstract String getDescription()
Optional. A detailed description of the monitored resource type that might be used in documentation.
string description = 3;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Optional. A detailed description of the monitored resource type that might be used in documentation.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDisplayName()
public abstract 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 | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getLabels(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelDescriptor |
getLabelsCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getLabelsList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<LabelDescriptor> |
getLabelsOrBuilder(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelDescriptorOrBuilder |
getLabelsOrBuilderList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.api.LabelDescriptorOrBuilder> |
getLaunchStage()
public abstract LaunchStage getLaunchStage()
Optional. The launch stage of the monitored resource definition.
.google.api.LaunchStage launch_stage = 7;
Returns | |
---|---|
Type | Description |
LaunchStage | The launchStage. |
getLaunchStageValue()
public abstract int getLaunchStageValue()
Optional. The launch stage of the monitored resource definition.
.google.api.LaunchStage launch_stage = 7;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for launchStage. |
getName()
public abstract 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 | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getType()
public abstract 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 Monitored resource
types
and Logging resource
types.
string type = 1;
Returns | |
---|---|
Type | Description |
String | The type. |
getTypeBytes()
public abstract 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 Monitored resource
types
and Logging resource
types.
string type = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for type. |