public static final class DeleteProductInputRequest.Builder extends GeneratedMessageV3.Builder<DeleteProductInputRequest.Builder> implements DeleteProductInputRequestOrBuilder
Request message for the DeleteProductInput method.
Protobuf type google.shopping.merchant.products.v1beta.DeleteProductInputRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public DeleteProductInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeleteProductInputRequest build()
public DeleteProductInputRequest buildPartial()
public DeleteProductInputRequest.Builder clear()
Overrides
public DeleteProductInputRequest.Builder clearDataSource()
Required. The primary or supplemental data source from which the product
input should be deleted. Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 2 [(.google.api.field_behavior) = REQUIRED];
public DeleteProductInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DeleteProductInputRequest.Builder clearName()
Required. The name of the product input resource to delete.
Format: accounts/{account}/productInputs/{product}
where the last section product
consists of 4 parts:
channel~content_language~feed_label~offer_id
example for product name is
"accounts/123/productInputs/online~en~US~sku123"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public DeleteProductInputRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DeleteProductInputRequest.Builder clone()
Overrides
public String getDataSource()
Required. The primary or supplemental data source from which the product
input should be deleted. Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The dataSource.
|
public ByteString getDataSourceBytes()
Required. The primary or supplemental data source from which the product
input should be deleted. Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for dataSource.
|
public DeleteProductInputRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Required. The name of the product input resource to delete.
Format: accounts/{account}/productInputs/{product}
where the last section product
consists of 4 parts:
channel~content_language~feed_label~offer_id
example for product name is
"accounts/123/productInputs/online~en~US~sku123"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The name of the product input resource to delete.
Format: accounts/{account}/productInputs/{product}
where the last section product
consists of 4 parts:
channel~content_language~feed_label~offer_id
example for product name is
"accounts/123/productInputs/online~en~US~sku123"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DeleteProductInputRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DeleteProductInputRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public DeleteProductInputRequest.Builder mergeFrom(DeleteProductInputRequest other)
public final DeleteProductInputRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public DeleteProductInputRequest.Builder setDataSource(String value)
Required. The primary or supplemental data source from which the product
input should be deleted. Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The dataSource to set.
|
public DeleteProductInputRequest.Builder setDataSourceBytes(ByteString value)
Required. The primary or supplemental data source from which the product
input should be deleted. Format:
accounts/{account}/dataSources/{datasource}
.
string data_source = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for dataSource to set.
|
public DeleteProductInputRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeleteProductInputRequest.Builder setName(String value)
Required. The name of the product input resource to delete.
Format: accounts/{account}/productInputs/{product}
where the last section product
consists of 4 parts:
channel~content_language~feed_label~offer_id
example for product name is
"accounts/123/productInputs/online~en~US~sku123"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
public DeleteProductInputRequest.Builder setNameBytes(ByteString value)
Required. The name of the product input resource to delete.
Format: accounts/{account}/productInputs/{product}
where the last section product
consists of 4 parts:
channel~content_language~feed_label~offer_id
example for product name is
"accounts/123/productInputs/online~en~US~sku123"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
public DeleteProductInputRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DeleteProductInputRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides