Class Api.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Api.Builder>
com.google.cloud.apigeeregistry.v1.Api.Builder
- All Implemented Interfaces:
ApiOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Api
public static final class Api.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Api.Builder>
implements ApiOrBuilder
A top-level description of an API. Produced by producers and are commitments to provide services.Protobuf type
google.cloud.apigeeregistry.v1.Api-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A user-definable description of the availability of this service.Output only.A detailed description.Human-meaningful name.Resource name.The recommended deployment of the API.The recommended version of the API.Output only.booleanAnnotations 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.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A detailed description.com.google.protobuf.ByteStringA detailed description.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHuman-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.Deprecated.Deprecated.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.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAnnotations(Map<String, String> values) Annotations attach non-identifying metadata to resources.putAllLabels(Map<String, String> values) Labels attach identifying metadata to resources.putAnnotations(String key, String value) Annotations attach non-identifying metadata to resources.Labels attach identifying metadata to resources.removeAnnotations(String key) Annotations attach non-identifying metadata to resources.removeLabels(String key) Labels attach identifying metadata to resources.setAvailability(String value) A user-definable description of the availability of this service.setAvailabilityBytes(com.google.protobuf.ByteString value) A user-definable description of the availability of this service.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) A detailed description.setDescriptionBytes(com.google.protobuf.ByteString value) A detailed description.setDisplayName(String value) Human-meaningful name.setDisplayNameBytes(com.google.protobuf.ByteString value) Human-meaningful name.Resource name.setNameBytes(com.google.protobuf.ByteString value) Resource name.setRecommendedDeployment(String value) The recommended deployment of the API.setRecommendedDeploymentBytes(com.google.protobuf.ByteString value) The recommended deployment of the API.setRecommendedVersion(String value) The recommended version of the API.setRecommendedVersionBytes(com.google.protobuf.ByteString value) The recommended version of the API.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Api.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Api.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Api.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Api.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Api.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Api.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Api.Builder>
-
mergeFrom
public Api.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Api.Builder>- Throws:
IOException
-
getName
Resource name.
string name = 1;- Specified by:
getNamein interfaceApiOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Resource name.
string name = 1;- Specified by:
getNameBytesin interfaceApiOrBuilder- Returns:
- The bytes for name.
-
setName
Resource name.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Resource name.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Resource name.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Human-meaningful name.
string display_name = 2;- Specified by:
getDisplayNamein interfaceApiOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Human-meaningful name.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceApiOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Human-meaningful name.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Human-meaningful name.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Human-meaningful name.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
A detailed description.
string description = 3;- Specified by:
getDescriptionin interfaceApiOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A detailed description.
string description = 3;- Specified by:
getDescriptionBytesin interfaceApiOrBuilder- Returns:
- The bytes for description.
-
setDescription
A detailed description.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A detailed description.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A detailed description.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceApiOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceApiOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceApiOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceApiOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceApiOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceApiOrBuilder
-
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;- Specified by:
getAvailabilityin interfaceApiOrBuilder- Returns:
- The availability.
-
getAvailabilityBytes
public 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;- Specified by:
getAvailabilityBytesin interfaceApiOrBuilder- Returns:
- The bytes for availability.
-
setAvailability
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;- Parameters:
value- The availability to set.- Returns:
- This builder for chaining.
-
clearAvailability
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:
- This builder for chaining.
-
setAvailabilityBytes
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;- Parameters:
value- The bytes for availability to set.- Returns:
- This builder for chaining.
-
getRecommendedVersion
The recommended version of the API. Format: `apis/{api}/versions/{version}`string recommended_version = 7 [(.google.api.resource_reference) = { ... }- Specified by:
getRecommendedVersionin interfaceApiOrBuilder- Returns:
- The recommendedVersion.
-
getRecommendedVersionBytes
public com.google.protobuf.ByteString getRecommendedVersionBytes()The recommended version of the API. Format: `apis/{api}/versions/{version}`string recommended_version = 7 [(.google.api.resource_reference) = { ... }- Specified by:
getRecommendedVersionBytesin interfaceApiOrBuilder- Returns:
- The bytes for recommendedVersion.
-
setRecommendedVersion
The recommended version of the API. Format: `apis/{api}/versions/{version}`string recommended_version = 7 [(.google.api.resource_reference) = { ... }- Parameters:
value- The recommendedVersion to set.- Returns:
- This builder for chaining.
-
clearRecommendedVersion
The recommended version of the API. Format: `apis/{api}/versions/{version}`string recommended_version = 7 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setRecommendedVersionBytes
The recommended version of the API. Format: `apis/{api}/versions/{version}`string recommended_version = 7 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for recommendedVersion to set.- Returns:
- This builder for chaining.
-
getRecommendedDeployment
The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`string recommended_deployment = 8 [(.google.api.resource_reference) = { ... }- Specified by:
getRecommendedDeploymentin interfaceApiOrBuilder- Returns:
- The recommendedDeployment.
-
getRecommendedDeploymentBytes
public com.google.protobuf.ByteString getRecommendedDeploymentBytes()The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`string recommended_deployment = 8 [(.google.api.resource_reference) = { ... }- Specified by:
getRecommendedDeploymentBytesin interfaceApiOrBuilder- Returns:
- The bytes for recommendedDeployment.
-
setRecommendedDeployment
The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`string recommended_deployment = 8 [(.google.api.resource_reference) = { ... }- Parameters:
value- The recommendedDeployment to set.- Returns:
- This builder for chaining.
-
clearRecommendedDeployment
The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`string recommended_deployment = 8 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setRecommendedDeploymentBytes
The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`string recommended_deployment = 8 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for recommendedDeployment to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ApiOrBuilderLabels 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;- Specified by:
getLabelsCountin interfaceApiOrBuilder
-
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;- Specified by:
containsLabelsin interfaceApiOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceApiOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceApiOrBuilder
-
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;- Specified by:
getLabelsOrDefaultin interfaceApiOrBuilder
-
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;- Specified by:
getLabelsOrThrowin interfaceApiOrBuilder
-
clearLabels
-
removeLabels
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; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
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; -
putAllLabels
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
public int getAnnotationsCount()Description copied from interface:ApiOrBuilderAnnotations 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;- Specified by:
getAnnotationsCountin interfaceApiOrBuilder
-
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;- Specified by:
containsAnnotationsin interfaceApiOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceApiOrBuilder
-
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;- Specified by:
getAnnotationsMapin interfaceApiOrBuilder
-
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;- Specified by:
getAnnotationsOrDefaultin interfaceApiOrBuilder
-
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;- Specified by:
getAnnotationsOrThrowin interfaceApiOrBuilder
-
clearAnnotations
-
removeAnnotations
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; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
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; -
putAllAnnotations
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;
-