Interface DataStoreTool.ModalityConfigOrBuilder (0.1.0)

public static interface DataStoreTool.ModalityConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroundingConfig()

public abstract DataStoreTool.GroundingConfig getGroundingConfig()

Optional. The grounding configuration.

.google.cloud.ces.v1.DataStoreTool.GroundingConfig grounding_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.GroundingConfig

The groundingConfig.

getGroundingConfigOrBuilder()

public abstract DataStoreTool.GroundingConfigOrBuilder getGroundingConfigOrBuilder()

Optional. The grounding configuration.

.google.cloud.ces.v1.DataStoreTool.GroundingConfig grounding_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.GroundingConfigOrBuilder

getModalityType()

public abstract DataStoreTool.ModalityConfig.ModalityType getModalityType()

Required. The modality type.

.google.cloud.ces.v1.DataStoreTool.ModalityConfig.ModalityType modality_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataStoreTool.ModalityConfig.ModalityType

The modalityType.

getModalityTypeValue()

public abstract int getModalityTypeValue()

Required. The modality type.

.google.cloud.ces.v1.DataStoreTool.ModalityConfig.ModalityType modality_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for modalityType.

getRewriterConfig()

public abstract DataStoreTool.RewriterConfig getRewriterConfig()

Optional. The rewriter config.

.google.cloud.ces.v1.DataStoreTool.RewriterConfig rewriter_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.RewriterConfig

The rewriterConfig.

getRewriterConfigOrBuilder()

public abstract DataStoreTool.RewriterConfigOrBuilder getRewriterConfigOrBuilder()

Optional. The rewriter config.

.google.cloud.ces.v1.DataStoreTool.RewriterConfig rewriter_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.RewriterConfigOrBuilder

getSummarizationConfig()

public abstract DataStoreTool.SummarizationConfig getSummarizationConfig()

Optional. The summarization config.

.google.cloud.ces.v1.DataStoreTool.SummarizationConfig summarization_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.SummarizationConfig

The summarizationConfig.

getSummarizationConfigOrBuilder()

public abstract DataStoreTool.SummarizationConfigOrBuilder getSummarizationConfigOrBuilder()

Optional. The summarization config.

.google.cloud.ces.v1.DataStoreTool.SummarizationConfig summarization_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.SummarizationConfigOrBuilder

hasGroundingConfig()

public abstract boolean hasGroundingConfig()

Optional. The grounding configuration.

.google.cloud.ces.v1.DataStoreTool.GroundingConfig grounding_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the groundingConfig field is set.

hasRewriterConfig()

public abstract boolean hasRewriterConfig()

Optional. The rewriter config.

.google.cloud.ces.v1.DataStoreTool.RewriterConfig rewriter_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rewriterConfig field is set.

hasSummarizationConfig()

public abstract boolean hasSummarizationConfig()

Optional. The summarization config.

.google.cloud.ces.v1.DataStoreTool.SummarizationConfig summarization_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the summarizationConfig field is set.