public static final class UpdateCatalogRequest.Builder extends GeneratedMessageV3.Builder<UpdateCatalogRequest.Builder> implements UpdateCatalogRequestOrBuilder
Request for
CatalogService.UpdateCatalog
method.
Protobuf type google.cloud.retail.v2.UpdateCatalogRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCatalogRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateCatalogRequest build()
Returns
buildPartial()
public UpdateCatalogRequest buildPartial()
Returns
clear()
public UpdateCatalogRequest.Builder clear()
Returns
Overrides
clearCatalog()
public UpdateCatalogRequest.Builder clearCatalog()
Required. The Catalog to update.
If the caller does not have permission to update the
Catalog, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the Catalog to update does not exist,
a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateCatalogRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCatalogRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateCatalogRequest.Builder clearUpdateMask()
Indicates which fields in the provided
Catalog to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateCatalogRequest.Builder clone()
Returns
Overrides
getCatalog()
public Catalog getCatalog()
Required. The Catalog to update.
If the caller does not have permission to update the
Catalog, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the Catalog to update does not exist,
a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getCatalogBuilder()
public Catalog.Builder getCatalogBuilder()
Required. The Catalog to update.
If the caller does not have permission to update the
Catalog, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the Catalog to update does not exist,
a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getCatalogOrBuilder()
public CatalogOrBuilder getCatalogOrBuilder()
Required. The Catalog to update.
If the caller does not have permission to update the
Catalog, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the Catalog to update does not exist,
a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateCatalogRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Indicates which fields in the provided
Catalog to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Indicates which fields in the provided
Catalog to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided
Catalog to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasCatalog()
public boolean hasCatalog()
Required. The Catalog to update.
If the caller does not have permission to update the
Catalog, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the Catalog to update does not exist,
a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the catalog field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Indicates which fields in the provided
Catalog to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCatalog(Catalog value)
public UpdateCatalogRequest.Builder mergeCatalog(Catalog value)
Required. The Catalog to update.
If the caller does not have permission to update the
Catalog, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the Catalog to update does not exist,
a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateCatalogRequest other)
public UpdateCatalogRequest.Builder mergeFrom(UpdateCatalogRequest other)
Parameter
Returns
public UpdateCatalogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateCatalogRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCatalogRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCatalogRequest.Builder mergeUpdateMask(FieldMask value)
Indicates which fields in the provided
Catalog to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setCatalog(Catalog value)
public UpdateCatalogRequest.Builder setCatalog(Catalog value)
Required. The Catalog to update.
If the caller does not have permission to update the
Catalog, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the Catalog to update does not exist,
a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setCatalog(Catalog.Builder builderForValue)
public UpdateCatalogRequest.Builder setCatalog(Catalog.Builder builderForValue)
Required. The Catalog to update.
If the caller does not have permission to update the
Catalog, regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the Catalog to update does not exist,
a NOT_FOUND error is returned.
.google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCatalogRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCatalogRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCatalogRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateCatalogRequest.Builder setUpdateMask(FieldMask value)
Indicates which fields in the provided
Catalog to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCatalogRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Indicates which fields in the provided
Catalog to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns