Class BatchGetDocumentsMetadataRequest.Builder (0.48.0)

public static final class BatchGetDocumentsMetadataRequest.Builder extends GeneratedMessageV3.Builder<BatchGetDocumentsMetadataRequest.Builder> implements BatchGetDocumentsMetadataRequestOrBuilder

Request message for DocumentService.BatchGetDocumentsMetadata method.

Protobuf type google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchGetDocumentsMetadataRequest build()
Returns
Type Description
BatchGetDocumentsMetadataRequest

buildPartial()

public BatchGetDocumentsMetadataRequest buildPartial()
Returns
Type Description
BatchGetDocumentsMetadataRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMatcher()

public BatchGetDocumentsMetadataRequest.Builder clearMatcher()

Required. Matcher for the Documents.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchGetDocumentsMetadataRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchGetDocumentsMetadataRequest.Builder clearParent()

Required. The parent branch resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchGetDocumentsMetadataRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BatchGetDocumentsMetadataRequest getDefaultInstanceForType()
Returns
Type Description
BatchGetDocumentsMetadataRequest

getDescriptorForType()

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

getMatcher()

public BatchGetDocumentsMetadataRequest.Matcher getMatcher()

Required. Matcher for the Documents.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchGetDocumentsMetadataRequest.Matcher

The matcher.

getMatcherBuilder()

public BatchGetDocumentsMetadataRequest.Matcher.Builder getMatcherBuilder()

Required. Matcher for the Documents.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchGetDocumentsMetadataRequest.Matcher.Builder

getMatcherOrBuilder()

public BatchGetDocumentsMetadataRequest.MatcherOrBuilder getMatcherOrBuilder()

Required. Matcher for the Documents.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchGetDocumentsMetadataRequest.MatcherOrBuilder

getParent()

public String getParent()

Required. The parent branch resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

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 branch resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasMatcher()

public boolean hasMatcher()

Required. Matcher for the Documents.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the matcher field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetDocumentsMetadataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMatcher(BatchGetDocumentsMetadataRequest.Matcher value)

public BatchGetDocumentsMetadataRequest.Builder mergeMatcher(BatchGetDocumentsMetadataRequest.Matcher value)

Required. Matcher for the Documents.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BatchGetDocumentsMetadataRequest.Matcher
Returns
Type Description
BatchGetDocumentsMetadataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMatcher(BatchGetDocumentsMetadataRequest.Matcher value)

public BatchGetDocumentsMetadataRequest.Builder setMatcher(BatchGetDocumentsMetadataRequest.Matcher value)

Required. Matcher for the Documents.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BatchGetDocumentsMetadataRequest.Matcher
Returns
Type Description
BatchGetDocumentsMetadataRequest.Builder

setMatcher(BatchGetDocumentsMetadataRequest.Matcher.Builder builderForValue)

public BatchGetDocumentsMetadataRequest.Builder setMatcher(BatchGetDocumentsMetadataRequest.Matcher.Builder builderForValue)

Required. Matcher for the Documents.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BatchGetDocumentsMetadataRequest.Matcher.Builder
Returns
Type Description
BatchGetDocumentsMetadataRequest.Builder

setParent(String value)

public BatchGetDocumentsMetadataRequest.Builder setParent(String value)

Required. The parent branch resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchGetDocumentsMetadataRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchGetDocumentsMetadataRequest.Builder setParentBytes(ByteString value)

Required. The parent branch resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

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
BatchGetDocumentsMetadataRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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