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 class
TablesAnnotation.Builder
Contains 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 int
BASELINE_SCORE_FIELD_NUMBER
static int
PREDICTION_INTERVAL_FIELD_NUMBER
static int
SCORE_FIELD_NUMBER
static int
TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER
static int
VALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
float
getBaselineScore()
Output only.static TablesAnnotation
getDefaultInstance()
TablesAnnotation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<TablesAnnotation>
getParserForType()
DoubleRange
getPredictionInterval()
Output only.DoubleRangeOrBuilder
getPredictionIntervalOrBuilder()
Output only.float
getScore()
Output only.int
getSerializedSize()
TablesModelColumnInfo
getTablesModelColumnInfo(int index)
Output only.int
getTablesModelColumnInfoCount()
Output only.List<TablesModelColumnInfo>
getTablesModelColumnInfoList()
Output only.TablesModelColumnInfoOrBuilder
getTablesModelColumnInfoOrBuilder(int index)
Output only.List<? extends TablesModelColumnInfoOrBuilder>
getTablesModelColumnInfoOrBuilderList()
Output only.com.google.protobuf.Value
getValue()
The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].com.google.protobuf.ValueOrBuilder
getValueOrBuilder()
The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].int
hashCode()
boolean
hasPredictionInterval()
Output only.boolean
hasValue()
The predicted value of the row's [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static TablesAnnotation.Builder
newBuilder()
static TablesAnnotation.Builder
newBuilder(TablesAnnotation prototype)
TablesAnnotation.Builder
newBuilderForType()
protected TablesAnnotation.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TablesAnnotation
parseDelimitedFrom(InputStream input)
static TablesAnnotation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TablesAnnotation
parseFrom(byte[] data)
static TablesAnnotation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TablesAnnotation
parseFrom(com.google.protobuf.ByteString data)
static TablesAnnotation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TablesAnnotation
parseFrom(com.google.protobuf.CodedInputStream input)
static TablesAnnotation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TablesAnnotation
parseFrom(InputStream input)
static TablesAnnotation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TablesAnnotation
parseFrom(ByteBuffer data)
static TablesAnnotation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TablesAnnotation>
parser()
TablesAnnotation.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getScore
in 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:
hasPredictionInterval
in 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:
getPredictionInterval
in 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:
getPredictionIntervalOrBuilder
in 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:
hasValue
in 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:
getValue
in 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:
getValueOrBuilder
in 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:
getTablesModelColumnInfoList
in 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:
getTablesModelColumnInfoOrBuilderList
in 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:
getTablesModelColumnInfoCount
in 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:
getTablesModelColumnInfo
in 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:
getTablesModelColumnInfoOrBuilder
in 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:
getBaselineScore
in interfaceTablesAnnotationOrBuilder
- Returns:
- The baselineScore.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TablesAnnotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TablesAnnotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-