Send feedback
Class Layer.Builder (2.4.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.2 keyboard_arrow_down
public static final class Layer . Builder extends GeneratedMessageV3 . Builder<Layer . Builder > implements LayerOrBuilder
Layer holds metadata specific to a layer of a Docker image.
Protobuf type grafeas.v1beta1.image.Layer
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Layer . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Layer buildPartial ()
Returns
clear()
public Layer . Builder clear ()
Returns
Overrides
clearArguments()
public Layer . Builder clearArguments ()
The recovered arguments to the Dockerfile directive.
string arguments = 2;
Returns
clearDirective()
public Layer . Builder clearDirective ()
Required. The recovered Dockerfile directive used to construct this layer.
.grafeas.v1beta1.image.Layer.Directive directive = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Layer . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Layer . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public Layer . Builder clone ()
Returns
Overrides
getArguments()
public String getArguments ()
The recovered arguments to the Dockerfile directive.
string arguments = 2;
Returns
Type Description String The arguments.
getArgumentsBytes()
public ByteString getArgumentsBytes ()
The recovered arguments to the Dockerfile directive.
string arguments = 2;
Returns
getDefaultInstanceForType()
public Layer getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDirective()
public Layer . Directive getDirective ()
Required. The recovered Dockerfile directive used to construct this layer.
.grafeas.v1beta1.image.Layer.Directive directive = 1;
Returns
getDirectiveValue()
public int getDirectiveValue ()
Required. The recovered Dockerfile directive used to construct this layer.
.grafeas.v1beta1.image.Layer.Directive directive = 1;
Returns
Type Description int The enum numeric value on the wire for directive.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
public Layer . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Layer . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeFrom(Layer other)
public Layer . Builder mergeFrom ( Layer other )
Parameter
Name Description other Layer
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Layer . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setArguments(String value)
public Layer . Builder setArguments ( String value )
The recovered arguments to the Dockerfile directive.
string arguments = 2;
Parameter
Name Description value String
The arguments to set.
Returns
setArgumentsBytes(ByteString value)
public Layer . Builder setArgumentsBytes ( ByteString value )
The recovered arguments to the Dockerfile directive.
string arguments = 2;
Parameter
Name Description value ByteString
The bytes for arguments to set.
Returns
setDirective(Layer.Directive value)
public Layer . Builder setDirective ( Layer . Directive value )
Required. The recovered Dockerfile directive used to construct this layer.
.grafeas.v1beta1.image.Layer.Directive directive = 1;
Parameter
Returns
setDirectiveValue(int value)
public Layer . Builder setDirectiveValue ( int value )
Required. The recovered Dockerfile directive used to construct this layer.
.grafeas.v1beta1.image.Layer.Directive directive = 1;
Parameter
Name Description value int
The enum numeric value on the wire for directive to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Layer . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Layer . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Layer . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]