public static final class ImportCompletionSuggestionsRequest.InlineSource extends GeneratedMessageV3 implements ImportCompletionSuggestionsRequest.InlineSourceOrBuilder
The inline source for CompletionSuggestions.
Protobuf type
google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest.InlineSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SUGGESTIONS_FIELD_NUMBER
public static final int SUGGESTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ImportCompletionSuggestionsRequest.InlineSource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportCompletionSuggestionsRequest.InlineSource.Builder newBuilder()
newBuilder(ImportCompletionSuggestionsRequest.InlineSource prototype)
public static ImportCompletionSuggestionsRequest.InlineSource.Builder newBuilder(ImportCompletionSuggestionsRequest.InlineSource prototype)
public static ImportCompletionSuggestionsRequest.InlineSource parseDelimitedFrom(InputStream input)
public static ImportCompletionSuggestionsRequest.InlineSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(CodedInputStream input)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(InputStream input)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportCompletionSuggestionsRequest.InlineSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportCompletionSuggestionsRequest.InlineSource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ImportCompletionSuggestionsRequest.InlineSource getDefaultInstanceForType()
getParserForType()
public Parser<ImportCompletionSuggestionsRequest.InlineSource> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.v1.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getSuggestionsCount()
public int getSuggestionsCount()
Required. A list of all denylist entries to import. Max of 1000 items.
repeated .google.cloud.discoveryengine.v1.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.v1.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.v1.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.v1.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.CompletionSuggestionOrBuilder> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportCompletionSuggestionsRequest.InlineSource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportCompletionSuggestionsRequest.InlineSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ImportCompletionSuggestionsRequest.InlineSource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides