Class AddEnrichmentToAlbumRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
- com.google.photos.library.v1.proto.AddEnrichmentToAlbumRequest.Builder
-
- All Implemented Interfaces:
AddEnrichmentToAlbumRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- AddEnrichmentToAlbumRequest
public static final class AddEnrichmentToAlbumRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder> implements AddEnrichmentToAlbumRequestOrBuilder
Request to add an enrichment to a specific album at a specific position.
Protobuf typegoogle.photos.library.v1.AddEnrichmentToAlbumRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AddEnrichmentToAlbumRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AddEnrichmentToAlbumRequestbuild()AddEnrichmentToAlbumRequestbuildPartial()AddEnrichmentToAlbumRequest.Builderclear()AddEnrichmentToAlbumRequest.BuilderclearAlbumId()Identifier of the album where the enrichment is to be added.AddEnrichmentToAlbumRequest.BuilderclearAlbumPosition()The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AddEnrichmentToAlbumRequest.BuilderclearNewEnrichmentItem()The enrichment to be added.AddEnrichmentToAlbumRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AddEnrichmentToAlbumRequest.Builderclone()java.lang.StringgetAlbumId()Identifier of the album where the enrichment is to be added.com.google.protobuf.ByteStringgetAlbumIdBytes()Identifier of the album where the enrichment is to be added.AlbumPositiongetAlbumPosition()The position in the album where the enrichment is to be inserted.AlbumPosition.BuildergetAlbumPositionBuilder()The position in the album where the enrichment is to be inserted.AlbumPositionOrBuildergetAlbumPositionOrBuilder()The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()NewEnrichmentItemgetNewEnrichmentItem()The enrichment to be added.NewEnrichmentItem.BuildergetNewEnrichmentItemBuilder()The enrichment to be added.NewEnrichmentItemOrBuildergetNewEnrichmentItemOrBuilder()The enrichment to be added.booleanhasAlbumPosition()The position in the album where the enrichment is to be inserted.booleanhasNewEnrichmentItem()The enrichment to be added.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AddEnrichmentToAlbumRequest.BuildermergeAlbumPosition(AlbumPosition value)The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest.BuildermergeFrom(AddEnrichmentToAlbumRequest other)AddEnrichmentToAlbumRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AddEnrichmentToAlbumRequest.BuildermergeFrom(com.google.protobuf.Message other)AddEnrichmentToAlbumRequest.BuildermergeNewEnrichmentItem(NewEnrichmentItem value)The enrichment to be added.AddEnrichmentToAlbumRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AddEnrichmentToAlbumRequest.BuildersetAlbumId(java.lang.String value)Identifier of the album where the enrichment is to be added.AddEnrichmentToAlbumRequest.BuildersetAlbumIdBytes(com.google.protobuf.ByteString value)Identifier of the album where the enrichment is to be added.AddEnrichmentToAlbumRequest.BuildersetAlbumPosition(AlbumPosition value)The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest.BuildersetAlbumPosition(AlbumPosition.Builder builderForValue)The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AddEnrichmentToAlbumRequest.BuildersetNewEnrichmentItem(NewEnrichmentItem value)The enrichment to be added.AddEnrichmentToAlbumRequest.BuildersetNewEnrichmentItem(NewEnrichmentItem.Builder builderForValue)The enrichment to be added.AddEnrichmentToAlbumRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AddEnrichmentToAlbumRequest.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
clear
public AddEnrichmentToAlbumRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.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.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
getDefaultInstanceForType
public AddEnrichmentToAlbumRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AddEnrichmentToAlbumRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AddEnrichmentToAlbumRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AddEnrichmentToAlbumRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
setField
public AddEnrichmentToAlbumRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
clearField
public AddEnrichmentToAlbumRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
clearOneof
public AddEnrichmentToAlbumRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
setRepeatedField
public AddEnrichmentToAlbumRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
addRepeatedField
public AddEnrichmentToAlbumRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
mergeFrom
public AddEnrichmentToAlbumRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddEnrichmentToAlbumRequest.Builder>
-
mergeFrom
public AddEnrichmentToAlbumRequest.Builder mergeFrom(AddEnrichmentToAlbumRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
mergeFrom
public AddEnrichmentToAlbumRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddEnrichmentToAlbumRequest.Builder>- Throws:
java.io.IOException
-
getAlbumId
public java.lang.String getAlbumId()
Identifier of the album where the enrichment is to be added.
string album_id = 1;- Specified by:
getAlbumIdin interfaceAddEnrichmentToAlbumRequestOrBuilder
-
getAlbumIdBytes
public com.google.protobuf.ByteString getAlbumIdBytes()
Identifier of the album where the enrichment is to be added.
string album_id = 1;- Specified by:
getAlbumIdBytesin interfaceAddEnrichmentToAlbumRequestOrBuilder
-
setAlbumId
public AddEnrichmentToAlbumRequest.Builder setAlbumId(java.lang.String value)
Identifier of the album where the enrichment is to be added.
string album_id = 1;
-
clearAlbumId
public AddEnrichmentToAlbumRequest.Builder clearAlbumId()
Identifier of the album where the enrichment is to be added.
string album_id = 1;
-
setAlbumIdBytes
public AddEnrichmentToAlbumRequest.Builder setAlbumIdBytes(com.google.protobuf.ByteString value)
Identifier of the album where the enrichment is to be added.
string album_id = 1;
-
hasNewEnrichmentItem
public boolean hasNewEnrichmentItem()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;- Specified by:
hasNewEnrichmentItemin interfaceAddEnrichmentToAlbumRequestOrBuilder
-
getNewEnrichmentItem
public NewEnrichmentItem getNewEnrichmentItem()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;- Specified by:
getNewEnrichmentItemin interfaceAddEnrichmentToAlbumRequestOrBuilder
-
setNewEnrichmentItem
public AddEnrichmentToAlbumRequest.Builder setNewEnrichmentItem(NewEnrichmentItem value)
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
setNewEnrichmentItem
public AddEnrichmentToAlbumRequest.Builder setNewEnrichmentItem(NewEnrichmentItem.Builder builderForValue)
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
mergeNewEnrichmentItem
public AddEnrichmentToAlbumRequest.Builder mergeNewEnrichmentItem(NewEnrichmentItem value)
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
clearNewEnrichmentItem
public AddEnrichmentToAlbumRequest.Builder clearNewEnrichmentItem()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
getNewEnrichmentItemBuilder
public NewEnrichmentItem.Builder getNewEnrichmentItemBuilder()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
getNewEnrichmentItemOrBuilder
public NewEnrichmentItemOrBuilder getNewEnrichmentItemOrBuilder()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;- Specified by:
getNewEnrichmentItemOrBuilderin interfaceAddEnrichmentToAlbumRequestOrBuilder
-
hasAlbumPosition
public boolean hasAlbumPosition()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;- Specified by:
hasAlbumPositionin interfaceAddEnrichmentToAlbumRequestOrBuilder
-
getAlbumPosition
public AlbumPosition getAlbumPosition()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;- Specified by:
getAlbumPositionin interfaceAddEnrichmentToAlbumRequestOrBuilder
-
setAlbumPosition
public AddEnrichmentToAlbumRequest.Builder setAlbumPosition(AlbumPosition value)
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
setAlbumPosition
public AddEnrichmentToAlbumRequest.Builder setAlbumPosition(AlbumPosition.Builder builderForValue)
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
mergeAlbumPosition
public AddEnrichmentToAlbumRequest.Builder mergeAlbumPosition(AlbumPosition value)
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
clearAlbumPosition
public AddEnrichmentToAlbumRequest.Builder clearAlbumPosition()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
getAlbumPositionBuilder
public AlbumPosition.Builder getAlbumPositionBuilder()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
getAlbumPositionOrBuilder
public AlbumPositionOrBuilder getAlbumPositionOrBuilder()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;- Specified by:
getAlbumPositionOrBuilderin interfaceAddEnrichmentToAlbumRequestOrBuilder
-
setUnknownFields
public final AddEnrichmentToAlbumRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
mergeUnknownFields
public final AddEnrichmentToAlbumRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
-