Interface AsyncModelMetadataOrBuilder (1.4.0)

publicinterface AsyncModelMetadataOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

publicabstractTimestampgetCreateTime()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicabstractTimestampOrBuildergetCreateTimeOrBuilder()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description

getState()

publicabstractAsyncModelMetadata.StategetState()

The state of the current operation.

.google.cloud.optimization.v1.AsyncModelMetadata.State state = 1;

Returns
Type Description

getStateMessage()

publicabstractStringgetStateMessage()

A message providing more details about the current state of the operation. For example, the error message if the operation is failed.

string state_message = 2;

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

publicabstractByteStringgetStateMessageBytes()

A message providing more details about the current state of the operation. For example, the error message if the operation is failed.

string state_message = 2;

Returns
Type Description
ByteString

The bytes for stateMessage.

getStateValue()

publicabstractintgetStateValue()

The state of the current operation.

.google.cloud.optimization.v1.AsyncModelMetadata.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

publicabstractTimestampgetUpdateTime()

The last update time of the operation.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

publicabstractTimestampOrBuildergetUpdateTimeOrBuilder()

The last update time of the operation.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description

hasCreateTime()

publicabstractbooleanhasCreateTime()

The creation time of the operation.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

publicabstractbooleanhasUpdateTime()

The last update time of the operation.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
boolean

Whether the updateTime field is set.

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月30日 UTC.