Class ListNetworksResponse.Builder (0.11.0)

public static final class ListNetworksResponse.Builder extends GeneratedMessageV3.Builder<ListNetworksResponse.Builder> implements ListNetworksResponseOrBuilder

Response object for ListNetworks method.

Protobuf type google.ads.admanager.v1.ListNetworksResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllNetworks(Iterable<? extends Network> values)

public ListNetworksResponse.Builder addAllNetworks(Iterable<? extends Network> values)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.Network>
Returns
Type Description
ListNetworksResponse.Builder

addNetworks(Network value)

public ListNetworksResponse.Builder addNetworks(Network value)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameter
Name Description
value Network
Returns
Type Description
ListNetworksResponse.Builder

addNetworks(Network.Builder builderForValue)

public ListNetworksResponse.Builder addNetworks(Network.Builder builderForValue)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameter
Name Description
builderForValue Network.Builder
Returns
Type Description
ListNetworksResponse.Builder

addNetworks(int index, Network value)

public ListNetworksResponse.Builder addNetworks(int index, Network value)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameters
Name Description
index int
value Network
Returns
Type Description
ListNetworksResponse.Builder

addNetworks(int index, Network.Builder builderForValue)

public ListNetworksResponse.Builder addNetworks(int index, Network.Builder builderForValue)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameters
Name Description
index int
builderForValue Network.Builder
Returns
Type Description
ListNetworksResponse.Builder

addNetworksBuilder()

public Network.Builder addNetworksBuilder()

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Returns
Type Description
Network.Builder

addNetworksBuilder(int index)

public Network.Builder addNetworksBuilder(int index)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameter
Name Description
index int
Returns
Type Description
Network.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNetworksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNetworksResponse.Builder
Overrides

build()

public ListNetworksResponse build()
Returns
Type Description
ListNetworksResponse

buildPartial()

public ListNetworksResponse buildPartial()
Returns
Type Description
ListNetworksResponse

clear()

public ListNetworksResponse.Builder clear()
Returns
Type Description
ListNetworksResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNetworksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListNetworksResponse.Builder
Overrides

clearNetworks()

public ListNetworksResponse.Builder clearNetworks()

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Returns
Type Description
ListNetworksResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNetworksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListNetworksResponse.Builder
Overrides

clone()

public ListNetworksResponse.Builder clone()
Returns
Type Description
ListNetworksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListNetworksResponse getDefaultInstanceForType()
Returns
Type Description
ListNetworksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNetworks(int index)

public Network getNetworks(int index)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameter
Name Description
index int
Returns
Type Description
Network

getNetworksBuilder(int index)

public Network.Builder getNetworksBuilder(int index)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameter
Name Description
index int
Returns
Type Description
Network.Builder

getNetworksBuilderList()

public List<Network.Builder> getNetworksBuilderList()

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Returns
Type Description
List<Builder>

getNetworksCount()

public int getNetworksCount()

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Returns
Type Description
int

getNetworksList()

public List<Network> getNetworksList()

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Returns
Type Description
List<Network>

getNetworksOrBuilder(int index)

public NetworkOrBuilder getNetworksOrBuilder(int index)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameter
Name Description
index int
Returns
Type Description
NetworkOrBuilder

getNetworksOrBuilderList()

public List<? extends NetworkOrBuilder> getNetworksOrBuilderList()

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.NetworkOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNetworksResponse other)

public ListNetworksResponse.Builder mergeFrom(ListNetworksResponse other)
Parameter
Name Description
other ListNetworksResponse
Returns
Type Description
ListNetworksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNetworksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNetworksResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListNetworksResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListNetworksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNetworksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNetworksResponse.Builder
Overrides

removeNetworks(int index)

public ListNetworksResponse.Builder removeNetworks(int index)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameter
Name Description
index int
Returns
Type Description
ListNetworksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListNetworksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNetworksResponse.Builder
Overrides

setNetworks(int index, Network value)

public ListNetworksResponse.Builder setNetworks(int index, Network value)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameters
Name Description
index int
value Network
Returns
Type Description
ListNetworksResponse.Builder

setNetworks(int index, Network.Builder builderForValue)

public ListNetworksResponse.Builder setNetworks(int index, Network.Builder builderForValue)

The Networks a user has access to.

repeated .google.ads.admanager.v1.Network networks = 1;

Parameters
Name Description
index int
builderForValue Network.Builder
Returns
Type Description
ListNetworksResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListNetworksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListNetworksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNetworksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNetworksResponse.Builder
Overrides