/* * Copyright 2019 The Grafeas Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/image.proto package io.grafeas.v1; public interface ImageOccurrenceOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.ImageOccurrence) com.google.protobuf.MessageOrBuilder { /** * * *
* Required. The fingerprint of the derived image. ** *
.grafeas.v1.Fingerprint fingerprint = 1;
*
* @return Whether the fingerprint field is set.
*/
boolean hasFingerprint();
/**
*
*
* * Required. The fingerprint of the derived image. ** *
.grafeas.v1.Fingerprint fingerprint = 1;
*
* @return The fingerprint.
*/
io.grafeas.v1.Fingerprint getFingerprint();
/**
*
*
* * Required. The fingerprint of the derived image. ** *
.grafeas.v1.Fingerprint fingerprint = 1;
*/
io.grafeas.v1.FingerprintOrBuilder getFingerprintOrBuilder();
/**
*
*
* * Output only. The number of layers by which this image differs from the * associated image basis. ** *
int32 distance = 2;
*
* @return The distance.
*/
int getDistance();
/**
*
*
* * This contains layer-specific metadata, if populated it has length * "distance" and is ordered with [distance] being the layer immediately * following the base image and [1] being the final layer. ** *
repeated .grafeas.v1.Layer layer_info = 3;
*/
java.util.List* This contains layer-specific metadata, if populated it has length * "distance" and is ordered with [distance] being the layer immediately * following the base image and [1] being the final layer. ** *
repeated .grafeas.v1.Layer layer_info = 3;
*/
io.grafeas.v1.Layer getLayerInfo(int index);
/**
*
*
* * This contains layer-specific metadata, if populated it has length * "distance" and is ordered with [distance] being the layer immediately * following the base image and [1] being the final layer. ** *
repeated .grafeas.v1.Layer layer_info = 3;
*/
int getLayerInfoCount();
/**
*
*
* * This contains layer-specific metadata, if populated it has length * "distance" and is ordered with [distance] being the layer immediately * following the base image and [1] being the final layer. ** *
repeated .grafeas.v1.Layer layer_info = 3;
*/
java.util.List extends io.grafeas.v1.LayerOrBuilder> getLayerInfoOrBuilderList();
/**
*
*
* * This contains layer-specific metadata, if populated it has length * "distance" and is ordered with [distance] being the layer immediately * following the base image and [1] being the final layer. ** *
repeated .grafeas.v1.Layer layer_info = 3;
*/
io.grafeas.v1.LayerOrBuilder getLayerInfoOrBuilder(int index);
/**
*
*
* * Output only. This contains the base image URL for the derived image * occurrence. ** *
string base_resource_url = 4;
*
* @return The baseResourceUrl.
*/
java.lang.String getBaseResourceUrl();
/**
*
*
* * Output only. This contains the base image URL for the derived image * occurrence. ** *
string base_resource_url = 4;
*
* @return The bytes for baseResourceUrl.
*/
com.google.protobuf.ByteString getBaseResourceUrlBytes();
}