google-genai
Toggle table of contents
JVM
Platform filter
JVM
Switch theme
Search in API
google-genai
google-genai
/
com.google.genai.types
/
TrafficType
Traffic
Type
public
class
TrafficType
Output only. The traffic type for this request. This enum is not supported in Gemini API.
Members
Constructors
Traffic
Type
Link copied to clipboard
public
void
TrafficType
(
String
value
)
public
void
TrafficType
(
TrafficType.Known
knownValue
)
Types
Known
Link copied to clipboard
public
enum
Known
Enum representing the known values for TrafficType.
Functions
equals
Link copied to clipboard
public
boolean
equals
(
Object
o
)
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
known
Enum
Link copied to clipboard
public
TrafficType.Known
knownEnum
(
)
to
String
Link copied to clipboard
public
String
toString
(
)