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