Class ApiDeployment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 type google.cloud.apigeeregistry.v1.ApiDeployment
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ApiDeployment.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ApiDeployment.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ApiDeployment.Builder>
    • clear

      public ApiDeployment.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ApiDeployment.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ApiDeployment.Builder>
    • getDefaultInstanceForType

      public ApiDeployment getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ApiDeployment build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ApiDeployment buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ApiDeployment.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApiDeployment.Builder>
    • mergeFrom

      public ApiDeployment.Builder mergeFrom(ApiDeployment other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ApiDeployment.Builder>
    • mergeFrom

      public ApiDeployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApiDeployment.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Resource name.
       
      string name = 1;
      Specified by:
      getName in interface ApiDeploymentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Resource name.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Human-meaningful name.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A detailed description.
       
      string description = 3;
      Specified by:
      getDescriptionBytes in interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
      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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • 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 interface ApiDeploymentOrBuilder
    • 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;