Class ListChannelPartnerLinksResponse.Builder (3.55.0)

public static final class ListChannelPartnerLinksResponse.Builder extends GeneratedMessageV3.Builder<ListChannelPartnerLinksResponse.Builder> implements ListChannelPartnerLinksResponseOrBuilder

Response message for CloudChannelService.ListChannelPartnerLinks.

Protobuf type google.cloud.channel.v1.ListChannelPartnerLinksResponse

Static Methods

getDescriptor()

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

Methods

public ListChannelPartnerLinksResponse.Builder addAllChannelPartnerLinks(Iterable<? extends ChannelPartnerLink> values)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.ChannelPartnerLink>
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
public ListChannelPartnerLinksResponse.Builder addChannelPartnerLinks(ChannelPartnerLink value)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameter
Name Description
value ChannelPartnerLink
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
public ListChannelPartnerLinksResponse.Builder addChannelPartnerLinks(ChannelPartnerLink.Builder builderForValue)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameter
Name Description
builderForValue ChannelPartnerLink.Builder
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
public ListChannelPartnerLinksResponse.Builder addChannelPartnerLinks(int index, ChannelPartnerLink value)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameters
Name Description
index int
value ChannelPartnerLink
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
public ListChannelPartnerLinksResponse.Builder addChannelPartnerLinks(int index, ChannelPartnerLink.Builder builderForValue)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameters
Name Description
index int
builderForValue ChannelPartnerLink.Builder
Returns
Type Description
ListChannelPartnerLinksResponse.Builder

addChannelPartnerLinksBuilder()

public ChannelPartnerLink.Builder addChannelPartnerLinksBuilder()

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Returns
Type Description
ChannelPartnerLink.Builder

addChannelPartnerLinksBuilder(int index)

public ChannelPartnerLink.Builder addChannelPartnerLinksBuilder(int index)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelPartnerLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListChannelPartnerLinksResponse build()
Returns
Type Description
ListChannelPartnerLinksResponse

buildPartial()

public ListChannelPartnerLinksResponse buildPartial()
Returns
Type Description
ListChannelPartnerLinksResponse

clear()

public ListChannelPartnerLinksResponse.Builder clear()
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
Overrides
public ListChannelPartnerLinksResponse.Builder clearChannelPartnerLinks()

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Returns
Type Description
ListChannelPartnerLinksResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListChannelPartnerLinksResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListChannelPartnerLinksRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListChannelPartnerLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListChannelPartnerLinksResponse.Builder clone()
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
Overrides
public ChannelPartnerLink getChannelPartnerLinks(int index)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelPartnerLink

getChannelPartnerLinksBuilder(int index)

public ChannelPartnerLink.Builder getChannelPartnerLinksBuilder(int index)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelPartnerLink.Builder

getChannelPartnerLinksBuilderList()

public List<ChannelPartnerLink.Builder> getChannelPartnerLinksBuilderList()

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Returns
Type Description
List<Builder>

getChannelPartnerLinksCount()

public int getChannelPartnerLinksCount()

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Returns
Type Description
int
public List<ChannelPartnerLink> getChannelPartnerLinksList()

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Returns
Type Description
List<ChannelPartnerLink>

getChannelPartnerLinksOrBuilder(int index)

public ChannelPartnerLinkOrBuilder getChannelPartnerLinksOrBuilder(int index)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelPartnerLinkOrBuilder

getChannelPartnerLinksOrBuilderList()

public List<? extends ChannelPartnerLinkOrBuilder> getChannelPartnerLinksOrBuilderList()

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>

getDefaultInstanceForType()

public ListChannelPartnerLinksResponse getDefaultInstanceForType()
Returns
Type Description
ListChannelPartnerLinksResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListChannelPartnerLinksRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListChannelPartnerLinksRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListChannelPartnerLinksResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelPartnerLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
Overrides
public ListChannelPartnerLinksResponse.Builder removeChannelPartnerLinks(int index)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
public ListChannelPartnerLinksResponse.Builder setChannelPartnerLinks(int index, ChannelPartnerLink value)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameters
Name Description
index int
value ChannelPartnerLink
Returns
Type Description
ListChannelPartnerLinksResponse.Builder
public ListChannelPartnerLinksResponse.Builder setChannelPartnerLinks(int index, ChannelPartnerLink.Builder builderForValue)

The Channel partner links for a reseller.

repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;

Parameters
Name Description
index int
builderForValue ChannelPartnerLink.Builder
Returns
Type Description
ListChannelPartnerLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListChannelPartnerLinksResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListChannelPartnerLinksRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListChannelPartnerLinksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListChannelPartnerLinksResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListChannelPartnerLinksRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListChannelPartnerLinksResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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