public static final class UpdateCatalogItemRequest.Builder extends GeneratedMessageV3.Builder<UpdateCatalogItemRequest.Builder> implements UpdateCatalogItemRequestOrBuilder
Request message for UpdateCatalogItem method.
Protobuf type google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 UpdateCatalogItemRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCatalogItemRequest build()
buildPartial()
public UpdateCatalogItemRequest buildPartial()
clear()
public UpdateCatalogItemRequest.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateCatalogItemRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCatalogItemRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public UpdateCatalogItemRequest.Builder clone()
Overrides
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];
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];
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];
getDefaultInstanceForType()
public UpdateCatalogItemRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(UpdateCatalogItemRequest other)
public UpdateCatalogItemRequest.Builder mergeFrom(UpdateCatalogItemRequest other)
public UpdateCatalogItemRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCatalogItemRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCatalogItemRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCatalogItemRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The name to set.
|
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 |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCatalogItemRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCatalogItemRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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
|