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