Class UpdateLicensePoolRequest.Builder (0.50.0)

public static final class UpdateLicensePoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateLicensePoolRequest.Builder> implements UpdateLicensePoolRequestOrBuilder

Request message for updating a license pool.

Protobuf type google.cloud.commerce.consumer.procurement.v1.UpdateLicensePoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateLicensePoolRequest build()
Returns
Type Description
UpdateLicensePoolRequest

buildPartial()

public UpdateLicensePoolRequest buildPartial()
Returns
Type Description
UpdateLicensePoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLicensePool()

public UpdateLicensePoolRequest.Builder clearLicensePool()

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

.google.cloud.commerce.consumer.procurement.v1.LicensePool license_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateLicensePoolRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateLicensePoolRequest.Builder clearUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateLicensePoolRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateLicensePoolRequest getDefaultInstanceForType()
Returns
Type Description
UpdateLicensePoolRequest

getDescriptorForType()

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

getLicensePool()

public LicensePool getLicensePool()

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

.google.cloud.commerce.consumer.procurement.v1.LicensePool license_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LicensePool

The licensePool.

getLicensePoolBuilder()

public LicensePool.Builder getLicensePoolBuilder()

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

.google.cloud.commerce.consumer.procurement.v1.LicensePool license_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LicensePool.Builder

getLicensePoolOrBuilder()

public LicensePoolOrBuilder getLicensePoolOrBuilder()

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

.google.cloud.commerce.consumer.procurement.v1.LicensePool license_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LicensePoolOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasLicensePool()

public boolean hasLicensePool()

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

.google.cloud.commerce.consumer.procurement.v1.LicensePool license_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the licensePool field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateLicensePoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLicensePool(LicensePool value)

public UpdateLicensePoolRequest.Builder mergeLicensePool(LicensePool value)

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

.google.cloud.commerce.consumer.procurement.v1.LicensePool license_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LicensePool
Returns
Type Description
UpdateLicensePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateLicensePoolRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateLicensePoolRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLicensePool(LicensePool value)

public UpdateLicensePoolRequest.Builder setLicensePool(LicensePool value)

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

.google.cloud.commerce.consumer.procurement.v1.LicensePool license_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LicensePool
Returns
Type Description
UpdateLicensePoolRequest.Builder

setLicensePool(LicensePool.Builder builderForValue)

public UpdateLicensePoolRequest.Builder setLicensePool(LicensePool.Builder builderForValue)

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

.google.cloud.commerce.consumer.procurement.v1.LicensePool license_pool = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue LicensePool.Builder
Returns
Type Description
UpdateLicensePoolRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateLicensePoolRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateLicensePoolRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateLicensePoolRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateLicensePoolRequest.Builder