Class UpdateSampleQuerySetRequest.Builder (0.79.0)

public static final class UpdateSampleQuerySetRequest.Builder extends GeneratedMessage.Builder<UpdateSampleQuerySetRequest.Builder> implements UpdateSampleQuerySetRequestOrBuilder

Request message for SampleQuerySetService.UpdateSampleQuerySet method.

Protobuf type google.cloud.discoveryengine.v1alpha.UpdateSampleQuerySetRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateSampleQuerySetRequest build()
Returns
Type Description
UpdateSampleQuerySetRequest

buildPartial()

public UpdateSampleQuerySetRequest buildPartial()
Returns
Type Description
UpdateSampleQuerySetRequest

clear()

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

clearSampleQuerySet()

public UpdateSampleQuerySetRequest.Builder clearSampleQuerySet()

Required. The sample query set to update.

If the caller does not have permission to update the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the SampleQuerySet to update does not exist a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSampleQuerySetRequest.Builder

clearUpdateMask()

public UpdateSampleQuerySetRequest.Builder clearUpdateMask()

Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateSampleQuerySetRequest.Builder

getDefaultInstanceForType()

public UpdateSampleQuerySetRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSampleQuerySetRequest

getDescriptorForType()

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

getSampleQuerySet()

public SampleQuerySet getSampleQuerySet()

Required. The sample query set to update.

If the caller does not have permission to update the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the SampleQuerySet to update does not exist a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SampleQuerySet

The sampleQuerySet.

getSampleQuerySetBuilder()

public SampleQuerySet.Builder getSampleQuerySetBuilder()

Required. The sample query set to update.

If the caller does not have permission to update the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the SampleQuerySet to update does not exist a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SampleQuerySet.Builder

getSampleQuerySetOrBuilder()

public SampleQuerySetOrBuilder getSampleQuerySetOrBuilder()

Required. The sample query set to update.

If the caller does not have permission to update the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the SampleQuerySet to update does not exist a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SampleQuerySetOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasSampleQuerySet()

public boolean hasSampleQuerySet()

Required. The sample query set to update.

If the caller does not have permission to update the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the SampleQuerySet to update does not exist a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sampleQuerySet field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

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(UpdateSampleQuerySetRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSampleQuerySet(SampleQuerySet value)

public UpdateSampleQuerySetRequest.Builder mergeSampleQuerySet(SampleQuerySet value)

Required. The sample query set to update.

If the caller does not have permission to update the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the SampleQuerySet to update does not exist a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SampleQuerySet
Returns
Type Description
UpdateSampleQuerySetRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateSampleQuerySetRequest.Builder mergeUpdateMask(FieldMask value)

Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSampleQuerySetRequest.Builder

setSampleQuerySet(SampleQuerySet value)

public UpdateSampleQuerySetRequest.Builder setSampleQuerySet(SampleQuerySet value)

Required. The sample query set to update.

If the caller does not have permission to update the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the SampleQuerySet to update does not exist a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SampleQuerySet
Returns
Type Description
UpdateSampleQuerySetRequest.Builder

setSampleQuerySet(SampleQuerySet.Builder builderForValue)

public UpdateSampleQuerySetRequest.Builder setSampleQuerySet(SampleQuerySet.Builder builderForValue)

Required. The sample query set to update.

If the caller does not have permission to update the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the SampleQuerySet to update does not exist a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SampleQuerySet.Builder
Returns
Type Description
UpdateSampleQuerySetRequest.Builder

setUpdateMask(FieldMask value)

public UpdateSampleQuerySetRequest.Builder setUpdateMask(FieldMask value)

Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSampleQuerySetRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSampleQuerySetRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSampleQuerySetRequest.Builder