Interface Engine.KnowledgeGraphConfigOrBuilder (0.90.0)

public static interface Engine.KnowledgeGraphConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudKnowledgeGraphTypes(int index)

public abstract 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 abstract 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 abstract int getCloudKnowledgeGraphTypesCount()

Specify entity types to support.

repeated string cloud_knowledge_graph_types = 2;

Returns
Type Description
int

The count of cloudKnowledgeGraphTypes.

getCloudKnowledgeGraphTypesList()

public abstract List<String> getCloudKnowledgeGraphTypesList()

Specify entity types to support.

repeated string cloud_knowledge_graph_types = 2;

Returns
Type Description
List<String>

A list containing the cloudKnowledgeGraphTypes.

getEnableCloudKnowledgeGraph()

public abstract 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 abstract 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 abstract 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];

Returns
Type Description
Engine.KnowledgeGraphConfig.FeatureConfig

The featureConfig.

getFeatureConfigOrBuilder()

public abstract 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];

Returns
Type Description
Engine.KnowledgeGraphConfig.FeatureConfigOrBuilder

getPrivateKnowledgeGraphTypes(int index)

public abstract 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 abstract 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 abstract int getPrivateKnowledgeGraphTypesCount()

Specify entity types to support.

repeated string private_knowledge_graph_types = 4;

Returns
Type Description
int

The count of privateKnowledgeGraphTypes.

getPrivateKnowledgeGraphTypesList()

public abstract List<String> getPrivateKnowledgeGraphTypesList()

Specify entity types to support.

repeated string private_knowledge_graph_types = 4;

Returns
Type Description
List<String>

A list containing the privateKnowledgeGraphTypes.

hasFeatureConfig()

public abstract 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.