public static final class ListBandwidthGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListBandwidthGroupsResponse.Builder> implements ListBandwidthGroupsResponseOrBuilder
Response object for ListBandwidthGroupsRequest
containing matching
BandwidthGroup
objects.
Protobuf type google.ads.admanager.v1.ListBandwidthGroupsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListBandwidthGroupsResponse.BuilderImplements
ListBandwidthGroupsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllBandwidthGroups(Iterable<? extends BandwidthGroup> values)
public ListBandwidthGroupsResponse.Builder addAllBandwidthGroups(Iterable<? extends BandwidthGroup> values)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.BandwidthGroup> |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
addBandwidthGroups(BandwidthGroup value)
public ListBandwidthGroupsResponse.Builder addBandwidthGroups(BandwidthGroup value)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameter | |
---|---|
Name | Description |
value |
BandwidthGroup |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
addBandwidthGroups(BandwidthGroup.Builder builderForValue)
public ListBandwidthGroupsResponse.Builder addBandwidthGroups(BandwidthGroup.Builder builderForValue)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
BandwidthGroup.Builder |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
addBandwidthGroups(int index, BandwidthGroup value)
public ListBandwidthGroupsResponse.Builder addBandwidthGroups(int index, BandwidthGroup value)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BandwidthGroup |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
addBandwidthGroups(int index, BandwidthGroup.Builder builderForValue)
public ListBandwidthGroupsResponse.Builder addBandwidthGroups(int index, BandwidthGroup.Builder builderForValue)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BandwidthGroup.Builder |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
addBandwidthGroupsBuilder()
public BandwidthGroup.Builder addBandwidthGroupsBuilder()
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Returns | |
---|---|
Type | Description |
BandwidthGroup.Builder |
addBandwidthGroupsBuilder(int index)
public BandwidthGroup.Builder addBandwidthGroupsBuilder(int index)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BandwidthGroup.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBandwidthGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
build()
public ListBandwidthGroupsResponse build()
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse |
buildPartial()
public ListBandwidthGroupsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse |
clear()
public ListBandwidthGroupsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
clearBandwidthGroups()
public ListBandwidthGroupsResponse.Builder clearBandwidthGroups()
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListBandwidthGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
clearNextPageToken()
public ListBandwidthGroupsResponse.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 |
ListBandwidthGroupsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBandwidthGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
clearTotalSize()
public ListBandwidthGroupsResponse.Builder clearTotalSize()
Total number of BandwidthGroup
objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size
will not 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 |
ListBandwidthGroupsResponse.Builder |
This builder for chaining. |
clone()
public ListBandwidthGroupsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
getBandwidthGroups(int index)
public BandwidthGroup getBandwidthGroups(int index)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BandwidthGroup |
getBandwidthGroupsBuilder(int index)
public BandwidthGroup.Builder getBandwidthGroupsBuilder(int index)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BandwidthGroup.Builder |
getBandwidthGroupsBuilderList()
public List<BandwidthGroup.Builder> getBandwidthGroupsBuilderList()
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getBandwidthGroupsCount()
public int getBandwidthGroupsCount()
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Returns | |
---|---|
Type | Description |
int |
getBandwidthGroupsList()
public List<BandwidthGroup> getBandwidthGroupsList()
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Returns | |
---|---|
Type | Description |
List<BandwidthGroup> |
getBandwidthGroupsOrBuilder(int index)
public BandwidthGroupOrBuilder getBandwidthGroupsOrBuilder(int index)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BandwidthGroupOrBuilder |
getBandwidthGroupsOrBuilderList()
public List<? extends BandwidthGroupOrBuilder> getBandwidthGroupsOrBuilderList()
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.ads.admanager.v1.BandwidthGroupOrBuilder> |
getDefaultInstanceForType()
public ListBandwidthGroupsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse |
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 BandwidthGroup
objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size
will not 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListBandwidthGroupsResponse other)
public ListBandwidthGroupsResponse.Builder mergeFrom(ListBandwidthGroupsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListBandwidthGroupsResponse |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBandwidthGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListBandwidthGroupsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBandwidthGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
removeBandwidthGroups(int index)
public ListBandwidthGroupsResponse.Builder removeBandwidthGroups(int index)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
setBandwidthGroups(int index, BandwidthGroup value)
public ListBandwidthGroupsResponse.Builder setBandwidthGroups(int index, BandwidthGroup value)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BandwidthGroup |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
setBandwidthGroups(int index, BandwidthGroup.Builder builderForValue)
public ListBandwidthGroupsResponse.Builder setBandwidthGroups(int index, BandwidthGroup.Builder builderForValue)
The BandwidthGroup
objects from the specified network.
repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BandwidthGroup.Builder |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListBandwidthGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
setNextPageToken(String value)
public ListBandwidthGroupsResponse.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 |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListBandwidthGroupsResponse.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 |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBandwidthGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
setTotalSize(int value)
public ListBandwidthGroupsResponse.Builder setTotalSize(int value)
Total number of BandwidthGroup
objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size
will not 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 |
int The totalSize to set. |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBandwidthGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListBandwidthGroupsResponse.Builder |