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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCatalogRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCatalogRequest build()
buildPartial()
public UpdateCatalogRequest buildPartial()
clear()
public UpdateCatalogRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateCatalogRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCatalogRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public UpdateCatalogRequest.Builder clone()
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 |
---|
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.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];
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];
getDefaultInstanceForType()
public UpdateCatalogRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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 |
---|
Name | Description |
value | Catalog
|
mergeFrom(UpdateCatalogRequest other)
public UpdateCatalogRequest.Builder mergeFrom(UpdateCatalogRequest other)
public UpdateCatalogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCatalogRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCatalogRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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 |
---|
Name | Description |
value | Catalog
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCatalogRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCatalogRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCatalogRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|