Class TransferEntitlementsResponse.Builder (3.59.0)

public static final class TransferEntitlementsResponse.Builder extends GeneratedMessageV3.Builder<TransferEntitlementsResponse.Builder> implements TransferEntitlementsResponseOrBuilder

Response message for CloudChannelService.TransferEntitlements. This is put in the response field of google.longrunning.Operation.

Protobuf type google.cloud.channel.v1.TransferEntitlementsResponse

Static Methods

getDescriptor()

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

Methods

addAllEntitlements(Iterable<? extends Entitlement> values)

public TransferEntitlementsResponse.Builder addAllEntitlements(Iterable<? extends Entitlement> values)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

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

addEntitlements(Entitlement value)

public TransferEntitlementsResponse.Builder addEntitlements(Entitlement value)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
Name Description
value Entitlement
Returns
Type Description
TransferEntitlementsResponse.Builder

addEntitlements(Entitlement.Builder builderForValue)

public TransferEntitlementsResponse.Builder addEntitlements(Entitlement.Builder builderForValue)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
Name Description
builderForValue Entitlement.Builder
Returns
Type Description
TransferEntitlementsResponse.Builder

addEntitlements(int index, Entitlement value)

public TransferEntitlementsResponse.Builder addEntitlements(int index, Entitlement value)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameters
Name Description
index int
value Entitlement
Returns
Type Description
TransferEntitlementsResponse.Builder

addEntitlements(int index, Entitlement.Builder builderForValue)

public TransferEntitlementsResponse.Builder addEntitlements(int index, Entitlement.Builder builderForValue)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameters
Name Description
index int
builderForValue Entitlement.Builder
Returns
Type Description
TransferEntitlementsResponse.Builder

addEntitlementsBuilder()

public Entitlement.Builder addEntitlementsBuilder()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Returns
Type Description
Entitlement.Builder

addEntitlementsBuilder(int index)

public Entitlement.Builder addEntitlementsBuilder(int index)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
Entitlement.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferEntitlementsResponse build()
Returns
Type Description
TransferEntitlementsResponse

buildPartial()

public TransferEntitlementsResponse buildPartial()
Returns
Type Description
TransferEntitlementsResponse

clear()

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

clearEntitlements()

public TransferEntitlementsResponse.Builder clearEntitlements()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Returns
Type Description
TransferEntitlementsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TransferEntitlementsResponse getDefaultInstanceForType()
Returns
Type Description
TransferEntitlementsResponse

getDescriptorForType()

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

getEntitlements(int index)

public Entitlement getEntitlements(int index)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
Entitlement

getEntitlementsBuilder(int index)

public Entitlement.Builder getEntitlementsBuilder(int index)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
Entitlement.Builder

getEntitlementsBuilderList()

public List<Entitlement.Builder> getEntitlementsBuilderList()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Returns
Type Description
List<Builder>

getEntitlementsCount()

public int getEntitlementsCount()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Returns
Type Description
int

getEntitlementsList()

public List<Entitlement> getEntitlementsList()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Returns
Type Description
List<Entitlement>

getEntitlementsOrBuilder(int index)

public EntitlementOrBuilder getEntitlementsOrBuilder(int index)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
EntitlementOrBuilder

getEntitlementsOrBuilderList()

public List<? extends EntitlementOrBuilder> getEntitlementsOrBuilderList()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransferEntitlementsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntitlements(int index)

public TransferEntitlementsResponse.Builder removeEntitlements(int index)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferEntitlementsResponse.Builder

setEntitlements(int index, Entitlement value)

public TransferEntitlementsResponse.Builder setEntitlements(int index, Entitlement value)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameters
Name Description
index int
value Entitlement
Returns
Type Description
TransferEntitlementsResponse.Builder

setEntitlements(int index, Entitlement.Builder builderForValue)

public TransferEntitlementsResponse.Builder setEntitlements(int index, Entitlement.Builder builderForValue)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameters
Name Description
index int
builderForValue Entitlement.Builder
Returns
Type Description
TransferEntitlementsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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