public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 implements CommuteFilterOrBuilder
Input only. Parameters needed for commute search.Protobuf type
google.cloud.talent.v4beta1.CommuteFilter| Modifier and Type | Class and Description |
|---|---|
static class |
CommuteFilter.Builder
Input only.
|
static class |
CommuteFilter.RoadTraffic
The traffic density to use when calculating commute time.
|
static class |
CommuteFilter.TrafficOptionCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER |
static int |
COMMUTE_METHOD_FIELD_NUMBER |
static int |
DEPARTURE_TIME_FIELD_NUMBER |
static int |
ROAD_TRAFFIC_FIELD_NUMBER |
static int |
START_COORDINATES_FIELD_NUMBER |
static int |
TRAVEL_DURATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowImpreciseAddresses()
Optional.
|
CommuteMethod |
getCommuteMethod()
Required.
|
int |
getCommuteMethodValue()
Required.
|
static CommuteFilter |
getDefaultInstance() |
CommuteFilter |
getDefaultInstanceForType() |
com.google.type.TimeOfDay |
getDepartureTime()
Optional.
|
com.google.type.TimeOfDayOrBuilder |
getDepartureTimeOrBuilder()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<CommuteFilter> |
getParserForType() |
CommuteFilter.RoadTraffic |
getRoadTraffic()
Optional.
|
int |
getRoadTrafficValue()
Optional.
|
int |
getSerializedSize() |
com.google.type.LatLng |
getStartCoordinates()
Required.
|
com.google.type.LatLngOrBuilder |
getStartCoordinatesOrBuilder()
Required.
|
CommuteFilter.TrafficOptionCase |
getTrafficOptionCase() |
com.google.protobuf.Duration |
getTravelDuration()
Required.
|
com.google.protobuf.DurationOrBuilder |
getTravelDurationOrBuilder()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDepartureTime()
Optional.
|
int |
hashCode() |
boolean |
hasStartCoordinates()
Required.
|
boolean |
hasTravelDuration()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CommuteFilter.Builder |
newBuilder() |
static CommuteFilter.Builder |
newBuilder(CommuteFilter prototype) |
CommuteFilter.Builder |
newBuilderForType() |
protected CommuteFilter.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CommuteFilter |
parseDelimitedFrom(InputStream input) |
static CommuteFilter |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommuteFilter |
parseFrom(byte[] data) |
static CommuteFilter |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommuteFilter |
parseFrom(ByteBuffer data) |
static CommuteFilter |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommuteFilter |
parseFrom(com.google.protobuf.ByteString data) |
static CommuteFilter |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommuteFilter |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CommuteFilter |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommuteFilter |
parseFrom(InputStream input) |
static CommuteFilter |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CommuteFilter> |
parser() |
CommuteFilter.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COMMUTE_METHOD_FIELD_NUMBER
public static final int START_COORDINATES_FIELD_NUMBER
public static final int TRAVEL_DURATION_FIELD_NUMBER
public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER
public static final int ROAD_TRAFFIC_FIELD_NUMBER
public static final int DEPARTURE_TIME_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public CommuteFilter.TrafficOptionCase getTrafficOptionCase()
getTrafficOptionCase in interface CommuteFilterOrBuilderpublic int getCommuteMethodValue()
Required. The method of transportation for which to calculate the commute time.
.google.cloud.talent.v4beta1.CommuteMethod commute_method = 1;getCommuteMethodValue in interface CommuteFilterOrBuilderpublic CommuteMethod getCommuteMethod()
Required. The method of transportation for which to calculate the commute time.
.google.cloud.talent.v4beta1.CommuteMethod commute_method = 1;getCommuteMethod in interface CommuteFilterOrBuilderpublic boolean hasStartCoordinates()
Required. The latitude and longitude of the location from which to calculate the commute time.
.google.type.LatLng start_coordinates = 2;hasStartCoordinates in interface CommuteFilterOrBuilderpublic com.google.type.LatLng getStartCoordinates()
Required. The latitude and longitude of the location from which to calculate the commute time.
.google.type.LatLng start_coordinates = 2;getStartCoordinates in interface CommuteFilterOrBuilderpublic com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder()
Required. The latitude and longitude of the location from which to calculate the commute time.
.google.type.LatLng start_coordinates = 2;getStartCoordinatesOrBuilder in interface CommuteFilterOrBuilderpublic 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;hasTravelDuration in interface CommuteFilterOrBuilderpublic 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;getTravelDuration in interface CommuteFilterOrBuilderpublic 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;getTravelDurationOrBuilder in interface CommuteFilterOrBuilderpublic boolean getAllowImpreciseAddresses()
Optional. 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;getAllowImpreciseAddresses in interface CommuteFilterOrBuilderpublic int getRoadTrafficValue()
Optional. Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;getRoadTrafficValue in interface CommuteFilterOrBuilderpublic CommuteFilter.RoadTraffic getRoadTraffic()
Optional. Specifies the traffic density to use when calculating commute time.
.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5;getRoadTraffic in interface CommuteFilterOrBuilderpublic boolean hasDepartureTime()
Optional. 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;hasDepartureTime in interface CommuteFilterOrBuilderpublic com.google.type.TimeOfDay getDepartureTime()
Optional. 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;getDepartureTime in interface CommuteFilterOrBuilderpublic com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder()
Optional. 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;getDepartureTimeOrBuilder in interface CommuteFilterOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CommuteFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommuteFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommuteFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommuteFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommuteFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommuteFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommuteFilter parseFrom(InputStream input) throws IOException
IOExceptionpublic static CommuteFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CommuteFilter parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CommuteFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CommuteFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CommuteFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CommuteFilter.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CommuteFilter.Builder newBuilder()
public static CommuteFilter.Builder newBuilder(CommuteFilter prototype)
public CommuteFilter.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CommuteFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CommuteFilter getDefaultInstance()
public static com.google.protobuf.Parser<CommuteFilter> parser()
public com.google.protobuf.Parser<CommuteFilter> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CommuteFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.