public static final class ListSlatesResponse.Builder extends GeneratedMessage.Builder<ListSlatesResponse.Builder> implements ListSlatesResponseOrBuilder Response message for ListSlates method.
Protobuf type google.ads.admanager.v1.ListSlatesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSlatesResponse.BuilderImplements
ListSlatesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSlates(Iterable<? extends Slate> values)
public ListSlatesResponse.Builder addAllSlates(Iterable<? extends Slate> values) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.Slate> |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
addSlates(Slate value)
public ListSlatesResponse.Builder addSlates(Slate value) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Slate |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
addSlates(Slate.Builder builderForValue)
public ListSlatesResponse.Builder addSlates(Slate.Builder builderForValue) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Slate.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
addSlates(int index, Slate value)
public ListSlatesResponse.Builder addSlates(int index, Slate value) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Slate |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
addSlates(int index, Slate.Builder builderForValue)
public ListSlatesResponse.Builder addSlates(int index, Slate.Builder builderForValue) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Slate.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
addSlatesBuilder()
public Slate.Builder addSlatesBuilder() The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Returns | |
|---|---|
| Type | Description |
Slate.Builder |
|
addSlatesBuilder(int index)
public Slate.Builder addSlatesBuilder(int index) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Slate.Builder |
|
build()
public ListSlatesResponse build()| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse |
|
buildPartial()
public ListSlatesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse |
|
clear()
public ListSlatesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
clearNextPageToken()
public ListSlatesResponse.Builder clearNextPageToken() A token that 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 |
ListSlatesResponse.Builder |
This builder for chaining. |
clearSlates()
public ListSlatesResponse.Builder clearSlates() The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
clearTotalSize()
public ListSlatesResponse.Builder clearTotalSize() Total number of Slate objects.
If a filter was included in the request, this reflects the total number
after filtering.
total_size will not be returned if skip is nonzero.
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListSlatesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token that 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 that 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. |
getSlates(int index)
public Slate getSlates(int index) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Slate |
|
getSlatesBuilder(int index)
public Slate.Builder getSlatesBuilder(int index) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Slate.Builder |
|
getSlatesBuilderList()
public List<Slate.Builder> getSlatesBuilderList() The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSlatesCount()
public int getSlatesCount() The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSlatesList()
public List<Slate> getSlatesList() The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Returns | |
|---|---|
| Type | Description |
List<Slate> |
|
getSlatesOrBuilder(int index)
public SlateOrBuilder getSlatesOrBuilder(int index) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SlateOrBuilder |
|
getSlatesOrBuilderList()
public List<? extends SlateOrBuilder> getSlatesOrBuilderList() The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.SlateOrBuilder> |
|
getTotalSize()
public int getTotalSize() Total number of Slate objects.
If a filter was included in the request, this reflects the total number
after filtering.
total_size will not be returned if skip is nonzero.
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(ListSlatesResponse other)
public ListSlatesResponse.Builder mergeFrom(ListSlatesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSlatesResponse |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSlatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSlatesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
removeSlates(int index)
public ListSlatesResponse.Builder removeSlates(int index) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
setNextPageToken(String value)
public ListSlatesResponse.Builder setNextPageToken(String value) A token that 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 |
ListSlatesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListSlatesResponse.Builder setNextPageTokenBytes(ByteString value) A token that 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 |
ListSlatesResponse.Builder |
This builder for chaining. |
setSlates(int index, Slate value)
public ListSlatesResponse.Builder setSlates(int index, Slate value) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Slate |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
setSlates(int index, Slate.Builder builderForValue)
public ListSlatesResponse.Builder setSlates(int index, Slate.Builder builderForValue) The Slate objects from the specified network.
repeated .google.ads.admanager.v1.Slate slates = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Slate.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
|
setTotalSize(int value)
public ListSlatesResponse.Builder setTotalSize(int value) Total number of Slate objects.
If a filter was included in the request, this reflects the total number
after filtering.
total_size will not be returned if skip is nonzero.
int32 total_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListSlatesResponse.Builder |
This builder for chaining. |