Class ListEntitlementChangesResponse.Builder (3.22.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.EntitlementChange>
Returns
TypeDescription
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
NameDescription
valueEntitlementChange
Returns
TypeDescription
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
NameDescription
builderForValueEntitlementChange.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEntitlementChange
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEntitlementChange.Builder
Returns
TypeDescription
ListEntitlementChangesResponse.Builder

addEntitlementChangesBuilder()

public EntitlementChange.Builder addEntitlementChangesBuilder()

The list of entitlement changes.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EntitlementChange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListEntitlementChangesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides

build()

public ListEntitlementChangesResponse build()
Returns
TypeDescription
ListEntitlementChangesResponse

buildPartial()

public ListEntitlementChangesResponse buildPartial()
Returns
TypeDescription
ListEntitlementChangesResponse

clear()

public ListEntitlementChangesResponse.Builder clear()
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides

clearEntitlementChanges()

public ListEntitlementChangesResponse.Builder clearEntitlementChanges()

The list of entitlement changes.

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

Returns
TypeDescription
ListEntitlementChangesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListEntitlementChangesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides

clearNextPageToken()

public ListEntitlementChangesResponse.Builder clearNextPageToken()

A token to list the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListEntitlementChangesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListEntitlementChangesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides

clone()

public ListEntitlementChangesResponse.Builder clone()
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListEntitlementChangesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEntitlementChangesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EntitlementChange.Builder

getEntitlementChangesBuilderList()

public List<EntitlementChange.Builder> getEntitlementChangesBuilderList()

The list of entitlement changes.

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

Returns
TypeDescription
List<Builder>

getEntitlementChangesCount()

public int getEntitlementChangesCount()

The list of entitlement changes.

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

Returns
TypeDescription
int

getEntitlementChangesList()

public List<EntitlementChange> getEntitlementChangesList()

The list of entitlement changes.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EntitlementChangeOrBuilder

getEntitlementChangesOrBuilderList()

public List<? extends EntitlementChangeOrBuilder> getEntitlementChangesOrBuilderList()

The list of entitlement changes.

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

Returns
TypeDescription
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
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to list the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEntitlementChangesResponse other)

public ListEntitlementChangesResponse.Builder mergeFrom(ListEntitlementChangesResponse other)
Parameter
NameDescription
otherListEntitlementChangesResponse
Returns
TypeDescription
ListEntitlementChangesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListEntitlementChangesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListEntitlementChangesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEntitlementChangesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEntitlementChange
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEntitlementChange.Builder
Returns
TypeDescription
ListEntitlementChangesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListEntitlementChangesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListEntitlementChangesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListEntitlementChangesResponse.Builder
Overrides