Class ListChannelPartnerLinksResponse.Builder (3.11.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.ChannelPartnerLink>
Returns
TypeDescription
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
NameDescription
valueChannelPartnerLink
Returns
TypeDescription
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
NameDescription
builderForValueChannelPartnerLink.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueChannelPartnerLink
Returns
TypeDescription
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
NameDescription
indexint
builderForValueChannelPartnerLink.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ChannelPartnerLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListChannelPartnerLinksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListChannelPartnerLinksResponse.Builder
Overrides

build()

public ListChannelPartnerLinksResponse build()
Returns
TypeDescription
ListChannelPartnerLinksResponse

buildPartial()

public ListChannelPartnerLinksResponse buildPartial()
Returns
TypeDescription
ListChannelPartnerLinksResponse

clear()

public ListChannelPartnerLinksResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListChannelPartnerLinksResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListChannelPartnerLinksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListChannelPartnerLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListChannelPartnerLinksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListChannelPartnerLinksResponse.Builder
Overrides

clone()

public ListChannelPartnerLinksResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getChannelPartnerLinksCount()

public int getChannelPartnerLinksCount()

The Channel partner links for a reseller.

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

Returns
TypeDescription
int
public List<ChannelPartnerLink> getChannelPartnerLinksList()

The Channel partner links for a reseller.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>

getDefaultInstanceForType()

public ListChannelPartnerLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListChannelPartnerLinksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListChannelPartnerLinksResponse other)

public ListChannelPartnerLinksResponse.Builder mergeFrom(ListChannelPartnerLinksResponse other)
Parameter
NameDescription
otherListChannelPartnerLinksResponse
Returns
TypeDescription
ListChannelPartnerLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListChannelPartnerLinksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChannelPartnerLinksResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListChannelPartnerLinksResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListChannelPartnerLinksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelPartnerLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueChannelPartnerLink
Returns
TypeDescription
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
NameDescription
indexint
builderForValueChannelPartnerLink.Builder
Returns
TypeDescription
ListChannelPartnerLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListChannelPartnerLinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListChannelPartnerLinksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelPartnerLinksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListChannelPartnerLinksResponse.Builder
Overrides