Class BatchVerifyTargetSitesRequest.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchVerifyTargetSitesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides

build()

public BatchVerifyTargetSitesRequest build()
Returns
TypeDescription
BatchVerifyTargetSitesRequest

buildPartial()

public BatchVerifyTargetSitesRequest buildPartial()
Returns
TypeDescription
BatchVerifyTargetSitesRequest

clear()

public BatchVerifyTargetSitesRequest.Builder clear()
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchVerifyTargetSitesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchVerifyTargetSitesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
BatchVerifyTargetSitesRequest.Builder

This builder for chaining.

clone()

public BatchVerifyTargetSitesRequest.Builder clone()
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchVerifyTargetSitesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchVerifyTargetSitesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchVerifyTargetSitesRequest other)

public BatchVerifyTargetSitesRequest.Builder mergeFrom(BatchVerifyTargetSitesRequest other)
Parameter
NameDescription
otherBatchVerifyTargetSitesRequest
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchVerifyTargetSitesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchVerifyTargetSitesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchVerifyTargetSitesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BatchVerifyTargetSitesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchVerifyTargetSitesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchVerifyTargetSitesRequest.Builder
Overrides