Interface SpecMetadataOrBuilder

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

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

    • hasSpec

      boolean hasSpec()
       Required. The spec resource to be pushed to Hub's collect layer. The ID of
       the spec will be generated by Hub.
       
      .google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the spec field is set.
    • getSpec

      Spec getSpec()
       Required. The spec resource to be pushed to Hub's collect layer. The ID of
       the spec will be generated by Hub.
       
      .google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The spec.
    • getSpecOrBuilder

      SpecOrBuilder getSpecOrBuilder()
       Required. The spec resource to be pushed to Hub's collect layer. The ID of
       the spec will be generated by Hub.
       
      .google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • getOriginalId

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

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

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

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

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

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

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

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