Class Gateway.Result.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Gateway.Result.Builder>
com.google.protobuf.GeneratedMessage.Builder<Gateway.Result.Builder>
moby.buildkit.v1.frontend.Gateway.Result.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Gateway.ResultOrBuilder
- Enclosing class:
Gateway.Result
public static final class Gateway.Result.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Gateway.Result.Builder>
implements Gateway.ResultOrBuilder
Protobuf type
moby.buildkit.v1.frontend.Result
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
clearRef()
.moby.buildkit.v1.frontend.Ref ref = 3;
Deprecated non-array refs..moby.buildkit.v1.frontend.RefMap refs = 4;
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
boolean
11 was used during development and is reserved for old attestation formatboolean
containsMetadata
(String key) map<string, bytes> metadata = 10;
Deprecated.int
11 was used during development and is reserved for old attestation format11 was used during development and is reserved for old attestation formatgetAttestationsOrDefault
(String key, Gateway.Attestations defaultValue) 11 was used during development and is reserved for old attestation format11 was used during development and is reserved for old attestation formatstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
map<string, bytes> metadata = 10;
map<string, bytes> metadata = 10;
com.google.protobuf.ByteString
getMetadataOrDefault
(String key, com.google.protobuf.ByteString defaultValue) map<string, bytes> metadata = 10;
com.google.protobuf.ByteString
getMetadataOrThrow
(String key) map<string, bytes> metadata = 10;
Deprecated.Deprecated.getRef()
.moby.buildkit.v1.frontend.Ref ref = 3;
.moby.buildkit.v1.frontend.Ref ref = 3;
Deprecated non-array refs.com.google.protobuf.ByteString
Deprecated non-array refs..moby.buildkit.v1.frontend.Ref ref = 3;
getRefs()
.moby.buildkit.v1.frontend.RefMap refs = 4;
.moby.buildkit.v1.frontend.RefMap refs = 4;
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
.moby.buildkit.v1.frontend.RefMap refs = 4;
boolean
hasRef()
.moby.buildkit.v1.frontend.Ref ref = 3;
boolean
Deprecated non-array refs.boolean
hasRefs()
.moby.buildkit.v1.frontend.RefMap refs = 4;
boolean
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Gateway.Result other) mergeRef
(Gateway.Ref value) .moby.buildkit.v1.frontend.Ref ref = 3;
mergeRefs
(Gateway.RefMap value) .moby.buildkit.v1.frontend.RefMap refs = 4;
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
putAllAttestations
(Map<String, Gateway.Attestations> values) 11 was used during development and is reserved for old attestation formatputAllMetadata
(Map<String, com.google.protobuf.ByteString> values) map<string, bytes> metadata = 10;
putAttestations
(String key, Gateway.Attestations value) 11 was used during development and is reserved for old attestation format11 was used during development and is reserved for old attestation formatputMetadata
(String key, com.google.protobuf.ByteString value) map<string, bytes> metadata = 10;
removeAttestations
(String key) 11 was used during development and is reserved for old attestation formatremoveMetadata
(String key) map<string, bytes> metadata = 10;
setRef
(Gateway.Ref value) .moby.buildkit.v1.frontend.Ref ref = 3;
setRef
(Gateway.Ref.Builder builderForValue) .moby.buildkit.v1.frontend.Ref ref = 3;
setRefDeprecated
(String value) Deprecated non-array refs.setRefDeprecatedBytes
(com.google.protobuf.ByteString value) Deprecated non-array refs.setRefs
(Gateway.RefMap value) .moby.buildkit.v1.frontend.RefMap refs = 4;
setRefs
(Gateway.RefMap.Builder builderForValue) .moby.buildkit.v1.frontend.RefMap refs = 4;
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
setRefsDeprecated
(Gateway.RefMapDeprecated.Builder builderForValue) .moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.Result.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.Result.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.Result.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.Result.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.Result.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Gateway.Result.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.Result.Builder>
-
mergeFrom
public Gateway.Result.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Gateway.Result.Builder>
- Throws:
IOException
-
getResultCase
- Specified by:
getResultCase
in interfaceGateway.ResultOrBuilder
-
clearResult
-
hasRefDeprecated
public boolean hasRefDeprecated()Deprecated non-array refs.
string refDeprecated = 1;
- Specified by:
hasRefDeprecated
in interfaceGateway.ResultOrBuilder
- Returns:
- Whether the refDeprecated field is set.
-
getRefDeprecated
Deprecated non-array refs.
string refDeprecated = 1;
- Specified by:
getRefDeprecated
in interfaceGateway.ResultOrBuilder
- Returns:
- The refDeprecated.
-
getRefDeprecatedBytes
public com.google.protobuf.ByteString getRefDeprecatedBytes()Deprecated non-array refs.
string refDeprecated = 1;
- Specified by:
getRefDeprecatedBytes
in interfaceGateway.ResultOrBuilder
- Returns:
- The bytes for refDeprecated.
-
setRefDeprecated
Deprecated non-array refs.
string refDeprecated = 1;
- Parameters:
value
- The refDeprecated to set.- Returns:
- This builder for chaining.
-
clearRefDeprecated
Deprecated non-array refs.
string refDeprecated = 1;
- Returns:
- This builder for chaining.
-
setRefDeprecatedBytes
Deprecated non-array refs.
string refDeprecated = 1;
- Parameters:
value
- The bytes for refDeprecated to set.- Returns:
- This builder for chaining.
-
hasRefsDeprecated
public boolean hasRefsDeprecated().moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
- Specified by:
hasRefsDeprecated
in interfaceGateway.ResultOrBuilder
- Returns:
- Whether the refsDeprecated field is set.
-
getRefsDeprecated
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
- Specified by:
getRefsDeprecated
in interfaceGateway.ResultOrBuilder
- Returns:
- The refsDeprecated.
-
setRefsDeprecated
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
-
setRefsDeprecated
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
-
mergeRefsDeprecated
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
-
clearRefsDeprecated
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
-
getRefsDeprecatedBuilder
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
-
getRefsDeprecatedOrBuilder
.moby.buildkit.v1.frontend.RefMapDeprecated refsDeprecated = 2;
- Specified by:
getRefsDeprecatedOrBuilder
in interfaceGateway.ResultOrBuilder
-
hasRef
public boolean hasRef().moby.buildkit.v1.frontend.Ref ref = 3;
- Specified by:
hasRef
in interfaceGateway.ResultOrBuilder
- Returns:
- Whether the ref field is set.
-
getRef
.moby.buildkit.v1.frontend.Ref ref = 3;
- Specified by:
getRef
in interfaceGateway.ResultOrBuilder
- Returns:
- The ref.
-
setRef
.moby.buildkit.v1.frontend.Ref ref = 3;
-
setRef
.moby.buildkit.v1.frontend.Ref ref = 3;
-
mergeRef
.moby.buildkit.v1.frontend.Ref ref = 3;
-
clearRef
.moby.buildkit.v1.frontend.Ref ref = 3;
-
getRefBuilder
.moby.buildkit.v1.frontend.Ref ref = 3;
-
getRefOrBuilder
.moby.buildkit.v1.frontend.Ref ref = 3;
- Specified by:
getRefOrBuilder
in interfaceGateway.ResultOrBuilder
-
hasRefs
public boolean hasRefs().moby.buildkit.v1.frontend.RefMap refs = 4;
- Specified by:
hasRefs
in interfaceGateway.ResultOrBuilder
- Returns:
- Whether the refs field is set.
-
getRefs
.moby.buildkit.v1.frontend.RefMap refs = 4;
- Specified by:
getRefs
in interfaceGateway.ResultOrBuilder
- Returns:
- The refs.
-
setRefs
.moby.buildkit.v1.frontend.RefMap refs = 4;
-
setRefs
.moby.buildkit.v1.frontend.RefMap refs = 4;
-
mergeRefs
.moby.buildkit.v1.frontend.RefMap refs = 4;
-
clearRefs
.moby.buildkit.v1.frontend.RefMap refs = 4;
-
getRefsBuilder
.moby.buildkit.v1.frontend.RefMap refs = 4;
-
getRefsOrBuilder
.moby.buildkit.v1.frontend.RefMap refs = 4;
- Specified by:
getRefsOrBuilder
in interfaceGateway.ResultOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:Gateway.ResultOrBuilder
map<string, bytes> metadata = 10;
- Specified by:
getMetadataCount
in interfaceGateway.ResultOrBuilder
-
containsMetadata
map<string, bytes> metadata = 10;
- Specified by:
containsMetadata
in interfaceGateway.ResultOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceGateway.ResultOrBuilder
-
getMetadataMap
map<string, bytes> metadata = 10;
- Specified by:
getMetadataMap
in interfaceGateway.ResultOrBuilder
-
getMetadataOrDefault
public com.google.protobuf.ByteString getMetadataOrDefault(String key, com.google.protobuf.ByteString defaultValue) map<string, bytes> metadata = 10;
- Specified by:
getMetadataOrDefault
in interfaceGateway.ResultOrBuilder
-
getMetadataOrThrow
map<string, bytes> metadata = 10;
- Specified by:
getMetadataOrThrow
in interfaceGateway.ResultOrBuilder
-
clearMetadata
-
removeMetadata
map<string, bytes> metadata = 10;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
map<string, bytes> metadata = 10;
-
putAllMetadata
map<string, bytes> metadata = 10;
-
getAttestationsCount
public int getAttestationsCount()Description copied from interface:Gateway.ResultOrBuilder
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
- Specified by:
getAttestationsCount
in interfaceGateway.ResultOrBuilder
-
containsAttestations
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
- Specified by:
containsAttestations
in interfaceGateway.ResultOrBuilder
-
getAttestations
Deprecated.UsegetAttestationsMap()
instead.- Specified by:
getAttestations
in interfaceGateway.ResultOrBuilder
-
getAttestationsMap
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
- Specified by:
getAttestationsMap
in interfaceGateway.ResultOrBuilder
-
getAttestationsOrDefault
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
- Specified by:
getAttestationsOrDefault
in interfaceGateway.ResultOrBuilder
-
getAttestationsOrThrow
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
- Specified by:
getAttestationsOrThrow
in interfaceGateway.ResultOrBuilder
-
clearAttestations
-
removeAttestations
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
-
getMutableAttestations
Deprecated.Use alternate mutation accessors instead. -
putAttestations
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
-
putAllAttestations
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
-
putAttestationsBuilderIfAbsent
11 was used during development and is reserved for old attestation format
map<string, .moby.buildkit.v1.frontend.Attestations> attestations = 12;
-