Class DeploymentMetadata (0.28.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public final class DeploymentMetadata extends GeneratedMessageV3 implements DeploymentMetadataOrBuilder
The metadata associated with a deployment.
Protobuf type google.cloud.apihub.v1.DeploymentMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DEPLOYMENT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ORIGINAL_CREATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ORIGINAL_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ORIGINAL_UPDATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static DeploymentMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static DeploymentMetadata . Builder newBuilder ()
public static DeploymentMetadata . Builder newBuilder ( DeploymentMetadata prototype )
public static DeploymentMetadata parseDelimitedFrom ( InputStream input )
public static DeploymentMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static DeploymentMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static DeploymentMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static DeploymentMetadata parseFrom ( ByteString data )
public static DeploymentMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DeploymentMetadata parseFrom ( CodedInputStream input )
public static DeploymentMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DeploymentMetadata parseFrom ( InputStream input )
public static DeploymentMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static DeploymentMetadata parseFrom ( ByteBuffer data )
public static DeploymentMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<DeploymentMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public DeploymentMetadata getDefaultInstanceForType ()
public 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
Type
Description
Deployment
The deployment.
public 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];
public 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
Type
Description
Timestamp
The originalCreateTime.
public 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];
public 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
Type
Description
String
The originalId.
public 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
Type
Description
ByteString
The bytes for originalId.
public 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
Type
Description
Timestamp
The originalUpdateTime.
public 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];
public Parser<DeploymentMetadata> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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
Type
Description
boolean
Whether the deployment field is set.
public 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
Type
Description
boolean
Whether the originalCreateTime field is set.
public 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
Type
Description
boolean
Whether the originalUpdateTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public DeploymentMetadata . Builder newBuilderForType ()
protected DeploymentMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public DeploymentMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[]]