Interface CreateControlRequestOrBuilder (0.51.0)

public interface CreateControlRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getControl()

public abstract Control getControl()

Required. The Control to create.

.google.cloud.discoveryengine.v1.Control control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Control

The control.

getControlId()

public abstract String getControlId()

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

This value must be within 1-63 characters. Valid characters are /a-z-_/.

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

Returns
Type Description
String

The controlId.

getControlIdBytes()

public abstract ByteString getControlIdBytes()

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

This value must be within 1-63 characters. Valid characters are /a-z-_/.

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

Returns
Type Description
ByteString

The bytes for controlId.

getControlOrBuilder()

public abstract ControlOrBuilder getControlOrBuilder()

Required. The Control to create.

.google.cloud.discoveryengine.v1.Control control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ControlOrBuilder

getParent()

public abstract String getParent()

Required. Full resource name of parent data store. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id} or projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Full resource name of parent data store. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id} or projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}.

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

Returns
Type Description
ByteString

The bytes for parent.

hasControl()

public abstract boolean hasControl()

Required. The Control to create.

.google.cloud.discoveryengine.v1.Control control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the control field is set.