Class LocationEnrichment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
- com.google.photos.library.v1.proto.LocationEnrichment.Builder
-
- All Implemented Interfaces:
LocationEnrichmentOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- LocationEnrichment
public static final class LocationEnrichment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder> implements LocationEnrichmentOrBuilder
An enrichment containing a single location.
Protobuf typegoogle.photos.library.v1.LocationEnrichment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationEnrichment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
LocationEnrichment
build()
LocationEnrichment
buildPartial()
LocationEnrichment.Builder
clear()
LocationEnrichment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
LocationEnrichment.Builder
clearLocation()
Location for this enrichment item.LocationEnrichment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
LocationEnrichment.Builder
clone()
LocationEnrichment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Location
getLocation()
Location for this enrichment item.Location.Builder
getLocationBuilder()
Location for this enrichment item.LocationOrBuilder
getLocationOrBuilder()
Location for this enrichment item.boolean
hasLocation()
Location for this enrichment item.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LocationEnrichment.Builder
mergeFrom(LocationEnrichment other)
LocationEnrichment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LocationEnrichment.Builder
mergeFrom(com.google.protobuf.Message other)
LocationEnrichment.Builder
mergeLocation(Location value)
Location for this enrichment item.LocationEnrichment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LocationEnrichment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
LocationEnrichment.Builder
setLocation(Location value)
Location for this enrichment item.LocationEnrichment.Builder
setLocation(Location.Builder builderForValue)
Location for this enrichment item.LocationEnrichment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
LocationEnrichment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
clear
public LocationEnrichment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
getDefaultInstanceForType
public LocationEnrichment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LocationEnrichment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LocationEnrichment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LocationEnrichment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
setField
public LocationEnrichment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
clearField
public LocationEnrichment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
clearOneof
public LocationEnrichment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
setRepeatedField
public LocationEnrichment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
addRepeatedField
public LocationEnrichment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
mergeFrom
public LocationEnrichment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LocationEnrichment.Builder>
-
mergeFrom
public LocationEnrichment.Builder mergeFrom(LocationEnrichment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
mergeFrom
public LocationEnrichment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LocationEnrichment.Builder>
- Throws:
java.io.IOException
-
hasLocation
public boolean hasLocation()
Location for this enrichment item.
.google.photos.library.v1.Location location = 1;
- Specified by:
hasLocation
in interfaceLocationEnrichmentOrBuilder
-
getLocation
public Location getLocation()
Location for this enrichment item.
.google.photos.library.v1.Location location = 1;
- Specified by:
getLocation
in interfaceLocationEnrichmentOrBuilder
-
setLocation
public LocationEnrichment.Builder setLocation(Location value)
Location for this enrichment item.
.google.photos.library.v1.Location location = 1;
-
setLocation
public LocationEnrichment.Builder setLocation(Location.Builder builderForValue)
Location for this enrichment item.
.google.photos.library.v1.Location location = 1;
-
mergeLocation
public LocationEnrichment.Builder mergeLocation(Location value)
Location for this enrichment item.
.google.photos.library.v1.Location location = 1;
-
clearLocation
public LocationEnrichment.Builder clearLocation()
Location for this enrichment item.
.google.photos.library.v1.Location location = 1;
-
getLocationBuilder
public Location.Builder getLocationBuilder()
Location for this enrichment item.
.google.photos.library.v1.Location location = 1;
-
getLocationOrBuilder
public LocationOrBuilder getLocationOrBuilder()
Location for this enrichment item.
.google.photos.library.v1.Location location = 1;
- Specified by:
getLocationOrBuilder
in interfaceLocationEnrichmentOrBuilder
-
setUnknownFields
public final LocationEnrichment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
mergeUnknownFields
public final LocationEnrichment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LocationEnrichment.Builder>
-
-