Class BatchGetDocumentsMetadataRequest.FhirMatcher.Builder (0.49.0)

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

Matcher for the Documents by FHIR resource names.

Protobuf type google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.FhirMatcher

Static Methods

getDescriptor()

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

Methods

addAllFhirResources(Iterable<String> values)

public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder addAllFhirResources(Iterable<String> values)

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Parameter
Name Description
values Iterable<String>

The fhirResources to add.

Returns
Type Description
BatchGetDocumentsMetadataRequest.FhirMatcher.Builder

This builder for chaining.

addFhirResources(String value)

public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder addFhirResources(String value)

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Parameter
Name Description
value String

The fhirResources to add.

Returns
Type Description
BatchGetDocumentsMetadataRequest.FhirMatcher.Builder

This builder for chaining.

addFhirResourcesBytes(ByteString value)

public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder addFhirResourcesBytes(ByteString value)

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Parameter
Name Description
value ByteString

The bytes of the fhirResources to add.

Returns
Type Description
BatchGetDocumentsMetadataRequest.FhirMatcher.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchGetDocumentsMetadataRequest.FhirMatcher build()
Returns
Type Description
BatchGetDocumentsMetadataRequest.FhirMatcher

buildPartial()

public BatchGetDocumentsMetadataRequest.FhirMatcher buildPartial()
Returns
Type Description
BatchGetDocumentsMetadataRequest.FhirMatcher

clear()

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

clearFhirResources()

public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder clearFhirResources()

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Returns
Type Description
BatchGetDocumentsMetadataRequest.FhirMatcher.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchGetDocumentsMetadataRequest.FhirMatcher getDefaultInstanceForType()
Returns
Type Description
BatchGetDocumentsMetadataRequest.FhirMatcher

getDescriptorForType()

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

getFhirResources(int index)

public String getFhirResources(int index)

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The fhirResources at the given index.

getFhirResourcesBytes(int index)

public ByteString getFhirResourcesBytes(int index)

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the fhirResources at the given index.

getFhirResourcesCount()

public int getFhirResourcesCount()

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Returns
Type Description
int

The count of fhirResources.

getFhirResourcesList()

public ProtocolStringList getFhirResourcesList()

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Returns
Type Description
ProtocolStringList

A list containing the fhirResources.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetDocumentsMetadataRequest.FhirMatcher other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setFhirResources(int index, String value)

public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder setFhirResources(int index, String value)

Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}

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

Parameters
Name Description
index int

The index to set the value at.

value String

The fhirResources to set.

Returns
Type Description
BatchGetDocumentsMetadataRequest.FhirMatcher.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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