Package com.google.cloud.automl.v1beta1
Class TablesAnnotation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class TablesAnnotation extends com.google.protobuf.GeneratedMessageV3 implements TablesAnnotationOrBuilder
Contains annotation details specific to Tables.
Protobuf typegoogle.cloud.automl.v1beta1.TablesAnnotation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTablesAnnotation.BuilderContains annotation details specific to Tables.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intBASELINE_SCORE_FIELD_NUMBERstatic intPREDICTION_INTERVAL_FIELD_NUMBERstatic intSCORE_FIELD_NUMBERstatic intTABLES_MODEL_COLUMN_INFO_FIELD_NUMBERstatic intVALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)floatgetBaselineScore()Output only.static TablesAnnotationgetDefaultInstance()TablesAnnotationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<TablesAnnotation>getParserForType()DoubleRangegetPredictionInterval()Output only.DoubleRangeOrBuildergetPredictionIntervalOrBuilder()Output only.floatgetScore()Output only.intgetSerializedSize()TablesModelColumnInfogetTablesModelColumnInfo(int index)Output only.intgetTablesModelColumnInfoCount()Output only.List<TablesModelColumnInfo>getTablesModelColumnInfoList()Output only.TablesModelColumnInfoOrBuildergetTablesModelColumnInfoOrBuilder(int index)Output only.List<? extends TablesModelColumnInfoOrBuilder>getTablesModelColumnInfoOrBuilderList()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.ValueOrBuildergetValueOrBuilder()The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].inthashCode()booleanhasPredictionInterval()Output only.booleanhasValue()The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TablesAnnotation.BuildernewBuilder()static TablesAnnotation.BuildernewBuilder(TablesAnnotation prototype)TablesAnnotation.BuildernewBuilderForType()protected TablesAnnotation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()TablesAnnotation.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREDICTION_INTERVAL_FIELD_NUMBER
public static final int PREDICTION_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER
public static final int TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BASELINE_SCORE_FIELD_NUMBER
public static final int BASELINE_SCORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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
public DoubleRange 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
public DoubleRangeOrBuilder 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
public List<TablesModelColumnInfo> 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
public List<? extends TablesModelColumnInfoOrBuilder> 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
public TablesModelColumnInfo getTablesModelColumnInfo(int index)
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
public TablesModelColumnInfoOrBuilder getTablesModelColumnInfoOrBuilder(int index)
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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static TablesAnnotation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TablesAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TablesAnnotation parseDelimitedFrom(InputStream input) throws IOException
- 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
public TablesAnnotation.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TablesAnnotation.Builder newBuilder()
-
newBuilder
public static TablesAnnotation.Builder newBuilder(TablesAnnotation prototype)
-
toBuilder
public TablesAnnotation.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TablesAnnotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TablesAnnotation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TablesAnnotation> parser()
-
getParserForType
public com.google.protobuf.Parser<TablesAnnotation> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TablesAnnotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-