Package io.grafeas.v1beta1.image
Class Derived.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Derived.Builder>
io.grafeas.v1beta1.image.Derived.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DerivedOrBuilder,Cloneable
- Enclosing class:
- Derived
public static final class Derived.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Derived.Builder>
implements DerivedOrBuilder
Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.Protobuf type
grafeas.v1beta1.image.Derived-
Method Summary
Modifier and TypeMethodDescriptionaddAllLayerInfo(Iterable<? extends Layer> values) 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.addLayerInfo(int index, Layer value) 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.addLayerInfo(int index, Layer.Builder builderForValue) 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.addLayerInfo(Layer value) 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.addLayerInfo(Layer.Builder builderForValue) 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.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.addLayerInfoBuilder(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.build()clear()Output only.Output only.Required.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.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOutput only.Required.Required.Required.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.getLayerInfoBuilder(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.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.intThis 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.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.getLayerInfoOrBuilder(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.List<? extends LayerOrBuilder>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.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFingerprint(Fingerprint value) Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLayerInfo(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.setBaseResourceUrl(String value) Output only.setBaseResourceUrlBytes(com.google.protobuf.ByteString value) Output only.setDistance(int value) Output only.setFingerprint(Fingerprint value) Required.setFingerprint(Fingerprint.Builder builderForValue) Required.setLayerInfo(int index, Layer value) 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.setLayerInfo(int index, Layer.Builder builderForValue) 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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Derived.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Derived.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Derived.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Derived.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Derived.Builder>
-
mergeFrom
public Derived.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Derived.Builder>- Throws:
IOException
-
hasFingerprint
public boolean hasFingerprint()Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;- Specified by:
hasFingerprintin interfaceDerivedOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;- Specified by:
getFingerprintin interfaceDerivedOrBuilder- Returns:
- The fingerprint.
-
setFingerprint
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1; -
setFingerprint
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1; -
mergeFingerprint
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1; -
clearFingerprint
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1; -
getFingerprintBuilder
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1; -
getFingerprintOrBuilder
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;- Specified by:
getFingerprintOrBuilderin interfaceDerivedOrBuilder
-
getDistance
public int getDistance()Output only. The number of layers by which this image differs from the associated image basis.
int32 distance = 2;- Specified by:
getDistancein interfaceDerivedOrBuilder- Returns:
- The distance.
-
setDistance
Output only. The number of layers by which this image differs from the associated image basis.
int32 distance = 2;- Parameters:
value- The distance to set.- Returns:
- This builder for chaining.
-
clearDistance
Output only. The number of layers by which this image differs from the associated image basis.
int32 distance = 2;- Returns:
- This builder for chaining.
-
getLayerInfoList
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.v1beta1.image.Layer layer_info = 3;- Specified by:
getLayerInfoListin interfaceDerivedOrBuilder
-
getLayerInfoCount
public 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.v1beta1.image.Layer layer_info = 3;- Specified by:
getLayerInfoCountin interfaceDerivedOrBuilder
-
getLayerInfo
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.v1beta1.image.Layer layer_info = 3;- Specified by:
getLayerInfoin interfaceDerivedOrBuilder
-
setLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
setLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
addLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
addLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
addLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
addLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
addAllLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
clearLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
removeLayerInfo
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.v1beta1.image.Layer layer_info = 3; -
getLayerInfoBuilder
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.v1beta1.image.Layer layer_info = 3; -
getLayerInfoOrBuilder
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.v1beta1.image.Layer layer_info = 3;- Specified by:
getLayerInfoOrBuilderin interfaceDerivedOrBuilder
-
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.v1beta1.image.Layer layer_info = 3;- Specified by:
getLayerInfoOrBuilderListin interfaceDerivedOrBuilder
-
addLayerInfoBuilder
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.v1beta1.image.Layer layer_info = 3; -
addLayerInfoBuilder
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.v1beta1.image.Layer layer_info = 3; -
getLayerInfoBuilderList
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.v1beta1.image.Layer layer_info = 3; -
getBaseResourceUrl
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;- Specified by:
getBaseResourceUrlin interfaceDerivedOrBuilder- Returns:
- The baseResourceUrl.
-
getBaseResourceUrlBytes
public com.google.protobuf.ByteString getBaseResourceUrlBytes()Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;- Specified by:
getBaseResourceUrlBytesin interfaceDerivedOrBuilder- Returns:
- The bytes for baseResourceUrl.
-
setBaseResourceUrl
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;- Parameters:
value- The baseResourceUrl to set.- Returns:
- This builder for chaining.
-
clearBaseResourceUrl
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;- Returns:
- This builder for chaining.
-
setBaseResourceUrlBytes
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;- Parameters:
value- The bytes for baseResourceUrl to set.- Returns:
- This builder for chaining.
-