Interface SpecMetadataOrBuilder (0.28.0)

public interface SpecMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOriginalCreateTime()

public abstract 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
Type Description
Timestamp

The originalCreateTime.

getOriginalCreateTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getOriginalId()

public abstract 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
Type Description
String

The originalId.

getOriginalIdBytes()

public abstract 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
Type Description
ByteString

The bytes for originalId.

getOriginalUpdateTime()

public abstract 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
Type Description
Timestamp

The originalUpdateTime.

getOriginalUpdateTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getSpec()

public abstract 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
Type Description
Spec

The spec.

getSpecOrBuilder()

public abstract 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];

Returns
Type Description
SpecOrBuilder

hasOriginalCreateTime()

public abstract 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
Type Description
boolean

Whether the originalCreateTime field is set.

hasOriginalUpdateTime()

public abstract 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
Type Description
boolean

Whether the originalUpdateTime field is set.

hasSpec()

public abstract 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
Type Description
boolean

Whether the spec field is set.