Send feedback
Class Layer.Builder (2.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.44.0 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.v1.Layer
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Layer . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
Returns
Type
Description
Layer
buildPartial()
public Layer buildPartial ()
Returns
Type
Description
Layer
clear()
public Layer . Builder clear ()
Overrides
clearArguments()
public Layer . Builder clearArguments ()
The recovered arguments to the Dockerfile directive.
string arguments = 2;
Returns
Type
Description
Layer.Builder
This builder for chaining.
clearDirective()
public Layer . Builder clearDirective ()
Returns
Type
Description
Layer.Builder
This builder for chaining.
clearField(Descriptors.FieldDescriptor field)
public Layer . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Layer . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public Layer . Builder clone ()
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
Type
Description
ByteString
The bytes for arguments.
getDefaultInstanceForType()
public Layer getDefaultInstanceForType ()
Returns
Type
Description
Layer
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDirective()
public String getDirective ()
Returns
Type
Description
String
The directive.
getDirectiveBytes()
public ByteString getDirectiveBytes ()
Returns
Type
Description
ByteString
The bytes for directive.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public Layer . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Layer . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(Layer other)
public Layer . Builder mergeFrom ( Layer other )
Parameter
Name
Description
other
Layer
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Layer . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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
Type
Description
Layer.Builder
This builder for chaining.
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
Type
Description
Layer.Builder
This builder for chaining.
setDirective(String value)
public Layer . Builder setDirective ( String value )
Parameter
Name
Description
value
String
The directive to set.
Returns
Type
Description
Layer.Builder
This builder for chaining.
setDirectiveBytes(ByteString value)
public Layer . Builder setDirectiveBytes ( ByteString value )
Parameter
Name
Description
value
ByteString
The bytes for directive to set.
Returns
Type
Description
Layer.Builder
This builder for chaining.
setField(Descriptors.FieldDescriptor field, Object value)
public Layer . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Layer . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Layer . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-28 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-28 UTC."],[],[]]