public static interface GenerateContentResponse.PromptFeedbackOrBuilder extends MessageOrBuilder
Implementa
MessageOrBuilderMetodi
getBlockReason()
public abstract GenerateContentResponse.PromptFeedback.BlockedReason getBlockReason()
Solo output. Motivo del blocco.
.google.cloud.vertexai.v1beta1.GenerateContentResponse.PromptFeedback.BlockedReason block_reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce | |
---|---|
Tipo | Description |
GenerateContentResponse.PromptFeedback.BlockedReason |
Il parametro blockReason. |
getBlockReasonMessage()
public abstract String getBlockReasonMessage()
Solo output. Un messaggio leggibile con il motivo del blocco.
string block_reason_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce | |
---|---|
Tipo | Description |
String |
Il messaggio blockReasonMessage. |
getBlockReasonMessageBytes()
public abstract ByteString getBlockReasonMessageBytes()
Solo output. Un messaggio leggibile con il motivo del blocco.
string block_reason_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce | |
---|---|
Tipo | Description |
ByteString |
I byte di blockReasonMessage. |
getBlockReasonValue()
public abstract int getBlockReasonValue()
Solo output. Motivo del blocco.
.google.cloud.vertexai.v1beta1.GenerateContentResponse.PromptFeedback.BlockedReason block_reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce | |
---|---|
Tipo | Description |
int |
Il valore numerico enum sul cavo per blockReason. |
getSafetyRatings(int index)
public abstract SafetyRating getSafetyRatings(int index)
Solo output. Valutazioni della sicurezza.
repeated .google.cloud.vertexai.v1beta1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro | |
---|---|
Nome | Description |
index |
int |
Restituisce | |
---|---|
Tipo | Description |
SafetyRating |
getSafetyRatingsCount()
public abstract int getSafetyRatingsCount()
Solo output. Valutazioni della sicurezza.
repeated .google.cloud.vertexai.v1beta1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce | |
---|---|
Tipo | Description |
int |
getSafetyRatingsList()
public abstract List<SafetyRating> getSafetyRatingsList()
Solo output. Valutazioni della sicurezza.
repeated .google.cloud.vertexai.v1beta1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce | |
---|---|
Tipo | Description |
List<SafetyRating> |
getSafetyRatingsOrBuilder(int index)
public abstract SafetyRatingOrBuilder getSafetyRatingsOrBuilder(int index)
Solo output. Valutazioni della sicurezza.
repeated .google.cloud.vertexai.v1beta1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro | |
---|---|
Nome | Description |
index |
int |
Restituisce | |
---|---|
Tipo | Description |
SafetyRatingOrBuilder |
getSafetyRatingsOrBuilderList()
public abstract List<? extends SafetyRatingOrBuilder> getSafetyRatingsOrBuilderList()
Solo output. Valutazioni della sicurezza.
repeated .google.cloud.vertexai.v1beta1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce | |
---|---|
Tipo | Description |
List<? extends com.google.cloud.vertexai.api.SafetyRatingOrBuilder> |