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;
clearDirective()
public Layer.Builder clearDirective()
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.
|
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.
|
setDirective(String value)
public Layer.Builder setDirective(String value)
Parameter |
---|
Name | Description |
value | String
The directive to set.
|
setDirectiveBytes(ByteString value)
public Layer.Builder setDirectiveBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for directive to set.
|
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