public final class ImageNote extends GeneratedMessageV3 implements ImageNoteOrBuilder
Basis describes the base image portion (Note) of the DockerImage
relationship. Linked occurrences are derived from this or an equivalent image
via:
FROM <Basis.resource_url>
Or an equivalent reference, e.g., a tag of the resource_url.
Protobuf type grafeas.v1.ImageNote
Static Fields
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESOURCE_URL_FIELD_NUMBER
public static final int RESOURCE_URL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ImageNote getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImageNote.Builder newBuilder()
newBuilder(ImageNote prototype)
public static ImageNote.Builder newBuilder(ImageNote prototype)
public static ImageNote parseDelimitedFrom(InputStream input)
public static ImageNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImageNote parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImageNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImageNote parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageNote parseFrom(CodedInputStream input)
public static ImageNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImageNote parseFrom(InputStream input)
public static ImageNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImageNote parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImageNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImageNote> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ImageNote getDefaultInstanceForType()
getFingerprint()
public Fingerprint getFingerprint()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
getFingerprintOrBuilder()
public FingerprintOrBuilder getFingerprintOrBuilder()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
getParserForType()
public Parser<ImageNote> getParserForType()
Overrides
getResourceUrl()
public String getResourceUrl()
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
string resource_url = 1;
Returns |
---|
Type | Description |
String | The resourceUrl.
|
getResourceUrlBytes()
public ByteString getResourceUrlBytes()
Required. Immutable. The resource_url for the resource representing the
basis of associated occurrence images.
string resource_url = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for resourceUrl.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasFingerprint()
public boolean hasFingerprint()
Required. Immutable. The fingerprint of the base image.
.grafeas.v1.Fingerprint fingerprint = 2;
Returns |
---|
Type | Description |
boolean | Whether the fingerprint field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImageNote.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImageNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ImageNote.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides