Class FhirStoreSource.Builder

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

public static final class FhirStoreSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<FhirStoreSource.Builder> implements FhirStoreSourceOrBuilder
 Cloud FhirStore source import data from.
 
Protobuf type google.cloud.discoveryengine.v1beta.FhirStoreSource
  • 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<FhirStoreSource.Builder>
    • clear

      public FhirStoreSource.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<FhirStoreSource.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<FhirStoreSource.Builder>
    • getDefaultInstanceForType

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

      public FhirStoreSource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FhirStoreSource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FhirStoreSource.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<FhirStoreSource.Builder>
    • mergeFrom

      public FhirStoreSource.Builder mergeFrom(FhirStoreSource other)
    • isInitialized

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

      public FhirStoreSource.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<FhirStoreSource.Builder>
      Throws:
      IOException
    • getFhirStore

      public String getFhirStore()
       Required. The full resource name of the FHIR store to import data from, in
       the format of
       `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
       
      string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getFhirStore in interface FhirStoreSourceOrBuilder
      Returns:
      The fhirStore.
    • getFhirStoreBytes

      public com.google.protobuf.ByteString getFhirStoreBytes()
       Required. The full resource name of the FHIR store to import data from, in
       the format of
       `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
       
      string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getFhirStoreBytes in interface FhirStoreSourceOrBuilder
      Returns:
      The bytes for fhirStore.
    • setFhirStore

      public FhirStoreSource.Builder setFhirStore(String value)
       Required. The full resource name of the FHIR store to import data from, in
       the format of
       `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
       
      string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The fhirStore to set.
      Returns:
      This builder for chaining.
    • clearFhirStore

      public FhirStoreSource.Builder clearFhirStore()
       Required. The full resource name of the FHIR store to import data from, in
       the format of
       `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
       
      string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setFhirStoreBytes

      public FhirStoreSource.Builder setFhirStoreBytes(com.google.protobuf.ByteString value)
       Required. The full resource name of the FHIR store to import data from, in
       the format of
       `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
       
      string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for fhirStore to set.
      Returns:
      This builder for chaining.
    • getGcsStagingDir

      public String getGcsStagingDir()
       Intermediate Cloud Storage directory used for the import with a length
       limit of 2,000 characters. Can be specified if one wants to have the
       FhirStore export to a specific Cloud Storage directory.
       
      string gcs_staging_dir = 2;
      Specified by:
      getGcsStagingDir in interface FhirStoreSourceOrBuilder
      Returns:
      The gcsStagingDir.
    • getGcsStagingDirBytes

      public com.google.protobuf.ByteString getGcsStagingDirBytes()
       Intermediate Cloud Storage directory used for the import with a length
       limit of 2,000 characters. Can be specified if one wants to have the
       FhirStore export to a specific Cloud Storage directory.
       
      string gcs_staging_dir = 2;
      Specified by:
      getGcsStagingDirBytes in interface FhirStoreSourceOrBuilder
      Returns:
      The bytes for gcsStagingDir.
    • setGcsStagingDir

      public FhirStoreSource.Builder setGcsStagingDir(String value)
       Intermediate Cloud Storage directory used for the import with a length
       limit of 2,000 characters. Can be specified if one wants to have the
       FhirStore export to a specific Cloud Storage directory.
       
      string gcs_staging_dir = 2;
      Parameters:
      value - The gcsStagingDir to set.
      Returns:
      This builder for chaining.
    • clearGcsStagingDir

      public FhirStoreSource.Builder clearGcsStagingDir()
       Intermediate Cloud Storage directory used for the import with a length
       limit of 2,000 characters. Can be specified if one wants to have the
       FhirStore export to a specific Cloud Storage directory.
       
      string gcs_staging_dir = 2;
      Returns:
      This builder for chaining.
    • setGcsStagingDirBytes

      public FhirStoreSource.Builder setGcsStagingDirBytes(com.google.protobuf.ByteString value)
       Intermediate Cloud Storage directory used for the import with a length
       limit of 2,000 characters. Can be specified if one wants to have the
       FhirStore export to a specific Cloud Storage directory.
       
      string gcs_staging_dir = 2;
      Parameters:
      value - The bytes for gcsStagingDir to set.
      Returns:
      This builder for chaining.
    • getResourceTypesList

      public com.google.protobuf.ProtocolStringList getResourceTypesList()
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Specified by:
      getResourceTypesList in interface FhirStoreSourceOrBuilder
      Returns:
      A list containing the resourceTypes.
    • getResourceTypesCount

      public int getResourceTypesCount()
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Specified by:
      getResourceTypesCount in interface FhirStoreSourceOrBuilder
      Returns:
      The count of resourceTypes.
    • getResourceTypes

      public String getResourceTypes(int index)
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Specified by:
      getResourceTypes in interface FhirStoreSourceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The resourceTypes at the given index.
    • getResourceTypesBytes

      public com.google.protobuf.ByteString getResourceTypesBytes(int index)
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Specified by:
      getResourceTypesBytes in interface FhirStoreSourceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resourceTypes at the given index.
    • setResourceTypes

      public FhirStoreSource.Builder setResourceTypes(int index, String value)
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Parameters:
      index - The index to set the value at.
      value - The resourceTypes to set.
      Returns:
      This builder for chaining.
    • addResourceTypes

      public FhirStoreSource.Builder addResourceTypes(String value)
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Parameters:
      value - The resourceTypes to add.
      Returns:
      This builder for chaining.
    • addAllResourceTypes

      public FhirStoreSource.Builder addAllResourceTypes(Iterable<String> values)
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Parameters:
      values - The resourceTypes to add.
      Returns:
      This builder for chaining.
    • clearResourceTypes

      public FhirStoreSource.Builder clearResourceTypes()
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Returns:
      This builder for chaining.
    • addResourceTypesBytes

      public FhirStoreSource.Builder addResourceTypesBytes(com.google.protobuf.ByteString value)
       The FHIR resource types to import. The resource types should be a subset of
       all [supported FHIR resource
       types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
       Default to all supported FHIR resource types if empty.
       
      repeated string resource_types = 3;
      Parameters:
      value - The bytes of the resourceTypes to add.
      Returns:
      This builder for chaining.