public static final class ListYieldGroupsResponse.Builder extends GeneratedMessage.Builder<ListYieldGroupsResponse.Builder> implements ListYieldGroupsResponseOrBuilder Response object for ListYieldGroupsRequest containing matching YieldGroup
objects.
Protobuf type google.ads.admanager.v1.ListYieldGroupsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListYieldGroupsResponse.BuilderImplements
ListYieldGroupsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllYieldGroups(Iterable<? extends YieldGroup> values)
public ListYieldGroupsResponse.Builder addAllYieldGroups(Iterable<? extends YieldGroup> values) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.YieldGroup> |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
addYieldGroups(YieldGroup value)
public ListYieldGroupsResponse.Builder addYieldGroups(YieldGroup value) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
YieldGroup |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
addYieldGroups(YieldGroup.Builder builderForValue)
public ListYieldGroupsResponse.Builder addYieldGroups(YieldGroup.Builder builderForValue) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
YieldGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
addYieldGroups(int index, YieldGroup value)
public ListYieldGroupsResponse.Builder addYieldGroups(int index, YieldGroup value) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
YieldGroup |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
addYieldGroups(int index, YieldGroup.Builder builderForValue)
public ListYieldGroupsResponse.Builder addYieldGroups(int index, YieldGroup.Builder builderForValue) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
YieldGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
addYieldGroupsBuilder()
public YieldGroup.Builder addYieldGroupsBuilder() The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Returns | |
|---|---|
| Type | Description |
YieldGroup.Builder |
|
addYieldGroupsBuilder(int index)
public YieldGroup.Builder addYieldGroupsBuilder(int index) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
YieldGroup.Builder |
|
build()
public ListYieldGroupsResponse build()| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse |
|
buildPartial()
public ListYieldGroupsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse |
|
clear()
public ListYieldGroupsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
clearNextPageToken()
public ListYieldGroupsResponse.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 |
ListYieldGroupsResponse.Builder |
This builder for chaining. |
clearTotalSize()
public ListYieldGroupsResponse.Builder clearTotalSize() Total number of YieldGroup 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 |
ListYieldGroupsResponse.Builder |
This builder for chaining. |
clearYieldGroups()
public ListYieldGroupsResponse.Builder clearYieldGroups() The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
getDefaultInstanceForType()
public ListYieldGroupsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse |
|
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 YieldGroup 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. |
getYieldGroups(int index)
public YieldGroup getYieldGroups(int index) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
YieldGroup |
|
getYieldGroupsBuilder(int index)
public YieldGroup.Builder getYieldGroupsBuilder(int index) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
YieldGroup.Builder |
|
getYieldGroupsBuilderList()
public List<YieldGroup.Builder> getYieldGroupsBuilderList() The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getYieldGroupsCount()
public int getYieldGroupsCount() The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getYieldGroupsList()
public List<YieldGroup> getYieldGroupsList() The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Returns | |
|---|---|
| Type | Description |
List<YieldGroup> |
|
getYieldGroupsOrBuilder(int index)
public YieldGroupOrBuilder getYieldGroupsOrBuilder(int index) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
YieldGroupOrBuilder |
|
getYieldGroupsOrBuilderList()
public List<? extends YieldGroupOrBuilder> getYieldGroupsOrBuilderList() The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.YieldGroupOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListYieldGroupsResponse other)
public ListYieldGroupsResponse.Builder mergeFrom(ListYieldGroupsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListYieldGroupsResponse |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListYieldGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListYieldGroupsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
removeYieldGroups(int index)
public ListYieldGroupsResponse.Builder removeYieldGroups(int index) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
setNextPageToken(String value)
public ListYieldGroupsResponse.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 |
ListYieldGroupsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListYieldGroupsResponse.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 |
ListYieldGroupsResponse.Builder |
This builder for chaining. |
setTotalSize(int value)
public ListYieldGroupsResponse.Builder setTotalSize(int value) Total number of YieldGroup 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 |
ListYieldGroupsResponse.Builder |
This builder for chaining. |
setYieldGroups(int index, YieldGroup value)
public ListYieldGroupsResponse.Builder setYieldGroups(int index, YieldGroup value) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
YieldGroup |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|
setYieldGroups(int index, YieldGroup.Builder builderForValue)
public ListYieldGroupsResponse.Builder setYieldGroups(int index, YieldGroup.Builder builderForValue) The YieldGroup objects from the specified network.
repeated .google.ads.admanager.v1.YieldGroup yield_groups = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
YieldGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
ListYieldGroupsResponse.Builder |
|