com.google.api.MonitoredResourceDescriptorOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
Show all versions of ydb-sdk-jdbc-uberjar Show documentation
JDBC client implementation over Table client, single jar
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/monitored_resource.proto
package com.google.api;
public interface MonitoredResourceDescriptorOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.MonitoredResourceDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
* @return The name.
*/
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;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. The monitored resource type. For example, the type
* `cloudsql_database` represents databases in Google Cloud SQL.
* All service defined monitored resource types must be prefixed with the
* service name, in the format of `{service name}/{relative resource name}`.
* The relative resource name must follow:
* * Only upper and lower-case letters and digits are allowed.
* * It must start with upper case character and is recommended to use Upper
* Camel Case style.
* * The maximum number of characters allowed for the relative_resource_name
* is 100.
* Note there are legacy service monitored resources not following this rule.
*
*
* string type = 1;
*
* @return The type.
*/
java.lang.String getType();
/**
*
*
*
* Required. The monitored resource type. For example, the type
* `cloudsql_database` represents databases in Google Cloud SQL.
* All service defined monitored resource types must be prefixed with the
* service name, in the format of `{service name}/{relative resource name}`.
* The relative resource name must follow:
* * Only upper and lower-case letters and digits are allowed.
* * It must start with upper case character and is recommended to use Upper
* Camel Case style.
* * The maximum number of characters allowed for the relative_resource_name
* is 100.
* Note there are legacy service monitored resources not following this rule.
*
*
* string type = 1;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
/**
*
*
*
* 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;
*
* @return The displayName.
*/
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;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Optional. A detailed description of the monitored resource type that might
* be used in documentation.
*
*
* string description = 3;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Optional. A detailed description of the monitored resource type that might
* be used in documentation.
*
*
* string description = 3;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Required. A set of labels used to describe instances of this monitored
* resource type.
* The label key name must follow:
* * Only upper and lower-case letters, digits and underscores (_) are
* allowed.
* * Label name must start with a letter or digit.
* * The maximum length of a label name is 100 characters.
* For example, an individual Google Cloud SQL database is
* identified by values for the labels `database_id` and `location`.
*
*
* repeated .google.api.LabelDescriptor labels = 4;
*/
java.util.List getLabelsList();
/**
*
*
*
* Required. A set of labels used to describe instances of this monitored
* resource type.
* The label key name must follow:
* * Only upper and lower-case letters, digits and underscores (_) are
* allowed.
* * Label name must start with a letter or digit.
* * The maximum length of a label name is 100 characters.
* For example, an individual Google Cloud SQL database is
* identified by values for the labels `database_id` and `location`.
*
*
* repeated .google.api.LabelDescriptor labels = 4;
*/
com.google.api.LabelDescriptor getLabels(int index);
/**
*
*
*
* Required. A set of labels used to describe instances of this monitored
* resource type.
* The label key name must follow:
* * Only upper and lower-case letters, digits and underscores (_) are
* allowed.
* * Label name must start with a letter or digit.
* * The maximum length of a label name is 100 characters.
* For example, an individual Google Cloud SQL database is
* identified by values for the labels `database_id` and `location`.
*
*
* repeated .google.api.LabelDescriptor labels = 4;
*/
int getLabelsCount();
/**
*
*
*
* Required. A set of labels used to describe instances of this monitored
* resource type.
* The label key name must follow:
* * Only upper and lower-case letters, digits and underscores (_) are
* allowed.
* * Label name must start with a letter or digit.
* * The maximum length of a label name is 100 characters.
* For example, an individual Google Cloud SQL database is
* identified by values for the labels `database_id` and `location`.
*
*
* repeated .google.api.LabelDescriptor labels = 4;
*/
java.util.List extends com.google.api.LabelDescriptorOrBuilder> getLabelsOrBuilderList();
/**
*
*
*
* Required. A set of labels used to describe instances of this monitored
* resource type.
* The label key name must follow:
* * Only upper and lower-case letters, digits and underscores (_) are
* allowed.
* * Label name must start with a letter or digit.
* * The maximum length of a label name is 100 characters.
* For example, an individual Google Cloud SQL database is
* identified by values for the labels `database_id` and `location`.
*
*
* repeated .google.api.LabelDescriptor labels = 4;
*/
com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index);
/**
*
*
*
* Optional. The launch stage of the monitored resource definition.
*
*
* .google.api.LaunchStage launch_stage = 7;
*
* @return The enum numeric value on the wire for launchStage.
*/
int getLaunchStageValue();
/**
*
*
*
* Optional. The launch stage of the monitored resource definition.
*
*
* .google.api.LaunchStage launch_stage = 7;
*
* @return The launchStage.
*/
com.google.api.LaunchStage getLaunchStage();
}