Package com.google.cloud.apihub.v1
Interface DeploymentMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeploymentMetadata,DeploymentMetadata.Builder
@Generated
public interface DeploymentMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.booleanRequired.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
-
hasDeployment
boolean hasDeployment()Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the deployment field is set.
-
getDeployment
Deployment getDeployment()Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The deployment.
-
getDeploymentOrBuilder
DeploymentOrBuilder getDeploymentOrBuilder()Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED]; -
getOriginalId
String getOriginalId()Optional. The unique identifier of the deployment 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 deployment 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 deployment 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 deployment 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 deployment 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 deployment 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 deployment 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 deployment was last updated at the source.
.google.protobuf.Timestamp original_update_time = 4 [(.google.api.field_behavior) = REQUIRED];
-