- 2.74.0 (latest)
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public
static
final
class
ImageOccurrence
.
Builder
extends
GeneratedMessageV3
.
Builder<ImageOccurrence
.
Builder
>
implements
ImageOccurrenceOrBuilder
Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.
Protobuf type grafeas.v1.ImageOccurrence
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImageOccurrence.BuilderImplements
ImageOccurrenceOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Type | Description |
---|---|
Descriptor
|
Methods
addAllLayerInfo(Iterable<? extends Layer> values)
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Name | Description |
values
|
Iterable
< ? extends io.grafeas.v1.Layer
>
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
addLayerInfo(int index, Layer value)
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
value
|
Layer
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
addLayerInfo(int index, Layer.Builder builderForValue)
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
builderForValue
|
Layer.Builder
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
addLayerInfo(Layer value)
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
value
|
Layer
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
addLayerInfo(Layer.Builder builderForValue)
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
builderForValue
|
Layer.Builder
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
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.v1.Layer layer_info = 3;
Type | Description |
---|---|
Layer.Builder
|
addLayerInfoBuilder(int index)
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
Type | Description |
---|---|
Layer.Builder
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public
ImageOccurrence
.
Builder
addRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
Name | Description |
---|---|
field
|
FieldDescriptor
|
value
|
Object
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
build()
public
ImageOccurrence
build
()
Type | Description |
---|---|
ImageOccurrence
|
buildPartial()
public
ImageOccurrence
buildPartial
()
Type | Description |
---|---|
ImageOccurrence
|
clear()
public
ImageOccurrence
.
Builder
clear
()
Type | Description |
---|---|
ImageOccurrence.Builder
|
clearBaseResourceUrl()
public
ImageOccurrence
.
Builder
clearBaseResourceUrl
()
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;
Type | Description |
ImageOccurrence.Builder
|
This builder for chaining. |
clearDistance()
public
ImageOccurrence
.
Builder
clearDistance
()
Output only. The number of layers by which this image differs from the associated image basis.
int32 distance = 2;
Type | Description |
ImageOccurrence.Builder
|
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public
ImageOccurrence
.
Builder
clearField
(
Descriptors
.
FieldDescriptor
field
)
Name | Description |
---|---|
field
|
FieldDescriptor
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
clearFingerprint()
public
ImageOccurrence
.
Builder
clearFingerprint
()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
Type | Description |
---|---|
ImageOccurrence.Builder
|
clearLayerInfo()
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Type | Description |
---|---|
ImageOccurrence.Builder
|
clearOneof(Descriptors.OneofDescriptor oneof)
public
ImageOccurrence
.
Builder
clearOneof
(
Descriptors
.
OneofDescriptor
oneof
)
Name | Description |
---|---|
oneof
|
OneofDescriptor
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
clone()
public
ImageOccurrence
.
Builder
clone
()
Type | Description |
---|---|
ImageOccurrence.Builder
|
getBaseResourceUrl()
public
String
getBaseResourceUrl
()
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;
Type | Description |
---|---|
String
|
The baseResourceUrl. |
getBaseResourceUrlBytes()
public
ByteString
getBaseResourceUrlBytes
()
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;
Type | Description |
ByteString
|
The bytes for baseResourceUrl. |
getDefaultInstanceForType()
public
ImageOccurrence
getDefaultInstanceForType
()
Type | Description |
---|---|
ImageOccurrence
|
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
Type | Description |
---|---|
Descriptor
|
getDistance()
public
int
getDistance
()
Output only. The number of layers by which this image differs from the associated image basis.
int32 distance = 2;
Type | Description |
---|---|
int
|
The distance. |
getFingerprint()
public
Fingerprint
getFingerprint
()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
Type | Description |
---|---|
Fingerprint
|
The fingerprint. |
getFingerprintBuilder()
public
Fingerprint
.
Builder
getFingerprintBuilder
()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
Type | Description |
---|---|
Fingerprint.Builder
|
getFingerprintOrBuilder()
public
FingerprintOrBuilder
getFingerprintOrBuilder
()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
Type | Description |
---|---|
FingerprintOrBuilder
|
getLayerInfo(int index)
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
Type | Description |
---|---|
Layer
|
getLayerInfoBuilder(int index)
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
Type | Description |
---|---|
Layer.Builder
|
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.v1.Layer layer_info = 3;
Type | Description |
---|---|
List
< Builder
>
|
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.v1.Layer layer_info = 3;
Type | Description |
---|---|
int
|
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.v1.Layer layer_info = 3;
Type | Description |
---|---|
List
< Layer
>
|
getLayerInfoOrBuilder(int index)
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
Type | Description |
---|---|
LayerOrBuilder
|
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.v1.Layer layer_info = 3;
Type | Description |
---|---|
List
< ? extends io.grafeas.v1.LayerOrBuilder
>
|
hasFingerprint()
public
boolean
hasFingerprint
()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
Type | Description |
boolean
|
Whether the fingerprint field is set. |
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
Type | Description |
---|---|
FieldAccessorTable
|
isInitialized()
public
final
boolean
isInitialized
()
Type | Description |
---|---|
boolean
|
mergeFingerprint(Fingerprint value)
public
ImageOccurrence
.
Builder
mergeFingerprint
(
Fingerprint
value
)
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
Name | Description |
---|---|
value
|
Fingerprint
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
ImageOccurrence
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Name | Description |
input
|
CodedInputStream
|
extensionRegistry
|
ExtensionRegistryLite
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
Type | Description |
---|---|
IOException
|
mergeFrom(Message other)
public
ImageOccurrence
.
Builder
mergeFrom
(
Message
other
)
Name | Description |
---|---|
other
|
Message
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
mergeFrom(ImageOccurrence other)
public
ImageOccurrence
.
Builder
mergeFrom
(
ImageOccurrence
other
)
Name | Description |
---|---|
other
|
ImageOccurrence
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public
final
ImageOccurrence
.
Builder
mergeUnknownFields
(
UnknownFieldSet
unknownFields
)
Name | Description |
---|---|
unknownFields
|
UnknownFieldSet
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
removeLayerInfo(int index)
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
setBaseResourceUrl(String value)
public
ImageOccurrence
.
Builder
setBaseResourceUrl
(
String
value
)
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;
Name | Description |
value
|
String
The baseResourceUrl to set. |
Type | Description |
ImageOccurrence.Builder
|
This builder for chaining. |
setBaseResourceUrlBytes(ByteString value)
public
ImageOccurrence
.
Builder
setBaseResourceUrlBytes
(
ByteString
value
)
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;
Name | Description |
value
|
ByteString
The bytes for baseResourceUrl to set. |
Type | Description |
ImageOccurrence.Builder
|
This builder for chaining. |
setDistance(int value)
public
ImageOccurrence
.
Builder
setDistance
(
int
value
)
Output only. The number of layers by which this image differs from the associated image basis.
int32 distance = 2;
Name | Description |
---|---|
value
|
int
The distance to set. |
Type | Description |
ImageOccurrence.Builder
|
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public
ImageOccurrence
.
Builder
setField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
Name | Description |
---|---|
field
|
FieldDescriptor
|
value
|
Object
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
setFingerprint(Fingerprint value)
public
ImageOccurrence
.
Builder
setFingerprint
(
Fingerprint
value
)
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
Name | Description |
---|---|
value
|
Fingerprint
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
setFingerprint(Fingerprint.Builder builderForValue)
public
ImageOccurrence
.
Builder
setFingerprint
(
Fingerprint
.
Builder
builderForValue
)
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
Name | Description |
---|---|
builderForValue
|
Fingerprint.Builder
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
setLayerInfo(int index, Layer value)
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
value
|
Layer
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
setLayerInfo(int index, Layer.Builder builderForValue)
public
ImageOccurrence
.
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.v1.Layer layer_info = 3;
Name | Description |
---|---|
index
|
int
|
builderForValue
|
Layer.Builder
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public
ImageOccurrence
.
Builder
setRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
Name | Description |
---|---|
field
|
FieldDescriptor
|
index
|
int
|
value
|
Object
|
Type | Description |
---|---|
ImageOccurrence.Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public
final
ImageOccurrence
.
Builder
setUnknownFields
(
UnknownFieldSet
unknownFields
)
Name | Description |
---|---|
unknownFields
|
UnknownFieldSet
|
Type | Description |
---|---|
ImageOccurrence.Builder
|