- 0.55.0 (latest)
- 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 Version.Builder extends GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilder
The consumer representation of a version which is a child resource under a
Product
with asset data.
Protobuf type google.cloud.privatecatalog.v1beta1.Version
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Version.BuilderImplements
VersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
build()
public Version build()
Returns | |
---|---|
Type | Description |
Version |
buildPartial()
public Version buildPartial()
Returns | |
---|---|
Type | Description |
Version |
clear()
public Version.Builder clear()
Returns | |
---|---|
Type | Description |
Version.Builder |
clearAsset()
public Version.Builder clearAsset()
Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
.google.protobuf.Struct asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder |
clearCreateTime()
public Version.Builder clearCreateTime()
Output only. The time when the version was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder |
clearDescription()
public Version.Builder clearDescription()
Output only. The user-supplied description of the version. Maximum of 256 characters.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Version.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Version.Builder |
clearName()
public Version.Builder clearName()
Output only. The resource name of the version, in the format `catalogs/{catalog}/products/{product}/versions/a-z*[a-z0-9]'. A unique identifier for the version under a product.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Version.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Version.Builder |
clearUpdateTime()
public Version.Builder clearUpdateTime()
Output only. The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder |
clone()
public Version.Builder clone()
Returns | |
---|---|
Type | Description |
Version.Builder |
getAsset()
public Struct getAsset()
Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
.google.protobuf.Struct asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Struct | The asset. |
getAssetBuilder()
public Struct.Builder getAssetBuilder()
Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
.google.protobuf.Struct asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getAssetOrBuilder()
public StructOrBuilder getAssetOrBuilder()
Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
.google.protobuf.Struct asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the version 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 version 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 version was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Version getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Version |
getDescription()
public String getDescription()
Output only. The user-supplied description of the version. Maximum of 256 characters.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Output only. The user-supplied description of the version. Maximum of 256 characters.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Output only. The resource name of the version, in the format `catalogs/{catalog}/products/{product}/versions/a-z*[a-z0-9]'. A unique identifier for the version under a product.
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 version, in the format `catalogs/{catalog}/products/{product}/versions/a-z*[a-z0-9]'. A unique identifier for the version under a product.
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 version 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 version 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 version was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasAsset()
public boolean hasAsset()
Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
.google.protobuf.Struct asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the asset field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the version was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time when the version 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 |
mergeAsset(Struct value)
public Version.Builder mergeAsset(Struct value)
Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
.google.protobuf.Struct asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Struct |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeCreateTime(Timestamp value)
public Version.Builder mergeCreateTime(Timestamp value)
Output only. The time when the version was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeFrom(Version other)
public Version.Builder mergeFrom(Version other)
Parameter | |
---|---|
Name | Description |
other | Version |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Version.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Version.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Version.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeUpdateTime(Timestamp value)
public Version.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
setAsset(Struct value)
public Version.Builder setAsset(Struct value)
Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
.google.protobuf.Struct asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Struct |
Returns | |
---|---|
Type | Description |
Version.Builder |
setAsset(Struct.Builder builderForValue)
public Version.Builder setAsset(Struct.Builder builderForValue)
Output only. The asset which has been validated and is ready to be provisioned. See [google.cloud.privatecatalogproducer.v1beta.Version.asset][] for details.
.google.protobuf.Struct asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
setCreateTime(Timestamp value)
public Version.Builder setCreateTime(Timestamp value)
Output only. The time when the version was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Version.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the version was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
setDescription(String value)
public Version.Builder setDescription(String value)
Output only. The user-supplied description of the version. Maximum of 256 characters.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
Version.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Version.Builder setDescriptionBytes(ByteString value)
Output only. The user-supplied description of the version. Maximum of 256 characters.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Version.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
setName(String value)
public Version.Builder setName(String value)
Output only. The resource name of the version, in the format `catalogs/{catalog}/products/{product}/versions/a-z*[a-z0-9]'. A unique identifier for the version under a product.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Version.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Version.Builder setNameBytes(ByteString value)
Output only. The resource name of the version, in the format `catalogs/{catalog}/products/{product}/versions/a-z*[a-z0-9]'. A unique identifier for the version under a product.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Version.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Version.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Version.Builder |
setUpdateTime(Timestamp value)
public Version.Builder setUpdateTime(Timestamp value)
Output only. The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Version.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |