public final class AssetReference extends GeneratedMessageV3 implements AssetReferenceOrBuilder
Defines the reference of an asset belonging to a product.
Protobuf type google.cloud.privatecatalog.v1beta1.AssetReference
Static Fields
ASSET_FIELD_NUMBER
public static final int ASSET_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
GCS_PATH_FIELD_NUMBER
public static final int GCS_PATH_FIELD_NUMBER
Field Value
GCS_SOURCE_FIELD_NUMBER
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
GIT_SOURCE_FIELD_NUMBER
public static final int GIT_SOURCE_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
public static final int INPUTS_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
VALIDATION_OPERATION_FIELD_NUMBER
public static final int VALIDATION_OPERATION_FIELD_NUMBER
Field Value
VALIDATION_STATUS_FIELD_NUMBER
public static final int VALIDATION_STATUS_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AssetReference getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AssetReference.Builder newBuilder()
Returns
newBuilder(AssetReference prototype)
public static AssetReference.Builder newBuilder(AssetReference prototype)
Parameter
Returns
public static AssetReference parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AssetReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AssetReference parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssetReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AssetReference parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssetReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AssetReference parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AssetReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AssetReference parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AssetReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AssetReference parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssetReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AssetReference> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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
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
getDefaultInstanceForType()
public AssetReference getDefaultInstanceForType()
Returns
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.
|
getGcsPath()
public String getGcsPath()
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()
public ByteString getGcsPathBytes()
Output only. The cloud storage object path.
string gcs_path = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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
getGitSource()
public GitSource getGitSource()
Output only. The git source.
.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getGitSourceOrBuilder()
public GitSourceOrBuilder getGitSourceOrBuilder()
Output only. The git source.
.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getId()
Output only. A unique identifier among asset references in a product.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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.
|
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
getParserForType()
public Parser<AssetReference> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSourceCase()
public AssetReference.SourceCase getSourceCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
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.
|
getValidationOperationOrBuilder()
public OperationOrBuilder getValidationOperationOrBuilder()
Output only. The validation process metadata.
.google.longrunning.Operation validation_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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()
public String getVersion()
The version of the source used for this asset reference.
string version = 14 [deprecated = true];
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
The version of the source used for this asset reference.
string version = 14 [deprecated = true];
Returns
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()
public boolean hasGcsPath()
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.
|
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AssetReference.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AssetReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AssetReference.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions