Class Deployment

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apihub.v1.Deployment
All Implemented Interfaces:
DeploymentOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Deployment extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • DOCUMENTATION_FIELD_NUMBER

      public static final int DOCUMENTATION_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_TYPE_FIELD_NUMBER

      public static final int DEPLOYMENT_TYPE_FIELD_NUMBER
      See Also:
    • RESOURCE_URI_FIELD_NUMBER

      public static final int RESOURCE_URI_FIELD_NUMBER
      See Also:
    • ENDPOINTS_FIELD_NUMBER

      public static final int ENDPOINTS_FIELD_NUMBER
      See Also:
    • API_VERSIONS_FIELD_NUMBER

      public static final int API_VERSIONS_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • SLO_FIELD_NUMBER

      public static final int SLO_FIELD_NUMBER
      See Also:
    • ENVIRONMENT_FIELD_NUMBER

      public static final int ENVIRONMENT_FIELD_NUMBER
      See Also:
    • ATTRIBUTES_FIELD_NUMBER

      public static final int ATTRIBUTES_FIELD_NUMBER
      See Also:
    • SOURCE_METADATA_FIELD_NUMBER

      public static final int SOURCE_METADATA_FIELD_NUMBER
      See Also:
    • MANAGEMENT_URL_FIELD_NUMBER

      public static final int MANAGEMENT_URL_FIELD_NUMBER
      See Also:
    • SOURCE_URI_FIELD_NUMBER

      public static final int SOURCE_URI_FIELD_NUMBER
      See Also:
    • SOURCE_PROJECT_FIELD_NUMBER

      public static final int SOURCE_PROJECT_FIELD_NUMBER
      See Also:
    • SOURCE_ENVIRONMENT_FIELD_NUMBER

      public static final int SOURCE_ENVIRONMENT_FIELD_NUMBER
      See Also:
  • 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
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Deployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Deployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Deployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Deployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Deployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Deployment parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Deployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Deployment parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Deployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Deployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Deployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Deployment.Builder newBuilder()
    • newBuilder

      public static Deployment.Builder newBuilder(Deployment prototype)
    • toBuilder

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

      protected Deployment.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Deployment getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Deployment> parser()
    • getParserForType

      public com.google.protobuf.Parser<Deployment> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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