public final class RestrictItem
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Search API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
RestrictItem() |
Modifier and Type | Method and Description |
---|---|
RestrictItem |
clone() |
DriveFollowUpRestrict |
getDriveFollowUpRestrict()
LINT.ThenChange(//depot/google3/java/com/google/apps/search/quality/itemsuggest/utils/SubtypeRe
rankingUtils.java)
|
DriveLocationRestrict |
getDriveLocationRestrict() |
DriveMimeTypeRestrict |
getDriveMimeTypeRestrict()
LINT.IfChange Drive Types.
|
DriveTimeSpanRestrict |
getDriveTimeSpanRestrict() |
java.lang.String |
getSearchOperator()
The search restrict (e.g.
|
RestrictItem |
set(java.lang.String fieldName,
java.lang.Object value) |
RestrictItem |
setDriveFollowUpRestrict(DriveFollowUpRestrict driveFollowUpRestrict)
LINT.ThenChange(//depot/google3/java/com/google/apps/search/quality/itemsuggest/utils/SubtypeRe
rankingUtils.java)
|
RestrictItem |
setDriveLocationRestrict(DriveLocationRestrict driveLocationRestrict) |
RestrictItem |
setDriveMimeTypeRestrict(DriveMimeTypeRestrict driveMimeTypeRestrict)
LINT.IfChange Drive Types.
|
RestrictItem |
setDriveTimeSpanRestrict(DriveTimeSpanRestrict driveTimeSpanRestrict) |
RestrictItem |
setSearchOperator(java.lang.String searchOperator)
The search restrict (e.g.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public DriveFollowUpRestrict getDriveFollowUpRestrict()
null
for nonepublic RestrictItem setDriveFollowUpRestrict(DriveFollowUpRestrict driveFollowUpRestrict)
driveFollowUpRestrict
- driveFollowUpRestrict or null
for nonepublic DriveLocationRestrict getDriveLocationRestrict()
null
for nonepublic RestrictItem setDriveLocationRestrict(DriveLocationRestrict driveLocationRestrict)
driveLocationRestrict
- driveLocationRestrict or null
for nonepublic DriveMimeTypeRestrict getDriveMimeTypeRestrict()
null
for nonepublic RestrictItem setDriveMimeTypeRestrict(DriveMimeTypeRestrict driveMimeTypeRestrict)
driveMimeTypeRestrict
- driveMimeTypeRestrict or null
for nonepublic DriveTimeSpanRestrict getDriveTimeSpanRestrict()
null
for nonepublic RestrictItem setDriveTimeSpanRestrict(DriveTimeSpanRestrict driveTimeSpanRestrict)
driveTimeSpanRestrict
- driveTimeSpanRestrict or null
for nonepublic java.lang.String getSearchOperator()
null
for nonepublic RestrictItem setSearchOperator(java.lang.String searchOperator)
searchOperator
- searchOperator or null
for nonepublic RestrictItem set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RestrictItem clone()
clone
in class com.google.api.client.json.GenericJson