| Modifier and Type | Method and Description |
|---|---|
static AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold |
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold.forNumber(int value) |
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold |
AnswerQueryRequest.SafetySpec.SafetySettingOrBuilder.getThreshold()
Required.
|
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold |
AnswerQueryRequest.SafetySpec.SafetySetting.getThreshold()
Required.
|
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold |
AnswerQueryRequest.SafetySpec.SafetySetting.Builder.getThreshold()
Required.
|
static AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold |
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold |
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold.valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold |
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold[] |
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Internal.EnumLiteMap<AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold> |
AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold.internalGetValueMap() |
| Modifier and Type | Method and Description |
|---|---|
AnswerQueryRequest.SafetySpec.SafetySetting.Builder |
AnswerQueryRequest.SafetySpec.SafetySetting.Builder.setThreshold(AnswerQueryRequest.SafetySpec.SafetySetting.HarmBlockThreshold value)
Required.
|
Copyright © 2026 Google LLC. All rights reserved.