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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApiDeployment
build()
ApiDeployment
buildPartial()
ApiDeployment.Builder
clear()
ApiDeployment.Builder
clearAccessGuidance()
Text briefly describing how to access the endpoint.ApiDeployment.Builder
clearAnnotations()
ApiDeployment.Builder
clearApiSpecRevision()
The full resource name (including revision ID) of the spec of the API being served by the deployment.ApiDeployment.Builder
clearCreateTime()
Output only.ApiDeployment.Builder
clearDescription()
A detailed description.ApiDeployment.Builder
clearDisplayName()
Human-meaningful name.ApiDeployment.Builder
clearEndpointUri()
The address where the deployment is serving.ApiDeployment.Builder
clearExternalChannelUri()
The address of the external channel of the API (e.g., the Developer Portal).ApiDeployment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ApiDeployment.Builder
clearIntendedAudience()
Text briefly identifying the intended audience of the API.ApiDeployment.Builder
clearLabels()
ApiDeployment.Builder
clearName()
Resource name.ApiDeployment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ApiDeployment.Builder
clearRevisionCreateTime()
Output only.ApiDeployment.Builder
clearRevisionId()
Output only.ApiDeployment.Builder
clearRevisionUpdateTime()
Output only.ApiDeployment.Builder
clone()
boolean
containsAnnotations(String key)
Annotations attach non-identifying metadata to resources.boolean
containsLabels(String key)
Labels attach identifying metadata to resources.String
getAccessGuidance()
Text briefly describing how to access the endpoint.com.google.protobuf.ByteString
getAccessGuidanceBytes()
Text briefly describing how to access the endpoint.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Annotations attach non-identifying metadata to resources.Map<String,String>
getAnnotationsMap()
Annotations attach non-identifying metadata to resources.String
getAnnotationsOrDefault(String key, String defaultValue)
Annotations attach non-identifying metadata to resources.String
getAnnotationsOrThrow(String key)
Annotations attach non-identifying metadata to resources.String
getApiSpecRevision()
The full resource name (including revision ID) of the spec of the API being served by the deployment.com.google.protobuf.ByteString
getApiSpecRevisionBytes()
The full resource name (including revision ID) of the spec of the API being served by the deployment.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.ApiDeployment
getDefaultInstanceForType()
String
getDescription()
A detailed description.com.google.protobuf.ByteString
getDescriptionBytes()
A detailed description.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Human-meaningful name.com.google.protobuf.ByteString
getDisplayNameBytes()
Human-meaningful name.String
getEndpointUri()
The address where the deployment is serving.com.google.protobuf.ByteString
getEndpointUriBytes()
The address where the deployment is serving.String
getExternalChannelUri()
The address of the external channel of the API (e.g., the Developer Portal).com.google.protobuf.ByteString
getExternalChannelUriBytes()
The address of the external channel of the API (e.g., the Developer Portal).String
getIntendedAudience()
Text briefly identifying the intended audience of the API.com.google.protobuf.ByteString
getIntendedAudienceBytes()
Text briefly identifying the intended audience of the API.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels attach identifying metadata to resources.Map<String,String>
getLabelsMap()
Labels attach identifying metadata to resources.String
getLabelsOrDefault(String key, String defaultValue)
Labels attach identifying metadata to resources.String
getLabelsOrThrow(String key)
Labels attach identifying metadata to resources.Map<String,String>
getMutableAnnotations()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Resource name.com.google.protobuf.ByteString
getNameBytes()
Resource name.com.google.protobuf.Timestamp
getRevisionCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getRevisionCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getRevisionCreateTimeOrBuilder()
Output only.String
getRevisionId()
Output only.com.google.protobuf.ByteString
getRevisionIdBytes()
Output only.com.google.protobuf.Timestamp
getRevisionUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getRevisionUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getRevisionUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasRevisionCreateTime()
Output only.boolean
hasRevisionUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
ApiDeployment.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.ApiDeployment.Builder
mergeFrom(ApiDeployment other)
ApiDeployment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDeployment.Builder
mergeFrom(com.google.protobuf.Message other)
ApiDeployment.Builder
mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only.ApiDeployment.Builder
mergeRevisionUpdateTime(com.google.protobuf.Timestamp value)
Output only.ApiDeployment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApiDeployment.Builder
putAllAnnotations(Map<String,String> values)
Annotations attach non-identifying metadata to resources.ApiDeployment.Builder
putAllLabels(Map<String,String> values)
Labels attach identifying metadata to resources.ApiDeployment.Builder
putAnnotations(String key, String value)
Annotations attach non-identifying metadata to resources.ApiDeployment.Builder
putLabels(String key, String value)
Labels attach identifying metadata to resources.ApiDeployment.Builder
removeAnnotations(String key)
Annotations attach non-identifying metadata to resources.ApiDeployment.Builder
removeLabels(String key)
Labels attach identifying metadata to resources.ApiDeployment.Builder
setAccessGuidance(String value)
Text briefly describing how to access the endpoint.ApiDeployment.Builder
setAccessGuidanceBytes(com.google.protobuf.ByteString value)
Text briefly describing how to access the endpoint.ApiDeployment.Builder
setApiSpecRevision(String value)
The full resource name (including revision ID) of the spec of the API being served by the deployment.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.ApiDeployment.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.ApiDeployment.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.ApiDeployment.Builder
setDescription(String value)
A detailed description.ApiDeployment.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A detailed description.ApiDeployment.Builder
setDisplayName(String value)
Human-meaningful name.ApiDeployment.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Human-meaningful name.ApiDeployment.Builder
setEndpointUri(String value)
The address where the deployment is serving.ApiDeployment.Builder
setEndpointUriBytes(com.google.protobuf.ByteString value)
The address where the deployment is serving.ApiDeployment.Builder
setExternalChannelUri(String value)
The address of the external channel of the API (e.g., the Developer Portal).ApiDeployment.Builder
setExternalChannelUriBytes(com.google.protobuf.ByteString value)
The address of the external channel of the API (e.g., the Developer Portal).ApiDeployment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApiDeployment.Builder
setIntendedAudience(String value)
Text briefly identifying the intended audience of the API.ApiDeployment.Builder
setIntendedAudienceBytes(com.google.protobuf.ByteString value)
Text briefly identifying the intended audience of the API.ApiDeployment.Builder
setName(String value)
Resource name.ApiDeployment.Builder
setNameBytes(com.google.protobuf.ByteString value)
Resource name.ApiDeployment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ApiDeployment.Builder
setRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only.ApiDeployment.Builder
setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.ApiDeployment.Builder
setRevisionId(String value)
Output only.ApiDeployment.Builder
setRevisionIdBytes(com.google.protobuf.ByteString value)
Output only.ApiDeployment.Builder
setRevisionUpdateTime(com.google.protobuf.Timestamp value)
Output only.ApiDeployment.Builder
setRevisionUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.ApiDeployment.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
clear
public ApiDeployment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
getDefaultInstanceForType
public ApiDeployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApiDeployment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApiDeployment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApiDeployment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
setField
public ApiDeployment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
clearField
public ApiDeployment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
clearOneof
public ApiDeployment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
setRepeatedField
public ApiDeployment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
addRepeatedField
public ApiDeployment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
mergeFrom
public ApiDeployment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApiDeployment.Builder>
-
mergeFrom
public ApiDeployment.Builder mergeFrom(ApiDeployment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApiDeployment.Builder>
- Throws:
IOException
-
getName
public String getName()
Resource name.
string name = 1;
- Specified by:
getName
in interfaceApiDeploymentOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Resource name.
string name = 1;
- Specified by:
getNameBytes
in 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:
getDisplayName
in interfaceApiDeploymentOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Human-meaningful name.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in 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:
getDescription
in interfaceApiDeploymentOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A detailed description.
string description = 3;
- Specified by:
getDescriptionBytes
in 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:
getRevisionId
in 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:
getRevisionIdBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasRevisionCreateTime
in 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:
getRevisionCreateTime
in 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:
getRevisionCreateTimeOrBuilder
in 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:
hasRevisionUpdateTime
in 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:
getRevisionUpdateTime
in 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:
getRevisionUpdateTimeOrBuilder
in 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:
getApiSpecRevision
in 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:
getApiSpecRevisionBytes
in 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:
getEndpointUri
in 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:
getEndpointUriBytes
in 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:
getExternalChannelUri
in 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:
getExternalChannelUriBytes
in 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:
getIntendedAudience
in 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:
getIntendedAudienceBytes
in 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:
getAccessGuidance
in 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:
getAccessGuidanceBytes
in 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:ApiDeploymentOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceApiDeploymentOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:ApiDeploymentOrBuilder
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:
getAnnotationsCount
in 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:
containsAnnotations
in interfaceApiDeploymentOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in 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:
getAnnotationsMap
in 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:
getAnnotationsOrDefault
in 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:
getAnnotationsOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
mergeUnknownFields
public final ApiDeployment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApiDeployment.Builder>
-
-