Class ApiDeployment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.apigeeregistry.v1.ApiDeployment
-
- All Implemented Interfaces:
ApiDeploymentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ApiDeployment extends com.google.protobuf.GeneratedMessageV3 implements ApiDeploymentOrBuilder
Describes a service running at particular address that provides a particular version of an API. ApiDeployments have revisions which correspond to different configurations of a single deployment in time. Revision identifiers should be updated whenever the served API spec or endpoint address changes.
Protobuf typegoogle.cloud.apigeeregistry.v1.ApiDeployment- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApiDeployment.BuilderDescribes a service running at particular address that provides a particular version of an API.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCESS_GUIDANCE_FIELD_NUMBERstatic intANNOTATIONS_FIELD_NUMBERstatic intAPI_SPEC_REVISION_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENDPOINT_URI_FIELD_NUMBERstatic intEXTERNAL_CHANNEL_URI_FIELD_NUMBERstatic intINTENDED_AUDIENCE_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intREVISION_CREATE_TIME_FIELD_NUMBERstatic intREVISION_ID_FIELD_NUMBERstatic intREVISION_UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Annotations attach non-identifying metadata to resources.booleancontainsLabels(String key)Labels attach identifying metadata to resources.booleanequals(Object obj)StringgetAccessGuidance()Text briefly describing how to access the endpoint.com.google.protobuf.ByteStringgetAccessGuidanceBytes()Text briefly describing how to access the endpoint.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.StringgetApiSpecRevision()The full resource name (including revision ID) of the spec of the API being served by the deployment.com.google.protobuf.ByteStringgetApiSpecRevisionBytes()The full resource name (including revision ID) of the spec of the API being served by the deployment.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static ApiDeploymentgetDefaultInstance()ApiDeploymentgetDefaultInstanceForType()StringgetDescription()A detailed description.com.google.protobuf.ByteStringgetDescriptionBytes()A detailed description.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Human-meaningful name.com.google.protobuf.ByteStringgetDisplayNameBytes()Human-meaningful name.StringgetEndpointUri()The address where the deployment is serving.com.google.protobuf.ByteStringgetEndpointUriBytes()The address where the deployment is serving.StringgetExternalChannelUri()The address of the external channel of the API (e.g., the Developer Portal).com.google.protobuf.ByteStringgetExternalChannelUriBytes()The address of the external channel of the API (e.g., the Developer Portal).StringgetIntendedAudience()Text briefly identifying the intended audience of the API.com.google.protobuf.ByteStringgetIntendedAudienceBytes()Text briefly identifying the intended audience of the API.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.StringgetName()Resource name.com.google.protobuf.ByteStringgetNameBytes()Resource name.com.google.protobuf.Parser<ApiDeployment>getParserForType()com.google.protobuf.TimestampgetRevisionCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetRevisionCreateTimeOrBuilder()Output only.StringgetRevisionId()Output only.com.google.protobuf.ByteStringgetRevisionIdBytes()Output only.com.google.protobuf.TimestampgetRevisionUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetRevisionUpdateTimeOrBuilder()Output only.intgetSerializedSize()booleanhasCreateTime()Output only.inthashCode()booleanhasRevisionCreateTime()Output only.booleanhasRevisionUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static ApiDeployment.BuildernewBuilder()static ApiDeployment.BuildernewBuilder(ApiDeployment prototype)ApiDeployment.BuildernewBuilderForType()protected ApiDeployment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ApiDeploymentparseDelimitedFrom(InputStream input)static ApiDeploymentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDeploymentparseFrom(byte[] data)static ApiDeploymentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDeploymentparseFrom(com.google.protobuf.ByteString data)static ApiDeploymentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDeploymentparseFrom(com.google.protobuf.CodedInputStream input)static ApiDeploymentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDeploymentparseFrom(InputStream input)static ApiDeploymentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiDeploymentparseFrom(ByteBuffer data)static ApiDeploymentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ApiDeployment>parser()ApiDeployment.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_CREATE_TIME_FIELD_NUMBER
public static final int REVISION_CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_UPDATE_TIME_FIELD_NUMBER
public static final int REVISION_UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_SPEC_REVISION_FIELD_NUMBER
public static final int API_SPEC_REVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINT_URI_FIELD_NUMBER
public static final int ENDPOINT_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNAL_CHANNEL_URI_FIELD_NUMBER
public static final int EXTERNAL_CHANNEL_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTENDED_AUDIENCE_FIELD_NUMBER
public static final int INTENDED_AUDIENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESS_GUIDANCE_FIELD_NUMBER
public static final int ACCESS_GUIDANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Resource name.
string name = 1;- Specified by:
getNamein interfaceApiDeploymentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Resource name.
string name = 1;- Specified by:
getNameBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Human-meaningful name.
string display_name = 2;- Specified by:
getDisplayNamein interfaceApiDeploymentOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Human-meaningful name.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
public String getDescription()
A detailed description.
string description = 3;- Specified by:
getDescriptionin interfaceApiDeploymentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A detailed description.
string description = 3;- Specified by:
getDescriptionBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for description.
-
getRevisionId
public String getRevisionId()
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdin interfaceApiDeploymentOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for revisionId.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceApiDeploymentOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceApiDeploymentOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceApiDeploymentOrBuilder
-
hasRevisionCreateTime
public boolean hasRevisionCreateTime()
Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevisionCreateTimein interfaceApiDeploymentOrBuilder- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public com.google.protobuf.Timestamp getRevisionCreateTime()
Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimein interfaceApiDeploymentOrBuilder- Returns:
- The revisionCreateTime.
-
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimeOrBuilderin interfaceApiDeploymentOrBuilder
-
hasRevisionUpdateTime
public boolean hasRevisionUpdateTime()
Output only. Last update timestamp: when the represented revision was last modified.
.google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevisionUpdateTimein interfaceApiDeploymentOrBuilder- Returns:
- Whether the revisionUpdateTime field is set.
-
getRevisionUpdateTime
public com.google.protobuf.Timestamp getRevisionUpdateTime()
Output only. Last update timestamp: when the represented revision was last modified.
.google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionUpdateTimein interfaceApiDeploymentOrBuilder- Returns:
- The revisionUpdateTime.
-
getRevisionUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder()
Output only. Last update timestamp: when the represented revision was last modified.
.google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionUpdateTimeOrBuilderin interfaceApiDeploymentOrBuilder
-
getApiSpecRevision
public String getApiSpecRevision()
The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: `apis/{api}/deployments/{deployment}`string api_spec_revision = 8 [(.google.api.resource_reference) = { ... }- Specified by:
getApiSpecRevisionin interfaceApiDeploymentOrBuilder- Returns:
- The apiSpecRevision.
-
getApiSpecRevisionBytes
public com.google.protobuf.ByteString getApiSpecRevisionBytes()
The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: `apis/{api}/deployments/{deployment}`string api_spec_revision = 8 [(.google.api.resource_reference) = { ... }- Specified by:
getApiSpecRevisionBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for apiSpecRevision.
-
getEndpointUri
public String getEndpointUri()
The address where the deployment is serving. Changes to this value will update the revision.
string endpoint_uri = 9;- Specified by:
getEndpointUriin interfaceApiDeploymentOrBuilder- Returns:
- The endpointUri.
-
getEndpointUriBytes
public com.google.protobuf.ByteString getEndpointUriBytes()
The address where the deployment is serving. Changes to this value will update the revision.
string endpoint_uri = 9;- Specified by:
getEndpointUriBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for endpointUri.
-
getExternalChannelUri
public String getExternalChannelUri()
The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
string external_channel_uri = 10;- Specified by:
getExternalChannelUriin interfaceApiDeploymentOrBuilder- Returns:
- The externalChannelUri.
-
getExternalChannelUriBytes
public com.google.protobuf.ByteString getExternalChannelUriBytes()
The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
string external_channel_uri = 10;- Specified by:
getExternalChannelUriBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for externalChannelUri.
-
getIntendedAudience
public String getIntendedAudience()
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
string intended_audience = 11;- Specified by:
getIntendedAudiencein interfaceApiDeploymentOrBuilder- Returns:
- The intendedAudience.
-
getIntendedAudienceBytes
public com.google.protobuf.ByteString getIntendedAudienceBytes()
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
string intended_audience = 11;- Specified by:
getIntendedAudienceBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for intendedAudience.
-
getAccessGuidance
public String getAccessGuidance()
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
string access_guidance = 12;- Specified by:
getAccessGuidancein interfaceApiDeploymentOrBuilder- Returns:
- The accessGuidance.
-
getAccessGuidanceBytes
public com.google.protobuf.ByteString getAccessGuidanceBytes()
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
string access_guidance = 12;- Specified by:
getAccessGuidanceBytesin interfaceApiDeploymentOrBuilder- Returns:
- The bytes for accessGuidance.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ApiDeploymentOrBuilderLabels 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 = 14;- Specified by:
getLabelsCountin interfaceApiDeploymentOrBuilder
-
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 = 14;- Specified by:
containsLabelsin interfaceApiDeploymentOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceApiDeploymentOrBuilder
-
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 = 14;- Specified by:
getLabelsMapin interfaceApiDeploymentOrBuilder
-
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 = 14;- Specified by:
getLabelsOrDefaultin interfaceApiDeploymentOrBuilder
-
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 = 14;- Specified by:
getLabelsOrThrowin interfaceApiDeploymentOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ApiDeploymentOrBuilderAnnotations 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 = 15;- Specified by:
getAnnotationsCountin interfaceApiDeploymentOrBuilder
-
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 = 15;- Specified by:
containsAnnotationsin interfaceApiDeploymentOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceApiDeploymentOrBuilder
-
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 = 15;- Specified by:
getAnnotationsMapin interfaceApiDeploymentOrBuilder
-
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 = 15;- Specified by:
getAnnotationsOrDefaultin interfaceApiDeploymentOrBuilder
-
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 = 15;- Specified by:
getAnnotationsOrThrowin interfaceApiDeploymentOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ApiDeployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDeployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDeployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDeployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDeployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDeployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiDeployment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiDeployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ApiDeployment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ApiDeployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiDeployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiDeployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ApiDeployment.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ApiDeployment.Builder newBuilder()
-
newBuilder
public static ApiDeployment.Builder newBuilder(ApiDeployment prototype)
-
toBuilder
public ApiDeployment.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ApiDeployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ApiDeployment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ApiDeployment> parser()
-
getParserForType
public com.google.protobuf.Parser<ApiDeployment> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ApiDeployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-