public static final class CreateCatalogItemRequest.Builder extends GeneratedMessageV3.Builder<CreateCatalogItemRequest.Builder> implements CreateCatalogItemRequestOrBuilder
Request message for CreateCatalogItem method.
Protobuf type google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest
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 CreateCatalogItemRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateCatalogItemRequest build()
buildPartial()
public CreateCatalogItemRequest buildPartial()
clear()
public CreateCatalogItemRequest.Builder clear()
Overrides
clearCatalogItem()
public CreateCatalogItemRequest.Builder clearCatalogItem()
Required. The catalog item to create.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateCatalogItemRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCatalogItemRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateCatalogItemRequest.Builder clearParent()
Required. The parent catalog resource name, such as
projects/*/locations/global/catalogs/default_catalog
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateCatalogItemRequest.Builder clone()
Overrides
getCatalogItem()
public CatalogItem getCatalogItem()
Required. The catalog item to create.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
getCatalogItemBuilder()
public CatalogItem.Builder getCatalogItemBuilder()
Required. The catalog item to create.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
getCatalogItemOrBuilder()
public CatalogItemOrBuilder getCatalogItemOrBuilder()
Required. The catalog item to create.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateCatalogItemRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent catalog resource name, such as
projects/*/locations/global/catalogs/default_catalog
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent catalog resource name, such as
projects/*/locations/global/catalogs/default_catalog
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasCatalogItem()
public boolean hasCatalogItem()
Required. The catalog item to create.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the catalogItem field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCatalogItem(CatalogItem value)
public CreateCatalogItemRequest.Builder mergeCatalogItem(CatalogItem value)
Required. The catalog item to create.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateCatalogItemRequest other)
public CreateCatalogItemRequest.Builder mergeFrom(CreateCatalogItemRequest other)
public CreateCatalogItemRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateCatalogItemRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCatalogItemRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCatalogItem(CatalogItem value)
public CreateCatalogItemRequest.Builder setCatalogItem(CatalogItem value)
Required. The catalog item to create.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
setCatalogItem(CatalogItem.Builder builderForValue)
public CreateCatalogItemRequest.Builder setCatalogItem(CatalogItem.Builder builderForValue)
Required. The catalog item to create.
.google.cloud.recommendationengine.v1beta1.CatalogItem catalog_item = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCatalogItemRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateCatalogItemRequest.Builder setParent(String value)
Required. The parent catalog resource name, such as
projects/*/locations/global/catalogs/default_catalog
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateCatalogItemRequest.Builder setParentBytes(ByteString value)
Required. The parent catalog resource name, such as
projects/*/locations/global/catalogs/default_catalog
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCatalogItemRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCatalogItemRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides