Interface CreateEngineRequestOrBuilder (0.40.0)

public interface CreateEngineRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEngine()

public abstract Engine getEngine()

Required. The Engine to create.

.google.cloud.discoveryengine.v1beta.Engine engine = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Engine

The engine.

getEngineId()

public abstract String getEngineId()

Required. The ID to use for the Engine, which will become the final component of the Engine's resource name.

This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string engine_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The engineId.

getEngineIdBytes()

public abstract ByteString getEngineIdBytes()

Required. The ID to use for the Engine, which will become the final component of the Engine's resource name.

This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.

string engine_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for engineId.

getEngineOrBuilder()

public abstract EngineOrBuilder getEngineOrBuilder()

Required. The Engine to create.

.google.cloud.discoveryengine.v1beta.Engine engine = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EngineOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasEngine()

public abstract boolean hasEngine()

Required. The Engine to create.

.google.cloud.discoveryengine.v1beta.Engine engine = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the engine field is set.