| Modifier and Type | Method and Description |
|---|---|
static SafetySetting.HarmBlockThreshold |
SafetySetting.HarmBlockThreshold.forNumber(int value) |
SafetySetting.HarmBlockThreshold |
SafetySetting.getThreshold()
Required.
|
SafetySetting.HarmBlockThreshold |
SafetySetting.Builder.getThreshold()
Required.
|
SafetySetting.HarmBlockThreshold |
SafetySettingOrBuilder.getThreshold()
Required.
|
static SafetySetting.HarmBlockThreshold |
SafetySetting.HarmBlockThreshold.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SafetySetting.HarmBlockThreshold |
SafetySetting.HarmBlockThreshold.valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SafetySetting.HarmBlockThreshold |
SafetySetting.HarmBlockThreshold.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SafetySetting.HarmBlockThreshold[] |
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<SafetySetting.HarmBlockThreshold> |
SafetySetting.HarmBlockThreshold.internalGetValueMap() |
| Modifier and Type | Method and Description |
|---|---|
SafetySetting.Builder |
SafetySetting.Builder.setThreshold(SafetySetting.HarmBlockThreshold value)
Required.
|
Copyright © 2024 Google LLC. All rights reserved.