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 |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GCS_PATH_FIELD_NUMBER
public static final int GCS_PATH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GCS_SOURCE_FIELD_NUMBER
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GIT_SOURCE_FIELD_NUMBER
public static final int GIT_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INPUTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALIDATION_OPERATION_FIELD_NUMBER
public static final int VALIDATION_OPERATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALIDATION_STATUS_FIELD_NUMBER
public static final int VALIDATION_STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AssetReference getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AssetReference.Builder newBuilder()
newBuilder(AssetReference prototype)
public static AssetReference.Builder newBuilder(AssetReference prototype)
public static AssetReference parseDelimitedFrom(InputStream input)
public static AssetReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AssetReference parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssetReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AssetReference parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssetReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssetReference parseFrom(CodedInputStream input)
public static AssetReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AssetReference parseFrom(InputStream input)
public static AssetReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AssetReference parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssetReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AssetReference> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
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.
|
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];
getDefaultInstanceForType()
public AssetReference getDefaultInstanceForType()
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() (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.
|
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Output only. The cloud storage source.
.google.cloud.privatecatalog.v1beta1.GcsSource gcs_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.
|
getGitSourceOrBuilder()
public GitSourceOrBuilder getGitSourceOrBuilder()
Output only. The git source.
.google.cloud.privatecatalog.v1beta1.GitSource git_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getParserForType()
public Parser<AssetReference> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSourceCase()
public AssetReference.SourceCase getSourceCase()
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
Timestamp | The updateTime.
|
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];
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];
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];
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.
|
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AssetReference.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AssetReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AssetReference.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides