public static final class ListCreativeSetsResponse.Builder extends GeneratedMessage.Builder<ListCreativeSetsResponse.Builder> implements ListCreativeSetsResponseOrBuilder Response object for ListCreativeSetsRequest containing matching
CreativeSet objects.
Protobuf type google.ads.admanager.v1.ListCreativeSetsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCreativeSetsResponse.BuilderImplements
ListCreativeSetsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCreativeSets(Iterable<? extends CreativeSet> values)
public ListCreativeSetsResponse.Builder addAllCreativeSets(Iterable<? extends CreativeSet> values) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.CreativeSet> |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
addCreativeSets(CreativeSet value)
public ListCreativeSetsResponse.Builder addCreativeSets(CreativeSet value) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
CreativeSet |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
addCreativeSets(CreativeSet.Builder builderForValue)
public ListCreativeSetsResponse.Builder addCreativeSets(CreativeSet.Builder builderForValue) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CreativeSet.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
addCreativeSets(int index, CreativeSet value)
public ListCreativeSetsResponse.Builder addCreativeSets(int index, CreativeSet value) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreativeSet |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
addCreativeSets(int index, CreativeSet.Builder builderForValue)
public ListCreativeSetsResponse.Builder addCreativeSets(int index, CreativeSet.Builder builderForValue) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreativeSet.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
addCreativeSetsBuilder()
public CreativeSet.Builder addCreativeSetsBuilder() The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Returns | |
|---|---|
| Type | Description |
CreativeSet.Builder |
|
addCreativeSetsBuilder(int index)
public CreativeSet.Builder addCreativeSetsBuilder(int index) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreativeSet.Builder |
|
build()
public ListCreativeSetsResponse build()| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse |
|
buildPartial()
public ListCreativeSetsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse |
|
clear()
public ListCreativeSetsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
clearCreativeSets()
public ListCreativeSetsResponse.Builder clearCreativeSets() The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
clearNextPageToken()
public ListCreativeSetsResponse.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 |
ListCreativeSetsResponse.Builder |
This builder for chaining. |
clearTotalSize()
public ListCreativeSetsResponse.Builder clearTotalSize() Total number of CreativeSet 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 |
ListCreativeSetsResponse.Builder |
This builder for chaining. |
getCreativeSets(int index)
public CreativeSet getCreativeSets(int index) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreativeSet |
|
getCreativeSetsBuilder(int index)
public CreativeSet.Builder getCreativeSetsBuilder(int index) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreativeSet.Builder |
|
getCreativeSetsBuilderList()
public List<CreativeSet.Builder> getCreativeSetsBuilderList() The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCreativeSetsCount()
public int getCreativeSetsCount() The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCreativeSetsList()
public List<CreativeSet> getCreativeSetsList() The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Returns | |
|---|---|
| Type | Description |
List<CreativeSet> |
|
getCreativeSetsOrBuilder(int index)
public CreativeSetOrBuilder getCreativeSetsOrBuilder(int index) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreativeSetOrBuilder |
|
getCreativeSetsOrBuilderList()
public List<? extends CreativeSetOrBuilder> getCreativeSetsOrBuilderList() The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.CreativeSetOrBuilder> |
|
getDefaultInstanceForType()
public ListCreativeSetsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse |
|
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 CreativeSet 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListCreativeSetsResponse other)
public ListCreativeSetsResponse.Builder mergeFrom(ListCreativeSetsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCreativeSetsResponse |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCreativeSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCreativeSetsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
removeCreativeSets(int index)
public ListCreativeSetsResponse.Builder removeCreativeSets(int index) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
setCreativeSets(int index, CreativeSet value)
public ListCreativeSetsResponse.Builder setCreativeSets(int index, CreativeSet value) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreativeSet |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
setCreativeSets(int index, CreativeSet.Builder builderForValue)
public ListCreativeSetsResponse.Builder setCreativeSets(int index, CreativeSet.Builder builderForValue) The CreativeSet objects from the specified network.
repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreativeSet.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCreativeSetsResponse.Builder |
|
setNextPageToken(String value)
public ListCreativeSetsResponse.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 |
ListCreativeSetsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCreativeSetsResponse.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 |
ListCreativeSetsResponse.Builder |
This builder for chaining. |
setTotalSize(int value)
public ListCreativeSetsResponse.Builder setTotalSize(int value) Total number of CreativeSet 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 |
ListCreativeSetsResponse.Builder |
This builder for chaining. |