public static final class ListContentBundlesResponse.Builder extends GeneratedMessageV3.Builder<ListContentBundlesResponse.Builder> implements ListContentBundlesResponseOrBuilder Response object for ListContentBundlesRequest containing matching
ContentBundle objects.
Protobuf type google.ads.admanager.v1.ListContentBundlesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListContentBundlesResponse.BuilderImplements
ListContentBundlesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllContentBundles(Iterable<? extends ContentBundle> values)
public ListContentBundlesResponse.Builder addAllContentBundles(Iterable<? extends ContentBundle> values) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.ContentBundle> |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
addContentBundles(ContentBundle value)
public ListContentBundlesResponse.Builder addContentBundles(ContentBundle value) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ContentBundle |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
addContentBundles(ContentBundle.Builder builderForValue)
public ListContentBundlesResponse.Builder addContentBundles(ContentBundle.Builder builderForValue) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ContentBundle.Builder |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
addContentBundles(int index, ContentBundle value)
public ListContentBundlesResponse.Builder addContentBundles(int index, ContentBundle value) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ContentBundle |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
addContentBundles(int index, ContentBundle.Builder builderForValue)
public ListContentBundlesResponse.Builder addContentBundles(int index, ContentBundle.Builder builderForValue) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ContentBundle.Builder |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
addContentBundlesBuilder()
public ContentBundle.Builder addContentBundlesBuilder() The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Returns | |
|---|---|
| Type | Description |
ContentBundle.Builder |
|
addContentBundlesBuilder(int index)
public ContentBundle.Builder addContentBundlesBuilder(int index) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContentBundle.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListContentBundlesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
build()
public ListContentBundlesResponse build()| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse |
|
buildPartial()
public ListContentBundlesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse |
|
clear()
public ListContentBundlesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
clearContentBundles()
public ListContentBundlesResponse.Builder clearContentBundles() The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListContentBundlesResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
clearNextPageToken()
public ListContentBundlesResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListContentBundlesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
clearTotalSize()
public ListContentBundlesResponse.Builder clearTotalSize() Total number of ContentBundle objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter $fields or fields, or by using
the HTTP/gRPC header X-Goog-FieldMask.
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
This builder for chaining. |
clone()
public ListContentBundlesResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
getContentBundles(int index)
public ContentBundle getContentBundles(int index) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContentBundle |
|
getContentBundlesBuilder(int index)
public ContentBundle.Builder getContentBundlesBuilder(int index) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContentBundle.Builder |
|
getContentBundlesBuilderList()
public List<ContentBundle.Builder> getContentBundlesBuilderList() The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getContentBundlesCount()
public int getContentBundlesCount() The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getContentBundlesList()
public List<ContentBundle> getContentBundlesList() The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Returns | |
|---|---|
| Type | Description |
List<ContentBundle> |
|
getContentBundlesOrBuilder(int index)
public ContentBundleOrBuilder getContentBundlesOrBuilder(int index) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContentBundleOrBuilder |
|
getContentBundlesOrBuilderList()
public List<? extends ContentBundleOrBuilder> getContentBundlesOrBuilderList() The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.ContentBundleOrBuilder> |
|
getDefaultInstanceForType()
public ListContentBundlesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getTotalSize()
public int getTotalSize() Total number of ContentBundle objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter $fields or fields, or by using
the HTTP/gRPC header X-Goog-FieldMask.
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The totalSize. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListContentBundlesResponse other)
public ListContentBundlesResponse.Builder mergeFrom(ListContentBundlesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListContentBundlesResponse |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListContentBundlesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListContentBundlesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListContentBundlesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
removeContentBundles(int index)
public ListContentBundlesResponse.Builder removeContentBundles(int index) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
setContentBundles(int index, ContentBundle value)
public ListContentBundlesResponse.Builder setContentBundles(int index, ContentBundle value) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ContentBundle |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
setContentBundles(int index, ContentBundle.Builder builderForValue)
public ListContentBundlesResponse.Builder setContentBundles(int index, ContentBundle.Builder builderForValue) The ContentBundle objects from the specified network.
repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ContentBundle.Builder |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListContentBundlesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
setNextPageToken(String value)
public ListContentBundlesResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListContentBundlesResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListContentBundlesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|
setTotalSize(int value)
public ListContentBundlesResponse.Builder setTotalSize(int value) Total number of ContentBundle objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter $fields or fields, or by using
the HTTP/gRPC header X-Goog-FieldMask.
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListContentBundlesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListContentBundlesResponse.Builder |
|