Package com.google.cloud.apihub.v1
Interface VersionMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VersionMetadata,VersionMetadata.Builder
@Generated
public interface VersionMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDeployments(int index) Optional.intOptional.Optional.getDeploymentsOrBuilder(int index) Optional.List<? extends DeploymentMetadataOrBuilder>Optional.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.getSpecs(int index) Optional.intOptional.Optional.getSpecsOrBuilder(int index) Optional.List<? extends SpecMetadataOrBuilder>Optional.Required.Required.booleanOptional.booleanRequired.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
-
hasVersion
boolean hasVersion()Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the version field is set.
-
getVersion
Version getVersion()Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The version.
-
getVersionOrBuilder
VersionOrBuilder getVersionOrBuilder()Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
.google.cloud.apihub.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED]; -
getSpecsList
List<SpecMetadata> getSpecsList()Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
repeated .google.cloud.apihub.v1.SpecMetadata specs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getSpecs
Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
repeated .google.cloud.apihub.v1.SpecMetadata specs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getSpecsCount
int getSpecsCount()Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
repeated .google.cloud.apihub.v1.SpecMetadata specs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getSpecsOrBuilderList
List<? extends SpecMetadataOrBuilder> getSpecsOrBuilderList()Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
repeated .google.cloud.apihub.v1.SpecMetadata specs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getSpecsOrBuilder
Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
repeated .google.cloud.apihub.v1.SpecMetadata specs = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getDeploymentsList
List<DeploymentMetadata> getDeploymentsList()Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
repeated .google.cloud.apihub.v1.DeploymentMetadata deployments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getDeployments
Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
repeated .google.cloud.apihub.v1.DeploymentMetadata deployments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getDeploymentsCount
int getDeploymentsCount()Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
repeated .google.cloud.apihub.v1.DeploymentMetadata deployments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getDeploymentsOrBuilderList
List<? extends DeploymentMetadataOrBuilder> getDeploymentsOrBuilderList()Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
repeated .google.cloud.apihub.v1.DeploymentMetadata deployments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getDeploymentsOrBuilder
Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
repeated .google.cloud.apihub.v1.DeploymentMetadata deployments = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getOriginalId
String getOriginalId()Optional. The unique identifier of the version in the system where it was originally created.
string original_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The originalId.
-
getOriginalIdBytes
com.google.protobuf.ByteString getOriginalIdBytes()Optional. The unique identifier of the version in the system where it was originally created.
string original_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for originalId.
-
hasOriginalCreateTime
boolean hasOriginalCreateTime()Optional. Timestamp indicating when the version was created at the source.
.google.protobuf.Timestamp original_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the originalCreateTime field is set.
-
getOriginalCreateTime
com.google.protobuf.Timestamp getOriginalCreateTime()Optional. Timestamp indicating when the version was created at the source.
.google.protobuf.Timestamp original_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The originalCreateTime.
-
getOriginalCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getOriginalCreateTimeOrBuilder()Optional. Timestamp indicating when the version was created at the source.
.google.protobuf.Timestamp original_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; -
hasOriginalUpdateTime
boolean hasOriginalUpdateTime()Required. Timestamp indicating when the version was last updated at the source.
.google.protobuf.Timestamp original_update_time = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the originalUpdateTime field is set.
-
getOriginalUpdateTime
com.google.protobuf.Timestamp getOriginalUpdateTime()Required. Timestamp indicating when the version was last updated at the source.
.google.protobuf.Timestamp original_update_time = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The originalUpdateTime.
-
getOriginalUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getOriginalUpdateTimeOrBuilder()Required. Timestamp indicating when the version was last updated at the source.
.google.protobuf.Timestamp original_update_time = 7 [(.google.api.field_behavior) = REQUIRED];
-