Package com.google.cloud.retail.v2alpha
Class BatchRemoveCatalogAttributesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder>
com.google.cloud.retail.v2alpha.BatchRemoveCatalogAttributesResponse.Builder
- All Implemented Interfaces:
BatchRemoveCatalogAttributesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchRemoveCatalogAttributesResponse
public static final class BatchRemoveCatalogAttributesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder>
implements BatchRemoveCatalogAttributesResponseOrBuilder
Response of the [CatalogService.BatchRemoveCatalogAttributes][google.cloud.retail.v2alpha.CatalogService.BatchRemoveCatalogAttributes].Protobuf type
google.cloud.retail.v2alpha.BatchRemoveCatalogAttributesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllDeletedCatalogAttributes(Iterable<String> values) Catalog attributes that were deleted.addAllResetCatalogAttributes(Iterable<String> values) Catalog attributes that were reset.Catalog attributes that were deleted.addDeletedCatalogAttributesBytes(com.google.protobuf.ByteString value) Catalog attributes that were deleted.addResetCatalogAttributes(String value) Catalog attributes that were reset.addResetCatalogAttributesBytes(com.google.protobuf.ByteString value) Catalog attributes that were reset.build()clear()Catalog attributes that were deleted.Catalog attributes that were reset.getDeletedCatalogAttributes(int index) Catalog attributes that were deleted.com.google.protobuf.ByteStringgetDeletedCatalogAttributesBytes(int index) Catalog attributes that were deleted.intCatalog attributes that were deleted.com.google.protobuf.ProtocolStringListCatalog attributes that were deleted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetResetCatalogAttributes(int index) Catalog attributes that were reset.com.google.protobuf.ByteStringgetResetCatalogAttributesBytes(int index) Catalog attributes that were reset.intCatalog attributes that were reset.com.google.protobuf.ProtocolStringListCatalog attributes that were reset.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDeletedCatalogAttributes(int index, String value) Catalog attributes that were deleted.setResetCatalogAttributes(int index, String value) Catalog attributes that were reset.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder>
-
mergeFrom
public BatchRemoveCatalogAttributesResponse.Builder mergeFrom(BatchRemoveCatalogAttributesResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder>
-
mergeFrom
public BatchRemoveCatalogAttributesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchRemoveCatalogAttributesResponse.Builder>- Throws:
IOException
-
getDeletedCatalogAttributesList
public com.google.protobuf.ProtocolStringList getDeletedCatalogAttributesList()Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Specified by:
getDeletedCatalogAttributesListin interfaceBatchRemoveCatalogAttributesResponseOrBuilder- Returns:
- A list containing the deletedCatalogAttributes.
-
getDeletedCatalogAttributesCount
public int getDeletedCatalogAttributesCount()Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Specified by:
getDeletedCatalogAttributesCountin interfaceBatchRemoveCatalogAttributesResponseOrBuilder- Returns:
- The count of deletedCatalogAttributes.
-
getDeletedCatalogAttributes
Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Specified by:
getDeletedCatalogAttributesin interfaceBatchRemoveCatalogAttributesResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The deletedCatalogAttributes at the given index.
-
getDeletedCatalogAttributesBytes
public com.google.protobuf.ByteString getDeletedCatalogAttributesBytes(int index) Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Specified by:
getDeletedCatalogAttributesBytesin interfaceBatchRemoveCatalogAttributesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the deletedCatalogAttributes at the given index.
-
setDeletedCatalogAttributes
public BatchRemoveCatalogAttributesResponse.Builder setDeletedCatalogAttributes(int index, String value) Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Parameters:
index- The index to set the value at.value- The deletedCatalogAttributes to set.- Returns:
- This builder for chaining.
-
addDeletedCatalogAttributes
Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Parameters:
value- The deletedCatalogAttributes to add.- Returns:
- This builder for chaining.
-
addAllDeletedCatalogAttributes
public BatchRemoveCatalogAttributesResponse.Builder addAllDeletedCatalogAttributes(Iterable<String> values) Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Parameters:
values- The deletedCatalogAttributes to add.- Returns:
- This builder for chaining.
-
clearDeletedCatalogAttributes
Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Returns:
- This builder for chaining.
-
addDeletedCatalogAttributesBytes
public BatchRemoveCatalogAttributesResponse.Builder addDeletedCatalogAttributesBytes(com.google.protobuf.ByteString value) Catalog attributes that were deleted. Only pre-loaded [catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are neither [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products nor predefined can be deleted.
repeated string deleted_catalog_attributes = 1;- Parameters:
value- The bytes of the deletedCatalogAttributes to add.- Returns:
- This builder for chaining.
-
getResetCatalogAttributesList
public com.google.protobuf.ProtocolStringList getResetCatalogAttributesList()Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Specified by:
getResetCatalogAttributesListin interfaceBatchRemoveCatalogAttributesResponseOrBuilder- Returns:
- A list containing the resetCatalogAttributes.
-
getResetCatalogAttributesCount
public int getResetCatalogAttributesCount()Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Specified by:
getResetCatalogAttributesCountin interfaceBatchRemoveCatalogAttributesResponseOrBuilder- Returns:
- The count of resetCatalogAttributes.
-
getResetCatalogAttributes
Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Specified by:
getResetCatalogAttributesin interfaceBatchRemoveCatalogAttributesResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resetCatalogAttributes at the given index.
-
getResetCatalogAttributesBytes
public com.google.protobuf.ByteString getResetCatalogAttributesBytes(int index) Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Specified by:
getResetCatalogAttributesBytesin interfaceBatchRemoveCatalogAttributesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resetCatalogAttributes at the given index.
-
setResetCatalogAttributes
public BatchRemoveCatalogAttributesResponse.Builder setResetCatalogAttributes(int index, String value) Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Parameters:
index- The index to set the value at.value- The resetCatalogAttributes to set.- Returns:
- This builder for chaining.
-
addResetCatalogAttributes
Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Parameters:
value- The resetCatalogAttributes to add.- Returns:
- This builder for chaining.
-
addAllResetCatalogAttributes
public BatchRemoveCatalogAttributesResponse.Builder addAllResetCatalogAttributes(Iterable<String> values) Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Parameters:
values- The resetCatalogAttributes to add.- Returns:
- This builder for chaining.
-
clearResetCatalogAttributes
Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Returns:
- This builder for chaining.
-
addResetCatalogAttributesBytes
public BatchRemoveCatalogAttributesResponse.Builder addResetCatalogAttributesBytes(com.google.protobuf.ByteString value) Catalog attributes that were reset. [Catalog attributes][google.cloud.retail.v2alpha.CatalogAttribute] that are either [in use][google.cloud.retail.v2alpha.CatalogAttribute.in_use] by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.
repeated string reset_catalog_attributes = 2;- Parameters:
value- The bytes of the resetCatalogAttributes to add.- Returns:
- This builder for chaining.
-