public static final class Engine.KnowledgeGraphConfig extends GeneratedMessage implements Engine.KnowledgeGraphConfigOrBuilder
Configuration message for the Knowledge Graph.
Protobuf type google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CLOUD_KNOWLEDGE_GRAPH_TYPES_FIELD_NUMBER
public static final int CLOUD_KNOWLEDGE_GRAPH_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_CLOUD_KNOWLEDGE_GRAPH_FIELD_NUMBER
public static final int ENABLE_CLOUD_KNOWLEDGE_GRAPH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_PRIVATE_KNOWLEDGE_GRAPH_FIELD_NUMBER
public static final int ENABLE_PRIVATE_KNOWLEDGE_GRAPH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FEATURE_CONFIG_FIELD_NUMBER
public static final int FEATURE_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PRIVATE_KNOWLEDGE_GRAPH_TYPES_FIELD_NUMBER
public static final int PRIVATE_KNOWLEDGE_GRAPH_TYPES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Engine.KnowledgeGraphConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Engine.KnowledgeGraphConfig.Builder newBuilder()
newBuilder(Engine.KnowledgeGraphConfig prototype)
public static Engine.KnowledgeGraphConfig.Builder newBuilder(Engine.KnowledgeGraphConfig prototype)
public static Engine.KnowledgeGraphConfig parseDelimitedFrom(InputStream input)
public static Engine.KnowledgeGraphConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Engine.KnowledgeGraphConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Engine.KnowledgeGraphConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Engine.KnowledgeGraphConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Engine.KnowledgeGraphConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Engine.KnowledgeGraphConfig parseFrom(CodedInputStream input)
public static Engine.KnowledgeGraphConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Engine.KnowledgeGraphConfig parseFrom(InputStream input)
public static Engine.KnowledgeGraphConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Engine.KnowledgeGraphConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Engine.KnowledgeGraphConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Engine.KnowledgeGraphConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCloudKnowledgeGraphTypes(int index)
public String getCloudKnowledgeGraphTypes(int index)
Specify entity types to support.
repeated string cloud_knowledge_graph_types = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The cloudKnowledgeGraphTypes at the given index.
|
getCloudKnowledgeGraphTypesBytes(int index)
public ByteString getCloudKnowledgeGraphTypesBytes(int index)
Specify entity types to support.
repeated string cloud_knowledge_graph_types = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the cloudKnowledgeGraphTypes at the given index.
|
getCloudKnowledgeGraphTypesCount()
public int getCloudKnowledgeGraphTypesCount()
Specify entity types to support.
repeated string cloud_knowledge_graph_types = 2;
| Returns |
| Type |
Description |
int |
The count of cloudKnowledgeGraphTypes.
|
getCloudKnowledgeGraphTypesList()
public ProtocolStringList getCloudKnowledgeGraphTypesList()
Specify entity types to support.
repeated string cloud_knowledge_graph_types = 2;
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the cloudKnowledgeGraphTypes.
|
getDefaultInstanceForType()
public Engine.KnowledgeGraphConfig getDefaultInstanceForType()
getEnableCloudKnowledgeGraph()
public boolean getEnableCloudKnowledgeGraph()
Whether to enable the Cloud Knowledge Graph for the engine.
Defaults to false if not specified.
bool enable_cloud_knowledge_graph = 1;
| Returns |
| Type |
Description |
boolean |
The enableCloudKnowledgeGraph.
|
getEnablePrivateKnowledgeGraph()
public boolean getEnablePrivateKnowledgeGraph()
Whether to enable the Private Knowledge Graph for the engine.
Defaults to false if not specified.
bool enable_private_knowledge_graph = 3;
| Returns |
| Type |
Description |
boolean |
The enablePrivateKnowledgeGraph.
|
getFeatureConfig()
public Engine.KnowledgeGraphConfig.FeatureConfig getFeatureConfig()
Optional. Feature config for the Knowledge Graph.
.google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig.FeatureConfig feature_config = 5 [(.google.api.field_behavior) = OPTIONAL];
getFeatureConfigOrBuilder()
public Engine.KnowledgeGraphConfig.FeatureConfigOrBuilder getFeatureConfigOrBuilder()
Optional. Feature config for the Knowledge Graph.
.google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig.FeatureConfig feature_config = 5 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<Engine.KnowledgeGraphConfig> getParserForType()
Overrides
getPrivateKnowledgeGraphTypes(int index)
public String getPrivateKnowledgeGraphTypes(int index)
Specify entity types to support.
repeated string private_knowledge_graph_types = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The privateKnowledgeGraphTypes at the given index.
|
getPrivateKnowledgeGraphTypesBytes(int index)
public ByteString getPrivateKnowledgeGraphTypesBytes(int index)
Specify entity types to support.
repeated string private_knowledge_graph_types = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the privateKnowledgeGraphTypes at the given index.
|
getPrivateKnowledgeGraphTypesCount()
public int getPrivateKnowledgeGraphTypesCount()
Specify entity types to support.
repeated string private_knowledge_graph_types = 4;
| Returns |
| Type |
Description |
int |
The count of privateKnowledgeGraphTypes.
|
getPrivateKnowledgeGraphTypesList()
public ProtocolStringList getPrivateKnowledgeGraphTypesList()
Specify entity types to support.
repeated string private_knowledge_graph_types = 4;
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the privateKnowledgeGraphTypes.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasFeatureConfig()
public boolean hasFeatureConfig()
Optional. Feature config for the Knowledge Graph.
.google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig.FeatureConfig feature_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the featureConfig field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Engine.KnowledgeGraphConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Engine.KnowledgeGraphConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Engine.KnowledgeGraphConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides