- 2.63.0 (latest)
- 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 LayerDetails.Builder extends GeneratedMessageV3.Builder<LayerDetails.Builder> implements LayerDetailsOrBuilder
Details about the layer a package was found in.
Protobuf type grafeas.v1.LayerDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LayerDetails.BuilderImplements
LayerDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllBaseImages(Iterable<? extends BaseImage> values)
public LayerDetails.Builder addAllBaseImages(Iterable<? extends BaseImage> values)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends io.grafeas.v1.BaseImage> |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
addBaseImages(int index, BaseImage value)
public LayerDetails.Builder addBaseImages(int index, BaseImage value)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BaseImage |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
addBaseImages(int index, BaseImage.Builder builderForValue)
public LayerDetails.Builder addBaseImages(int index, BaseImage.Builder builderForValue)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BaseImage.Builder |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
addBaseImages(BaseImage value)
public LayerDetails.Builder addBaseImages(BaseImage value)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter | |
---|---|
Name | Description |
value |
BaseImage |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
addBaseImages(BaseImage.Builder builderForValue)
public LayerDetails.Builder addBaseImages(BaseImage.Builder builderForValue)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
BaseImage.Builder |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
addBaseImagesBuilder()
public BaseImage.Builder addBaseImagesBuilder()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Returns | |
---|---|
Type | Description |
BaseImage.Builder |
addBaseImagesBuilder(int index)
public BaseImage.Builder addBaseImagesBuilder(int index)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BaseImage.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LayerDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
build()
public LayerDetails build()
Returns | |
---|---|
Type | Description |
LayerDetails |
buildPartial()
public LayerDetails buildPartial()
Returns | |
---|---|
Type | Description |
LayerDetails |
clear()
public LayerDetails.Builder clear()
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
clearBaseImages()
public LayerDetails.Builder clearBaseImages()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
clearChainId()
public LayerDetails.Builder clearChainId()
The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
string chain_id = 5;
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
clearCommand()
public LayerDetails.Builder clearCommand()
The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
string command = 3;
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
clearDiffId()
public LayerDetails.Builder clearDiffId()
The diff ID (typically a sha256 hash) of the layer in the container image.
string diff_id = 2;
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LayerDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
clearIndex()
public LayerDetails.Builder clearIndex()
The index of the layer in the container image.
int32 index = 1;
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LayerDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
clone()
public LayerDetails.Builder clone()
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
getBaseImages(int index)
public BaseImage getBaseImages(int index)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BaseImage |
getBaseImagesBuilder(int index)
public BaseImage.Builder getBaseImagesBuilder(int index)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BaseImage.Builder |
getBaseImagesBuilderList()
public List<BaseImage.Builder> getBaseImagesBuilderList()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getBaseImagesCount()
public int getBaseImagesCount()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Returns | |
---|---|
Type | Description |
int |
getBaseImagesList()
public List<BaseImage> getBaseImagesList()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Returns | |
---|---|
Type | Description |
List<BaseImage> |
getBaseImagesOrBuilder(int index)
public BaseImageOrBuilder getBaseImagesOrBuilder(int index)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BaseImageOrBuilder |
getBaseImagesOrBuilderList()
public List<? extends BaseImageOrBuilder> getBaseImagesOrBuilderList()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Returns | |
---|---|
Type | Description |
List<? extends io.grafeas.v1.BaseImageOrBuilder> |
getChainId()
public String getChainId()
The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
string chain_id = 5;
Returns | |
---|---|
Type | Description |
String |
The chainId. |
getChainIdBytes()
public ByteString getChainIdBytes()
The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
string chain_id = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for chainId. |
getCommand()
public String getCommand()
The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
string command = 3;
Returns | |
---|---|
Type | Description |
String |
The command. |
getCommandBytes()
public ByteString getCommandBytes()
The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
string command = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for command. |
getDefaultInstanceForType()
public LayerDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LayerDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiffId()
public String getDiffId()
The diff ID (typically a sha256 hash) of the layer in the container image.
string diff_id = 2;
Returns | |
---|---|
Type | Description |
String |
The diffId. |
getDiffIdBytes()
public ByteString getDiffIdBytes()
The diff ID (typically a sha256 hash) of the layer in the container image.
string diff_id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for diffId. |
getIndex()
public int getIndex()
The index of the layer in the container image.
int32 index = 1;
Returns | |
---|---|
Type | Description |
int |
The index. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LayerDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LayerDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
mergeFrom(LayerDetails other)
public LayerDetails.Builder mergeFrom(LayerDetails other)
Parameter | |
---|---|
Name | Description |
other |
LayerDetails |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LayerDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
removeBaseImages(int index)
public LayerDetails.Builder removeBaseImages(int index)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
setBaseImages(int index, BaseImage value)
public LayerDetails.Builder setBaseImages(int index, BaseImage value)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BaseImage |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
setBaseImages(int index, BaseImage.Builder builderForValue)
public LayerDetails.Builder setBaseImages(int index, BaseImage.Builder builderForValue)
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BaseImage.Builder |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
setChainId(String value)
public LayerDetails.Builder setChainId(String value)
The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
string chain_id = 5;
Parameter | |
---|---|
Name | Description |
value |
String The chainId to set. |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
setChainIdBytes(ByteString value)
public LayerDetails.Builder setChainIdBytes(ByteString value)
The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
string chain_id = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for chainId to set. |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
setCommand(String value)
public LayerDetails.Builder setCommand(String value)
The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
string command = 3;
Parameter | |
---|---|
Name | Description |
value |
String The command to set. |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
setCommandBytes(ByteString value)
public LayerDetails.Builder setCommandBytes(ByteString value)
The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
string command = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for command to set. |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
setDiffId(String value)
public LayerDetails.Builder setDiffId(String value)
The diff ID (typically a sha256 hash) of the layer in the container image.
string diff_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The diffId to set. |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
setDiffIdBytes(ByteString value)
public LayerDetails.Builder setDiffIdBytes(ByteString value)
The diff ID (typically a sha256 hash) of the layer in the container image.
string diff_id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for diffId to set. |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LayerDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
setIndex(int value)
public LayerDetails.Builder setIndex(int value)
The index of the layer in the container image.
int32 index = 1;
Parameter | |
---|---|
Name | Description |
value |
int The index to set. |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LayerDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LayerDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LayerDetails.Builder |