public static final class Engine.RecommendationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder> implements Engine.RecommendationMetadataOrBuilder
Additional information of a recommendation engine.Protobuf type
google.cloud.discoveryengine.v1alpha.Engine.RecommendationMetadatagetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Engine.RecommendationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Engine.RecommendationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Engine.RecommendationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder mergeFrom(Engine.RecommendationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public Engine.RecommendationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Engine.RecommendationMetadata.Builder>IOExceptionpublic 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.Builder setServingStateValue(int value)
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];
value - The enum numeric value on the wire for servingState to set.public 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 Engine.RecommendationMetadata.Builder setServingState(Engine.RecommendationMetadata.ServingState value)
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];
value - The servingState to set.public Engine.RecommendationMetadata.Builder clearServingState()
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];
public 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.Builder setDataStateValue(int value)
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];
value - The enum numeric value on the wire for dataState to set.public 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 Engine.RecommendationMetadata.Builder setDataState(Engine.RecommendationMetadata.DataState value)
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];
value - The dataState to set.public Engine.RecommendationMetadata.Builder clearDataState()
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];
public 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 Engine.RecommendationMetadata.Builder setLastTuneTime(com.google.protobuf.Timestamp value)
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];
public Engine.RecommendationMetadata.Builder setLastTuneTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public Engine.RecommendationMetadata.Builder mergeLastTuneTime(com.google.protobuf.Timestamp value)
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];
public Engine.RecommendationMetadata.Builder clearLastTuneTime()
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];
public com.google.protobuf.Timestamp.Builder getLastTuneTimeBuilder()
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];
public 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 Engine.RecommendationMetadata.Builder setTuningOperation(String value)
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];value - The tuningOperation to set.public Engine.RecommendationMetadata.Builder clearTuningOperation()
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];public Engine.RecommendationMetadata.Builder setTuningOperationBytes(com.google.protobuf.ByteString value)
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];value - The bytes for tuningOperation to set.public final Engine.RecommendationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>public final Engine.RecommendationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Engine.RecommendationMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.