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.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.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.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.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.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.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.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.Derived.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Derived
build()
Derived
buildPartial()
Derived.Builder
clear()
Derived.Builder
clearBaseResourceUrl()
Output only.Derived.Builder
clearDistance()
Output only.Derived.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Derived.Builder
clearFingerprint()
Required.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.Derived.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Derived.Builder
clone()
String
getBaseResourceUrl()
Output only.com.google.protobuf.ByteString
getBaseResourceUrlBytes()
Output only.Derived
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getDistance()
Output only.Fingerprint
getFingerprint()
Required.Fingerprint.Builder
getFingerprintBuilder()
Required.FingerprintOrBuilder
getFingerprintOrBuilder()
Required.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.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.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.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.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.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.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.boolean
hasFingerprint()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Derived.Builder
mergeFingerprint(Fingerprint value)
Required.Derived.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Derived.Builder
mergeFrom(com.google.protobuf.Message other)
Derived.Builder
mergeFrom(Derived other)
Derived.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.Derived.Builder
setBaseResourceUrl(String value)
Output only.Derived.Builder
setBaseResourceUrlBytes(com.google.protobuf.ByteString value)
Output only.Derived.Builder
setDistance(int value)
Output only.Derived.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Derived.Builder
setFingerprint(Fingerprint value)
Required.Derived.Builder
setFingerprint(Fingerprint.Builder builderForValue)
Required.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.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.Derived.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Derived.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
clear
public Derived.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
getDefaultInstanceForType
public Derived getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Derived build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Derived buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Derived.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
setField
public Derived.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
clearField
public Derived.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
clearOneof
public Derived.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
setRepeatedField
public Derived.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
addRepeatedField
public Derived.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
mergeFrom
public Derived.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Derived.Builder>
-
mergeFrom
public Derived.Builder mergeFrom(Derived other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasFingerprint
in 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:
getFingerprint
in 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:
getFingerprintOrBuilder
in 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:
getDistance
in 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:
getLayerInfoList
in 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:
getLayerInfoCount
in 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:
getLayerInfo
in 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:
getLayerInfoOrBuilder
in 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:
getLayerInfoOrBuilderList
in 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:
getBaseResourceUrl
in 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:
getBaseResourceUrlBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
mergeUnknownFields
public final Derived.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Derived.Builder>
-
-