- 0.56.0 (latest)
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.7
public static final class Product.Builder extends GeneratedMessageV3.Builder<Product.Builder> implements ProductOrBuilder
The readonly representation of a product computed with a given resource context.
Protobuf type google.cloud.privatecatalog.v1beta1.Product
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Product.BuilderImplements
ProductOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAssetReferences(Iterable<? extends AssetReference> values)
public Product.Builder addAllAssetReferences(Iterable<? extends AssetReference> values)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.privatecatalog.v1beta1.AssetReference> |
Returns | |
---|---|
Type | Description |
Product.Builder |
addAssetReferences(AssetReference value)
public Product.Builder addAssetReferences(AssetReference value)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
AssetReference |
Returns | |
---|---|
Type | Description |
Product.Builder |
addAssetReferences(AssetReference.Builder builderForValue)
public Product.Builder addAssetReferences(AssetReference.Builder builderForValue)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
AssetReference.Builder |
Returns | |
---|---|
Type | Description |
Product.Builder |
addAssetReferences(int index, AssetReference value)
public Product.Builder addAssetReferences(int index, AssetReference value)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AssetReference |
Returns | |
---|---|
Type | Description |
Product.Builder |
addAssetReferences(int index, AssetReference.Builder builderForValue)
public Product.Builder addAssetReferences(int index, AssetReference.Builder builderForValue)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AssetReference.Builder |
Returns | |
---|---|
Type | Description |
Product.Builder |
addAssetReferencesBuilder()
public AssetReference.Builder addAssetReferencesBuilder()
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AssetReference.Builder |
addAssetReferencesBuilder(int index)
public AssetReference.Builder addAssetReferencesBuilder(int index)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AssetReference.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Product.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Product.Builder |
build()
public Product build()
Returns | |
---|---|
Type | Description |
Product |
buildPartial()
public Product buildPartial()
Returns | |
---|---|
Type | Description |
Product |
clear()
public Product.Builder clear()
Returns | |
---|---|
Type | Description |
Product.Builder |
clearAssetReferences()
public Product.Builder clearAssetReferences()
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Product.Builder |
clearAssetType()
public Product.Builder clearAssetType()
Output only. The type of the product asset. It can be one of the following values:
google.deploymentmanager.Template
google.cloudprivatecatalog.ListingOnly
google.cloudprivatecatalog.Terraform
string asset_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
clearCreateTime()
public Product.Builder clearCreateTime()
Output only. The time when the product was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Product.Builder |
clearDisplayMetadata()
public Product.Builder clearDisplayMetadata()
Required. Output only. The display metadata to describe the product. The JSON schema of the
metadata differs by Product.asset_type.
When the type is google.deploymentmanager.Template
, the schema is as
follows:
`
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
required:
- name
description additionalProperties: false
When the asset type is
google.cloudprivatecatalog.ListingOnly, the schema
is as follows:
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
signup_url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
required:
name
description
signup_url
additionalProperties: false
When the asset type is
google.cloudprivatecatalog.Terraform, the schema
is as follows:
`` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:
.google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Product.Builder |
clearField(Descriptors.FieldDescriptor field)
public Product.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Product.Builder |
clearIconUri()
public Product.Builder clearIconUri()
Output only. The icon URI of the product.
string icon_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
clearName()
public Product.Builder clearName()
Output only. The resource name of the target product, in the format of `products/a-z*[a-z0-9]'.
A unique identifier for the product under a catalog.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Product.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Product.Builder |
clearUpdateTime()
public Product.Builder clearUpdateTime()
Output only. The time when the product was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Product.Builder |
clone()
public Product.Builder clone()
Returns | |
---|---|
Type | Description |
Product.Builder |
getAssetReferences(int index)
public AssetReference getAssetReferences(int index)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AssetReference |
getAssetReferencesBuilder(int index)
public AssetReference.Builder getAssetReferencesBuilder(int index)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AssetReference.Builder |
getAssetReferencesBuilderList()
public List<AssetReference.Builder> getAssetReferencesBuilderList()
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getAssetReferencesCount()
public int getAssetReferencesCount()
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getAssetReferencesList()
public List<AssetReference> getAssetReferencesList()
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<AssetReference> |
getAssetReferencesOrBuilder(int index)
public AssetReferenceOrBuilder getAssetReferencesOrBuilder(int index)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AssetReferenceOrBuilder |
getAssetReferencesOrBuilderList()
public List<? extends AssetReferenceOrBuilder> getAssetReferencesOrBuilderList()
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.privatecatalog.v1beta1.AssetReferenceOrBuilder> |
getAssetType()
public String getAssetType()
Output only. The type of the product asset. It can be one of the following values:
google.deploymentmanager.Template
google.cloudprivatecatalog.ListingOnly
google.cloudprivatecatalog.Terraform
string asset_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The assetType. |
getAssetTypeBytes()
public ByteString getAssetTypeBytes()
Output only. The type of the product asset. It can be one of the following values:
google.deploymentmanager.Template
google.cloudprivatecatalog.ListingOnly
google.cloudprivatecatalog.Terraform
string asset_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for assetType. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the product was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the product was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the product was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Product getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Product |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayMetadata()
public Struct getDisplayMetadata()
Required. Output only. The display metadata to describe the product. The JSON schema of the
metadata differs by Product.asset_type.
When the type is google.deploymentmanager.Template
, the schema is as
follows:
`
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
required:
- name
description additionalProperties: false
When the asset type is
google.cloudprivatecatalog.ListingOnly, the schema
is as follows:
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
signup_url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
required:
name
description
signup_url
additionalProperties: false
When the asset type is
google.cloudprivatecatalog.Terraform, the schema
is as follows:
`` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:
.google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Struct |
The displayMetadata. |
getDisplayMetadataBuilder()
public Struct.Builder getDisplayMetadataBuilder()
Required. Output only. The display metadata to describe the product. The JSON schema of the
metadata differs by Product.asset_type.
When the type is google.deploymentmanager.Template
, the schema is as
follows:
`
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
required:
- name
description additionalProperties: false
When the asset type is
google.cloudprivatecatalog.ListingOnly, the schema
is as follows:
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
signup_url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
required:
name
description
signup_url
additionalProperties: false
When the asset type is
google.cloudprivatecatalog.Terraform, the schema
is as follows:
`` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:
.google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getDisplayMetadataOrBuilder()
public StructOrBuilder getDisplayMetadataOrBuilder()
Required. Output only. The display metadata to describe the product. The JSON schema of the
metadata differs by Product.asset_type.
When the type is google.deploymentmanager.Template
, the schema is as
follows:
`
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
required:
- name
description additionalProperties: false
When the asset type is
google.cloudprivatecatalog.ListingOnly, the schema
is as follows:
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
signup_url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
required:
name
description
signup_url
additionalProperties: false
When the asset type is
google.cloudprivatecatalog.Terraform, the schema
is as follows:
`` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:
.google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getIconUri()
public String getIconUri()
Output only. The icon URI of the product.
string icon_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The iconUri. |
getIconUriBytes()
public ByteString getIconUriBytes()
Output only. The icon URI of the product.
string icon_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for iconUri. |
getName()
public String getName()
Output only. The resource name of the target product, in the format of `products/a-z*[a-z0-9]'.
A unique identifier for the product under a catalog.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the target product, in the format of `products/a-z*[a-z0-9]'.
A unique identifier for the product under a catalog.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the product was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the product was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the product was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the product was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDisplayMetadata()
public boolean hasDisplayMetadata()
Required. Output only. The display metadata to describe the product. The JSON schema of the
metadata differs by Product.asset_type.
When the type is google.deploymentmanager.Template
, the schema is as
follows:
`
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
required:
- name
description additionalProperties: false
When the asset type is
google.cloudprivatecatalog.ListingOnly, the schema
is as follows:
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
signup_url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
required:
name
description
signup_url
additionalProperties: false
When the asset type is
google.cloudprivatecatalog.Terraform, the schema
is as follows:
`` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:
.google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the displayMetadata field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time when the product was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Product.Builder mergeCreateTime(Timestamp value)
Output only. The time when the product was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Product.Builder |
mergeDisplayMetadata(Struct value)
public Product.Builder mergeDisplayMetadata(Struct value)
Required. Output only. The display metadata to describe the product. The JSON schema of the
metadata differs by Product.asset_type.
When the type is google.deploymentmanager.Template
, the schema is as
follows:
`
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
required:
- name
description additionalProperties: false
When the asset type is
google.cloudprivatecatalog.ListingOnly, the schema
is as follows:
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
signup_url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
required:
name
description
signup_url
additionalProperties: false
When the asset type is
google.cloudprivatecatalog.Terraform, the schema
is as follows:
`` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:
.google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
Product.Builder |
mergeFrom(Product other)
public Product.Builder mergeFrom(Product other)
Parameter | |
---|---|
Name | Description |
other |
Product |
Returns | |
---|---|
Type | Description |
Product.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Product.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Product.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Product.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Product.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Product.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Product.Builder |
mergeUpdateTime(Timestamp value)
public Product.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the product was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Product.Builder |
removeAssetReferences(int index)
public Product.Builder removeAssetReferences(int index)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Product.Builder |
setAssetReferences(int index, AssetReference value)
public Product.Builder setAssetReferences(int index, AssetReference value)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AssetReference |
Returns | |
---|---|
Type | Description |
Product.Builder |
setAssetReferences(int index, AssetReference.Builder builderForValue)
public Product.Builder setAssetReferences(int index, AssetReference.Builder builderForValue)
Output only. A collection of assets referred by a product. This field is set for Terraform Products only.
repeated .google.cloud.privatecatalog.v1beta1.AssetReference asset_references = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AssetReference.Builder |
Returns | |
---|---|
Type | Description |
Product.Builder |
setAssetType(String value)
public Product.Builder setAssetType(String value)
Output only. The type of the product asset. It can be one of the following values:
google.deploymentmanager.Template
google.cloudprivatecatalog.ListingOnly
google.cloudprivatecatalog.Terraform
string asset_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The assetType to set. |
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
setAssetTypeBytes(ByteString value)
public Product.Builder setAssetTypeBytes(ByteString value)
Output only. The type of the product asset. It can be one of the following values:
google.deploymentmanager.Template
google.cloudprivatecatalog.ListingOnly
google.cloudprivatecatalog.Terraform
string asset_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for assetType to set. |
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public Product.Builder setCreateTime(Timestamp value)
Output only. The time when the product was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Product.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Product.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the product was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Product.Builder |
setDisplayMetadata(Struct value)
public Product.Builder setDisplayMetadata(Struct value)
Required. Output only. The display metadata to describe the product. The JSON schema of the
metadata differs by Product.asset_type.
When the type is google.deploymentmanager.Template
, the schema is as
follows:
`
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
required:
- name
description additionalProperties: false
When the asset type is
google.cloudprivatecatalog.ListingOnly, the schema
is as follows:
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
signup_url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
required:
name
description
signup_url
additionalProperties: false
When the asset type is
google.cloudprivatecatalog.Terraform, the schema
is as follows:
`` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:
.google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
Product.Builder |
setDisplayMetadata(Struct.Builder builderForValue)
public Product.Builder setDisplayMetadata(Struct.Builder builderForValue)
Required. Output only. The display metadata to describe the product. The JSON schema of the
metadata differs by Product.asset_type.
When the type is google.deploymentmanager.Template
, the schema is as
follows:
`
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
required:
- name
description additionalProperties: false
When the asset type is
google.cloudprivatecatalog.ListingOnly, the schema
is as follows:
"$schema": http://json-schema.org/draft-04/schema#
type: object
properties:
name:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
tagline:
type: string
minLength: 1
maxLength: 100
support_info:
type: string
minLength: 1
maxLength: 2048
creator:
type: string
minLength: 1
maxLength: 100
documentations:
type: array
items:
type: object
properties:
url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
title:
type: string
minLength: 1
maxLength: 64
description:
type: string
minLength: 1
maxLength: 2048
signup_url:
type: string
pattern:
"^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]"
required:
name
description
signup_url
additionalProperties: false
When the asset type is
google.cloudprivatecatalog.Terraform, the schema
is as follows:
`` "$schema": http://json-schema.org/draft-04/schema# type: object properties: name: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 tagline: type: string minLength: 1 maxLength: 100 support_info: type: string minLength: 1 maxLength: 2048 creator: type: string minLength: 1 maxLength: 100 documentations: type: array items: type: object properties: url: type: string pattern: "^(https?)://[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]" title: type: string minLength: 1 maxLength: 64 description: type: string minLength: 1 maxLength: 2048 required:
.google.protobuf.Struct display_metadata = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Product.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Product.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Product.Builder |
setIconUri(String value)
public Product.Builder setIconUri(String value)
Output only. The icon URI of the product.
string icon_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The iconUri to set. |
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
setIconUriBytes(ByteString value)
public Product.Builder setIconUriBytes(ByteString value)
Output only. The icon URI of the product.
string icon_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for iconUri to set. |
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
setName(String value)
public Product.Builder setName(String value)
Output only. The resource name of the target product, in the format of `products/a-z*[a-z0-9]'.
A unique identifier for the product under a catalog.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Product.Builder setNameBytes(ByteString value)
Output only. The resource name of the target product, in the format of `products/a-z*[a-z0-9]'.
A unique identifier for the product under a catalog.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Product.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Product.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Product.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Product.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Product.Builder |
setUpdateTime(Timestamp value)
public Product.Builder setUpdateTime(Timestamp value)
Output only. The time when the product was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Product.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Product.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time when the product was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Product.Builder |