Class AsyncModelMetadata.Builder (1.76.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
publicstaticfinalclass AsyncModelMetadata.BuilderextendsGeneratedMessageV3.Builder<AsyncModelMetadata.Builder>implementsAsyncModelMetadataOrBuilderThe long running operation metadata for async model related methods.
Protobuf type google.cloud.optimization.v1.AsyncModelMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AsyncModelMetadata.BuilderImplements
AsyncModelMetadataOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAsyncModelMetadata.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
build()
publicAsyncModelMetadatabuild()| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata |
|
buildPartial()
publicAsyncModelMetadatabuildPartial()| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata |
|
clear()
publicAsyncModelMetadata.Builderclear()| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
clearCreateTime()
publicAsyncModelMetadata.BuilderclearCreateTime()The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicAsyncModelMetadata.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicAsyncModelMetadata.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
clearState()
publicAsyncModelMetadata.BuilderclearState()The state of the current operation.
.google.cloud.optimization.v1.AsyncModelMetadata.State state = 1;
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
This builder for chaining. |
clearStateMessage()
publicAsyncModelMetadata.BuilderclearStateMessage()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 |
AsyncModelMetadata.Builder |
This builder for chaining. |
clearUpdateTime()
publicAsyncModelMetadata.BuilderclearUpdateTime()The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
clone()
publicAsyncModelMetadata.Builderclone()| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
getCreateTime()
publicTimestampgetCreateTime()The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
publicTimestamp.BuildergetCreateTimeBuilder()The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
publicAsyncModelMetadatagetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getState()
publicAsyncModelMetadata.StategetState()The state of the current operation.
.google.cloud.optimization.v1.AsyncModelMetadata.State state = 1;
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.State |
The state. |
getStateMessage()
publicStringgetStateMessage()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()
publicByteStringgetStateMessageBytes()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()
publicintgetStateValue()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()
publicTimestampgetUpdateTime()The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
publicTimestamp.BuildergetUpdateTimeBuilder()The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
publicbooleanhasCreateTime()The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
publicbooleanhasUpdateTime()The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
publicAsyncModelMetadata.BuildermergeCreateTime(Timestampvalue)The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
mergeFrom(AsyncModelMetadata other)
publicAsyncModelMetadata.BuildermergeFrom(AsyncModelMetadataother)| Parameter | |
|---|---|
| Name | Description |
other |
AsyncModelMetadata |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicAsyncModelMetadata.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicAsyncModelMetadata.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAsyncModelMetadata.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
mergeUpdateTime(Timestamp value)
publicAsyncModelMetadata.BuildermergeUpdateTime(Timestampvalue)The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
setCreateTime(Timestamp value)
publicAsyncModelMetadata.BuildersetCreateTime(Timestampvalue)The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
publicAsyncModelMetadata.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)The creation time of the operation.
.google.protobuf.Timestamp create_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicAsyncModelMetadata.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAsyncModelMetadata.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
setState(AsyncModelMetadata.State value)
publicAsyncModelMetadata.BuildersetState(AsyncModelMetadata.Statevalue)The state of the current operation.
.google.cloud.optimization.v1.AsyncModelMetadata.State state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AsyncModelMetadata.State The state to set. |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
This builder for chaining. |
setStateMessage(String value)
publicAsyncModelMetadata.BuildersetStateMessage(Stringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
String The stateMessage to set. |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
This builder for chaining. |
setStateMessageBytes(ByteString value)
publicAsyncModelMetadata.BuildersetStateMessageBytes(ByteStringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for stateMessage to set. |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
This builder for chaining. |
setStateValue(int value)
publicAsyncModelMetadata.BuildersetStateValue(intvalue)The state of the current operation.
.google.cloud.optimization.v1.AsyncModelMetadata.State state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
int The enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAsyncModelMetadata.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
setUpdateTime(Timestamp value)
publicAsyncModelMetadata.BuildersetUpdateTime(Timestampvalue)The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
publicAsyncModelMetadata.BuildersetUpdateTime(Timestamp.BuilderbuilderForValue)The last update time of the operation.
.google.protobuf.Timestamp update_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AsyncModelMetadata.Builder |
|