Class TransferEntitlementsResponse.Builder (3.21.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.Entitlement>
Returns
TypeDescription
TransferEntitlementsResponse.Builder

addEntitlements(Entitlement value)

public TransferEntitlementsResponse.Builder addEntitlements(Entitlement value)

The transferred entitlements.

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

Parameter
NameDescription
valueEntitlement
Returns
TypeDescription
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
NameDescription
builderForValueEntitlement.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEntitlement
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEntitlement.Builder
Returns
TypeDescription
TransferEntitlementsResponse.Builder

addEntitlementsBuilder()

public Entitlement.Builder addEntitlementsBuilder()

The transferred entitlements.

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

Returns
TypeDescription
Entitlement.Builder

addEntitlementsBuilder(int index)

public Entitlement.Builder addEntitlementsBuilder(int index)

The transferred entitlements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Entitlement.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferEntitlementsResponse build()
Returns
TypeDescription
TransferEntitlementsResponse

buildPartial()

public TransferEntitlementsResponse buildPartial()
Returns
TypeDescription
TransferEntitlementsResponse

clear()

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

clearEntitlements()

public TransferEntitlementsResponse.Builder clearEntitlements()

The transferred entitlements.

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

Returns
TypeDescription
TransferEntitlementsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TransferEntitlementsResponse getDefaultInstanceForType()
Returns
TypeDescription
TransferEntitlementsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntitlements(int index)

public Entitlement getEntitlements(int index)

The transferred entitlements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Entitlement

getEntitlementsBuilder(int index)

public Entitlement.Builder getEntitlementsBuilder(int index)

The transferred entitlements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Entitlement.Builder

getEntitlementsBuilderList()

public List<Entitlement.Builder> getEntitlementsBuilderList()

The transferred entitlements.

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

Returns
TypeDescription
List<Builder>

getEntitlementsCount()

public int getEntitlementsCount()

The transferred entitlements.

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

Returns
TypeDescription
int

getEntitlementsList()

public List<Entitlement> getEntitlementsList()

The transferred entitlements.

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

Returns
TypeDescription
List<Entitlement>

getEntitlementsOrBuilder(int index)

public EntitlementOrBuilder getEntitlementsOrBuilder(int index)

The transferred entitlements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntitlementOrBuilder

getEntitlementsOrBuilderList()

public List<? extends EntitlementOrBuilder> getEntitlementsOrBuilderList()

The transferred entitlements.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TransferEntitlementsResponse other)

public TransferEntitlementsResponse.Builder mergeFrom(TransferEntitlementsResponse other)
Parameter
NameDescription
otherTransferEntitlementsResponse
Returns
TypeDescription
TransferEntitlementsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferEntitlementsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransferEntitlementsResponse.Builder
Overrides

removeEntitlements(int index)

public TransferEntitlementsResponse.Builder removeEntitlements(int index)

The transferred entitlements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEntitlement
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEntitlement.Builder
Returns
TypeDescription
TransferEntitlementsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TransferEntitlementsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TransferEntitlementsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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