Package com.google.cloud.apihub.v1
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 Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.getSpec()Required.Required.booleanOptional.booleanRequired.booleanhasSpec()Required.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
-
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];
-