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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
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>
|
addEntitlements(Entitlement value)
public ListEntitlementsResponse.Builder addEntitlements(Entitlement value)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
addEntitlements(Entitlement.Builder builderForValue)
public ListEntitlementsResponse.Builder addEntitlements(Entitlement.Builder builderForValue)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
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;
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;
addEntitlementsBuilder()
public Entitlement.Builder addEntitlementsBuilder()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
addEntitlementsBuilder(int index)
public Entitlement.Builder addEntitlementsBuilder(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEntitlementsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListEntitlementsResponse build()
buildPartial()
public ListEntitlementsResponse buildPartial()
clear()
public ListEntitlementsResponse.Builder clear()
Overrides
clearEntitlements()
public ListEntitlementsResponse.Builder clearEntitlements()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
clearField(Descriptors.FieldDescriptor field)
public ListEntitlementsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEntitlementsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListEntitlementsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListEntitlementsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntitlements(int index)
public Entitlement getEntitlements(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter |
---|
Name | Description |
index | int
|
getEntitlementsBuilder(int index)
public Entitlement.Builder getEntitlementsBuilder(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter |
---|
Name | Description |
index | int
|
getEntitlementsBuilderList()
public List<Entitlement.Builder> getEntitlementsBuilderList()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
getEntitlementsCount()
public int getEntitlementsCount()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns |
---|
Type | Description |
int | |
getEntitlementsList()
public List<Entitlement> getEntitlementsList()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
getEntitlementsOrBuilder(int index)
public EntitlementOrBuilder getEntitlementsOrBuilder(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListEntitlementsResponse other)
public ListEntitlementsResponse.Builder mergeFrom(ListEntitlementsResponse other)
public ListEntitlementsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListEntitlementsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEntitlementsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeEntitlements(int index)
public ListEntitlementsResponse.Builder removeEntitlements(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListEntitlementsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListEntitlementsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEntitlementsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides