Class UpdateSampleQuerySetRequest.Builder (0.51.0)

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

Request message for SampleQuerySetService.UpdateSampleQuerySet method.

Protobuf type google.cloud.discoveryengine.v1beta.UpdateSampleQuerySetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSampleQuerySetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.v1beta.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

clone()

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

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.v1beta.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.v1beta.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.v1beta.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.v1beta.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 GeneratedMessageV3.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.v1beta.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SampleQuerySet
Returns
Type Description
UpdateSampleQuerySetRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.v1beta.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.v1beta.SampleQuerySet sample_query_set = 1 [(.google.api.field_behavior) = REQUIRED];

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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