public static final class FetchMcmEarningsResponse.Builder extends GeneratedMessage.Builder<FetchMcmEarningsResponse.Builder> implements FetchMcmEarningsResponseOrBuilder Response object for FetchMcmEarningsRequest containing matching
McmEarnings objects.
Protobuf type google.ads.admanager.v1.FetchMcmEarningsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchMcmEarningsResponse.BuilderImplements
FetchMcmEarningsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllMcmEarnings(Iterable<? extends McmEarnings> values)
public FetchMcmEarningsResponse.Builder addAllMcmEarnings(Iterable<? extends McmEarnings> values) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.McmEarnings> |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
addMcmEarnings(McmEarnings value)
public FetchMcmEarningsResponse.Builder addMcmEarnings(McmEarnings value) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
McmEarnings |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
addMcmEarnings(McmEarnings.Builder builderForValue)
public FetchMcmEarningsResponse.Builder addMcmEarnings(McmEarnings.Builder builderForValue) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
McmEarnings.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
addMcmEarnings(int index, McmEarnings value)
public FetchMcmEarningsResponse.Builder addMcmEarnings(int index, McmEarnings value) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
McmEarnings |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
addMcmEarnings(int index, McmEarnings.Builder builderForValue)
public FetchMcmEarningsResponse.Builder addMcmEarnings(int index, McmEarnings.Builder builderForValue) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
McmEarnings.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
addMcmEarningsBuilder()
public McmEarnings.Builder addMcmEarningsBuilder() The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Returns | |
|---|---|
| Type | Description |
McmEarnings.Builder |
|
addMcmEarningsBuilder(int index)
public McmEarnings.Builder addMcmEarningsBuilder(int index) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
McmEarnings.Builder |
|
build()
public FetchMcmEarningsResponse build()| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse |
|
buildPartial()
public FetchMcmEarningsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse |
|
clear()
public FetchMcmEarningsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
clearMcmEarnings()
public FetchMcmEarningsResponse.Builder clearMcmEarnings() The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
clearNextPageToken()
public FetchMcmEarningsResponse.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 |
FetchMcmEarningsResponse.Builder |
This builder for chaining. |
clearTotalSize()
public FetchMcmEarningsResponse.Builder clearTotalSize() Total number of McmEarnings 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 |
FetchMcmEarningsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchMcmEarningsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMcmEarnings(int index)
public McmEarnings getMcmEarnings(int index) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
McmEarnings |
|
getMcmEarningsBuilder(int index)
public McmEarnings.Builder getMcmEarningsBuilder(int index) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
McmEarnings.Builder |
|
getMcmEarningsBuilderList()
public List<McmEarnings.Builder> getMcmEarningsBuilderList() The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getMcmEarningsCount()
public int getMcmEarningsCount() The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getMcmEarningsList()
public List<McmEarnings> getMcmEarningsList() The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Returns | |
|---|---|
| Type | Description |
List<McmEarnings> |
|
getMcmEarningsOrBuilder(int index)
public McmEarningsOrBuilder getMcmEarningsOrBuilder(int index) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
McmEarningsOrBuilder |
|
getMcmEarningsOrBuilderList()
public List<? extends McmEarningsOrBuilder> getMcmEarningsOrBuilderList() The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.McmEarningsOrBuilder> |
|
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 McmEarnings 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(FetchMcmEarningsResponse other)
public FetchMcmEarningsResponse.Builder mergeFrom(FetchMcmEarningsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchMcmEarningsResponse |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchMcmEarningsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchMcmEarningsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
removeMcmEarnings(int index)
public FetchMcmEarningsResponse.Builder removeMcmEarnings(int index) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
setMcmEarnings(int index, McmEarnings value)
public FetchMcmEarningsResponse.Builder setMcmEarnings(int index, McmEarnings value) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
McmEarnings |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
setMcmEarnings(int index, McmEarnings.Builder builderForValue)
public FetchMcmEarningsResponse.Builder setMcmEarnings(int index, McmEarnings.Builder builderForValue) The McmEarnings objects from the specified network.
repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
McmEarnings.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchMcmEarningsResponse.Builder |
|
setNextPageToken(String value)
public FetchMcmEarningsResponse.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 |
FetchMcmEarningsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public FetchMcmEarningsResponse.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 |
FetchMcmEarningsResponse.Builder |
This builder for chaining. |
setTotalSize(int value)
public FetchMcmEarningsResponse.Builder setTotalSize(int value) Total number of McmEarnings 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 |
FetchMcmEarningsResponse.Builder |
This builder for chaining. |