public static final class ListSkusResponse.Builder extends GeneratedMessageV3.Builder<ListSkusResponse.Builder> implements ListSkusResponseOrBuilder
Response message for ListSkus.
Protobuf type google.cloud.channel.v1.ListSkusResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSkus(Iterable<? extends Sku> values)
public ListSkusResponse.Builder addAllSkus(Iterable<? extends Sku> values)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.channel.v1.Sku>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSkusResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSkus(Sku value)
public ListSkusResponse.Builder addSkus(Sku value)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameter |
---|
Name | Description |
value | Sku
|
addSkus(Sku.Builder builderForValue)
public ListSkusResponse.Builder addSkus(Sku.Builder builderForValue)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
addSkus(int index, Sku value)
public ListSkusResponse.Builder addSkus(int index, Sku value)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Sku
|
addSkus(int index, Sku.Builder builderForValue)
public ListSkusResponse.Builder addSkus(int index, Sku.Builder builderForValue)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
addSkusBuilder()
public Sku.Builder addSkusBuilder()
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
addSkusBuilder(int index)
public Sku.Builder addSkusBuilder(int index)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListSkusResponse build()
buildPartial()
public ListSkusResponse buildPartial()
clear()
public ListSkusResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSkusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSkusResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSkusResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSkus()
public ListSkusResponse.Builder clearSkus()
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
clone()
public ListSkusResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSkusResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getSkus(int index)
public Sku getSkus(int index)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Sku | |
getSkusBuilder(int index)
public Sku.Builder getSkusBuilder(int index)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameter |
---|
Name | Description |
index | int
|
getSkusBuilderList()
public List<Sku.Builder> getSkusBuilderList()
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
getSkusCount()
public int getSkusCount()
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Returns |
---|
Type | Description |
int | |
getSkusList()
public List<Sku> getSkusList()
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
getSkusOrBuilder(int index)
public SkuOrBuilder getSkusOrBuilder(int index)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameter |
---|
Name | Description |
index | int
|
getSkusOrBuilderList()
public List<? extends SkuOrBuilder> getSkusOrBuilderList()
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.channel.v1.SkuOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSkusResponse other)
public ListSkusResponse.Builder mergeFrom(ListSkusResponse other)
public ListSkusResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSkusResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSkusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSkus(int index)
public ListSkusResponse.Builder removeSkus(int index)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSkusResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSkusResponse.Builder setNextPageToken(String value)
A token to retrieve the next page of results.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListSkusResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSkusResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSkus(int index, Sku value)
public ListSkusResponse.Builder setSkus(int index, Sku value)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Sku
|
setSkus(int index, Sku.Builder builderForValue)
public ListSkusResponse.Builder setSkus(int index, Sku.Builder builderForValue)
The list of SKUs requested.
repeated .google.cloud.channel.v1.Sku skus = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSkusResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides