public static final class GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder extends GeneratedMessageV3.Builder<GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder> implements GenerateGroundedContentRequest.GroundingSource.GoogleSearchSourceOrBuilder
Google Search config parameters.
Protobuf type
google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource build()
buildPartial()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource buildPartial()
clear()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clear()
Overrides
clearDynamicRetrievalConfig()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearDynamicRetrievalConfig()
Optional. Specifies the dynamic retrieval configuration for the given
source.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clone()
Overrides
getDefaultInstanceForType()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDynamicRetrievalConfig()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration getDynamicRetrievalConfig()
Optional. Specifies the dynamic retrieval configuration for the given
source.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
getDynamicRetrievalConfigBuilder()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder getDynamicRetrievalConfigBuilder()
Optional. Specifies the dynamic retrieval configuration for the given
source.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
getDynamicRetrievalConfigOrBuilder()
public GenerateGroundedContentRequest.DynamicRetrievalConfigurationOrBuilder getDynamicRetrievalConfigOrBuilder()
Optional. Specifies the dynamic retrieval configuration for the given
source.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
hasDynamicRetrievalConfig()
public boolean hasDynamicRetrievalConfig()
Optional. Specifies the dynamic retrieval configuration for the given
source.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the dynamicRetrievalConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)
Optional. Specifies the dynamic retrieval configuration for the given
source.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeFrom(GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource other)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeFrom(GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)
Optional. Specifies the dynamic retrieval configuration for the given
source.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder builderForValue)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder builderForValue)
Optional. Specifies the dynamic retrieval configuration for the given
source.
.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides