public static final class UpdateCatalogRequest.Builder extends GeneratedMessage.Builder<UpdateCatalogRequest.Builder> implements UpdateCatalogRequestOrBuilderRequest for CatalogService.UpdateCatalog method.
Protobuf type google.cloud.retail.v2beta.UpdateCatalogRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateCatalogRequest.BuilderImplements
UpdateCatalogRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateCatalogRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest |
|
buildPartial()
public UpdateCatalogRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest |
|
clear()
public UpdateCatalogRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
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.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
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.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Catalog |
The catalog. |
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.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Catalog.Builder |
|
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.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogOrBuilder |
|
getDefaultInstanceForType()
public UpdateCatalogRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
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 | |
|---|---|
| Type | Description |
Builder |
|
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 | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
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.v2beta.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Catalog |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
mergeFrom(UpdateCatalogRequest other)
public UpdateCatalogRequest.Builder mergeFrom(UpdateCatalogRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateCatalogRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateCatalogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateCatalogRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
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.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Catalog |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
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.v2beta.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Catalog.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateCatalogRequest.Builder |
|