Package com.google.cloud.talent.v4
Class CommuteFilter
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.talent.v4.CommuteFilter
- All Implemented Interfaces:
CommuteFilterOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CommuteFilter
extends com.google.protobuf.GeneratedMessage
implements CommuteFilterOrBuilder
Parameters needed for commute search.Protobuf type
google.cloud.talent.v4.CommuteFilter- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParameters needed for commute search.static enumThe traffic density to use when calculating commute time.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanIf `true`, jobs without street level addresses may also be returned.Required.intRequired.static CommuteFilterThe departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.The departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<CommuteFilter>Specifies the traffic density to use when calculating commute time.intSpecifies the traffic density to use when calculating commute time.intRequired.Required.com.google.protobuf.DurationRequired.com.google.protobuf.DurationOrBuilderRequired.booleanThe departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.inthashCode()booleanSpecifies the traffic density to use when calculating commute time.booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CommuteFilter.Builderstatic CommuteFilter.BuildernewBuilder(CommuteFilter prototype) protected CommuteFilter.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CommuteFilterparseDelimitedFrom(InputStream input) static CommuteFilterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommuteFilterparseFrom(byte[] data) static CommuteFilterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommuteFilterparseFrom(com.google.protobuf.ByteString data) static CommuteFilterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommuteFilterparseFrom(com.google.protobuf.CodedInputStream input) static CommuteFilterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommuteFilterparseFrom(InputStream input) static CommuteFilterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommuteFilterparseFrom(ByteBuffer data) static CommuteFilterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CommuteFilter>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
COMMUTE_METHOD_FIELD_NUMBER
public static final int COMMUTE_METHOD_FIELD_NUMBER- See Also:
-
START_COORDINATES_FIELD_NUMBER
public static final int START_COORDINATES_FIELD_NUMBER- See Also:
-
TRAVEL_DURATION_FIELD_NUMBER
public static final int TRAVEL_DURATION_FIELD_NUMBER- See Also:
-
ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER
public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER- See Also:
-
ROAD_TRAFFIC_FIELD_NUMBER
public static final int ROAD_TRAFFIC_FIELD_NUMBER- See Also:
-
DEPARTURE_TIME_FIELD_NUMBER
public static final int DEPARTURE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTrafficOptionCase
- Specified by:
getTrafficOptionCasein interfaceCommuteFilterOrBuilder
-
getCommuteMethodValue
public int getCommuteMethodValue()Required. The method of transportation to calculate the commute time for.
.google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCommuteMethodValuein interfaceCommuteFilterOrBuilder- Returns:
- The enum numeric value on the wire for commuteMethod.
-
getCommuteMethod
Required. The method of transportation to calculate the commute time for.
.google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCommuteMethodin interfaceCommuteFilterOrBuilder- Returns:
- The commuteMethod.
-
hasStartCoordinates
public boolean hasStartCoordinates()Required. The latitude and longitude of the location to calculate the commute time from.
.google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasStartCoordinatesin interfaceCommuteFilterOrBuilder- Returns:
- Whether the startCoordinates field is set.
-
getStartCoordinates
Required. The latitude and longitude of the location to calculate the commute time from.
.google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStartCoordinatesin interfaceCommuteFilterOrBuilder- Returns:
- The startCoordinates.
-
getStartCoordinatesOrBuilder
Required. The latitude and longitude of the location to calculate the commute time from.
.google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStartCoordinatesOrBuilderin interfaceCommuteFilterOrBuilder
-
hasTravelDuration
public boolean hasTravelDuration()Required. The maximum travel time in seconds. The maximum allowed value is `3600s` (one hour). Format is `123s`.
.google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasTravelDurationin interfaceCommuteFilterOrBuilder- Returns:
- Whether the travelDuration field is set.
-
getTravelDuration
public com.google.protobuf.Duration getTravelDuration()Required. The maximum travel time in seconds. The maximum allowed value is `3600s` (one hour). Format is `123s`.
.google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTravelDurationin interfaceCommuteFilterOrBuilder- Returns:
- The travelDuration.
-
getTravelDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder()Required. The maximum travel time in seconds. The maximum allowed value is `3600s` (one hour). Format is `123s`.
.google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTravelDurationOrBuilderin interfaceCommuteFilterOrBuilder
-
getAllowImpreciseAddresses
public boolean getAllowImpreciseAddresses()If `true`, jobs without street level addresses may also be returned. For city level addresses, the city center is used. For state and coarser level addresses, text matching is used. If this field is set to `false` or isn't specified, only jobs that include street level addresses will be returned by commute search.
bool allow_imprecise_addresses = 4;- Specified by:
getAllowImpreciseAddressesin interfaceCommuteFilterOrBuilder- Returns:
- The allowImpreciseAddresses.
-
hasRoadTraffic
public boolean hasRoadTraffic()Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5;- Specified by:
hasRoadTrafficin interfaceCommuteFilterOrBuilder- Returns:
- Whether the roadTraffic field is set.
-
getRoadTrafficValue
public int getRoadTrafficValue()Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5;- Specified by:
getRoadTrafficValuein interfaceCommuteFilterOrBuilder- Returns:
- The enum numeric value on the wire for roadTraffic.
-
getRoadTraffic
Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5;- Specified by:
getRoadTrafficin interfaceCommuteFilterOrBuilder- Returns:
- The roadTraffic.
-
hasDepartureTime
public boolean hasDepartureTime()The departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone. Currently traffic model is restricted to hour level resolution.
.google.type.TimeOfDay departure_time = 6;- Specified by:
hasDepartureTimein interfaceCommuteFilterOrBuilder- Returns:
- Whether the departureTime field is set.
-
getDepartureTime
The departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone. Currently traffic model is restricted to hour level resolution.
.google.type.TimeOfDay departure_time = 6;- Specified by:
getDepartureTimein interfaceCommuteFilterOrBuilder- Returns:
- The departureTime.
-
getDepartureTimeOrBuilder
The departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone. Currently traffic model is restricted to hour level resolution.
.google.type.TimeOfDay departure_time = 6;- Specified by:
getDepartureTimeOrBuilderin interfaceCommuteFilterOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CommuteFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommuteFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommuteFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommuteFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommuteFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommuteFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CommuteFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CommuteFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CommuteFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CommuteFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CommuteFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-