public interface ResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Hash |
getContentHash()
The hash of the resource content.
|
HashOrBuilder |
getContentHashOrBuilder()
The hash of the resource content.
|
String |
getName()
The name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the resource.
|
String |
getUri()
The unique URI of the resource.
|
com.google.protobuf.ByteString |
getUriBytes()
The unique URI of the resource.
|
boolean |
hasContentHash()
The hash of the resource content.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The name of the resource. For example, the name of a Docker image - "Debian".
string name = 1;com.google.protobuf.ByteString getNameBytes()
The name of the resource. For example, the name of a Docker image - "Debian".
string name = 1;String getUri()
The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
string uri = 2;com.google.protobuf.ByteString getUriBytes()
The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
string uri = 2;boolean hasContentHash()
The hash of the resource content. For example, the Docker digest.
.grafeas.v1beta1.provenance.Hash content_hash = 3;Hash getContentHash()
The hash of the resource content. For example, the Docker digest.
.grafeas.v1beta1.provenance.Hash content_hash = 3;HashOrBuilder getContentHashOrBuilder()
The hash of the resource content. For example, the Docker digest.
.grafeas.v1beta1.provenance.Hash content_hash = 3;Copyright © 2019 Google LLC. All rights reserved.