- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class RemoveControlRequest.Builder extends GeneratedMessageV3.Builder<RemoveControlRequest.Builder> implements RemoveControlRequestOrBuilder
Request for RemoveControl method.
Protobuf type google.cloud.retail.v2beta.RemoveControlRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RemoveControlRequest.BuilderImplements
RemoveControlRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RemoveControlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RemoveControlRequest.Builder |
build()
public RemoveControlRequest build()
Type | Description |
RemoveControlRequest |
buildPartial()
public RemoveControlRequest buildPartial()
Type | Description |
RemoveControlRequest |
clear()
public RemoveControlRequest.Builder clear()
Type | Description |
RemoveControlRequest.Builder |
clearControlId()
public RemoveControlRequest.Builder clearControlId()
Required. The id of the control to apply. Assumed to be in the same catalog as the serving config.
string control_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
RemoveControlRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RemoveControlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RemoveControlRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RemoveControlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RemoveControlRequest.Builder |
clearServingConfig()
public RemoveControlRequest.Builder clearServingConfig()
Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
RemoveControlRequest.Builder | This builder for chaining. |
clone()
public RemoveControlRequest.Builder clone()
Type | Description |
RemoveControlRequest.Builder |
getControlId()
public String getControlId()
Required. The id of the control to apply. Assumed to be in the same catalog as the serving config.
string control_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The controlId. |
getControlIdBytes()
public ByteString getControlIdBytes()
Required. The id of the control to apply. Assumed to be in the same catalog as the serving config.
string control_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for controlId. |
getDefaultInstanceForType()
public RemoveControlRequest getDefaultInstanceForType()
Type | Description |
RemoveControlRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getServingConfig()
public String getServingConfig()
Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The servingConfig. |
getServingConfigBytes()
public ByteString getServingConfigBytes()
Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for servingConfig. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(RemoveControlRequest other)
public RemoveControlRequest.Builder mergeFrom(RemoveControlRequest other)
Name | Description |
other | RemoveControlRequest |
Type | Description |
RemoveControlRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemoveControlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RemoveControlRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RemoveControlRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RemoveControlRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RemoveControlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RemoveControlRequest.Builder |
setControlId(String value)
public RemoveControlRequest.Builder setControlId(String value)
Required. The id of the control to apply. Assumed to be in the same catalog as the serving config.
string control_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The controlId to set. |
Type | Description |
RemoveControlRequest.Builder | This builder for chaining. |
setControlIdBytes(ByteString value)
public RemoveControlRequest.Builder setControlIdBytes(ByteString value)
Required. The id of the control to apply. Assumed to be in the same catalog as the serving config.
string control_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for controlId to set. |
Type | Description |
RemoveControlRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RemoveControlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RemoveControlRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RemoveControlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RemoveControlRequest.Builder |
setServingConfig(String value)
public RemoveControlRequest.Builder setServingConfig(String value)
Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The servingConfig to set. |
Type | Description |
RemoveControlRequest.Builder | This builder for chaining. |
setServingConfigBytes(ByteString value)
public RemoveControlRequest.Builder setServingConfigBytes(ByteString value)
Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for servingConfig to set. |
Type | Description |
RemoveControlRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RemoveControlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RemoveControlRequest.Builder |