Package com.google.cloud.retail.v2alpha
Interface CreateControlRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateControlRequest
,CreateControlRequest.Builder
public interface CreateControlRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Control
getControl()
Required.String
getControlId()
Required.com.google.protobuf.ByteString
getControlIdBytes()
Required.ControlOrBuilder
getControlOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasControl()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasControl
boolean hasControl()
Required. The Control to create.
.google.cloud.retail.v2alpha.Control control = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the control field is set.
-
getControl
Control getControl()
Required. The Control to create.
.google.cloud.retail.v2alpha.Control control = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The control.
-
getControlOrBuilder
ControlOrBuilder getControlOrBuilder()
Required. The Control to create.
.google.cloud.retail.v2alpha.Control control = 2 [(.google.api.field_behavior) = REQUIRED];
-
getControlId
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][0-9]-_/.
string control_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The controlId.
-
getControlIdBytes
com.google.protobuf.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][0-9]-_/.
string control_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for controlId.
-
-