public static final class ListNativeStylesResponse.Builder extends GeneratedMessage.Builder<ListNativeStylesResponse.Builder> implements ListNativeStylesResponseOrBuilder Response object for ListNativeStylesRequest containing matching
NativeStyle objects.
Protobuf type google.ads.admanager.v1.ListNativeStylesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListNativeStylesResponse.BuilderImplements
ListNativeStylesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNativeStyles(Iterable<? extends NativeStyle> values)
public ListNativeStylesResponse.Builder addAllNativeStyles(Iterable<? extends NativeStyle> values) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.NativeStyle> |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
addNativeStyles(NativeStyle value)
public ListNativeStylesResponse.Builder addNativeStyles(NativeStyle value) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
NativeStyle |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
addNativeStyles(NativeStyle.Builder builderForValue)
public ListNativeStylesResponse.Builder addNativeStyles(NativeStyle.Builder builderForValue) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NativeStyle.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
addNativeStyles(int index, NativeStyle value)
public ListNativeStylesResponse.Builder addNativeStyles(int index, NativeStyle value) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
NativeStyle |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
addNativeStyles(int index, NativeStyle.Builder builderForValue)
public ListNativeStylesResponse.Builder addNativeStyles(int index, NativeStyle.Builder builderForValue) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
NativeStyle.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
addNativeStylesBuilder()
public NativeStyle.Builder addNativeStylesBuilder() The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Returns | |
|---|---|
| Type | Description |
NativeStyle.Builder |
|
addNativeStylesBuilder(int index)
public NativeStyle.Builder addNativeStylesBuilder(int index) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NativeStyle.Builder |
|
build()
public ListNativeStylesResponse build()| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse |
|
buildPartial()
public ListNativeStylesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse |
|
clear()
public ListNativeStylesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
clearNativeStyles()
public ListNativeStylesResponse.Builder clearNativeStyles() The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
clearNextPageToken()
public ListNativeStylesResponse.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 |
ListNativeStylesResponse.Builder |
This builder for chaining. |
clearTotalSize()
public ListNativeStylesResponse.Builder clearTotalSize() Total number of NativeStyle 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 |
ListNativeStylesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListNativeStylesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNativeStyles(int index)
public NativeStyle getNativeStyles(int index) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NativeStyle |
|
getNativeStylesBuilder(int index)
public NativeStyle.Builder getNativeStylesBuilder(int index) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NativeStyle.Builder |
|
getNativeStylesBuilderList()
public List<NativeStyle.Builder> getNativeStylesBuilderList() The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getNativeStylesCount()
public int getNativeStylesCount() The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getNativeStylesList()
public List<NativeStyle> getNativeStylesList() The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Returns | |
|---|---|
| Type | Description |
List<NativeStyle> |
|
getNativeStylesOrBuilder(int index)
public NativeStyleOrBuilder getNativeStylesOrBuilder(int index) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NativeStyleOrBuilder |
|
getNativeStylesOrBuilderList()
public List<? extends NativeStyleOrBuilder> getNativeStylesOrBuilderList() The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.NativeStyleOrBuilder> |
|
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 NativeStyle 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(ListNativeStylesResponse other)
public ListNativeStylesResponse.Builder mergeFrom(ListNativeStylesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListNativeStylesResponse |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListNativeStylesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListNativeStylesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
removeNativeStyles(int index)
public ListNativeStylesResponse.Builder removeNativeStyles(int index) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
setNativeStyles(int index, NativeStyle value)
public ListNativeStylesResponse.Builder setNativeStyles(int index, NativeStyle value) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
NativeStyle |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
setNativeStyles(int index, NativeStyle.Builder builderForValue)
public ListNativeStylesResponse.Builder setNativeStyles(int index, NativeStyle.Builder builderForValue) The NativeStyle objects from the specified network.
repeated .google.ads.admanager.v1.NativeStyle native_styles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
NativeStyle.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNativeStylesResponse.Builder |
|
setNextPageToken(String value)
public ListNativeStylesResponse.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 |
ListNativeStylesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListNativeStylesResponse.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 |
ListNativeStylesResponse.Builder |
This builder for chaining. |
setTotalSize(int value)
public ListNativeStylesResponse.Builder setTotalSize(int value) Total number of NativeStyle 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 |
ListNativeStylesResponse.Builder |
This builder for chaining. |