Class BatchGetDocumentsMetadataRequest.FhirMatcher.Builder (0.79.0)

public static final class BatchGetDocumentsMetadataRequest.FhirMatcher.Builder extends GeneratedMessage.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.

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.

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 GeneratedMessage.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

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.