Class ListEntitlementChangesResponse.Builder (3.52.0)

public static final class ListEntitlementChangesResponse.Builder extends GeneratedMessageV3.Builder<ListEntitlementChangesResponse.Builder> implements ListEntitlementChangesResponseOrBuilder

Response message for CloudChannelService.ListEntitlementChanges

Protobuf type google.cloud.channel.v1.ListEntitlementChangesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEntitlementChanges(Iterable<? extends EntitlementChange> values)

public ListEntitlementChangesResponse.Builder addAllEntitlementChanges(Iterable<? extends EntitlementChange> values)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.EntitlementChange>
Returns
Type Description
ListEntitlementChangesResponse.Builder

addEntitlementChanges(EntitlementChange value)

public ListEntitlementChangesResponse.Builder addEntitlementChanges(EntitlementChange value)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameter
Name Description
value EntitlementChange
Returns
Type Description
ListEntitlementChangesResponse.Builder

addEntitlementChanges(EntitlementChange.Builder builderForValue)

public ListEntitlementChangesResponse.Builder addEntitlementChanges(EntitlementChange.Builder builderForValue)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameter
Name Description
builderForValue EntitlementChange.Builder
Returns
Type Description
ListEntitlementChangesResponse.Builder

addEntitlementChanges(int index, EntitlementChange value)

public ListEntitlementChangesResponse.Builder addEntitlementChanges(int index, EntitlementChange value)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameters
Name Description
index int
value EntitlementChange
Returns
Type Description
ListEntitlementChangesResponse.Builder

addEntitlementChanges(int index, EntitlementChange.Builder builderForValue)

public ListEntitlementChangesResponse.Builder addEntitlementChanges(int index, EntitlementChange.Builder builderForValue)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameters
Name Description
index int
builderForValue EntitlementChange.Builder
Returns
Type Description
ListEntitlementChangesResponse.Builder

addEntitlementChangesBuilder()

public EntitlementChange.Builder addEntitlementChangesBuilder()

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Returns
Type Description
EntitlementChange.Builder

addEntitlementChangesBuilder(int index)

public EntitlementChange.Builder addEntitlementChangesBuilder(int index)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameter
Name Description
index int
Returns
Type Description
EntitlementChange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListEntitlementChangesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

build()

public ListEntitlementChangesResponse build()
Returns
Type Description
ListEntitlementChangesResponse

buildPartial()

public ListEntitlementChangesResponse buildPartial()
Returns
Type Description
ListEntitlementChangesResponse

clear()

public ListEntitlementChangesResponse.Builder clear()
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

clearEntitlementChanges()

public ListEntitlementChangesResponse.Builder clearEntitlementChanges()

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Returns
Type Description
ListEntitlementChangesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListEntitlementChangesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

clearNextPageToken()

public ListEntitlementChangesResponse.Builder clearNextPageToken()

A token to list the next page of results.

string next_page_token = 2;

Returns
Type Description
ListEntitlementChangesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListEntitlementChangesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

clone()

public ListEntitlementChangesResponse.Builder clone()
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListEntitlementChangesResponse getDefaultInstanceForType()
Returns
Type Description
ListEntitlementChangesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntitlementChanges(int index)

public EntitlementChange getEntitlementChanges(int index)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameter
Name Description
index int
Returns
Type Description
EntitlementChange

getEntitlementChangesBuilder(int index)

public EntitlementChange.Builder getEntitlementChangesBuilder(int index)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameter
Name Description
index int
Returns
Type Description
EntitlementChange.Builder

getEntitlementChangesBuilderList()

public List<EntitlementChange.Builder> getEntitlementChangesBuilderList()

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Returns
Type Description
List<Builder>

getEntitlementChangesCount()

public int getEntitlementChangesCount()

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Returns
Type Description
int

getEntitlementChangesList()

public List<EntitlementChange> getEntitlementChangesList()

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Returns
Type Description
List<EntitlementChange>

getEntitlementChangesOrBuilder(int index)

public EntitlementChangeOrBuilder getEntitlementChangesOrBuilder(int index)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameter
Name Description
index int
Returns
Type Description
EntitlementChangeOrBuilder

getEntitlementChangesOrBuilderList()

public List<? extends EntitlementChangeOrBuilder> getEntitlementChangesOrBuilderList()

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.EntitlementChangeOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to list the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to list the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListEntitlementChangesResponse other)

public ListEntitlementChangesResponse.Builder mergeFrom(ListEntitlementChangesResponse other)
Parameter
Name Description
other ListEntitlementChangesResponse
Returns
Type Description
ListEntitlementChangesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListEntitlementChangesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListEntitlementChangesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEntitlementChangesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

removeEntitlementChanges(int index)

public ListEntitlementChangesResponse.Builder removeEntitlementChanges(int index)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEntitlementChangesResponse.Builder

setEntitlementChanges(int index, EntitlementChange value)

public ListEntitlementChangesResponse.Builder setEntitlementChanges(int index, EntitlementChange value)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameters
Name Description
index int
value EntitlementChange
Returns
Type Description
ListEntitlementChangesResponse.Builder

setEntitlementChanges(int index, EntitlementChange.Builder builderForValue)

public ListEntitlementChangesResponse.Builder setEntitlementChanges(int index, EntitlementChange.Builder builderForValue)

The list of entitlement changes.

repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1;

Parameters
Name Description
index int
builderForValue EntitlementChange.Builder
Returns
Type Description
ListEntitlementChangesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListEntitlementChangesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

setNextPageToken(String value)

public ListEntitlementChangesResponse.Builder setNextPageToken(String value)

A token to list the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListEntitlementChangesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEntitlementChangesResponse.Builder setNextPageTokenBytes(ByteString value)

A token to list the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListEntitlementChangesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListEntitlementChangesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListEntitlementChangesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListEntitlementChangesResponse.Builder
Overrides