public final class UpdateSampleQuerySetRequest extends GeneratedMessageV3 implements UpdateSampleQuerySetRequestOrBuilder
Request message for
SampleQuerySetService.UpdateSampleQuerySet
method.
Protobuf type google.cloud.discoveryengine.v1alpha.UpdateSampleQuerySetRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SAMPLE_QUERY_SET_FIELD_NUMBER
public static final int SAMPLE_QUERY_SET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateSampleQuerySetRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateSampleQuerySetRequest.Builder newBuilder()
newBuilder(UpdateSampleQuerySetRequest prototype)
public static UpdateSampleQuerySetRequest.Builder newBuilder(UpdateSampleQuerySetRequest prototype)
public static UpdateSampleQuerySetRequest parseDelimitedFrom(InputStream input)
public static UpdateSampleQuerySetRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateSampleQuerySetRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateSampleQuerySetRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateSampleQuerySetRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateSampleQuerySetRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateSampleQuerySetRequest parseFrom(CodedInputStream input)
public static UpdateSampleQuerySetRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSampleQuerySetRequest parseFrom(InputStream input)
public static UpdateSampleQuerySetRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateSampleQuerySetRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateSampleQuerySetRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateSampleQuerySetRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UpdateSampleQuerySetRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateSampleQuerySetRequest> getParserForType()
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];
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];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateSampleQuerySetRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateSampleQuerySetRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpdateSampleQuerySetRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides