Interface CreateControlRequestOrBuilder (2.32.0)

public interface CreateControlRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getControl()

public abstract Control getControl()

Required. The Control to create.

.google.cloud.retail.v2.Control control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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 should be 4-63 characters, and valid characters are /a-z-_/.

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

Returns
TypeDescription
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 should be 4-63 characters, and valid characters are /a-z-_/.

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

Returns
TypeDescription
ByteString

The bytes for controlId.

getControlOrBuilder()

public abstract ControlOrBuilder getControlOrBuilder()

Required. The Control to create.

.google.cloud.retail.v2.Control control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ControlOrBuilder

getParent()

public abstract String getParent()

Required. Full resource name of parent catalog. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Full resource name of parent catalog. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasControl()

public abstract boolean hasControl()

Required. The Control to create.

.google.cloud.retail.v2.Control control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the control field is set.