public static final class UpdateCatalogItemRequest.Builder extends GeneratedMessage.Builder<UpdateCatalogItemRequest.Builder> implements UpdateCatalogItemRequestOrBuilderRequest message for UpdateCatalogItem method.
Protobuf type google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateCatalogItemRequest.BuilderImplements
UpdateCatalogItemRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateCatalogItemRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest |
|
buildPartial()
public UpdateCatalogItemRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest |
|
clear()
public UpdateCatalogItemRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
clearCatalogItem()
public UpdateCatalogItemRequest.Builder clearCatalogItem()Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
clearName()
public UpdateCatalogItemRequest.Builder clearName() Required. Full resource name of catalog item, such as
projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateCatalogItemRequest.Builder clearUpdateMask()Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
getCatalogItem()
public CatalogItem getCatalogItem()Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogItem |
The catalogItem. |
getCatalogItemBuilder()
public CatalogItem.Builder getCatalogItemBuilder()Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogItem.Builder |
|
getCatalogItemOrBuilder()
public CatalogItemOrBuilder getCatalogItemOrBuilder()Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogItemOrBuilder |
|
getDefaultInstanceForType()
public UpdateCatalogItemRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. Full resource name of catalog item, such as
projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. Full resource name of catalog item, such as
projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateMask()
public FieldMask getUpdateMask()Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasCatalogItem()
public boolean hasCatalogItem()Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the catalogItem field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 3;
| 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 |
|
mergeCatalogItem(CatalogItem value)
public UpdateCatalogItemRequest.Builder mergeCatalogItem(CatalogItem value)Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CatalogItem |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
mergeFrom(UpdateCatalogItemRequest other)
public UpdateCatalogItemRequest.Builder mergeFrom(UpdateCatalogItemRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateCatalogItemRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateCatalogItemRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateCatalogItemRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateCatalogItemRequest.Builder mergeUpdateMask(FieldMask value)Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
setCatalogItem(CatalogItem value)
public UpdateCatalogItemRequest.Builder setCatalogItem(CatalogItem value)Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CatalogItem |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
setCatalogItem(CatalogItem.Builder builderForValue)
public UpdateCatalogItemRequest.Builder setCatalogItem(CatalogItem.Builder builderForValue)Required. The catalog item to update/create. The 'catalog_item_id' field has to match that in the 'name'.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CatalogItem.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
setName(String value)
public UpdateCatalogItemRequest.Builder setName(String value) Required. Full resource name of catalog item, such as
projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UpdateCatalogItemRequest.Builder setNameBytes(ByteString value) Required. Full resource name of catalog item, such as
projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
This builder for chaining. |
setUpdateMask(FieldMask value)
public UpdateCatalogItemRequest.Builder setUpdateMask(FieldMask value)Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCatalogItemRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateCatalogItemRequest.Builder |
|