public static final class ListEntitlementsResponse.Builder extends GeneratedMessageV3.Builder<ListEntitlementsResponse.Builder> implements ListEntitlementsResponseOrBuilder
Response message for CloudChannelService.ListEntitlements.
Protobuf type google.cloud.channel.v1.ListEntitlementsResponse
Methods
addAllEntitlements(Iterable<? extends Entitlement> values)
public ListEntitlementsResponse.Builder addAllEntitlements(Iterable<? extends Entitlement> values)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.channel.v1.Entitlement>
|
Returns
addEntitlements(Entitlement value)
public ListEntitlementsResponse.Builder addEntitlements(Entitlement value)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
addEntitlements(Entitlement.Builder builderForValue)
public ListEntitlementsResponse.Builder addEntitlements(Entitlement.Builder builderForValue)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
addEntitlements(int index, Entitlement value)
public ListEntitlementsResponse.Builder addEntitlements(int index, Entitlement value)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameters
Returns
addEntitlements(int index, Entitlement.Builder builderForValue)
public ListEntitlementsResponse.Builder addEntitlements(int index, Entitlement.Builder builderForValue)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameters
Returns
addEntitlementsBuilder()
public Entitlement.Builder addEntitlementsBuilder()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
addEntitlementsBuilder(int index)
public Entitlement.Builder addEntitlementsBuilder(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEntitlementsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListEntitlementsResponse build()
Returns
buildPartial()
public ListEntitlementsResponse buildPartial()
Returns
clear()
public ListEntitlementsResponse.Builder clear()
Returns
Overrides
clearEntitlements()
public ListEntitlementsResponse.Builder clearEntitlements()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListEntitlementsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListEntitlementsResponse.Builder clearNextPageToken()
A token to list the next page of results.
Pass to ListEntitlementsRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEntitlementsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListEntitlementsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListEntitlementsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEntitlements(int index)
public Entitlement getEntitlements(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
getEntitlementsBuilder(int index)
public Entitlement.Builder getEntitlementsBuilder(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
getEntitlementsBuilderList()
public List<Entitlement.Builder> getEntitlementsBuilderList()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
getEntitlementsCount()
public int getEntitlementsCount()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
getEntitlementsList()
public List<Entitlement> getEntitlementsList()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
getEntitlementsOrBuilder(int index)
public EntitlementOrBuilder getEntitlementsOrBuilder(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
getEntitlementsOrBuilderList()
public List<? extends EntitlementOrBuilder> getEntitlementsOrBuilderList()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
Type | Description |
List<? extends com.google.cloud.channel.v1.EntitlementOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to list the next page of results.
Pass to ListEntitlementsRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to list the next page of results.
Pass to ListEntitlementsRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListEntitlementsResponse other)
public ListEntitlementsResponse.Builder mergeFrom(ListEntitlementsResponse other)
Parameter
Returns
public ListEntitlementsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListEntitlementsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEntitlementsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEntitlements(int index)
public ListEntitlementsResponse.Builder removeEntitlements(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
setEntitlements(int index, Entitlement value)
public ListEntitlementsResponse.Builder setEntitlements(int index, Entitlement value)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameters
Returns
setEntitlements(int index, Entitlement.Builder builderForValue)
public ListEntitlementsResponse.Builder setEntitlements(int index, Entitlement.Builder builderForValue)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListEntitlementsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListEntitlementsResponse.Builder setNextPageToken(String value)
A token to list the next page of results.
Pass to ListEntitlementsRequest.page_token to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListEntitlementsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to list the next page of results.
Pass to ListEntitlementsRequest.page_token to obtain that page.
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 ListEntitlementsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEntitlementsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides