Class BatchGetMediaItemsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>
-
- com.google.photos.library.v1.proto.BatchGetMediaItemsRequest.Builder
-
- All Implemented Interfaces:
BatchGetMediaItemsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- BatchGetMediaItemsRequest
public static final class BatchGetMediaItemsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder> implements BatchGetMediaItemsRequestOrBuilder
Request to retrieve a list of media items.
Protobuf typegoogle.photos.library.v1.BatchGetMediaItemsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetMediaItemsRequest.Builder
addAllMediaItemIds(java.lang.Iterable<java.lang.String> values)
Identifiers of the media items to be requested.BatchGetMediaItemsRequest.Builder
addMediaItemIds(java.lang.String value)
Identifiers of the media items to be requested.BatchGetMediaItemsRequest.Builder
addMediaItemIdsBytes(com.google.protobuf.ByteString value)
Identifiers of the media items to be requested.BatchGetMediaItemsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BatchGetMediaItemsRequest
build()
BatchGetMediaItemsRequest
buildPartial()
BatchGetMediaItemsRequest.Builder
clear()
BatchGetMediaItemsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchGetMediaItemsRequest.Builder
clearMediaItemIds()
Identifiers of the media items to be requested.BatchGetMediaItemsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchGetMediaItemsRequest.Builder
clone()
BatchGetMediaItemsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getMediaItemIds(int index)
Identifiers of the media items to be requested.com.google.protobuf.ByteString
getMediaItemIdsBytes(int index)
Identifiers of the media items to be requested.int
getMediaItemIdsCount()
Identifiers of the media items to be requested.com.google.protobuf.ProtocolStringList
getMediaItemIdsList()
Identifiers of the media items to be requested.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BatchGetMediaItemsRequest.Builder
mergeFrom(BatchGetMediaItemsRequest other)
BatchGetMediaItemsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchGetMediaItemsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
BatchGetMediaItemsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchGetMediaItemsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BatchGetMediaItemsRequest.Builder
setMediaItemIds(int index, java.lang.String value)
Identifiers of the media items to be requested.BatchGetMediaItemsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
-
clear
public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
-
getDefaultInstanceForType
public BatchGetMediaItemsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchGetMediaItemsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchGetMediaItemsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
-
setField
public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
-
clearField
public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
-
clearOneof
public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
-
setRepeatedField
public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
-
addRepeatedField
public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
-
mergeFrom
public BatchGetMediaItemsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchGetMediaItemsRequest.Builder>
-
mergeFrom
public BatchGetMediaItemsRequest.Builder mergeFrom(BatchGetMediaItemsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>
-
mergeFrom
public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
- Throws:
java.io.IOException
-
getMediaItemIdsList
public com.google.protobuf.ProtocolStringList getMediaItemIdsList()
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
- Specified by:
getMediaItemIdsList
in interfaceBatchGetMediaItemsRequestOrBuilder
-
getMediaItemIdsCount
public int getMediaItemIdsCount()
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
- Specified by:
getMediaItemIdsCount
in interfaceBatchGetMediaItemsRequestOrBuilder
-
getMediaItemIds
public java.lang.String getMediaItemIds(int index)
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
- Specified by:
getMediaItemIds
in interfaceBatchGetMediaItemsRequestOrBuilder
-
getMediaItemIdsBytes
public com.google.protobuf.ByteString getMediaItemIdsBytes(int index)
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
- Specified by:
getMediaItemIdsBytes
in interfaceBatchGetMediaItemsRequestOrBuilder
-
setMediaItemIds
public BatchGetMediaItemsRequest.Builder setMediaItemIds(int index, java.lang.String value)
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
-
addMediaItemIds
public BatchGetMediaItemsRequest.Builder addMediaItemIds(java.lang.String value)
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
-
addAllMediaItemIds
public BatchGetMediaItemsRequest.Builder addAllMediaItemIds(java.lang.Iterable<java.lang.String> values)
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
-
clearMediaItemIds
public BatchGetMediaItemsRequest.Builder clearMediaItemIds()
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
-
addMediaItemIdsBytes
public BatchGetMediaItemsRequest.Builder addMediaItemIdsBytes(com.google.protobuf.ByteString value)
Identifiers of the media items to be requested. Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be retrieved in one call is 50.
repeated string media_item_ids = 1;
-
setUnknownFields
public final BatchGetMediaItemsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>
-
mergeUnknownFields
public final BatchGetMediaItemsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>
-
-