public static final class BatchGetDocumentsMetadataRequest.Builder extends GeneratedMessageV3.Builder<BatchGetDocumentsMetadataRequest.Builder> implements BatchGetDocumentsMetadataRequestOrBuilder
Request message for
DocumentService.BatchGetDocumentsMetadata
method.
Protobuf type google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchGetDocumentsMetadataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchGetDocumentsMetadataRequest build()
public BatchGetDocumentsMetadataRequest buildPartial()
public BatchGetDocumentsMetadataRequest.Builder clear()
Overrides
public BatchGetDocumentsMetadataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchGetDocumentsMetadataRequest.Builder clearMatcher()
Required. Matcher for the
Documents.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchGetDocumentsMetadataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
public BatchGetDocumentsMetadataRequest.Builder clone()
Overrides
public BatchGetDocumentsMetadataRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public BatchGetDocumentsMetadataRequest.Matcher getMatcher()
Required. Matcher for the
Documents.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchGetDocumentsMetadataRequest.Matcher.Builder getMatcherBuilder()
Required. Matcher for the
Documents.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchGetDocumentsMetadataRequest.MatcherOrBuilder getMatcherOrBuilder()
Required. Matcher for the
Documents.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
public boolean hasMatcher()
Required. Matcher for the
Documents.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the matcher field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchGetDocumentsMetadataRequest.Builder mergeFrom(BatchGetDocumentsMetadataRequest other)
public BatchGetDocumentsMetadataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchGetDocumentsMetadataRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public BatchGetDocumentsMetadataRequest.Builder mergeMatcher(BatchGetDocumentsMetadataRequest.Matcher value)
Required. Matcher for the
Documents.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];
public final BatchGetDocumentsMetadataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchGetDocumentsMetadataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchGetDocumentsMetadataRequest.Builder setMatcher(BatchGetDocumentsMetadataRequest.Matcher value)
Required. Matcher for the
Documents.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchGetDocumentsMetadataRequest.Builder setMatcher(BatchGetDocumentsMetadataRequest.Matcher.Builder builderForValue)
Required. Matcher for the
Documents.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher matcher = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
public BatchGetDocumentsMetadataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchGetDocumentsMetadataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides