Class ListSkuGroupsResponse.Builder (3.35.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.SkuGroup>
Returns
TypeDescription
ListSkuGroupsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSkuGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSkuGroup
Returns
TypeDescription
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
NameDescription
builderForValueSkuGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSkuGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSkuGroup.Builder
Returns
TypeDescription
ListSkuGroupsResponse.Builder

addSkuGroupsBuilder()

public SkuGroup.Builder addSkuGroupsBuilder()

The list of SKU groups requested.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SkuGroup.Builder

build()

public ListSkuGroupsResponse build()
Returns
TypeDescription
ListSkuGroupsResponse

buildPartial()

public ListSkuGroupsResponse buildPartial()
Returns
TypeDescription
ListSkuGroupsResponse

clear()

public ListSkuGroupsResponse.Builder clear()
Returns
TypeDescription
ListSkuGroupsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkuGroups()

public ListSkuGroupsResponse.Builder clearSkuGroups()

The list of SKU groups requested.

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

Returns
TypeDescription
ListSkuGroupsResponse.Builder

clone()

public ListSkuGroupsResponse.Builder clone()
Returns
TypeDescription
ListSkuGroupsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSkuGroupsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSkuGroupsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SkuGroup.Builder

getSkuGroupsBuilderList()

public List<SkuGroup.Builder> getSkuGroupsBuilderList()

The list of SKU groups requested.

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

Returns
TypeDescription
List<Builder>

getSkuGroupsCount()

public int getSkuGroupsCount()

The list of SKU groups requested.

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

Returns
TypeDescription
int

getSkuGroupsList()

public List<SkuGroup> getSkuGroupsList()

The list of SKU groups requested.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SkuGroupOrBuilder

getSkuGroupsOrBuilderList()

public List<? extends SkuGroupOrBuilder> getSkuGroupsOrBuilderList()

The list of SKU groups requested.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSkuGroupsResponse other)

public ListSkuGroupsResponse.Builder mergeFrom(ListSkuGroupsResponse other)
Parameter
NameDescription
otherListSkuGroupsResponse
Returns
TypeDescription
ListSkuGroupsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSkuGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSkuGroup.Builder
Returns
TypeDescription
ListSkuGroupsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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