public static final class CreateTargetSiteRequest.Builder extends GeneratedMessageV3.Builder<CreateTargetSiteRequest.Builder> implements CreateTargetSiteRequestOrBuilder
Request message for
SiteSearchEngineService.CreateTargetSite
method.
Protobuf type google.cloud.discoveryengine.v1alpha.CreateTargetSiteRequest
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 CreateTargetSiteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateTargetSiteRequest build()
buildPartial()
public CreateTargetSiteRequest buildPartial()
clear()
public CreateTargetSiteRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTargetSiteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTargetSiteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateTargetSiteRequest.Builder clearParent()
Required. Parent resource name of
TargetSite, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearTargetSite()
public CreateTargetSiteRequest.Builder clearTargetSite()
Required. The TargetSite
to create.
.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateTargetSiteRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateTargetSiteRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Parent resource name of
TargetSite, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Parent resource name of
TargetSite, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getTargetSite()
public TargetSite getTargetSite()
Required. The TargetSite
to create.
.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 2 [(.google.api.field_behavior) = REQUIRED];
getTargetSiteBuilder()
public TargetSite.Builder getTargetSiteBuilder()
Required. The TargetSite
to create.
.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 2 [(.google.api.field_behavior) = REQUIRED];
getTargetSiteOrBuilder()
public TargetSiteOrBuilder getTargetSiteOrBuilder()
Required. The TargetSite
to create.
.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 2 [(.google.api.field_behavior) = REQUIRED];
hasTargetSite()
public boolean hasTargetSite()
Required. The TargetSite
to create.
.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 2 [(.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(CreateTargetSiteRequest other)
public CreateTargetSiteRequest.Builder mergeFrom(CreateTargetSiteRequest other)
public CreateTargetSiteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateTargetSiteRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTargetSite(TargetSite value)
public CreateTargetSiteRequest.Builder mergeTargetSite(TargetSite value)
Required. The TargetSite
to create.
.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTargetSiteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTargetSiteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateTargetSiteRequest.Builder setParent(String value)
Required. Parent resource name of
TargetSite, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateTargetSiteRequest.Builder setParentBytes(ByteString value)
Required. Parent resource name of
TargetSite, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTargetSiteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTargetSite(TargetSite value)
public CreateTargetSiteRequest.Builder setTargetSite(TargetSite value)
Required. The TargetSite
to create.
.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 2 [(.google.api.field_behavior) = REQUIRED];
setTargetSite(TargetSite.Builder builderForValue)
public CreateTargetSiteRequest.Builder setTargetSite(TargetSite.Builder builderForValue)
Required. The TargetSite
to create.
.google.cloud.discoveryengine.v1alpha.TargetSite target_site = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTargetSiteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides