Package com.google.cloud.apihub.v1
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 Summary
Modifier and TypeMethodDescriptiongetApi()Required.Required.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.getVersions(int index) Optional.intOptional.Optional.getVersionsOrBuilder(int index) Optional.List<? extends VersionMetadataOrBuilder>Optional.booleanhasApi()Required.booleanOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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];
-