Package com.google.cloud.automl.v1beta1
Class TablesAnnotation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.automl.v1beta1.TablesAnnotation
- All Implemented Interfaces:
TablesAnnotationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TablesAnnotation
extends com.google.protobuf.GeneratedMessage
implements TablesAnnotationOrBuilder
Contains annotation details specific to Tables.Protobuf type
google.cloud.automl.v1beta1.TablesAnnotation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains annotation details specific to Tables.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatOutput only.static TablesAnnotationstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<TablesAnnotation>Output only.Output only.floatgetScore()Output only.intgetTablesModelColumnInfo(int index) Output only.intOutput only.Output only.getTablesModelColumnInfoOrBuilder(int index) Output only.List<? extends TablesModelColumnInfoOrBuilder>Output only.com.google.protobuf.ValuegetValue()The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].com.google.protobuf.ValueOrBuilderThe predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].inthashCode()booleanOutput only.booleanhasValue()The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic TablesAnnotation.Builderstatic TablesAnnotation.BuildernewBuilder(TablesAnnotation prototype) protected TablesAnnotation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TablesAnnotationparseDelimitedFrom(InputStream input) static TablesAnnotationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesAnnotationparseFrom(byte[] data) static TablesAnnotationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesAnnotationparseFrom(com.google.protobuf.ByteString data) static TablesAnnotationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesAnnotationparseFrom(com.google.protobuf.CodedInputStream input) static TablesAnnotationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesAnnotationparseFrom(InputStream input) static TablesAnnotationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesAnnotationparseFrom(ByteBuffer data) static TablesAnnotationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TablesAnnotation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER- See Also:
-
PREDICTION_INTERVAL_FIELD_NUMBER
public static final int PREDICTION_INTERVAL_FIELD_NUMBER- See Also:
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER- See Also:
-
TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER
public static final int TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER- See Also:
-
BASELINE_SCORE_FIELD_NUMBER
public static final int BASELINE_SCORE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getScore
public float getScore()Output only. A confidence estimate between 0.0 and 1.0, inclusive. A higher value means greater confidence in the returned value. For [target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] of FLOAT64 data type the score is not populated.
float score = 1;- Specified by:
getScorein interfaceTablesAnnotationOrBuilder- Returns:
- The score.
-
hasPredictionInterval
public boolean hasPredictionInterval()Output only. Only populated when [target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] has FLOAT64 data type. An interval in which the exactly correct target value has 95% chance to be in.
.google.cloud.automl.v1beta1.DoubleRange prediction_interval = 4;- Specified by:
hasPredictionIntervalin interfaceTablesAnnotationOrBuilder- Returns:
- Whether the predictionInterval field is set.
-
getPredictionInterval
Output only. Only populated when [target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] has FLOAT64 data type. An interval in which the exactly correct target value has 95% chance to be in.
.google.cloud.automl.v1beta1.DoubleRange prediction_interval = 4;- Specified by:
getPredictionIntervalin interfaceTablesAnnotationOrBuilder- Returns:
- The predictionInterval.
-
getPredictionIntervalOrBuilder
Output only. Only populated when [target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] has FLOAT64 data type. An interval in which the exactly correct target value has 95% chance to be in.
.google.cloud.automl.v1beta1.DoubleRange prediction_interval = 4;- Specified by:
getPredictionIntervalOrBuilderin interfaceTablesAnnotationOrBuilder
-
hasValue
public boolean hasValue()The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec]. The value depends on the column's DataType: * CATEGORY - the predicted (with the above confidence `score`) CATEGORY value. * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
.google.protobuf.Value value = 2;- Specified by:
hasValuein interfaceTablesAnnotationOrBuilder- Returns:
- Whether the value field is set.
-
getValue
public com.google.protobuf.Value getValue()The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec]. The value depends on the column's DataType: * CATEGORY - the predicted (with the above confidence `score`) CATEGORY value. * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
.google.protobuf.Value value = 2;- Specified by:
getValuein interfaceTablesAnnotationOrBuilder- Returns:
- The value.
-
getValueOrBuilder
public com.google.protobuf.ValueOrBuilder getValueOrBuilder()The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec]. The value depends on the column's DataType: * CATEGORY - the predicted (with the above confidence `score`) CATEGORY value. * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
.google.protobuf.Value value = 2;- Specified by:
getValueOrBuilderin interfaceTablesAnnotationOrBuilder
-
getTablesModelColumnInfoList
Output only. Auxiliary information for each of the model's [input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] with respect to this particular prediction. If no other fields than [column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name] and [column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;- Specified by:
getTablesModelColumnInfoListin interfaceTablesAnnotationOrBuilder
-
getTablesModelColumnInfoOrBuilderList
Output only. Auxiliary information for each of the model's [input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] with respect to this particular prediction. If no other fields than [column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name] and [column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;- Specified by:
getTablesModelColumnInfoOrBuilderListin interfaceTablesAnnotationOrBuilder
-
getTablesModelColumnInfoCount
public int getTablesModelColumnInfoCount()Output only. Auxiliary information for each of the model's [input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] with respect to this particular prediction. If no other fields than [column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name] and [column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;- Specified by:
getTablesModelColumnInfoCountin interfaceTablesAnnotationOrBuilder
-
getTablesModelColumnInfo
Output only. Auxiliary information for each of the model's [input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] with respect to this particular prediction. If no other fields than [column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name] and [column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;- Specified by:
getTablesModelColumnInfoin interfaceTablesAnnotationOrBuilder
-
getTablesModelColumnInfoOrBuilder
Output only. Auxiliary information for each of the model's [input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] with respect to this particular prediction. If no other fields than [column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name] and [column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;- Specified by:
getTablesModelColumnInfoOrBuilderin interfaceTablesAnnotationOrBuilder
-
getBaselineScore
public float getBaselineScore()Output only. Stores the prediction score for the baseline example, which is defined as the example with all values set to their baseline values. This is used as part of the Sampled Shapley explanation of the model's prediction. This field is populated only when feature importance is requested. For regression models, this holds the baseline prediction for the baseline example. For classification models, this holds the baseline prediction for the baseline example for the argmax class.
float baseline_score = 5;- Specified by:
getBaselineScorein interfaceTablesAnnotationOrBuilder- Returns:
- The baselineScore.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TablesAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesAnnotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TablesAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TablesAnnotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TablesAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TablesAnnotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TablesAnnotation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-