Class Api.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Api.Builder> implements ApiOrBuilder
A top-level description of an API. Produced by producers and are commitments to provide services.
Protobuf typegoogle.cloud.apigeeregistry.v1.Api
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Api.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Apibuild()ApibuildPartial()Api.Builderclear()Api.BuilderclearAnnotations()Api.BuilderclearAvailability()A user-definable description of the availability of this service.Api.BuilderclearCreateTime()Output only.Api.BuilderclearDescription()A detailed description.Api.BuilderclearDisplayName()Human-meaningful name.Api.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Api.BuilderclearLabels()Api.BuilderclearName()Resource name.Api.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Api.BuilderclearRecommendedDeployment()The recommended deployment of the API.Api.BuilderclearRecommendedVersion()The recommended version of the API.Api.BuilderclearUpdateTime()Output only.Api.Builderclone()booleancontainsAnnotations(String key)Annotations attach non-identifying metadata to resources.booleancontainsLabels(String key)Labels attach identifying metadata to resources.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Annotations attach non-identifying metadata to resources.Map<String,String>getAnnotationsMap()Annotations attach non-identifying metadata to resources.StringgetAnnotationsOrDefault(String key, String defaultValue)Annotations attach non-identifying metadata to resources.StringgetAnnotationsOrThrow(String key)Annotations attach non-identifying metadata to resources.StringgetAvailability()A user-definable description of the availability of this service.com.google.protobuf.ByteStringgetAvailabilityBytes()A user-definable description of the availability of this service.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ApigetDefaultInstanceForType()StringgetDescription()A detailed description.com.google.protobuf.ByteStringgetDescriptionBytes()A detailed description.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Human-meaningful name.com.google.protobuf.ByteStringgetDisplayNameBytes()Human-meaningful name.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels attach identifying metadata to resources.Map<String,String>getLabelsMap()Labels attach identifying metadata to resources.StringgetLabelsOrDefault(String key, String defaultValue)Labels attach identifying metadata to resources.StringgetLabelsOrThrow(String key)Labels attach identifying metadata to resources.Map<String,String>getMutableAnnotations()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetName()Resource name.com.google.protobuf.ByteStringgetNameBytes()Resource name.StringgetRecommendedDeployment()The recommended deployment of the API.com.google.protobuf.ByteStringgetRecommendedDeploymentBytes()The recommended deployment of the API.StringgetRecommendedVersion()The recommended version of the API.com.google.protobuf.ByteStringgetRecommendedVersionBytes()The recommended version of the API.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Api.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Api.BuildermergeFrom(Api other)Api.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Api.BuildermergeFrom(com.google.protobuf.Message other)Api.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Api.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Api.BuilderputAllAnnotations(Map<String,String> values)Annotations attach non-identifying metadata to resources.Api.BuilderputAllLabels(Map<String,String> values)Labels attach identifying metadata to resources.Api.BuilderputAnnotations(String key, String value)Annotations attach non-identifying metadata to resources.Api.BuilderputLabels(String key, String value)Labels attach identifying metadata to resources.Api.BuilderremoveAnnotations(String key)Annotations attach non-identifying metadata to resources.Api.BuilderremoveLabels(String key)Labels attach identifying metadata to resources.Api.BuildersetAvailability(String value)A user-definable description of the availability of this service.Api.BuildersetAvailabilityBytes(com.google.protobuf.ByteString value)A user-definable description of the availability of this service.Api.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Api.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Api.BuildersetDescription(String value)A detailed description.Api.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A detailed description.Api.BuildersetDisplayName(String value)Human-meaningful name.Api.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Human-meaningful name.Api.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Api.BuildersetName(String value)Resource name.Api.BuildersetNameBytes(com.google.protobuf.ByteString value)Resource name.Api.BuildersetRecommendedDeployment(String value)The recommended deployment of the API.Api.BuildersetRecommendedDeploymentBytes(com.google.protobuf.ByteString value)The recommended deployment of the API.Api.BuildersetRecommendedVersion(String value)The recommended version of the API.Api.BuildersetRecommendedVersionBytes(com.google.protobuf.ByteString value)The recommended version of the API.Api.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Api.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Api.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Api.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
clear
public Api.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Api.Builder>
-
getDefaultInstanceForType
public Api getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Api build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Api buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Api.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
setField
public Api.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
clearField
public Api.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
clearOneof
public Api.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
setRepeatedField
public Api.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
addRepeatedField
public Api.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
mergeFrom
public Api.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Api.Builder>
-
mergeFrom
public Api.Builder mergeFrom(Api other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public Api.Builder setName(String value)
Resource name.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Api.Builder clearName()
Resource name.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Api.Builder setNameBytes(com.google.protobuf.ByteString value)
Resource name.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String 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
public Api.Builder setDisplayName(String value)
Human-meaningful name.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Api.Builder clearDisplayName()
Human-meaningful name.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Api.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Human-meaningful name.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String 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
public Api.Builder setDescription(String value)
A detailed description.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Api.Builder clearDescription()
A detailed description.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Api.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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
public Api.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Api.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Api.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Api.Builder 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
public Api.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Api.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Api.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Api.Builder 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
public 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;- 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
public Api.Builder setAvailability(String value)
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
public Api.Builder 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
public Api.Builder setAvailabilityBytes(com.google.protobuf.ByteString value)
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
public String 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
public Api.Builder setRecommendedVersion(String value)
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
public Api.Builder 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
public Api.Builder setRecommendedVersionBytes(com.google.protobuf.ByteString value)
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
public String 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
public Api.Builder setRecommendedDeployment(String value)
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
public Api.Builder 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
public Api.Builder setRecommendedDeploymentBytes(com.google.protobuf.ByteString value)
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
public boolean containsLabels(String key)
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 public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceApiOrBuilder
-
getLabelsMap
public Map<String,String> 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
public String getLabelsOrDefault(String key, String defaultValue)
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
public String getLabelsOrThrow(String key)
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
public Api.Builder clearLabels()
-
removeLabels
public Api.Builder removeLabels(String key)
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 public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Api.Builder putLabels(String key, String value)
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
public Api.Builder putAllLabels(Map<String,String> values)
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
public boolean containsAnnotations(String key)
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 public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceApiOrBuilder
-
getAnnotationsMap
public Map<String,String> 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
public String getAnnotationsOrDefault(String key, String defaultValue)
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
public String getAnnotationsOrThrow(String key)
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
public Api.Builder clearAnnotations()
-
removeAnnotations
public Api.Builder removeAnnotations(String key)
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 public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public Api.Builder putAnnotations(String key, String value)
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
public Api.Builder putAllAnnotations(Map<String,String> values)
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;
-
setUnknownFields
public final Api.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
mergeUnknownFields
public final Api.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Api.Builder>
-
-