Interface ApiOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Api,Api.Builder
@Generated
public interface ApiOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAnnotations attach non-identifying metadata to resources.booleancontainsLabels(String key) Labels attach identifying metadata to resources.Deprecated.intAnnotations attach non-identifying metadata to resources.Annotations attach non-identifying metadata to resources.getAnnotationsOrDefault(String key, String defaultValue) Annotations attach non-identifying metadata to resources.Annotations attach non-identifying metadata to resources.A user-definable description of the availability of this service.com.google.protobuf.ByteStringA user-definable description of the availability of this service.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A detailed description.com.google.protobuf.ByteStringA detailed description.Human-meaningful name.com.google.protobuf.ByteStringHuman-meaningful name.Deprecated.intLabels attach identifying metadata to resources.Labels attach identifying metadata to resources.getLabelsOrDefault(String key, String defaultValue) Labels attach identifying metadata to resources.getLabelsOrThrow(String key) Labels attach identifying metadata to resources.getName()Resource name.com.google.protobuf.ByteStringResource name.The recommended deployment of the API.com.google.protobuf.ByteStringThe recommended deployment of the API.The recommended version of the API.com.google.protobuf.ByteStringThe recommended version of the API.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Resource name.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Resource name.
string name = 1;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Human-meaningful name.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Human-meaningful name.
string display_name = 2;- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()A detailed description.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A detailed description.
string description = 3;- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAvailability
String getAvailability()A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
string availability = 6;- Returns:
- The availability.
-
getAvailabilityBytes
com.google.protobuf.ByteString getAvailabilityBytes()A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
string availability = 6;- Returns:
- The bytes for availability.
-
getRecommendedVersion
String getRecommendedVersion()The recommended version of the API. Format: `apis/{api}/versions/{version}`string recommended_version = 7 [(.google.api.resource_reference) = { ... }- Returns:
- The recommendedVersion.
-
getRecommendedVersionBytes
com.google.protobuf.ByteString getRecommendedVersionBytes()The recommended version of the API. Format: `apis/{api}/versions/{version}`string recommended_version = 7 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for recommendedVersion.
-
getRecommendedDeployment
String getRecommendedDeployment()The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`string recommended_deployment = 8 [(.google.api.resource_reference) = { ... }- Returns:
- The recommendedDeployment.
-
getRecommendedDeploymentBytes
com.google.protobuf.ByteString getRecommendedDeploymentBytes()The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`string recommended_deployment = 8 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for recommendedDeployment.
-
getLabelsCount
int getLabelsCount()Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 9; -
containsLabels
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 9; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 9; -
getLabelsOrDefault
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 9; -
getLabelsOrThrow
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 9; -
getAnnotationsCount
int getAnnotationsCount()Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 10; -
containsAnnotations
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 10; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
getAnnotationsMap
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 10; -
getAnnotationsOrDefault
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 10; -
getAnnotationsOrThrow
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 10;
-