Class ApiDeployment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
- com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder
-
- All Implemented Interfaces:
ApiDeploymentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ApiDeployment
public static final class ApiDeployment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder> 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiDeployment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ApiDeploymentbuild()ApiDeploymentbuildPartial()ApiDeployment.Builderclear()ApiDeployment.BuilderclearAccessGuidance()Text briefly describing how to access the endpoint.ApiDeployment.BuilderclearAnnotations()ApiDeployment.BuilderclearApiSpecRevision()The full resource name (including revision ID) of the spec of the API being served by the deployment.ApiDeployment.BuilderclearCreateTime()Output only.ApiDeployment.BuilderclearDescription()A detailed description.ApiDeployment.BuilderclearDisplayName()Human-meaningful name.ApiDeployment.BuilderclearEndpointUri()The address where the deployment is serving.ApiDeployment.BuilderclearExternalChannelUri()The address of the external channel of the API (e.g., the Developer Portal).ApiDeployment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ApiDeployment.BuilderclearIntendedAudience()Text briefly identifying the intended audience of the API.ApiDeployment.BuilderclearLabels()ApiDeployment.BuilderclearName()Resource name.ApiDeployment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ApiDeployment.BuilderclearRevisionCreateTime()Output only.ApiDeployment.BuilderclearRevisionId()Output only.ApiDeployment.BuilderclearRevisionUpdateTime()Output only.ApiDeployment.Builderclone()booleancontainsAnnotations(String key)Annotations attach non-identifying metadata to resources.booleancontainsLabels(String key)Labels attach identifying metadata to resources.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.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ApiDeploymentgetDefaultInstanceForType()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.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.Map<String,String>getMutableAnnotations()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetName()Resource name.com.google.protobuf.ByteStringgetNameBytes()Resource name.com.google.protobuf.TimestampgetRevisionCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetRevisionCreateTimeBuilder()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.Timestamp.BuildergetRevisionUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetRevisionUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasRevisionCreateTime()Output only.booleanhasRevisionUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()ApiDeployment.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.ApiDeployment.BuildermergeFrom(ApiDeployment other)ApiDeployment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ApiDeployment.BuildermergeFrom(com.google.protobuf.Message other)ApiDeployment.BuildermergeRevisionCreateTime(com.google.protobuf.Timestamp value)Output only.ApiDeployment.BuildermergeRevisionUpdateTime(com.google.protobuf.Timestamp value)Output only.ApiDeployment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ApiDeployment.BuilderputAllAnnotations(Map<String,String> values)Annotations attach non-identifying metadata to resources.ApiDeployment.BuilderputAllLabels(Map<String,String> values)Labels attach identifying metadata to resources.ApiDeployment.BuilderputAnnotations(String key, String value)Annotations attach non-identifying metadata to resources.ApiDeployment.BuilderputLabels(String key, String value)Labels attach identifying metadata to resources.ApiDeployment.BuilderremoveAnnotations(String key)Annotations attach non-identifying metadata to resources.ApiDeployment.BuilderremoveLabels(String key)Labels attach identifying metadata to resources.ApiDeployment.BuildersetAccessGuidance(String value)Text briefly describing how to access the endpoint.ApiDeployment.BuildersetAccessGuidanceBytes(com.google.protobuf.ByteString value)Text briefly describing how to access the endpoint.ApiDeployment.BuildersetApiSpecRevision(String value)The full resource name (including revision ID) of the spec of the API being served by the deployment.ApiDeployment.BuildersetApiSpecRevisionBytes(com.google.protobuf.ByteString value)The full resource name (including revision ID) of the spec of the API being served by the deployment.ApiDeployment.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.ApiDeployment.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.ApiDeployment.BuildersetDescription(String value)A detailed description.ApiDeployment.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A detailed description.ApiDeployment.BuildersetDisplayName(String value)Human-meaningful name.ApiDeployment.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Human-meaningful name.ApiDeployment.BuildersetEndpointUri(String value)The address where the deployment is serving.ApiDeployment.BuildersetEndpointUriBytes(com.google.protobuf.ByteString value)The address where the deployment is serving.ApiDeployment.BuildersetExternalChannelUri(String value)The address of the external channel of the API (e.g., the Developer Portal).ApiDeployment.BuildersetExternalChannelUriBytes(com.google.protobuf.ByteString value)The address of the external channel of the API (e.g., the Developer Portal).ApiDeployment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ApiDeployment.BuildersetIntendedAudience(String value)Text briefly identifying the intended audience of the API.ApiDeployment.BuildersetIntendedAudienceBytes(com.google.protobuf.ByteString value)Text briefly identifying the intended audience of the API.ApiDeployment.BuildersetName(String value)Resource name.ApiDeployment.BuildersetNameBytes(com.google.protobuf.ByteString value)Resource name.ApiDeployment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ApiDeployment.BuildersetRevisionCreateTime(com.google.protobuf.Timestamp value)Output only.ApiDeployment.BuildersetRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.ApiDeployment.BuildersetRevisionId(String value)Output only.ApiDeployment.BuildersetRevisionIdBytes(com.google.protobuf.ByteString value)Output only.ApiDeployment.BuildersetRevisionUpdateTime(com.google.protobuf.Timestamp value)Output only.ApiDeployment.BuildersetRevisionUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.ApiDeployment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<ApiDeployment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
clear
public ApiDeployment.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<ApiDeployment.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<ApiDeployment.Builder>
-
getDefaultInstanceForType
public ApiDeployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApiDeployment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApiDeployment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApiDeployment.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<ApiDeployment.Builder>
-
setField
public ApiDeployment.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<ApiDeployment.Builder>
-
clearField
public ApiDeployment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
clearOneof
public ApiDeployment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
setRepeatedField
public ApiDeployment.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<ApiDeployment.Builder>
-
addRepeatedField
public ApiDeployment.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<ApiDeployment.Builder>
-
mergeFrom
public ApiDeployment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApiDeployment.Builder>
-
mergeFrom
public ApiDeployment.Builder mergeFrom(ApiDeployment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
mergeFrom
public ApiDeployment.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<ApiDeployment.Builder>- Throws:
IOException
-
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.
-
setName
public ApiDeployment.Builder setName(String value)
Resource name.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ApiDeployment.Builder clearName()
Resource name.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public ApiDeployment.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 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.
-
setDisplayName
public ApiDeployment.Builder setDisplayName(String value)
Human-meaningful name.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public ApiDeployment.Builder clearDisplayName()
Human-meaningful name.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public ApiDeployment.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 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.
-
setDescription
public ApiDeployment.Builder setDescription(String value)
A detailed description.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public ApiDeployment.Builder clearDescription()
A detailed description.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public ApiDeployment.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.
-
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.
-
setRevisionId
public ApiDeployment.Builder setRevisionId(String value)
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];- Parameters:
value- The revisionId to set.- Returns:
- This builder for chaining.
-
clearRevisionId
public ApiDeployment.Builder clearRevisionId()
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];- Returns:
- This builder for chaining.
-
setRevisionIdBytes
public ApiDeployment.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for revisionId to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public ApiDeployment.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public ApiDeployment.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public ApiDeployment.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public ApiDeployment.Builder clearCreateTime()
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Creation timestamp; when the deployment resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setRevisionCreateTime
public ApiDeployment.Builder setRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setRevisionCreateTime
public ApiDeployment.Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeRevisionCreateTime
public ApiDeployment.Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearRevisionCreateTime
public ApiDeployment.Builder clearRevisionCreateTime()
Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRevisionCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()
Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setRevisionUpdateTime
public ApiDeployment.Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value)
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];
-
setRevisionUpdateTime
public ApiDeployment.Builder setRevisionUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeRevisionUpdateTime
public ApiDeployment.Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value)
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];
-
clearRevisionUpdateTime
public ApiDeployment.Builder clearRevisionUpdateTime()
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];
-
getRevisionUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getRevisionUpdateTimeBuilder()
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];
-
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.
-
setApiSpecRevision
public ApiDeployment.Builder setApiSpecRevision(String value)
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) = { ... }- Parameters:
value- The apiSpecRevision to set.- Returns:
- This builder for chaining.
-
clearApiSpecRevision
public ApiDeployment.Builder clearApiSpecRevision()
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) = { ... }- Returns:
- This builder for chaining.
-
setApiSpecRevisionBytes
public ApiDeployment.Builder setApiSpecRevisionBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for apiSpecRevision to set.- Returns:
- This builder for chaining.
-
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.
-
setEndpointUri
public ApiDeployment.Builder setEndpointUri(String value)
The address where the deployment is serving. Changes to this value will update the revision.
string endpoint_uri = 9;- Parameters:
value- The endpointUri to set.- Returns:
- This builder for chaining.
-
clearEndpointUri
public ApiDeployment.Builder clearEndpointUri()
The address where the deployment is serving. Changes to this value will update the revision.
string endpoint_uri = 9;- Returns:
- This builder for chaining.
-
setEndpointUriBytes
public ApiDeployment.Builder setEndpointUriBytes(com.google.protobuf.ByteString value)
The address where the deployment is serving. Changes to this value will update the revision.
string endpoint_uri = 9;- Parameters:
value- The bytes for endpointUri to set.- Returns:
- This builder for chaining.
-
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.
-
setExternalChannelUri
public ApiDeployment.Builder setExternalChannelUri(String value)
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;- Parameters:
value- The externalChannelUri to set.- Returns:
- This builder for chaining.
-
clearExternalChannelUri
public ApiDeployment.Builder clearExternalChannelUri()
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;- Returns:
- This builder for chaining.
-
setExternalChannelUriBytes
public ApiDeployment.Builder setExternalChannelUriBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for externalChannelUri to set.- Returns:
- This builder for chaining.
-
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.
-
setIntendedAudience
public ApiDeployment.Builder setIntendedAudience(String value)
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
string intended_audience = 11;- Parameters:
value- The intendedAudience to set.- Returns:
- This builder for chaining.
-
clearIntendedAudience
public ApiDeployment.Builder clearIntendedAudience()
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
string intended_audience = 11;- Returns:
- This builder for chaining.
-
setIntendedAudienceBytes
public ApiDeployment.Builder setIntendedAudienceBytes(com.google.protobuf.ByteString value)
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
string intended_audience = 11;- Parameters:
value- The bytes for intendedAudience to set.- Returns:
- This builder for chaining.
-
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.
-
setAccessGuidance
public ApiDeployment.Builder setAccessGuidance(String value)
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
string access_guidance = 12;- Parameters:
value- The accessGuidance to set.- Returns:
- This builder for chaining.
-
clearAccessGuidance
public ApiDeployment.Builder clearAccessGuidance()
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
string access_guidance = 12;- Returns:
- This builder for chaining.
-
setAccessGuidanceBytes
public ApiDeployment.Builder setAccessGuidanceBytes(com.google.protobuf.ByteString value)
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
string access_guidance = 12;- Parameters:
value- The bytes for accessGuidance to set.- Returns:
- This builder for chaining.
-
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
-
clearLabels
public ApiDeployment.Builder clearLabels()
-
removeLabels
public ApiDeployment.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 = 14;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public ApiDeployment.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 = 14;
-
putAllLabels
public ApiDeployment.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 = 14;
-
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
-
clearAnnotations
public ApiDeployment.Builder clearAnnotations()
-
removeAnnotations
public ApiDeployment.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 = 15;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public ApiDeployment.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 = 15;
-
putAllAnnotations
public ApiDeployment.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 = 15;
-
setUnknownFields
public final ApiDeployment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
mergeUnknownFields
public final ApiDeployment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
-