public static final class Engine.RecommendationMetadata extends com.google.protobuf.GeneratedMessageV3 implements Engine.RecommendationMetadataOrBuilder
Additional information of a recommendation engine.Protobuf type
google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
Engine.RecommendationMetadata.Builder
Additional information of a recommendation engine.
|
static class |
Engine.RecommendationMetadata.DataState
Describes whether this engine have sufficient training data
to be continuously trained.
|
static class |
Engine.RecommendationMetadata.ServingState
The serving state of the recommendation engine.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_STATE_FIELD_NUMBER |
static int |
LAST_TUNE_TIME_FIELD_NUMBER |
static int |
SERVING_STATE_FIELD_NUMBER |
static int |
TUNING_OPERATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Engine.RecommendationMetadata.DataState |
getDataState()
Output only.
|
int |
getDataStateValue()
Output only.
|
static Engine.RecommendationMetadata |
getDefaultInstance() |
Engine.RecommendationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getLastTuneTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getLastTuneTimeOrBuilder()
Output only.
|
com.google.protobuf.Parser<Engine.RecommendationMetadata> |
getParserForType() |
int |
getSerializedSize() |
Engine.RecommendationMetadata.ServingState |
getServingState()
Output only.
|
int |
getServingStateValue()
Output only.
|
String |
getTuningOperation()
Output only.
|
com.google.protobuf.ByteString |
getTuningOperationBytes()
Output only.
|
int |
hashCode() |
boolean |
hasLastTuneTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Engine.RecommendationMetadata.Builder |
newBuilder() |
static Engine.RecommendationMetadata.Builder |
newBuilder(Engine.RecommendationMetadata prototype) |
Engine.RecommendationMetadata.Builder |
newBuilderForType() |
protected Engine.RecommendationMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Engine.RecommendationMetadata |
parseDelimitedFrom(InputStream input) |
static Engine.RecommendationMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.RecommendationMetadata |
parseFrom(byte[] data) |
static Engine.RecommendationMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.RecommendationMetadata |
parseFrom(ByteBuffer data) |
static Engine.RecommendationMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.RecommendationMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static Engine.RecommendationMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.RecommendationMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Engine.RecommendationMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.RecommendationMetadata |
parseFrom(InputStream input) |
static Engine.RecommendationMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Engine.RecommendationMetadata> |
parser() |
Engine.RecommendationMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVING_STATE_FIELD_NUMBER
public static final int DATA_STATE_FIELD_NUMBER
public static final int LAST_TUNE_TIME_FIELD_NUMBER
public static final int TUNING_OPERATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getServingStateValue()
Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`.
.google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata.ServingState serving_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServingStateValue in interface Engine.RecommendationMetadataOrBuilderpublic Engine.RecommendationMetadata.ServingState getServingState()
Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`.
.google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata.ServingState serving_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServingState in interface Engine.RecommendationMetadataOrBuilderpublic int getDataStateValue()
Output only. The state of data requirements for this engine: `DATA_OK` and `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. Engine can have `DATA_ERROR` state even if serving state is `ACTIVE`: engines were trained successfully before, but cannot be refreshed because the underlying engine no longer has sufficient data for training.
.google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata.DataState data_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDataStateValue in interface Engine.RecommendationMetadataOrBuilderpublic Engine.RecommendationMetadata.DataState getDataState()
Output only. The state of data requirements for this engine: `DATA_OK` and `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. Engine can have `DATA_ERROR` state even if serving state is `ACTIVE`: engines were trained successfully before, but cannot be refreshed because the underlying engine no longer has sufficient data for training.
.google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadata.DataState data_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDataState in interface Engine.RecommendationMetadataOrBuilderpublic boolean hasLastTuneTime()
Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines.
.google.protobuf.Timestamp last_tune_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasLastTuneTime in interface Engine.RecommendationMetadataOrBuilderpublic com.google.protobuf.Timestamp getLastTuneTime()
Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines.
.google.protobuf.Timestamp last_tune_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastTuneTime in interface Engine.RecommendationMetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastTuneTimeOrBuilder()
Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines.
.google.protobuf.Timestamp last_tune_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastTuneTimeOrBuilder in interface Engine.RecommendationMetadataOrBuilderpublic String getTuningOperation()
Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty.
string tuning_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getTuningOperation in interface Engine.RecommendationMetadataOrBuilderpublic com.google.protobuf.ByteString getTuningOperationBytes()
Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty.
string tuning_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getTuningOperationBytes in interface Engine.RecommendationMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Engine.RecommendationMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.RecommendationMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.RecommendationMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.RecommendationMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.RecommendationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.RecommendationMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.RecommendationMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static Engine.RecommendationMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Engine.RecommendationMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Engine.RecommendationMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Engine.RecommendationMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Engine.RecommendationMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Engine.RecommendationMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Engine.RecommendationMetadata.Builder newBuilder()
public static Engine.RecommendationMetadata.Builder newBuilder(Engine.RecommendationMetadata prototype)
public Engine.RecommendationMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Engine.RecommendationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Engine.RecommendationMetadata getDefaultInstance()
public static com.google.protobuf.Parser<Engine.RecommendationMetadata> parser()
public com.google.protobuf.Parser<Engine.RecommendationMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Engine.RecommendationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.