Class AssetReference.Builder (0.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssetReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AssetReference.Builder
Overrides

build()

public AssetReference build()
Returns
TypeDescription
AssetReference

buildPartial()

public AssetReference buildPartial()
Returns
TypeDescription
AssetReference

clear()

public AssetReference.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AssetReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AssetReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AssetReference.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AssetReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AssetReference.Builder
Overrides

clearSource()

public AssetReference.Builder clearSource()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AssetReference.Builder

This builder for chaining.

clone()

public AssetReference.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public AssetReference getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InputsOrBuilder

getSourceCase()

public AssetReference.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getValidationOperation()

public Operation getValidationOperation()

Output only. The validation process metadata.

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

Returns
TypeDescription
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
TypeDescription
Builder

getValidationOperationOrBuilder()

public OperationOrBuilder getValidationOperationOrBuilder()

Output only. The validation process metadata.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the validationOperation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
AssetReference.Builder

mergeFrom(AssetReference other)

public AssetReference.Builder mergeFrom(AssetReference other)
Parameter
NameDescription
otherAssetReference
Returns
TypeDescription
AssetReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AssetReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssetReference.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AssetReference.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGcsSource
Returns
TypeDescription
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
NameDescription
valueGitSource
Returns
TypeDescription
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
NameDescription
valueInputs
Returns
TypeDescription
AssetReference.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssetReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueOperation
Returns
TypeDescription
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
NameDescription
valueString

The asset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for asset to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
AssetReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AssetReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsPath to set.

Returns
TypeDescription
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
NameDescription
valueGcsSource
Returns
TypeDescription
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
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
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
NameDescription
valueGitSource
Returns
TypeDescription
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
NameDescription
builderForValueGitSource.Builder
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
valueInputs
Returns
TypeDescription
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
NameDescription
builderForValueInputs.Builder
Returns
TypeDescription
AssetReference.Builder

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

public AssetReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AssetReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AssetReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueOperation
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueAssetReference.AssetValidationState

The validationStatus to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The version to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
AssetReference.Builder

This builder for chaining.