| Modifier and Type | Method and Description |
|---|---|
static SafetySettings.PhraseMatchStrategy |
SafetySettings.PhraseMatchStrategy.forNumber(int value) |
SafetySettings.PhraseMatchStrategy |
SafetySettingsOrBuilder.getDefaultBannedPhraseMatchStrategy()
Optional.
|
SafetySettings.PhraseMatchStrategy |
SafetySettings.getDefaultBannedPhraseMatchStrategy()
Optional.
|
SafetySettings.PhraseMatchStrategy |
SafetySettings.Builder.getDefaultBannedPhraseMatchStrategy()
Optional.
|
static SafetySettings.PhraseMatchStrategy |
SafetySettings.PhraseMatchStrategy.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SafetySettings.PhraseMatchStrategy |
SafetySettings.PhraseMatchStrategy.valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SafetySettings.PhraseMatchStrategy |
SafetySettings.PhraseMatchStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SafetySettings.PhraseMatchStrategy[] |
SafetySettings.PhraseMatchStrategy.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<SafetySettings.PhraseMatchStrategy> |
SafetySettings.PhraseMatchStrategy.internalGetValueMap() |
| Modifier and Type | Method and Description |
|---|---|
SafetySettings.Builder |
SafetySettings.Builder.setDefaultBannedPhraseMatchStrategy(SafetySettings.PhraseMatchStrategy value)
Optional.
|
Copyright © 2025 Google LLC. All rights reserved.