Class Deployment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
com.google.cloud.apihub.v1.Deployment.Builder
All Implemented Interfaces:
DeploymentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Deployment

public static final class Deployment.Builder extends com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder> implements DeploymentOrBuilder
 Details of the deployment where APIs are hosted.
 A deployment could represent an Apigee proxy, API gateway, other Google Cloud
 services or non-Google Cloud services as well. A deployment entity is a root
 level entity in the API hub and exists independent of any API.
 
Protobuf type google.cloud.apihub.v1.Deployment
  • 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<Deployment.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public Deployment.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<Deployment.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<Deployment.Builder>
    • getDefaultInstanceForType

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

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

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

      public Deployment.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<Deployment.Builder>
    • mergeFrom

      public Deployment.Builder mergeFrom(Deployment other)
    • isInitialized

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

      public Deployment.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<Deployment.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the deployment.
      
       Format:
       `projects/{project}/locations/{location}/deployments/{deployment}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DeploymentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the deployment.
      
       Format:
       `projects/{project}/locations/{location}/deployments/{deployment}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Deployment.Builder setName(String value)
       Identifier. The name of the deployment.
      
       Format:
       `projects/{project}/locations/{location}/deployments/{deployment}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Deployment.Builder clearName()
       Identifier. The name of the deployment.
      
       Format:
       `projects/{project}/locations/{location}/deployments/{deployment}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Deployment.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the deployment.
      
       Format:
       `projects/{project}/locations/{location}/deployments/{deployment}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The display name of the deployment.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface DeploymentOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of the deployment.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Deployment.Builder setDisplayName(String value)
       Required. The display name of the deployment.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Deployment.Builder clearDisplayName()
       Required. The display name of the deployment.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Deployment.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The display name of the deployment.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. The description of the deployment.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DeploymentOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the deployment.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Deployment.Builder setDescription(String value)
       Optional. The description of the deployment.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Deployment.Builder clearDescription()
       Optional. The description of the deployment.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Deployment.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The description of the deployment.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasDocumentation

      public boolean hasDocumentation()
       Optional. The documentation of the deployment.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDocumentation in interface DeploymentOrBuilder
      Returns:
      Whether the documentation field is set.
    • getDocumentation

      public Documentation getDocumentation()
       Optional. The documentation of the deployment.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentation in interface DeploymentOrBuilder
      Returns:
      The documentation.
    • setDocumentation

      public Deployment.Builder setDocumentation(Documentation value)
       Optional. The documentation of the deployment.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setDocumentation

      public Deployment.Builder setDocumentation(Documentation.Builder builderForValue)
       Optional. The documentation of the deployment.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDocumentation

      public Deployment.Builder mergeDocumentation(Documentation value)
       Optional. The documentation of the deployment.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearDocumentation

      public Deployment.Builder clearDocumentation()
       Optional. The documentation of the deployment.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getDocumentationBuilder

      public Documentation.Builder getDocumentationBuilder()
       Optional. The documentation of the deployment.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getDocumentationOrBuilder

      public DocumentationOrBuilder getDocumentationOrBuilder()
       Optional. The documentation of the deployment.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentationOrBuilder in interface DeploymentOrBuilder
    • hasDeploymentType

      public boolean hasDeploymentType()
       Required. The type of deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-deployment-type`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues deployment_type = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDeploymentType in interface DeploymentOrBuilder
      Returns:
      Whether the deploymentType field is set.
    • getDeploymentType

      public AttributeValues getDeploymentType()
       Required. The type of deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-deployment-type`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues deployment_type = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeploymentType in interface DeploymentOrBuilder
      Returns:
      The deploymentType.
    • setDeploymentType

      public Deployment.Builder setDeploymentType(AttributeValues value)
       Required. The type of deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-deployment-type`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues deployment_type = 5 [(.google.api.field_behavior) = REQUIRED];
    • setDeploymentType

      public Deployment.Builder setDeploymentType(AttributeValues.Builder builderForValue)
       Required. The type of deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-deployment-type`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues deployment_type = 5 [(.google.api.field_behavior) = REQUIRED];
    • mergeDeploymentType

      public Deployment.Builder mergeDeploymentType(AttributeValues value)
       Required. The type of deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-deployment-type`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues deployment_type = 5 [(.google.api.field_behavior) = REQUIRED];
    • clearDeploymentType

      public Deployment.Builder clearDeploymentType()
       Required. The type of deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-deployment-type`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues deployment_type = 5 [(.google.api.field_behavior) = REQUIRED];
    • getDeploymentTypeBuilder

      public AttributeValues.Builder getDeploymentTypeBuilder()
       Required. The type of deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-deployment-type`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues deployment_type = 5 [(.google.api.field_behavior) = REQUIRED];
    • getDeploymentTypeOrBuilder

      public AttributeValuesOrBuilder getDeploymentTypeOrBuilder()
       Required. The type of deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-deployment-type`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues deployment_type = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeploymentTypeOrBuilder in interface DeploymentOrBuilder
    • getResourceUri

      public String getResourceUri()
       Required. The resource URI identifies the deployment within its gateway.
       For Apigee gateways, its recommended to use the format:
       organizations/{org}/environments/{env}/apis/{api}.
       For ex: if a proxy with name `orders` is deployed in `staging`
       environment of `cymbal` organization, the resource URI would be:
       `organizations/cymbal/environments/staging/apis/orders`.
       
      string resource_uri = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourceUri in interface DeploymentOrBuilder
      Returns:
      The resourceUri.
    • getResourceUriBytes

      public com.google.protobuf.ByteString getResourceUriBytes()
       Required. The resource URI identifies the deployment within its gateway.
       For Apigee gateways, its recommended to use the format:
       organizations/{org}/environments/{env}/apis/{api}.
       For ex: if a proxy with name `orders` is deployed in `staging`
       environment of `cymbal` organization, the resource URI would be:
       `organizations/cymbal/environments/staging/apis/orders`.
       
      string resource_uri = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourceUriBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for resourceUri.
    • setResourceUri

      public Deployment.Builder setResourceUri(String value)
       Required. The resource URI identifies the deployment within its gateway.
       For Apigee gateways, its recommended to use the format:
       organizations/{org}/environments/{env}/apis/{api}.
       For ex: if a proxy with name `orders` is deployed in `staging`
       environment of `cymbal` organization, the resource URI would be:
       `organizations/cymbal/environments/staging/apis/orders`.
       
      string resource_uri = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The resourceUri to set.
      Returns:
      This builder for chaining.
    • clearResourceUri

      public Deployment.Builder clearResourceUri()
       Required. The resource URI identifies the deployment within its gateway.
       For Apigee gateways, its recommended to use the format:
       organizations/{org}/environments/{env}/apis/{api}.
       For ex: if a proxy with name `orders` is deployed in `staging`
       environment of `cymbal` organization, the resource URI would be:
       `organizations/cymbal/environments/staging/apis/orders`.
       
      string resource_uri = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setResourceUriBytes

      public Deployment.Builder setResourceUriBytes(com.google.protobuf.ByteString value)
       Required. The resource URI identifies the deployment within its gateway.
       For Apigee gateways, its recommended to use the format:
       organizations/{org}/environments/{env}/apis/{api}.
       For ex: if a proxy with name `orders` is deployed in `staging`
       environment of `cymbal` organization, the resource URI would be:
       `organizations/cymbal/environments/staging/apis/orders`.
       
      string resource_uri = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for resourceUri to set.
      Returns:
      This builder for chaining.
    • getEndpointsList

      public com.google.protobuf.ProtocolStringList getEndpointsList()
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointsList in interface DeploymentOrBuilder
      Returns:
      A list containing the endpoints.
    • getEndpointsCount

      public int getEndpointsCount()
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointsCount in interface DeploymentOrBuilder
      Returns:
      The count of endpoints.
    • getEndpoints

      public String getEndpoints(int index)
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpoints in interface DeploymentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The endpoints at the given index.
    • getEndpointsBytes

      public com.google.protobuf.ByteString getEndpointsBytes(int index)
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointsBytes in interface DeploymentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the endpoints at the given index.
    • setEndpoints

      public Deployment.Builder setEndpoints(int index, String value)
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The endpoints to set.
      Returns:
      This builder for chaining.
    • addEndpoints

      public Deployment.Builder addEndpoints(String value)
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The endpoints to add.
      Returns:
      This builder for chaining.
    • addAllEndpoints

      public Deployment.Builder addAllEndpoints(Iterable<String> values)
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The endpoints to add.
      Returns:
      This builder for chaining.
    • clearEndpoints

      public Deployment.Builder clearEndpoints()
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • addEndpointsBytes

      public Deployment.Builder addEndpointsBytes(com.google.protobuf.ByteString value)
       Required. The endpoints at which this deployment resource is listening for
       API requests. This could be a list of complete URIs, hostnames or an IP
       addresses.
       
      repeated string endpoints = 7 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes of the endpoints to add.
      Returns:
      This builder for chaining.
    • getApiVersionsList

      public com.google.protobuf.ProtocolStringList getApiVersionsList()
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApiVersionsList in interface DeploymentOrBuilder
      Returns:
      A list containing the apiVersions.
    • getApiVersionsCount

      public int getApiVersionsCount()
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApiVersionsCount in interface DeploymentOrBuilder
      Returns:
      The count of apiVersions.
    • getApiVersions

      public String getApiVersions(int index)
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApiVersions in interface DeploymentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The apiVersions at the given index.
    • getApiVersionsBytes

      public com.google.protobuf.ByteString getApiVersionsBytes(int index)
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApiVersionsBytes in interface DeploymentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the apiVersions at the given index.
    • setApiVersions

      public Deployment.Builder setApiVersions(int index, String value)
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The apiVersions to set.
      Returns:
      This builder for chaining.
    • addApiVersions

      public Deployment.Builder addApiVersions(String value)
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The apiVersions to add.
      Returns:
      This builder for chaining.
    • addAllApiVersions

      public Deployment.Builder addAllApiVersions(Iterable<String> values)
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The apiVersions to add.
      Returns:
      This builder for chaining.
    • clearApiVersions

      public Deployment.Builder clearApiVersions()
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addApiVersionsBytes

      public Deployment.Builder addApiVersionsBytes(com.google.protobuf.ByteString value)
       Output only. The API versions linked to this deployment.
       Note: A particular deployment could be linked to multiple different API
       versions (of same or different APIs).
       
      repeated string api_versions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the apiVersions to add.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which the deployment was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DeploymentOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the deployment was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DeploymentOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Deployment.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the deployment was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Deployment.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the deployment was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Deployment.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the deployment was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Deployment.Builder clearCreateTime()
       Output only. The time at which the deployment was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time at which the deployment was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the deployment was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DeploymentOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time at which the deployment was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DeploymentOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which the deployment was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DeploymentOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Deployment.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the deployment was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Deployment.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the deployment was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Deployment.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the deployment was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Deployment.Builder clearUpdateTime()
       Output only. The time at which the deployment was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time at which the deployment was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the deployment was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DeploymentOrBuilder
    • hasSlo

      public boolean hasSlo()
       Optional. The SLO for this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-slo`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues slo = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSlo in interface DeploymentOrBuilder
      Returns:
      Whether the slo field is set.
    • getSlo

      public AttributeValues getSlo()
       Optional. The SLO for this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-slo`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues slo = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSlo in interface DeploymentOrBuilder
      Returns:
      The slo.
    • setSlo

      public Deployment.Builder setSlo(AttributeValues value)
       Optional. The SLO for this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-slo`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues slo = 11 [(.google.api.field_behavior) = OPTIONAL];
    • setSlo

      public Deployment.Builder setSlo(AttributeValues.Builder builderForValue)
       Optional. The SLO for this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-slo`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues slo = 11 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSlo

      public Deployment.Builder mergeSlo(AttributeValues value)
       Optional. The SLO for this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-slo`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues slo = 11 [(.google.api.field_behavior) = OPTIONAL];
    • clearSlo

      public Deployment.Builder clearSlo()
       Optional. The SLO for this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-slo`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues slo = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getSloBuilder

      public AttributeValues.Builder getSloBuilder()
       Optional. The SLO for this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-slo`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues slo = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getSloOrBuilder

      public AttributeValuesOrBuilder getSloOrBuilder()
       Optional. The SLO for this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-slo`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues slo = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSloOrBuilder in interface DeploymentOrBuilder
    • hasEnvironment

      public boolean hasEnvironment()
       Optional. The environment mapping to this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-environment`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues environment = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEnvironment in interface DeploymentOrBuilder
      Returns:
      Whether the environment field is set.
    • getEnvironment

      public AttributeValues getEnvironment()
       Optional. The environment mapping to this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-environment`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues environment = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnvironment in interface DeploymentOrBuilder
      Returns:
      The environment.
    • setEnvironment

      public Deployment.Builder setEnvironment(AttributeValues value)
       Optional. The environment mapping to this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-environment`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues environment = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setEnvironment

      public Deployment.Builder setEnvironment(AttributeValues.Builder builderForValue)
       Optional. The environment mapping to this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-environment`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues environment = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeEnvironment

      public Deployment.Builder mergeEnvironment(AttributeValues value)
       Optional. The environment mapping to this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-environment`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues environment = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearEnvironment

      public Deployment.Builder clearEnvironment()
       Optional. The environment mapping to this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-environment`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues environment = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getEnvironmentBuilder

      public AttributeValues.Builder getEnvironmentBuilder()
       Optional. The environment mapping to this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-environment`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues environment = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getEnvironmentOrBuilder

      public AttributeValuesOrBuilder getEnvironmentOrBuilder()
       Optional. The environment mapping to this deployment.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-environment`
       attribute.
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       
      .google.cloud.apihub.v1.AttributeValues environment = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnvironmentOrBuilder in interface DeploymentOrBuilder
    • getAttributesCount

      public int getAttributesCount()
      Description copied from interface: DeploymentOrBuilder
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesCount in interface DeploymentOrBuilder
    • containsAttributes

      public boolean containsAttributes(String key)
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAttributes in interface DeploymentOrBuilder
    • getAttributes

      @Deprecated public Map<String,AttributeValues> getAttributes()
      Deprecated.
      Use getAttributesMap() instead.
      Specified by:
      getAttributes in interface DeploymentOrBuilder
    • getAttributesMap

      public Map<String,AttributeValues> getAttributesMap()
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesMap in interface DeploymentOrBuilder
    • getAttributesOrDefault

      public AttributeValues getAttributesOrDefault(String key, AttributeValues defaultValue)
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesOrDefault in interface DeploymentOrBuilder
    • getAttributesOrThrow

      public AttributeValues getAttributesOrThrow(String key)
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesOrThrow in interface DeploymentOrBuilder
    • clearAttributes

      public Deployment.Builder clearAttributes()
    • removeAttributes

      public Deployment.Builder removeAttributes(String key)
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAttributes

      @Deprecated public Map<String,AttributeValues> getMutableAttributes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAttributes

      public Deployment.Builder putAttributes(String key, AttributeValues value)
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAttributes

      public Deployment.Builder putAllAttributes(Map<String,AttributeValues> values)
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
    • putAttributesBuilderIfAbsent

      public AttributeValues.Builder putAttributesBuilderIfAbsent(String key)
       Optional. The list of user defined attributes associated with the
       deployment resource. The key is the attribute name. It will be of the
       format: `projects/{project}/locations/{location}/attributes/{attribute}`.
       The value is the attribute values associated with the resource.
       
      map<string, .google.cloud.apihub.v1.AttributeValues> attributes = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceMetadataList

      public List<SourceMetadata> getSourceMetadataList()
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadataList in interface DeploymentOrBuilder
    • getSourceMetadataCount

      public int getSourceMetadataCount()
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadataCount in interface DeploymentOrBuilder
    • getSourceMetadata

      public SourceMetadata getSourceMetadata(int index)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadata in interface DeploymentOrBuilder
    • setSourceMetadata

      public Deployment.Builder setSourceMetadata(int index, SourceMetadata value)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setSourceMetadata

      public Deployment.Builder setSourceMetadata(int index, SourceMetadata.Builder builderForValue)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadata

      public Deployment.Builder addSourceMetadata(SourceMetadata value)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadata

      public Deployment.Builder addSourceMetadata(int index, SourceMetadata value)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadata

      public Deployment.Builder addSourceMetadata(SourceMetadata.Builder builderForValue)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadata

      public Deployment.Builder addSourceMetadata(int index, SourceMetadata.Builder builderForValue)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllSourceMetadata

      public Deployment.Builder addAllSourceMetadata(Iterable<? extends SourceMetadata> values)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSourceMetadata

      public Deployment.Builder clearSourceMetadata()
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeSourceMetadata

      public Deployment.Builder removeSourceMetadata(int index)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceMetadataBuilder

      public SourceMetadata.Builder getSourceMetadataBuilder(int index)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceMetadataOrBuilder

      public SourceMetadataOrBuilder getSourceMetadataOrBuilder(int index)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadataOrBuilder in interface DeploymentOrBuilder
    • getSourceMetadataOrBuilderList

      public List<? extends SourceMetadataOrBuilder> getSourceMetadataOrBuilderList()
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceMetadataOrBuilderList in interface DeploymentOrBuilder
    • addSourceMetadataBuilder

      public SourceMetadata.Builder addSourceMetadataBuilder()
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSourceMetadataBuilder

      public SourceMetadata.Builder addSourceMetadataBuilder(int index)
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSourceMetadataBuilderList

      public List<SourceMetadata.Builder> getSourceMetadataBuilderList()
       Output only. The list of sources and metadata from the sources of the
       deployment.
       
      repeated .google.cloud.apihub.v1.SourceMetadata source_metadata = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasManagementUrl

      public boolean hasManagementUrl()
       Optional. The uri where users can navigate to for the management of the
       deployment. This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-management-url`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URL.
       
      .google.cloud.apihub.v1.AttributeValues management_url = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasManagementUrl in interface DeploymentOrBuilder
      Returns:
      Whether the managementUrl field is set.
    • getManagementUrl

      public AttributeValues getManagementUrl()
       Optional. The uri where users can navigate to for the management of the
       deployment. This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-management-url`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URL.
       
      .google.cloud.apihub.v1.AttributeValues management_url = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getManagementUrl in interface DeploymentOrBuilder
      Returns:
      The managementUrl.
    • setManagementUrl

      public Deployment.Builder setManagementUrl(AttributeValues value)
       Optional. The uri where users can navigate to for the management of the
       deployment. This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-management-url`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URL.
       
      .google.cloud.apihub.v1.AttributeValues management_url = 15 [(.google.api.field_behavior) = OPTIONAL];
    • setManagementUrl

      public Deployment.Builder setManagementUrl(AttributeValues.Builder builderForValue)
       Optional. The uri where users can navigate to for the management of the
       deployment. This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-management-url`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URL.
       
      .google.cloud.apihub.v1.AttributeValues management_url = 15 [(.google.api.field_behavior) = OPTIONAL];
    • mergeManagementUrl

      public Deployment.Builder mergeManagementUrl(AttributeValues value)
       Optional. The uri where users can navigate to for the management of the
       deployment. This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-management-url`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URL.
       
      .google.cloud.apihub.v1.AttributeValues management_url = 15 [(.google.api.field_behavior) = OPTIONAL];
    • clearManagementUrl

      public Deployment.Builder clearManagementUrl()
       Optional. The uri where users can navigate to for the management of the
       deployment. This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-management-url`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URL.
       
      .google.cloud.apihub.v1.AttributeValues management_url = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getManagementUrlBuilder

      public AttributeValues.Builder getManagementUrlBuilder()
       Optional. The uri where users can navigate to for the management of the
       deployment. This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-management-url`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URL.
       
      .google.cloud.apihub.v1.AttributeValues management_url = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getManagementUrlOrBuilder

      public AttributeValuesOrBuilder getManagementUrlOrBuilder()
       Optional. The uri where users can navigate to for the management of the
       deployment. This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-management-url`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URL.
       
      .google.cloud.apihub.v1.AttributeValues management_url = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getManagementUrlOrBuilder in interface DeploymentOrBuilder
    • hasSourceUri

      public boolean hasSourceUri()
       Optional. The uri where additional source specific information for this
       deployment can be found. This maps to the following system defined
       attribute:
       `projects/{project}/locations/{location}/attributes/system-source-uri`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues source_uri = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSourceUri in interface DeploymentOrBuilder
      Returns:
      Whether the sourceUri field is set.
    • getSourceUri

      public AttributeValues getSourceUri()
       Optional. The uri where additional source specific information for this
       deployment can be found. This maps to the following system defined
       attribute:
       `projects/{project}/locations/{location}/attributes/system-source-uri`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues source_uri = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceUri in interface DeploymentOrBuilder
      Returns:
      The sourceUri.
    • setSourceUri

      public Deployment.Builder setSourceUri(AttributeValues value)
       Optional. The uri where additional source specific information for this
       deployment can be found. This maps to the following system defined
       attribute:
       `projects/{project}/locations/{location}/attributes/system-source-uri`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues source_uri = 16 [(.google.api.field_behavior) = OPTIONAL];
    • setSourceUri

      public Deployment.Builder setSourceUri(AttributeValues.Builder builderForValue)
       Optional. The uri where additional source specific information for this
       deployment can be found. This maps to the following system defined
       attribute:
       `projects/{project}/locations/{location}/attributes/system-source-uri`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues source_uri = 16 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSourceUri

      public Deployment.Builder mergeSourceUri(AttributeValues value)
       Optional. The uri where additional source specific information for this
       deployment can be found. This maps to the following system defined
       attribute:
       `projects/{project}/locations/{location}/attributes/system-source-uri`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues source_uri = 16 [(.google.api.field_behavior) = OPTIONAL];
    • clearSourceUri

      public Deployment.Builder clearSourceUri()
       Optional. The uri where additional source specific information for this
       deployment can be found. This maps to the following system defined
       attribute:
       `projects/{project}/locations/{location}/attributes/system-source-uri`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues source_uri = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceUriBuilder

      public AttributeValues.Builder getSourceUriBuilder()
       Optional. The uri where additional source specific information for this
       deployment can be found. This maps to the following system defined
       attribute:
       `projects/{project}/locations/{location}/attributes/system-source-uri`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues source_uri = 16 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceUriOrBuilder

      public AttributeValuesOrBuilder getSourceUriOrBuilder()
       Optional. The uri where additional source specific information for this
       deployment can be found. This maps to the following system defined
       attribute:
       `projects/{project}/locations/{location}/attributes/system-source-uri`
       The number of values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. The value of the attribute should be a valid URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues source_uri = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceUriOrBuilder in interface DeploymentOrBuilder
    • getSourceProject

      public String getSourceProject()
       Optional. The project to which the deployment belongs.
       For GCP gateways, this will refer to the project identifier.
       For others like Edge/OPDK, this will refer to the org identifier.
       
      string source_project = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceProject in interface DeploymentOrBuilder
      Returns:
      The sourceProject.
    • getSourceProjectBytes

      public com.google.protobuf.ByteString getSourceProjectBytes()
       Optional. The project to which the deployment belongs.
       For GCP gateways, this will refer to the project identifier.
       For others like Edge/OPDK, this will refer to the org identifier.
       
      string source_project = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceProjectBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for sourceProject.
    • setSourceProject

      public Deployment.Builder setSourceProject(String value)
       Optional. The project to which the deployment belongs.
       For GCP gateways, this will refer to the project identifier.
       For others like Edge/OPDK, this will refer to the org identifier.
       
      string source_project = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The sourceProject to set.
      Returns:
      This builder for chaining.
    • clearSourceProject

      public Deployment.Builder clearSourceProject()
       Optional. The project to which the deployment belongs.
       For GCP gateways, this will refer to the project identifier.
       For others like Edge/OPDK, this will refer to the org identifier.
       
      string source_project = 17 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setSourceProjectBytes

      public Deployment.Builder setSourceProjectBytes(com.google.protobuf.ByteString value)
       Optional. The project to which the deployment belongs.
       For GCP gateways, this will refer to the project identifier.
       For others like Edge/OPDK, this will refer to the org identifier.
       
      string source_project = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for sourceProject to set.
      Returns:
      This builder for chaining.
    • getSourceEnvironment

      public String getSourceEnvironment()
       Optional. The environment at source for the deployment.
       For example: prod, dev, staging, etc.
       
      string source_environment = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceEnvironment in interface DeploymentOrBuilder
      Returns:
      The sourceEnvironment.
    • getSourceEnvironmentBytes

      public com.google.protobuf.ByteString getSourceEnvironmentBytes()
       Optional. The environment at source for the deployment.
       For example: prod, dev, staging, etc.
       
      string source_environment = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceEnvironmentBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for sourceEnvironment.
    • setSourceEnvironment

      public Deployment.Builder setSourceEnvironment(String value)
       Optional. The environment at source for the deployment.
       For example: prod, dev, staging, etc.
       
      string source_environment = 18 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The sourceEnvironment to set.
      Returns:
      This builder for chaining.
    • clearSourceEnvironment

      public Deployment.Builder clearSourceEnvironment()
       Optional. The environment at source for the deployment.
       For example: prod, dev, staging, etc.
       
      string source_environment = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setSourceEnvironmentBytes

      public Deployment.Builder setSourceEnvironmentBytes(com.google.protobuf.ByteString value)
       Optional. The environment at source for the deployment.
       For example: prod, dev, staging, etc.
       
      string source_environment = 18 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for sourceEnvironment to set.
      Returns:
      This builder for chaining.