public final class ImportSuggestionDenyListEntriesRequest extends GeneratedMessageV3 implements ImportSuggestionDenyListEntriesRequestOrBuilder
Request message for
CompletionService.ImportSuggestionDenyListEntries
method.
Protobuf type google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest
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
GCS_SOURCE_FIELD_NUMBER
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INLINE_SOURCE_FIELD_NUMBER
public static final int INLINE_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ImportSuggestionDenyListEntriesRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportSuggestionDenyListEntriesRequest.Builder newBuilder()
newBuilder(ImportSuggestionDenyListEntriesRequest prototype)
public static ImportSuggestionDenyListEntriesRequest.Builder newBuilder(ImportSuggestionDenyListEntriesRequest prototype)
public static ImportSuggestionDenyListEntriesRequest parseDelimitedFrom(InputStream input)
public static ImportSuggestionDenyListEntriesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportSuggestionDenyListEntriesRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportSuggestionDenyListEntriesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportSuggestionDenyListEntriesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportSuggestionDenyListEntriesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportSuggestionDenyListEntriesRequest parseFrom(CodedInputStream input)
public static ImportSuggestionDenyListEntriesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportSuggestionDenyListEntriesRequest parseFrom(InputStream input)
public static ImportSuggestionDenyListEntriesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportSuggestionDenyListEntriesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportSuggestionDenyListEntriesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportSuggestionDenyListEntriesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ImportSuggestionDenyListEntriesRequest getDefaultInstanceForType()
getGcsSource()
public GcsSource getGcsSource()
Cloud Storage location for the input content.
Only 1 file can be specified that contains all entries to import.
Supported values gcs_source.schema
for autocomplete suggestion deny
list entry imports:
suggestion_deny_list
(default): One JSON [SuggestionDenyListEntry]
per line.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
Returns |
---|
Type | Description |
GcsSource | The gcsSource.
|
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Cloud Storage location for the input content.
Only 1 file can be specified that contains all entries to import.
Supported values gcs_source.schema
for autocomplete suggestion deny
list entry imports:
suggestion_deny_list
(default): One JSON [SuggestionDenyListEntry]
per line.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
getInlineSource()
public ImportSuggestionDenyListEntriesRequest.InlineSource getInlineSource()
The Inline source for the input content for suggestion deny list entries.
.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
getInlineSourceOrBuilder()
public ImportSuggestionDenyListEntriesRequest.InlineSourceOrBuilder getInlineSourceOrBuilder()
The Inline source for the input content for suggestion deny list entries.
.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
getParent()
public String getParent()
Required. The parent data store resource name for which to import denylist
entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent data store resource name for which to import denylist
entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<ImportSuggestionDenyListEntriesRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSourceCase()
public ImportSuggestionDenyListEntriesRequest.SourceCase getSourceCase()
hasGcsSource()
public boolean hasGcsSource()
Cloud Storage location for the input content.
Only 1 file can be specified that contains all entries to import.
Supported values gcs_source.schema
for autocomplete suggestion deny
list entry imports:
suggestion_deny_list
(default): One JSON [SuggestionDenyListEntry]
per line.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
Returns |
---|
Type | Description |
boolean | Whether the gcsSource field is set.
|
hasInlineSource()
public boolean hasInlineSource()
The Inline source for the input content for suggestion deny list entries.
.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource inline_source = 2;
Returns |
---|
Type | Description |
boolean | Whether the inlineSource field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportSuggestionDenyListEntriesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportSuggestionDenyListEntriesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ImportSuggestionDenyListEntriesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides