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.GeneratedMessageV3.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.GeneratedMessageV3.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 typegrafeas.v1beta1.image.Derived
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Derived.BuilderaddAllLayerInfo(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.Derived.BuilderaddLayerInfo(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.Derived.BuilderaddLayerInfo(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.Derived.BuilderaddLayerInfo(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.Derived.BuilderaddLayerInfo(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.Layer.BuilderaddLayerInfoBuilder()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.Layer.BuilderaddLayerInfoBuilder(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.Derived.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Derivedbuild()DerivedbuildPartial()Derived.Builderclear()Derived.BuilderclearBaseResourceUrl()Output only.Derived.BuilderclearDistance()Output only.Derived.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Derived.BuilderclearFingerprint()Required.Derived.BuilderclearLayerInfo()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.Derived.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Derived.Builderclone()StringgetBaseResourceUrl()Output only.com.google.protobuf.ByteStringgetBaseResourceUrlBytes()Output only.DerivedgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetDistance()Output only.FingerprintgetFingerprint()Required.Fingerprint.BuildergetFingerprintBuilder()Required.FingerprintOrBuildergetFingerprintOrBuilder()Required.LayergetLayerInfo(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.Layer.BuildergetLayerInfoBuilder(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<Layer.Builder>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.intgetLayerInfoCount()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<Layer>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.LayerOrBuildergetLayerInfoOrBuilder(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>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.booleanhasFingerprint()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Derived.BuildermergeFingerprint(Fingerprint value)Required.Derived.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Derived.BuildermergeFrom(com.google.protobuf.Message other)Derived.BuildermergeFrom(Derived other)Derived.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Derived.BuilderremoveLayerInfo(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.Derived.BuildersetBaseResourceUrl(String value)Output only.Derived.BuildersetBaseResourceUrlBytes(com.google.protobuf.ByteString value)Output only.Derived.BuildersetDistance(int value)Output only.Derived.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Derived.BuildersetFingerprint(Fingerprint value)Required.Derived.BuildersetFingerprint(Fingerprint.Builder builderForValue)Required.Derived.BuildersetLayerInfo(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.Derived.BuildersetLayerInfo(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.Derived.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Derived.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
clear
public Derived.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Derived.Builder>
-
getDefaultInstanceForType
public Derived getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Derived build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Derived buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Derived.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
setField
public Derived.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
clearField
public Derived.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
clearOneof
public Derived.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
setRepeatedField
public Derived.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
addRepeatedField
public Derived.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
mergeFrom
public Derived.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Derived.Builder>
-
mergeFrom
public Derived.Builder mergeFrom(Derived other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public Fingerprint getFingerprint()
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;- Specified by:
getFingerprintin interfaceDerivedOrBuilder- Returns:
- The fingerprint.
-
setFingerprint
public Derived.Builder setFingerprint(Fingerprint value)
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;
-
setFingerprint
public Derived.Builder setFingerprint(Fingerprint.Builder builderForValue)
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;
-
mergeFingerprint
public Derived.Builder mergeFingerprint(Fingerprint value)
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;
-
clearFingerprint
public Derived.Builder clearFingerprint()
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;
-
getFingerprintBuilder
public Fingerprint.Builder getFingerprintBuilder()
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;
-
getFingerprintOrBuilder
public FingerprintOrBuilder 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
public Derived.Builder setDistance(int value)
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
public Derived.Builder 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
public List<Layer> 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
public 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.v1beta1.image.Layer layer_info = 3;- Specified by:
getLayerInfoin interfaceDerivedOrBuilder
-
setLayerInfo
public Derived.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
setLayerInfo
public Derived.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
addLayerInfo
public Derived.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
addLayerInfo
public Derived.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
addLayerInfo
public Derived.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
addLayerInfo
public Derived.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
addAllLayerInfo
public Derived.Builder addAllLayerInfo(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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
clearLayerInfo
public Derived.Builder 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
public Derived.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
getLayerInfoBuilder
public Layer.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
getLayerInfoOrBuilder
public LayerOrBuilder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;- Specified by:
getLayerInfoOrBuilderin interfaceDerivedOrBuilder
-
getLayerInfoOrBuilderList
public List<? extends 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.v1beta1.image.Layer layer_info = 3;- Specified by:
getLayerInfoOrBuilderListin interfaceDerivedOrBuilder
-
addLayerInfoBuilder
public Layer.Builder 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
public Layer.Builder 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.
repeated .grafeas.v1beta1.image.Layer layer_info = 3;
-
getLayerInfoBuilderList
public List<Layer.Builder> 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
public String 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
public Derived.Builder setBaseResourceUrl(String value)
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
public Derived.Builder 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
public Derived.Builder setBaseResourceUrlBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final Derived.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
mergeUnknownFields
public final Derived.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
-