public static final class ImportCompletionSuggestionsRequest.InlineSource.Builder extends GeneratedMessageV3.Builder<ImportCompletionSuggestionsRequest.InlineSource.Builder> implements ImportCompletionSuggestionsRequest.InlineSourceOrBuilder
The inline source for CompletionSuggestions.
Protobuf type
google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource
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
addAllSuggestions(Iterable<? extends CompletionSuggestion> values)
public ImportCompletionSuggestionsRequest.InlineSource.Builder addAllSuggestions(Iterable<? extends CompletionSuggestion> values)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1alpha.CompletionSuggestion>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportCompletionSuggestionsRequest.InlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSuggestions(CompletionSuggestion value)
public ImportCompletionSuggestionsRequest.InlineSource.Builder addSuggestions(CompletionSuggestion value)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
addSuggestions(CompletionSuggestion.Builder builderForValue)
public ImportCompletionSuggestionsRequest.InlineSource.Builder addSuggestions(CompletionSuggestion.Builder builderForValue)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
addSuggestions(int index, CompletionSuggestion value)
public ImportCompletionSuggestionsRequest.InlineSource.Builder addSuggestions(int index, CompletionSuggestion value)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
addSuggestions(int index, CompletionSuggestion.Builder builderForValue)
public ImportCompletionSuggestionsRequest.InlineSource.Builder addSuggestions(int index, CompletionSuggestion.Builder builderForValue)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
addSuggestionsBuilder()
public CompletionSuggestion.Builder addSuggestionsBuilder()
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
addSuggestionsBuilder(int index)
public CompletionSuggestion.Builder addSuggestionsBuilder(int index)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
build()
public ImportCompletionSuggestionsRequest.InlineSource build()
buildPartial()
public ImportCompletionSuggestionsRequest.InlineSource buildPartial()
clear()
public ImportCompletionSuggestionsRequest.InlineSource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportCompletionSuggestionsRequest.InlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportCompletionSuggestionsRequest.InlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSuggestions()
public ImportCompletionSuggestionsRequest.InlineSource.Builder clearSuggestions()
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public ImportCompletionSuggestionsRequest.InlineSource.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportCompletionSuggestionsRequest.InlineSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSuggestions(int index)
public CompletionSuggestion getSuggestions(int index)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getSuggestionsBuilder(int index)
public CompletionSuggestion.Builder getSuggestionsBuilder(int index)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getSuggestionsBuilderList()
public List<CompletionSuggestion.Builder> getSuggestionsBuilderList()
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
getSuggestionsCount()
public int getSuggestionsCount()
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getSuggestionsList()
public List<CompletionSuggestion> getSuggestionsList()
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
getSuggestionsOrBuilder(int index)
public CompletionSuggestionOrBuilder getSuggestionsOrBuilder(int index)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getSuggestionsOrBuilderList()
public List<? extends CompletionSuggestionOrBuilder> getSuggestionsOrBuilderList()
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.CompletionSuggestionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportCompletionSuggestionsRequest.InlineSource other)
public ImportCompletionSuggestionsRequest.InlineSource.Builder mergeFrom(ImportCompletionSuggestionsRequest.InlineSource other)
public ImportCompletionSuggestionsRequest.InlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportCompletionSuggestionsRequest.InlineSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportCompletionSuggestionsRequest.InlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSuggestions(int index)
public ImportCompletionSuggestionsRequest.InlineSource.Builder removeSuggestions(int index)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImportCompletionSuggestionsRequest.InlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportCompletionSuggestionsRequest.InlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSuggestions(int index, CompletionSuggestion value)
public ImportCompletionSuggestionsRequest.InlineSource.Builder setSuggestions(int index, CompletionSuggestion value)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
setSuggestions(int index, CompletionSuggestion.Builder builderForValue)
public ImportCompletionSuggestionsRequest.InlineSource.Builder setSuggestions(int index, CompletionSuggestion.Builder builderForValue)
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1alpha.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportCompletionSuggestionsRequest.InlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides