Uses of Enum
com.google.cloud.discoveryengine.v1.HarmCategory
-
Uses of HarmCategory in com.google.cloud.discoveryengine.v1
Methods in com.google.cloud.discoveryengine.v1 that return HarmCategoryModifier and TypeMethodDescriptionstatic HarmCategoryHarmCategory.forNumber(int value) AnswerQueryRequest.SafetySpec.SafetySetting.Builder.getCategory()Required.AnswerQueryRequest.SafetySpec.SafetySetting.getCategory()Required.AnswerQueryRequest.SafetySpec.SafetySettingOrBuilder.getCategory()Required.SafetyRating.Builder.getCategory()Output only.SafetyRating.getCategory()Output only.SafetyRatingOrBuilder.getCategory()Output only.static HarmCategoryHarmCategory.valueOf(int value) Deprecated.static HarmCategoryHarmCategory.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static HarmCategoryReturns the enum constant of this type with the specified name.static HarmCategory[]HarmCategory.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.cloud.discoveryengine.v1 that return types with arguments of type HarmCategoryModifier and TypeMethodDescriptionstatic com.google.protobuf.Internal.EnumLiteMap<HarmCategory>HarmCategory.internalGetValueMap()Methods in com.google.cloud.discoveryengine.v1 with parameters of type HarmCategoryModifier and TypeMethodDescriptionAnswerQueryRequest.SafetySpec.SafetySetting.Builder.setCategory(HarmCategory value) Required.SafetyRating.Builder.setCategory(HarmCategory value) Output only.