public static interface SearchResponse.Summary.SafetyAttributesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getCategories(int index)
The display names of Safety Attribute categories associated with the
generated content.
|
com.google.protobuf.ByteString |
getCategoriesBytes(int index)
The display names of Safety Attribute categories associated with the
generated content.
|
int |
getCategoriesCount()
The display names of Safety Attribute categories associated with the
generated content.
|
List<String> |
getCategoriesList()
The display names of Safety Attribute categories associated with the
generated content.
|
float |
getScores(int index)
The confidence scores of the each category, higher
value means higher confidence.
|
int |
getScoresCount()
The confidence scores of the each category, higher
value means higher confidence.
|
List<Float> |
getScoresList()
The confidence scores of the each category, higher
value means higher confidence.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<String> getCategoriesList()
The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
repeated string categories = 1;int getCategoriesCount()
The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
repeated string categories = 1;String getCategories(int index)
The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
repeated string categories = 1;index - The index of the element to return.com.google.protobuf.ByteString getCategoriesBytes(int index)
The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
repeated string categories = 1;index - The index of the value to return.List<Float> getScoresList()
The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
repeated float scores = 2;int getScoresCount()
The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
repeated float scores = 2;float getScores(int index)
The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
repeated float scores = 2;index - The index of the element to return.Copyright © 2025 Google LLC. All rights reserved.