Class AssetReference.Builder (0.49.0)

public static final class AssetReference.Builder extends GeneratedMessageV3.Builder<AssetReference.Builder> implements AssetReferenceOrBuilder

Defines the reference of an asset belonging to a product.

Protobuf type google.cloud.privatecatalog.v1beta1.AssetReference

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssetReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssetReference.Builder
Overrides

build()

public AssetReference build()
Returns
Type Description
AssetReference

buildPartial()

public AssetReference buildPartial()
Returns
Type Description
AssetReference

clear()

public AssetReference.Builder clear()
Returns
Type Description
AssetReference.Builder
Overrides

clearAsset()

public AssetReference.Builder clearAsset()

Output only. The asset resource name if an asset is hosted by Private Catalog.

string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

This builder for chaining.

clearCreateTime()

public AssetReference.Builder clearCreateTime()

Output only. The creation timestamp of the asset reference.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

clearDescription()

public AssetReference.Builder clearDescription()

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AssetReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AssetReference.Builder
Overrides

clearGcsPath() (deprecated)

public AssetReference.Builder clearGcsPath()

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.gcs_path is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=461

Output only. The cloud storage object path.

string gcs_path = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

This builder for chaining.

clearGcsSource()

public AssetReference.Builder clearGcsSource()

Output only. The cloud storage source.

.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

clearGitSource()

public AssetReference.Builder clearGitSource()

Output only. The git source.

.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

clearId()

public AssetReference.Builder clearId()

Output only. A unique identifier among asset references in a product.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

This builder for chaining.

clearInputs()

public AssetReference.Builder clearInputs()

Output only. The definition of input parameters to hydrate the asset template.

.google.cloud.privatecatalog.v1beta1.Inputs inputs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AssetReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AssetReference.Builder
Overrides

clearSource()

public AssetReference.Builder clearSource()
Returns
Type Description
AssetReference.Builder

clearUpdateTime()

public AssetReference.Builder clearUpdateTime()

Output only. The last update timestamp of the asset reference.

.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

clearValidationOperation()

public AssetReference.Builder clearValidationOperation()

Output only. The validation process metadata.

.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

clearValidationStatus()

public AssetReference.Builder clearValidationStatus()

Output only. The current state of the asset reference.

.google.cloud.privatecatalog.v1beta1.AssetReference.AssetValidationState validation_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.Builder

This builder for chaining.

clearVersion() (deprecated)

public AssetReference.Builder clearVersion()

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.version is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=480

The version of the source used for this asset reference.

string version = 14 [deprecated = true];

Returns
Type Description
AssetReference.Builder

This builder for chaining.

clone()

public AssetReference.Builder clone()
Returns
Type Description
AssetReference.Builder
Overrides

getAsset()

public String getAsset()

Output only. The asset resource name if an asset is hosted by Private Catalog.

string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The asset.

getAssetBytes()

public ByteString getAssetBytes()

Output only. The asset resource name if an asset is hosted by Private Catalog.

string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for asset.

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation timestamp of the asset reference.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation timestamp of the asset reference.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of the asset reference.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AssetReference getDefaultInstanceForType()
Returns
Type Description
AssetReference

getDescription()

public String getDescription()

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

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
Overrides

getGcsPath() (deprecated)

public String getGcsPath()

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.gcs_path is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=461

Output only. The cloud storage object path.

string gcs_path = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The gcsPath.

getGcsPathBytes() (deprecated)

public ByteString getGcsPathBytes()

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.gcs_path is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=461

Output only. The cloud storage object path.

string gcs_path = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for gcsPath.

getGcsSource()

public GcsSource getGcsSource()

Output only. The cloud storage source.

.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Output only. The cloud storage source.

.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Output only. The cloud storage source.

.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsSourceOrBuilder

getGitSource()

public GitSource getGitSource()

Output only. The git source.

.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GitSource

The gitSource.

getGitSourceBuilder()

public GitSource.Builder getGitSourceBuilder()

Output only. The git source.

.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GitSource.Builder

getGitSourceOrBuilder()

public GitSourceOrBuilder getGitSourceOrBuilder()

Output only. The git source.

.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GitSourceOrBuilder

getId()

public String getId()

Output only. A unique identifier among asset references in a product.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. A unique identifier among asset references in a product.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for id.

getInputs()

public Inputs getInputs()

Output only. The definition of input parameters to hydrate the asset template.

.google.cloud.privatecatalog.v1beta1.Inputs inputs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Inputs

The inputs.

getInputsBuilder()

public Inputs.Builder getInputsBuilder()

Output only. The definition of input parameters to hydrate the asset template.

.google.cloud.privatecatalog.v1beta1.Inputs inputs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Inputs.Builder

getInputsOrBuilder()

public InputsOrBuilder getInputsOrBuilder()

Output only. The definition of input parameters to hydrate the asset template.

.google.cloud.privatecatalog.v1beta1.Inputs inputs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
InputsOrBuilder

getSourceCase()

public AssetReference.SourceCase getSourceCase()
Returns
Type Description
AssetReference.SourceCase

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last update timestamp of the asset reference.

.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The last update timestamp of the asset reference.

.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update timestamp of the asset reference.

.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getValidationOperation()

public Operation getValidationOperation()

Output only. The validation process metadata.

.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Operation

The validationOperation.

getValidationOperationBuilder()

public Operation.Builder getValidationOperationBuilder()

Output only. The validation process metadata.

.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getValidationOperationOrBuilder()

public OperationOrBuilder getValidationOperationOrBuilder()

Output only. The validation process metadata.

.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OperationOrBuilder

getValidationStatus()

public AssetReference.AssetValidationState getValidationStatus()

Output only. The current state of the asset reference.

.google.cloud.privatecatalog.v1beta1.AssetReference.AssetValidationState validation_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AssetReference.AssetValidationState

The validationStatus.

getValidationStatusValue()

public int getValidationStatusValue()

Output only. The current state of the asset reference.

.google.cloud.privatecatalog.v1beta1.AssetReference.AssetValidationState validation_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for validationStatus.

getVersion() (deprecated)

public String getVersion()

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.version is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=480

The version of the source used for this asset reference.

string version = 14 [deprecated = true];

Returns
Type Description
String

The version.

getVersionBytes() (deprecated)

public ByteString getVersionBytes()

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.version is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=480

The version of the source used for this asset reference.

string version = 14 [deprecated = true];

Returns
Type Description
ByteString

The bytes for version.

hasAsset()

public boolean hasAsset()

Output only. The asset resource name if an asset is hosted by Private Catalog.

string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the asset field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation timestamp of the asset reference.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasGcsPath() (deprecated)

public boolean hasGcsPath()

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.gcs_path is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=461

Output only. The cloud storage object path.

string gcs_path = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the gcsPath field is set.

hasGcsSource()

public boolean hasGcsSource()

Output only. The cloud storage source.

.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasGitSource()

public boolean hasGitSource()

Output only. The git source.

.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the gitSource field is set.

hasInputs()

public boolean hasInputs()

Output only. The definition of input parameters to hydrate the asset template.

.google.cloud.privatecatalog.v1beta1.Inputs inputs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the inputs field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last update timestamp of the asset reference.

.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasValidationOperation()

public boolean hasValidationOperation()

Output only. The validation process metadata.

.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the validationOperation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public AssetReference.Builder mergeCreateTime(Timestamp value)

Output only. The creation timestamp of the asset reference.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AssetReference.Builder

mergeFrom(AssetReference other)

public AssetReference.Builder mergeFrom(AssetReference other)
Parameter
Name Description
other AssetReference
Returns
Type Description
AssetReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AssetReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssetReference.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AssetReference.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AssetReference.Builder
Overrides

mergeGcsSource(GcsSource value)

public AssetReference.Builder mergeGcsSource(GcsSource value)

Output only. The cloud storage source.

.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GcsSource
Returns
Type Description
AssetReference.Builder

mergeGitSource(GitSource value)

public AssetReference.Builder mergeGitSource(GitSource value)

Output only. The git source.

.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GitSource
Returns
Type Description
AssetReference.Builder

mergeInputs(Inputs value)

public AssetReference.Builder mergeInputs(Inputs value)

Output only. The definition of input parameters to hydrate the asset template.

.google.cloud.privatecatalog.v1beta1.Inputs inputs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Inputs
Returns
Type Description
AssetReference.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssetReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssetReference.Builder
Overrides

mergeUpdateTime(Timestamp value)

public AssetReference.Builder mergeUpdateTime(Timestamp value)

Output only. The last update timestamp of the asset reference.

.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AssetReference.Builder

mergeValidationOperation(Operation value)

public AssetReference.Builder mergeValidationOperation(Operation value)

Output only. The validation process metadata.

.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Operation
Returns
Type Description
AssetReference.Builder

setAsset(String value)

public AssetReference.Builder setAsset(String value)

Output only. The asset resource name if an asset is hosted by Private Catalog.

string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The asset to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setAssetBytes(ByteString value)

public AssetReference.Builder setAssetBytes(ByteString value)

Output only. The asset resource name if an asset is hosted by Private Catalog.

string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for asset to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public AssetReference.Builder setCreateTime(Timestamp value)

Output only. The creation timestamp of the asset reference.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AssetReference.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AssetReference.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation timestamp of the asset reference.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AssetReference.Builder

setDescription(String value)

public AssetReference.Builder setDescription(String value)

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public AssetReference.Builder setDescriptionBytes(ByteString value)

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AssetReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssetReference.Builder
Overrides

setGcsPath(String value) (deprecated)

public AssetReference.Builder setGcsPath(String value)

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.gcs_path is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=461

Output only. The cloud storage object path.

string gcs_path = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The gcsPath to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setGcsPathBytes(ByteString value) (deprecated)

public AssetReference.Builder setGcsPathBytes(ByteString value)

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.gcs_path is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=461

Output only. The cloud storage object path.

string gcs_path = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for gcsPath to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setGcsSource(GcsSource value)

public AssetReference.Builder setGcsSource(GcsSource value)

Output only. The cloud storage source.

.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GcsSource
Returns
Type Description
AssetReference.Builder

setGcsSource(GcsSource.Builder builderForValue)

public AssetReference.Builder setGcsSource(GcsSource.Builder builderForValue)

Output only. The cloud storage source.

.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
AssetReference.Builder

setGitSource(GitSource value)

public AssetReference.Builder setGitSource(GitSource value)

Output only. The git source.

.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GitSource
Returns
Type Description
AssetReference.Builder

setGitSource(GitSource.Builder builderForValue)

public AssetReference.Builder setGitSource(GitSource.Builder builderForValue)

Output only. The git source.

.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue GitSource.Builder
Returns
Type Description
AssetReference.Builder

setId(String value)

public AssetReference.Builder setId(String value)

Output only. A unique identifier among asset references in a product.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setIdBytes(ByteString value)

public AssetReference.Builder setIdBytes(ByteString value)

Output only. A unique identifier among asset references in a product.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setInputs(Inputs value)

public AssetReference.Builder setInputs(Inputs value)

Output only. The definition of input parameters to hydrate the asset template.

.google.cloud.privatecatalog.v1beta1.Inputs inputs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Inputs
Returns
Type Description
AssetReference.Builder

setInputs(Inputs.Builder builderForValue)

public AssetReference.Builder setInputs(Inputs.Builder builderForValue)

Output only. The definition of input parameters to hydrate the asset template.

.google.cloud.privatecatalog.v1beta1.Inputs inputs = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Inputs.Builder
Returns
Type Description
AssetReference.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AssetReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AssetReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AssetReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssetReference.Builder
Overrides

setUpdateTime(Timestamp value)

public AssetReference.Builder setUpdateTime(Timestamp value)

Output only. The last update timestamp of the asset reference.

.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AssetReference.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AssetReference.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The last update timestamp of the asset reference.

.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AssetReference.Builder

setValidationOperation(Operation value)

public AssetReference.Builder setValidationOperation(Operation value)

Output only. The validation process metadata.

.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Operation
Returns
Type Description
AssetReference.Builder

setValidationOperation(Operation.Builder builderForValue)

public AssetReference.Builder setValidationOperation(Operation.Builder builderForValue)

Output only. The validation process metadata.

.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AssetReference.Builder

setValidationStatus(AssetReference.AssetValidationState value)

public AssetReference.Builder setValidationStatus(AssetReference.AssetValidationState value)

Output only. The current state of the asset reference.

.google.cloud.privatecatalog.v1beta1.AssetReference.AssetValidationState validation_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AssetReference.AssetValidationState

The validationStatus to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setValidationStatusValue(int value)

public AssetReference.Builder setValidationStatusValue(int value)

Output only. The current state of the asset reference.

.google.cloud.privatecatalog.v1beta1.AssetReference.AssetValidationState validation_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for validationStatus to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setVersion(String value) (deprecated)

public AssetReference.Builder setVersion(String value)

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.version is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=480

The version of the source used for this asset reference.

string version = 14 [deprecated = true];

Parameter
Name Description
value String

The version to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.

setVersionBytes(ByteString value) (deprecated)

public AssetReference.Builder setVersionBytes(ByteString value)

Deprecated. google.cloud.privatecatalog.v1beta1.AssetReference.version is deprecated. See google/cloud/privatecatalog/v1beta1/private_catalog.proto;l=480

The version of the source used for this asset reference.

string version = 14 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
AssetReference.Builder

This builder for chaining.