Class BatchGetDocumentsMetadataRequest.FhirMatcher.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
com.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.FhirMatcher.Builder
All Implemented Interfaces:
BatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchGetDocumentsMetadataRequest.FhirMatcher

public static final class BatchGetDocumentsMetadataRequest.FhirMatcher.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder> implements BatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder
 Matcher for the [Document][google.cloud.discoveryengine.v1beta.Document]s
 by FHIR resource names.
 
Protobuf type google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.FhirMatcher
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
    • getDefaultInstanceForType

      public BatchGetDocumentsMetadataRequest.FhirMatcher getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
    • mergeFrom

      public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
      Throws:
      IOException
    • getFhirResourcesList

      public com.google.protobuf.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) = { ... }
      Specified by:
      getFhirResourcesList in interface BatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder
      Returns:
      A list containing the fhirResources.
    • 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) = { ... }
      Specified by:
      getFhirResourcesCount in interface BatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder
      Returns:
      The count of fhirResources.
    • getFhirResources

      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) = { ... }
      Specified by:
      getFhirResources in interface BatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fhirResources at the given index.
    • getFhirResourcesBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getFhirResourcesBytes in interface BatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fhirResources at the given index.
    • setFhirResources

      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:
      index - The index to set the value at.
      value - The fhirResources to set.
      Returns:
      This builder for chaining.
    • addFhirResources

       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:
      value - The fhirResources to add.
      Returns:
      This builder for chaining.
    • addAllFhirResources

       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:
      values - The fhirResources to add.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • addFhirResourcesBytes

      public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder addFhirResourcesBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes of the fhirResources to add.
      Returns:
      This builder for chaining.