Class Api

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

@Generated public final class Api extends com.google.protobuf.GeneratedMessage implements ApiOrBuilder
 An API resource in the API Hub.
 
Protobuf type google.cloud.apihub.v1.Api
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:
    • OWNER_FIELD_NUMBER

      public static final int OWNER_FIELD_NUMBER
      See Also:
    • VERSIONS_FIELD_NUMBER

      public static final int 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:
    • TARGET_USER_FIELD_NUMBER

      public static final int TARGET_USER_FIELD_NUMBER
      See Also:
    • TEAM_FIELD_NUMBER

      public static final int TEAM_FIELD_NUMBER
      See Also:
    • BUSINESS_UNIT_FIELD_NUMBER

      public static final int BUSINESS_UNIT_FIELD_NUMBER
      See Also:
    • MATURITY_LEVEL_FIELD_NUMBER

      public static final int MATURITY_LEVEL_FIELD_NUMBER
      See Also:
    • ATTRIBUTES_FIELD_NUMBER

      public static final int ATTRIBUTES_FIELD_NUMBER
      See Also:
    • API_STYLE_FIELD_NUMBER

      public static final int API_STYLE_FIELD_NUMBER
      See Also:
    • SELECTED_VERSION_FIELD_NUMBER

      public static final int SELECTED_VERSION_FIELD_NUMBER
      See Also:
    • API_REQUIREMENTS_FIELD_NUMBER

      public static final int API_REQUIREMENTS_FIELD_NUMBER
      See Also:
    • FINGERPRINT_FIELD_NUMBER

      public static final int FINGERPRINT_FIELD_NUMBER
      See Also:
    • SOURCE_METADATA_FIELD_NUMBER

      public static final int SOURCE_METADATA_FIELD_NUMBER
      See Also:
    • API_FUNCTIONAL_REQUIREMENTS_FIELD_NUMBER

      public static final int API_FUNCTIONAL_REQUIREMENTS_FIELD_NUMBER
      See Also:
    • API_TECHNICAL_REQUIREMENTS_FIELD_NUMBER

      public static final int API_TECHNICAL_REQUIREMENTS_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 API resource in the API Hub.
      
       Format:
       `projects/{project}/locations/{location}/apis/{api}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ApiOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

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

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

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

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

      public Documentation getDocumentation()
       Optional. The documentation for the API resource.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentation in interface ApiOrBuilder
      Returns:
      The documentation.
    • getDocumentationOrBuilder

      public DocumentationOrBuilder getDocumentationOrBuilder()
       Optional. The documentation for the API resource.
       
      .google.cloud.apihub.v1.Documentation documentation = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentationOrBuilder in interface ApiOrBuilder
    • hasOwner

      public boolean hasOwner()
       Optional. Owner details for the API resource.
       
      .google.cloud.apihub.v1.Owner owner = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOwner in interface ApiOrBuilder
      Returns:
      Whether the owner field is set.
    • getOwner

      public Owner getOwner()
       Optional. Owner details for the API resource.
       
      .google.cloud.apihub.v1.Owner owner = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOwner in interface ApiOrBuilder
      Returns:
      The owner.
    • getOwnerOrBuilder

      public OwnerOrBuilder getOwnerOrBuilder()
       Optional. Owner details for the API resource.
       
      .google.cloud.apihub.v1.Owner owner = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOwnerOrBuilder in interface ApiOrBuilder
    • getVersionsList

      public com.google.protobuf.ProtocolStringList getVersionsList()
       Output only. The list of versions present in an API resource.
       Note: An API resource can be associated with more than 1 version.
       Format is
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
       
      repeated string versions = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getVersionsList in interface ApiOrBuilder
      Returns:
      A list containing the versions.
    • getVersionsCount

      public int getVersionsCount()
       Output only. The list of versions present in an API resource.
       Note: An API resource can be associated with more than 1 version.
       Format is
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
       
      repeated string versions = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getVersionsCount in interface ApiOrBuilder
      Returns:
      The count of versions.
    • getVersions

      public String getVersions(int index)
       Output only. The list of versions present in an API resource.
       Note: An API resource can be associated with more than 1 version.
       Format is
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
       
      repeated string versions = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getVersions in interface ApiOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The versions at the given index.
    • getVersionsBytes

      public com.google.protobuf.ByteString getVersionsBytes(int index)
       Output only. The list of versions present in an API resource.
       Note: An API resource can be associated with more than 1 version.
       Format is
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
       
      repeated string versions = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getVersionsBytes in interface ApiOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the versions at the given index.
    • hasCreateTime

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

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the API resource was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ApiOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

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

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

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which the API resource was last updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ApiOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the API resource was last updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ApiOrBuilder
    • hasTargetUser

      public boolean hasTargetUser()
       Optional. The target users for the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-target-user`
       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 target_user = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTargetUser in interface ApiOrBuilder
      Returns:
      Whether the targetUser field is set.
    • getTargetUser

      public AttributeValues getTargetUser()
       Optional. The target users for the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-target-user`
       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 target_user = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetUser in interface ApiOrBuilder
      Returns:
      The targetUser.
    • getTargetUserOrBuilder

      public AttributeValuesOrBuilder getTargetUserOrBuilder()
       Optional. The target users for the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-target-user`
       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 target_user = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetUserOrBuilder in interface ApiOrBuilder
    • hasTeam

      public boolean hasTeam()
       Optional. The team owning the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-team`
       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 team = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTeam in interface ApiOrBuilder
      Returns:
      Whether the team field is set.
    • getTeam

      public AttributeValues getTeam()
       Optional. The team owning the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-team`
       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 team = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTeam in interface ApiOrBuilder
      Returns:
      The team.
    • getTeamOrBuilder

      public AttributeValuesOrBuilder getTeamOrBuilder()
       Optional. The team owning the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-team`
       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 team = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTeamOrBuilder in interface ApiOrBuilder
    • hasBusinessUnit

      public boolean hasBusinessUnit()
       Optional. The business unit owning the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-business-unit`
       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 business_unit = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBusinessUnit in interface ApiOrBuilder
      Returns:
      Whether the businessUnit field is set.
    • getBusinessUnit

      public AttributeValues getBusinessUnit()
       Optional. The business unit owning the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-business-unit`
       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 business_unit = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessUnit in interface ApiOrBuilder
      Returns:
      The businessUnit.
    • getBusinessUnitOrBuilder

      public AttributeValuesOrBuilder getBusinessUnitOrBuilder()
       Optional. The business unit owning the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-business-unit`
       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 business_unit = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessUnitOrBuilder in interface ApiOrBuilder
    • hasMaturityLevel

      public boolean hasMaturityLevel()
       Optional. The maturity level of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-maturity-level`
       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 maturity_level = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMaturityLevel in interface ApiOrBuilder
      Returns:
      Whether the maturityLevel field is set.
    • getMaturityLevel

      public AttributeValues getMaturityLevel()
       Optional. The maturity level of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-maturity-level`
       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 maturity_level = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaturityLevel in interface ApiOrBuilder
      Returns:
      The maturityLevel.
    • getMaturityLevelOrBuilder

      public AttributeValuesOrBuilder getMaturityLevelOrBuilder()
       Optional. The maturity level of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-maturity-level`
       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 maturity_level = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaturityLevelOrBuilder in interface ApiOrBuilder
    • getAttributesCount

      public int getAttributesCount()
      Description copied from interface: ApiOrBuilder
       Optional. The list of user defined attributes associated with the API
       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 ApiOrBuilder
    • containsAttributes

      public boolean containsAttributes(String key)
       Optional. The list of user defined attributes associated with the API
       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 ApiOrBuilder
    • getAttributes

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

      public Map<String,AttributeValues> getAttributesMap()
       Optional. The list of user defined attributes associated with the API
       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 ApiOrBuilder
    • getAttributesOrDefault

      public AttributeValues getAttributesOrDefault(String key, AttributeValues defaultValue)
       Optional. The list of user defined attributes associated with the API
       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 ApiOrBuilder
    • getAttributesOrThrow

      public AttributeValues getAttributesOrThrow(String key)
       Optional. The list of user defined attributes associated with the API
       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 ApiOrBuilder
    • hasApiStyle

      public boolean hasApiStyle()
       Optional. The style of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-style`
       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 api_style = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasApiStyle in interface ApiOrBuilder
      Returns:
      Whether the apiStyle field is set.
    • getApiStyle

      public AttributeValues getApiStyle()
       Optional. The style of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-style`
       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 api_style = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApiStyle in interface ApiOrBuilder
      Returns:
      The apiStyle.
    • getApiStyleOrBuilder

      public AttributeValuesOrBuilder getApiStyleOrBuilder()
       Optional. The style of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-style`
       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 api_style = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApiStyleOrBuilder in interface ApiOrBuilder
    • getSelectedVersion

      public String getSelectedVersion()
       Optional. The selected version for an API resource.
       This can be used when special handling is needed on client side for
       particular version of the API. Format is
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
       
      string selected_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getSelectedVersion in interface ApiOrBuilder
      Returns:
      The selectedVersion.
    • getSelectedVersionBytes

      public com.google.protobuf.ByteString getSelectedVersionBytes()
       Optional. The selected version for an API resource.
       This can be used when special handling is needed on client side for
       particular version of the API. Format is
       `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
       
      string selected_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getSelectedVersionBytes in interface ApiOrBuilder
      Returns:
      The bytes for selectedVersion.
    • hasApiRequirements

      public boolean hasApiRequirements()
       Optional. The api requirement doc associated with the API resource.
       Carinality is 1 for this attribute. This maps to the following system
       defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_requirements = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasApiRequirements in interface ApiOrBuilder
      Returns:
      Whether the apiRequirements field is set.
    • getApiRequirements

      public AttributeValues getApiRequirements()
       Optional. The api requirement doc associated with the API resource.
       Carinality is 1 for this attribute. This maps to the following system
       defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_requirements = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApiRequirements in interface ApiOrBuilder
      Returns:
      The apiRequirements.
    • getApiRequirementsOrBuilder

      public AttributeValuesOrBuilder getApiRequirementsOrBuilder()
       Optional. The api requirement doc associated with the API resource.
       Carinality is 1 for this attribute. This maps to the following system
       defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_requirements = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApiRequirementsOrBuilder in interface ApiOrBuilder
    • getFingerprint

      public String getFingerprint()
       Optional. Fingerprint of the API resource.
       
      string fingerprint = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFingerprint in interface ApiOrBuilder
      Returns:
      The fingerprint.
    • getFingerprintBytes

      public com.google.protobuf.ByteString getFingerprintBytes()
       Optional. Fingerprint of the API resource.
       
      string fingerprint = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFingerprintBytes in interface ApiOrBuilder
      Returns:
      The bytes for fingerprint.
    • getSourceMetadataList

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

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

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

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

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

      public boolean hasApiFunctionalRequirements()
       Optional. The api functional requirements associated with the API resource.
       Carinality is 1 for this attribute.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-functional-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_functional_requirements = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasApiFunctionalRequirements in interface ApiOrBuilder
      Returns:
      Whether the apiFunctionalRequirements field is set.
    • getApiFunctionalRequirements

      public AttributeValues getApiFunctionalRequirements()
       Optional. The api functional requirements associated with the API resource.
       Carinality is 1 for this attribute.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-functional-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_functional_requirements = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApiFunctionalRequirements in interface ApiOrBuilder
      Returns:
      The apiFunctionalRequirements.
    • getApiFunctionalRequirementsOrBuilder

      public AttributeValuesOrBuilder getApiFunctionalRequirementsOrBuilder()
       Optional. The api functional requirements associated with the API resource.
       Carinality is 1 for this attribute.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-functional-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_functional_requirements = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApiFunctionalRequirementsOrBuilder in interface ApiOrBuilder
    • hasApiTechnicalRequirements

      public boolean hasApiTechnicalRequirements()
       Optional. The api technical requirements associated with the API resource.
       Carinality is 1 for this attribute. This maps to the following system
       defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-technical-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_technical_requirements = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasApiTechnicalRequirements in interface ApiOrBuilder
      Returns:
      Whether the apiTechnicalRequirements field is set.
    • getApiTechnicalRequirements

      public AttributeValues getApiTechnicalRequirements()
       Optional. The api technical requirements associated with the API resource.
       Carinality is 1 for this attribute. This maps to the following system
       defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-technical-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_technical_requirements = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApiTechnicalRequirements in interface ApiOrBuilder
      Returns:
      The apiTechnicalRequirements.
    • getApiTechnicalRequirementsOrBuilder

      public AttributeValuesOrBuilder getApiTechnicalRequirementsOrBuilder()
       Optional. The api technical requirements associated with the API resource.
       Carinality is 1 for this attribute. This maps to the following system
       defined attribute:
       `projects/{project}/locations/{location}/attributes/system-api-technical-requirements`
       attribute. The value of the attribute should be a proper URI, and in case
       of Cloud Storage URI, it should point to a Cloud Storage object,
       not a directory.
       
      .google.cloud.apihub.v1.AttributeValues api_technical_requirements = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApiTechnicalRequirementsOrBuilder in interface ApiOrBuilder
    • 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 Api parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Api.Builder newBuilder()
    • newBuilder

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

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

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

      public static Api getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Api> 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 Api getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder