Class BatchVerifyTargetSitesRequest.Builder (0.45.0)

public static final class BatchVerifyTargetSitesRequest.Builder extends GeneratedMessageV3.Builder<BatchVerifyTargetSitesRequest.Builder> implements BatchVerifyTargetSitesRequestOrBuilder

Request message for SiteSearchEngineService.BatchVerifyTargetSites method.

Protobuf type google.cloud.discoveryengine.v1.BatchVerifyTargetSitesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchVerifyTargetSitesRequest build()
Returns
Type Description
BatchVerifyTargetSitesRequest

buildPartial()

public BatchVerifyTargetSitesRequest buildPartial()
Returns
Type Description
BatchVerifyTargetSitesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchVerifyTargetSitesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchVerifyTargetSitesRequest.Builder
Overrides

clearParent()

public BatchVerifyTargetSitesRequest.Builder clearParent()

Required. The parent resource shared by all TargetSites being verified. 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
BatchVerifyTargetSitesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BatchVerifyTargetSitesRequest getDefaultInstanceForType()
Returns
Type Description
BatchVerifyTargetSitesRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource shared by all TargetSites being verified. 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. The parent resource shared by all TargetSites being verified. 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchVerifyTargetSitesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public BatchVerifyTargetSitesRequest.Builder setParent(String value)

Required. The parent resource shared by all TargetSites being verified. 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.

Returns
Type Description
BatchVerifyTargetSitesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchVerifyTargetSitesRequest.Builder setParentBytes(ByteString value)

Required. The parent resource shared by all TargetSites being verified. 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.

Returns
Type Description
BatchVerifyTargetSitesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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