public static final class UpdateTargetSiteRequest.Builder extends GeneratedMessageV3.Builder<UpdateTargetSiteRequest.Builder> implements UpdateTargetSiteRequestOrBuilder
Request message for
SiteSearchEngineService.UpdateTargetSite
method.
Protobuf type google.cloud.discoveryengine.v1beta.UpdateTargetSiteRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateTargetSiteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateTargetSiteRequest build()
buildPartial()
public UpdateTargetSiteRequest buildPartial()
clear()
public UpdateTargetSiteRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateTargetSiteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateTargetSiteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTargetSite()
public UpdateTargetSiteRequest.Builder clearTargetSite()
Required. The target site to update.
If the caller does not have permission to update the
TargetSite, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the TargetSite to
update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateTargetSiteRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateTargetSiteRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTargetSite()
public TargetSite getTargetSite()
Required. The target site to update.
If the caller does not have permission to update the
TargetSite, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the TargetSite to
update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];
getTargetSiteBuilder()
public TargetSite.Builder getTargetSiteBuilder()
Required. The target site to update.
If the caller does not have permission to update the
TargetSite, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the TargetSite to
update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];
getTargetSiteOrBuilder()
public TargetSiteOrBuilder getTargetSiteOrBuilder()
Required. The target site to update.
If the caller does not have permission to update the
TargetSite, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the TargetSite to
update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];
hasTargetSite()
public boolean hasTargetSite()
Required. The target site to update.
If the caller does not have permission to update the
TargetSite, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the TargetSite to
update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the targetSite field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateTargetSiteRequest other)
public UpdateTargetSiteRequest.Builder mergeFrom(UpdateTargetSiteRequest other)
public UpdateTargetSiteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateTargetSiteRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTargetSite(TargetSite value)
public UpdateTargetSiteRequest.Builder mergeTargetSite(TargetSite value)
Required. The target site to update.
If the caller does not have permission to update the
TargetSite, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the TargetSite to
update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTargetSiteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateTargetSiteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateTargetSiteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTargetSite(TargetSite value)
public UpdateTargetSiteRequest.Builder setTargetSite(TargetSite value)
Required. The target site to update.
If the caller does not have permission to update the
TargetSite, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the TargetSite to
update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];
setTargetSite(TargetSite.Builder builderForValue)
public UpdateTargetSiteRequest.Builder setTargetSite(TargetSite.Builder builderForValue)
Required. The target site to update.
If the caller does not have permission to update the
TargetSite, regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the TargetSite to
update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1beta.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTargetSiteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides