Package com.google.cloud.talent.v4
Class SearchJobsResponse.CommuteInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.CommuteInfo.Builder>
com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder
- All Implemented Interfaces:
SearchJobsResponse.CommuteInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchJobsResponse.CommuteInfo
public static final class SearchJobsResponse.CommuteInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.CommuteInfo.Builder>
implements SearchJobsResponse.CommuteInfoOrBuilder
Commute details related to this job.Protobuf type
google.cloud.talent.v4.SearchJobsResponse.CommuteInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Location used as the destination in the commute calculation.The number of seconds required to travel to the job location from the query location.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorLocation used as the destination in the commute calculation.Location used as the destination in the commute calculation.Location used as the destination in the commute calculation.com.google.protobuf.DurationThe number of seconds required to travel to the job location from the query location.com.google.protobuf.Duration.BuilderThe number of seconds required to travel to the job location from the query location.com.google.protobuf.DurationOrBuilderThe number of seconds required to travel to the job location from the query location.booleanLocation used as the destination in the commute calculation.booleanThe number of seconds required to travel to the job location from the query location.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeJobLocation(Location value) Location used as the destination in the commute calculation.mergeTravelDuration(com.google.protobuf.Duration value) The number of seconds required to travel to the job location from the query location.setJobLocation(Location value) Location used as the destination in the commute calculation.setJobLocation(Location.Builder builderForValue) Location used as the destination in the commute calculation.setTravelDuration(com.google.protobuf.Duration value) The number of seconds required to travel to the job location from the query location.setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) The number of seconds required to travel to the job location from the query location.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<SearchJobsResponse.CommuteInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.CommuteInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.CommuteInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchJobsResponse.CommuteInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchJobsResponse.CommuteInfo.Builder>
-
mergeFrom
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchJobsResponse.CommuteInfo.Builder>- Throws:
IOException
-
hasJobLocation
public boolean hasJobLocation()Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;- Specified by:
hasJobLocationin interfaceSearchJobsResponse.CommuteInfoOrBuilder- Returns:
- Whether the jobLocation field is set.
-
getJobLocation
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;- Specified by:
getJobLocationin interfaceSearchJobsResponse.CommuteInfoOrBuilder- Returns:
- The jobLocation.
-
setJobLocation
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1; -
setJobLocation
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1; -
mergeJobLocation
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1; -
clearJobLocation
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1; -
getJobLocationBuilder
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1; -
getJobLocationOrBuilder
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;- Specified by:
getJobLocationOrBuilderin interfaceSearchJobsResponse.CommuteInfoOrBuilder
-
hasTravelDuration
public boolean hasTravelDuration()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;- Specified by:
hasTravelDurationin interfaceSearchJobsResponse.CommuteInfoOrBuilder- Returns:
- Whether the travelDuration field is set.
-
getTravelDuration
public com.google.protobuf.Duration getTravelDuration()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;- Specified by:
getTravelDurationin interfaceSearchJobsResponse.CommuteInfoOrBuilder- Returns:
- The travelDuration.
-
setTravelDuration
The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2; -
setTravelDuration
public SearchJobsResponse.CommuteInfo.Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2; -
mergeTravelDuration
public SearchJobsResponse.CommuteInfo.Builder mergeTravelDuration(com.google.protobuf.Duration value) The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2; -
clearTravelDuration
The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2; -
getTravelDurationBuilder
public com.google.protobuf.Duration.Builder getTravelDurationBuilder()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2; -
getTravelDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;- Specified by:
getTravelDurationOrBuilderin interfaceSearchJobsResponse.CommuteInfoOrBuilder
-