Interface APIMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
APIMetadata, APIMetadata.Builder

@Generated public interface APIMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasApi

      boolean hasApi()
       Required. The API resource to be pushed to Hub's collect layer. The ID of
       the API resource will be generated by Hub to ensure uniqueness across all
       APIs across systems.
       
      .google.cloud.apihub.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the api field is set.
    • getApi

      Api getApi()
       Required. The API resource to be pushed to Hub's collect layer. The ID of
       the API resource will be generated by Hub to ensure uniqueness across all
       APIs across systems.
       
      .google.cloud.apihub.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The api.
    • getApiOrBuilder

      ApiOrBuilder getApiOrBuilder()
       Required. The API resource to be pushed to Hub's collect layer. The ID of
       the API resource will be generated by Hub to ensure uniqueness across all
       APIs across systems.
       
      .google.cloud.apihub.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED];
    • getVersionsList

      List<VersionMetadata> getVersionsList()
       Optional. The list of versions present in an API resource.
       
      repeated .google.cloud.apihub.v1.VersionMetadata versions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getVersions

      VersionMetadata getVersions(int index)
       Optional. The list of versions present in an API resource.
       
      repeated .google.cloud.apihub.v1.VersionMetadata versions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getVersionsCount

      int getVersionsCount()
       Optional. The list of versions present in an API resource.
       
      repeated .google.cloud.apihub.v1.VersionMetadata versions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getVersionsOrBuilderList

      List<? extends VersionMetadataOrBuilder> getVersionsOrBuilderList()
       Optional. The list of versions present in an API resource.
       
      repeated .google.cloud.apihub.v1.VersionMetadata versions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getVersionsOrBuilder

      VersionMetadataOrBuilder getVersionsOrBuilder(int index)
       Optional. The list of versions present in an API resource.
       
      repeated .google.cloud.apihub.v1.VersionMetadata versions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getOriginalId

      String getOriginalId()
       Optional. The unique identifier of the API in the system where it was
       originally created.
       
      string original_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The originalId.
    • getOriginalIdBytes

      com.google.protobuf.ByteString getOriginalIdBytes()
       Optional. The unique identifier of the API in the system where it was
       originally created.
       
      string original_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for originalId.
    • hasOriginalCreateTime

      boolean hasOriginalCreateTime()
       Optional. Timestamp indicating when the API was created at the source.
       
      .google.protobuf.Timestamp original_create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the originalCreateTime field is set.
    • getOriginalCreateTime

      com.google.protobuf.Timestamp getOriginalCreateTime()
       Optional. Timestamp indicating when the API was created at the source.
       
      .google.protobuf.Timestamp original_create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The originalCreateTime.
    • getOriginalCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getOriginalCreateTimeOrBuilder()
       Optional. Timestamp indicating when the API was created at the source.
       
      .google.protobuf.Timestamp original_create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasOriginalUpdateTime

      boolean hasOriginalUpdateTime()
       Required. Timestamp indicating when the API was last updated at the source.
       
      .google.protobuf.Timestamp original_update_time = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the originalUpdateTime field is set.
    • getOriginalUpdateTime

      com.google.protobuf.Timestamp getOriginalUpdateTime()
       Required. Timestamp indicating when the API was last updated at the source.
       
      .google.protobuf.Timestamp original_update_time = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The originalUpdateTime.
    • getOriginalUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getOriginalUpdateTimeOrBuilder()
       Required. Timestamp indicating when the API was last updated at the source.
       
      .google.protobuf.Timestamp original_update_time = 5 [(.google.api.field_behavior) = REQUIRED];