public static final class BatchUpdateYieldGroupsRequest.Builder extends GeneratedMessage.Builder<BatchUpdateYieldGroupsRequest.Builder> implements BatchUpdateYieldGroupsRequestOrBuilder Request object for BatchUpdateYieldGroups method.
Protobuf type google.ads.admanager.v1.BatchUpdateYieldGroupsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchUpdateYieldGroupsRequest.BuilderImplements
BatchUpdateYieldGroupsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRequests(Iterable<? extends UpdateYieldGroupRequest> values)
public BatchUpdateYieldGroupsRequest.Builder addAllRequests(Iterable<? extends UpdateYieldGroupRequest> values) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.UpdateYieldGroupRequest> |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
addRequests(UpdateYieldGroupRequest value)
public BatchUpdateYieldGroupsRequest.Builder addRequests(UpdateYieldGroupRequest value) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
UpdateYieldGroupRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
addRequests(UpdateYieldGroupRequest.Builder builderForValue)
public BatchUpdateYieldGroupsRequest.Builder addRequests(UpdateYieldGroupRequest.Builder builderForValue) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UpdateYieldGroupRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
addRequests(int index, UpdateYieldGroupRequest value)
public BatchUpdateYieldGroupsRequest.Builder addRequests(int index, UpdateYieldGroupRequest value) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UpdateYieldGroupRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
addRequests(int index, UpdateYieldGroupRequest.Builder builderForValue)
public BatchUpdateYieldGroupsRequest.Builder addRequests(int index, UpdateYieldGroupRequest.Builder builderForValue) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpdateYieldGroupRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
addRequestsBuilder()
public UpdateYieldGroupRequest.Builder addRequestsBuilder() Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateYieldGroupRequest.Builder |
|
addRequestsBuilder(int index)
public UpdateYieldGroupRequest.Builder addRequestsBuilder(int index) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateYieldGroupRequest.Builder |
|
build()
public BatchUpdateYieldGroupsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest |
|
buildPartial()
public BatchUpdateYieldGroupsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest |
|
clear()
public BatchUpdateYieldGroupsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
clearParent()
public BatchUpdateYieldGroupsRequest.Builder clearParent() Required. The parent resource where YieldGroups will be updated.
Format: networks/{network_code}
The parent field in the UpdateYieldGroupRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
This builder for chaining. |
clearRequests()
public BatchUpdateYieldGroupsRequest.Builder clearRequests() Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
getDefaultInstanceForType()
public BatchUpdateYieldGroupsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource where YieldGroups will be updated.
Format: networks/{network_code}
The parent field in the UpdateYieldGroupRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource where YieldGroups will be updated.
Format: networks/{network_code}
The parent field in the UpdateYieldGroupRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequests(int index)
public UpdateYieldGroupRequest getRequests(int index) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateYieldGroupRequest |
|
getRequestsBuilder(int index)
public UpdateYieldGroupRequest.Builder getRequestsBuilder(int index) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateYieldGroupRequest.Builder |
|
getRequestsBuilderList()
public List<UpdateYieldGroupRequest.Builder> getRequestsBuilderList() Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRequestsCount()
public int getRequestsCount() Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRequestsList()
public List<UpdateYieldGroupRequest> getRequestsList() Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<UpdateYieldGroupRequest> |
|
getRequestsOrBuilder(int index)
public UpdateYieldGroupRequestOrBuilder getRequestsOrBuilder(int index) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateYieldGroupRequestOrBuilder |
|
getRequestsOrBuilderList()
public List<? extends UpdateYieldGroupRequestOrBuilder> getRequestsOrBuilderList() Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.UpdateYieldGroupRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchUpdateYieldGroupsRequest other)
public BatchUpdateYieldGroupsRequest.Builder mergeFrom(BatchUpdateYieldGroupsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchUpdateYieldGroupsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchUpdateYieldGroupsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchUpdateYieldGroupsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
removeRequests(int index)
public BatchUpdateYieldGroupsRequest.Builder removeRequests(int index) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
setParent(String value)
public BatchUpdateYieldGroupsRequest.Builder setParent(String value) Required. The parent resource where YieldGroups will be updated.
Format: networks/{network_code}
The parent field in the UpdateYieldGroupRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchUpdateYieldGroupsRequest.Builder setParentBytes(ByteString value) Required. The parent resource where YieldGroups will be updated.
Format: networks/{network_code}
The parent field in the UpdateYieldGroupRequest must match this
field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
This builder for chaining. |
setRequests(int index, UpdateYieldGroupRequest value)
public BatchUpdateYieldGroupsRequest.Builder setRequests(int index, UpdateYieldGroupRequest value) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UpdateYieldGroupRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|
setRequests(int index, UpdateYieldGroupRequest.Builder builderForValue)
public BatchUpdateYieldGroupsRequest.Builder setRequests(int index, UpdateYieldGroupRequest.Builder builderForValue) Required. The YieldGroup objects to update.
A maximum of 10 objects can be updated in a batch.
repeated .google.ads.admanager.v1.UpdateYieldGroupRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpdateYieldGroupRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateYieldGroupsRequest.Builder |
|