public final class TablesAnnotation extends GeneratedMessageV3 implements TablesAnnotationOrBuilder
Contains annotation details specific to Tables.
Protobuf type google.cloud.automl.v1beta1.TablesAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
BASELINE_SCORE_FIELD_NUMBER
public static final int BASELINE_SCORE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PREDICTION_INTERVAL_FIELD_NUMBER
public static final int PREDICTION_INTERVAL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER
public static final int TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static TablesAnnotation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TablesAnnotation.Builder newBuilder()
newBuilder(TablesAnnotation prototype)
public static TablesAnnotation.Builder newBuilder(TablesAnnotation prototype)
public static TablesAnnotation parseDelimitedFrom(InputStream input)
public static TablesAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TablesAnnotation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TablesAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TablesAnnotation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TablesAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TablesAnnotation parseFrom(CodedInputStream input)
public static TablesAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TablesAnnotation parseFrom(InputStream input)
public static TablesAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TablesAnnotation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TablesAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TablesAnnotation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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;
Returns |
---|
Type | Description |
float | The baselineScore.
|
getDefaultInstanceForType()
public TablesAnnotation getDefaultInstanceForType()
getParserForType()
public Parser<TablesAnnotation> getParserForType()
Overrides
getPredictionInterval()
public DoubleRange getPredictionInterval()
Output only. Only populated when
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;
Returns |
---|
Type | Description |
DoubleRange | The predictionInterval.
|
getPredictionIntervalOrBuilder()
public DoubleRangeOrBuilder getPredictionIntervalOrBuilder()
Output only. Only populated when
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;
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
of FLOAT64 data type the score is not populated.
float score = 1;
Returns |
---|
Type | Description |
float | The score.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTablesModelColumnInfo(int index)
public TablesModelColumnInfo getTablesModelColumnInfo(int index)
Output only. Auxiliary information for each of the model's
input_feature_column_specs
with respect to this particular prediction.
If no other fields than
column_spec_name
and
column_display_name
would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;
Parameter |
---|
Name | Description |
index | int
|
getTablesModelColumnInfoCount()
public int getTablesModelColumnInfoCount()
Output only. Auxiliary information for each of the model's
input_feature_column_specs
with respect to this particular prediction.
If no other fields than
column_spec_name
and
column_display_name
would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;
Returns |
---|
Type | Description |
int | |
getTablesModelColumnInfoList()
public List<TablesModelColumnInfo> getTablesModelColumnInfoList()
Output only. Auxiliary information for each of the model's
input_feature_column_specs
with respect to this particular prediction.
If no other fields than
column_spec_name
and
column_display_name
would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;
getTablesModelColumnInfoOrBuilder(int index)
public TablesModelColumnInfoOrBuilder getTablesModelColumnInfoOrBuilder(int index)
Output only. Auxiliary information for each of the model's
input_feature_column_specs
with respect to this particular prediction.
If no other fields than
column_spec_name
and
column_display_name
would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;
Parameter |
---|
Name | Description |
index | int
|
getTablesModelColumnInfoOrBuilderList()
public List<? extends TablesModelColumnInfoOrBuilder> getTablesModelColumnInfoOrBuilderList()
Output only. Auxiliary information for each of the model's
input_feature_column_specs
with respect to this particular prediction.
If no other fields than
column_spec_name
and
column_display_name
would be populated, then this whole field is not.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.TablesModelColumnInfoOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getValue()
The predicted value of the row's
target_column.
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;
Returns |
---|
Type | Description |
Value | The value.
|
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
The predicted value of the row's
target_column.
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;
hasPredictionInterval()
public boolean hasPredictionInterval()
Output only. Only populated when
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;
Returns |
---|
Type | Description |
boolean | Whether the predictionInterval field is set.
|
hasValue()
public boolean hasValue()
The predicted value of the row's
target_column.
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;
Returns |
---|
Type | Description |
boolean | Whether the value field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TablesAnnotation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TablesAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TablesAnnotation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides