Class UpdateLicenseConfigRequest.Builder (0.90.0)

public static final class UpdateLicenseConfigRequest.Builder extends GeneratedMessage.Builder<UpdateLicenseConfigRequest.Builder> implements UpdateLicenseConfigRequestOrBuilder

Request message for LicenseConfigService.UpdateLicenseConfig method.

Protobuf type google.cloud.discoveryengine.v1beta.UpdateLicenseConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateLicenseConfigRequest build()
Returns
Type Description
UpdateLicenseConfigRequest

buildPartial()

public UpdateLicenseConfigRequest buildPartial()
Returns
Type Description
UpdateLicenseConfigRequest

clear()

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

clearLicenseConfig()

public UpdateLicenseConfigRequest.Builder clearLicenseConfig()

Required. The LicenseConfig to update.

.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateLicenseConfigRequest.Builder

clearUpdateMask()

public UpdateLicenseConfigRequest.Builder clearUpdateMask()

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

Returns
Type Description
UpdateLicenseConfigRequest.Builder

getDefaultInstanceForType()

public UpdateLicenseConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateLicenseConfigRequest

getDescriptorForType()

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

getLicenseConfig()

public LicenseConfig getLicenseConfig()

Required. The LicenseConfig to update.

.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LicenseConfig

The licenseConfig.

getLicenseConfigBuilder()

public LicenseConfig.Builder getLicenseConfigBuilder()

Required. The LicenseConfig to update.

.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LicenseConfig.Builder

getLicenseConfigOrBuilder()

public LicenseConfigOrBuilder getLicenseConfigOrBuilder()

Required. The LicenseConfig to update.

.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LicenseConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

Returns
Type Description
FieldMaskOrBuilder

hasLicenseConfig()

public boolean hasLicenseConfig()

Required. The LicenseConfig to update.

.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the licenseConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateLicenseConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLicenseConfig(LicenseConfig value)

public UpdateLicenseConfigRequest.Builder mergeLicenseConfig(LicenseConfig value)

Required. The LicenseConfig to update.

.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LicenseConfig
Returns
Type Description
UpdateLicenseConfigRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateLicenseConfigRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateLicenseConfigRequest.Builder

setLicenseConfig(LicenseConfig value)

public UpdateLicenseConfigRequest.Builder setLicenseConfig(LicenseConfig value)

Required. The LicenseConfig to update.

.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LicenseConfig
Returns
Type Description
UpdateLicenseConfigRequest.Builder

setLicenseConfig(LicenseConfig.Builder builderForValue)

public UpdateLicenseConfigRequest.Builder setLicenseConfig(LicenseConfig.Builder builderForValue)

Required. The LicenseConfig to update.

.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue LicenseConfig.Builder
Returns
Type Description
UpdateLicenseConfigRequest.Builder

setUpdateMask(FieldMask value)

public UpdateLicenseConfigRequest.Builder setUpdateMask(FieldMask value)

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateLicenseConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateLicenseConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateLicenseConfigRequest.Builder