Class ListSkuGroupsResponse.Builder (3.46.0)

public static final class ListSkuGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListSkuGroupsResponse.Builder> implements ListSkuGroupsResponseOrBuilder

Response message for ListSkuGroups.

Protobuf type google.cloud.channel.v1.ListSkuGroupsResponse

Static Methods

getDescriptor()

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

Methods

addAllSkuGroups(Iterable<? extends SkuGroup> values)

public ListSkuGroupsResponse.Builder addAllSkuGroups(Iterable<? extends SkuGroup> values)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.SkuGroup>
Returns
Type Description
ListSkuGroupsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSkuGroups(SkuGroup value)

public ListSkuGroupsResponse.Builder addSkuGroups(SkuGroup value)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
Name Description
value SkuGroup
Returns
Type Description
ListSkuGroupsResponse.Builder

addSkuGroups(SkuGroup.Builder builderForValue)

public ListSkuGroupsResponse.Builder addSkuGroups(SkuGroup.Builder builderForValue)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
Name Description
builderForValue SkuGroup.Builder
Returns
Type Description
ListSkuGroupsResponse.Builder

addSkuGroups(int index, SkuGroup value)

public ListSkuGroupsResponse.Builder addSkuGroups(int index, SkuGroup value)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameters
Name Description
index int
value SkuGroup
Returns
Type Description
ListSkuGroupsResponse.Builder

addSkuGroups(int index, SkuGroup.Builder builderForValue)

public ListSkuGroupsResponse.Builder addSkuGroups(int index, SkuGroup.Builder builderForValue)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameters
Name Description
index int
builderForValue SkuGroup.Builder
Returns
Type Description
ListSkuGroupsResponse.Builder

addSkuGroupsBuilder()

public SkuGroup.Builder addSkuGroupsBuilder()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Returns
Type Description
SkuGroup.Builder

addSkuGroupsBuilder(int index)

public SkuGroup.Builder addSkuGroupsBuilder(int index)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuGroup.Builder

build()

public ListSkuGroupsResponse build()
Returns
Type Description
ListSkuGroupsResponse

buildPartial()

public ListSkuGroupsResponse buildPartial()
Returns
Type Description
ListSkuGroupsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSkuGroupsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to [ListSkuGroups.page_token][] to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListSkuGroupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkuGroups()

public ListSkuGroupsResponse.Builder clearSkuGroups()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Returns
Type Description
ListSkuGroupsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSkuGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListSkuGroupsResponse

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 [ListSkuGroups.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 [ListSkuGroups.page_token][] to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSkuGroups(int index)

public SkuGroup getSkuGroups(int index)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuGroup

getSkuGroupsBuilder(int index)

public SkuGroup.Builder getSkuGroupsBuilder(int index)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuGroup.Builder

getSkuGroupsBuilderList()

public List<SkuGroup.Builder> getSkuGroupsBuilderList()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Returns
Type Description
List<Builder>

getSkuGroupsCount()

public int getSkuGroupsCount()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Returns
Type Description
int

getSkuGroupsList()

public List<SkuGroup> getSkuGroupsList()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Returns
Type Description
List<SkuGroup>

getSkuGroupsOrBuilder(int index)

public SkuGroupOrBuilder getSkuGroupsOrBuilder(int index)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuGroupOrBuilder

getSkuGroupsOrBuilderList()

public List<? extends SkuGroupOrBuilder> getSkuGroupsOrBuilderList()

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSkuGroupsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSkuGroups(int index)

public ListSkuGroupsResponse.Builder removeSkuGroups(int index)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSkuGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSkuGroupsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to [ListSkuGroups.page_token][] to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSkuGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSkuGroupsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to [ListSkuGroups.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
ListSkuGroupsResponse.Builder

This builder for chaining.

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

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

setSkuGroups(int index, SkuGroup value)

public ListSkuGroupsResponse.Builder setSkuGroups(int index, SkuGroup value)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameters
Name Description
index int
value SkuGroup
Returns
Type Description
ListSkuGroupsResponse.Builder

setSkuGroups(int index, SkuGroup.Builder builderForValue)

public ListSkuGroupsResponse.Builder setSkuGroups(int index, SkuGroup.Builder builderForValue)

The list of SKU groups requested.

repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1;

Parameters
Name Description
index int
builderForValue SkuGroup.Builder
Returns
Type Description
ListSkuGroupsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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