Class ControlOuterClass.Descriptor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ControlOuterClass.Descriptor.Builder>
com.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.Descriptor.Builder>
moby.buildkit.v1.ControlOuterClass.Descriptor.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ControlOuterClass.DescriptorOrBuilder
- Enclosing class:
ControlOuterClass.Descriptor
public static final class ControlOuterClass.Descriptor.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.Descriptor.Builder>
implements ControlOuterClass.DescriptorOrBuilder
Protobuf type
moby.buildkit.v1.Descriptor
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
string digest = 2;
string media_type = 1;
int64 size = 3;
boolean
map<string, string> annotations = 5;
Deprecated.int
map<string, string> annotations = 5;
map<string, string> annotations = 5;
getAnnotationsOrDefault
(String key, String defaultValue) map<string, string> annotations = 5;
map<string, string> annotations = 5;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string digest = 2;
com.google.protobuf.ByteString
string digest = 2;
string media_type = 1;
com.google.protobuf.ByteString
string media_type = 1;
Deprecated.long
getSize()
int64 size = 3;
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) putAllAnnotations
(Map<String, String> values) map<string, string> annotations = 5;
putAnnotations
(String key, String value) map<string, string> annotations = 5;
removeAnnotations
(String key) map<string, string> annotations = 5;
string digest = 2;
setDigestBytes
(com.google.protobuf.ByteString value) string digest = 2;
setMediaType
(String value) string media_type = 1;
setMediaTypeBytes
(com.google.protobuf.ByteString value) string media_type = 1;
setSize
(long value) int64 size = 3;
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<ControlOuterClass.Descriptor.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.Descriptor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.Descriptor.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<ControlOuterClass.Descriptor.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<ControlOuterClass.Descriptor.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<ControlOuterClass.Descriptor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.Descriptor.Builder>
-
mergeFrom
public ControlOuterClass.Descriptor.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<ControlOuterClass.Descriptor.Builder>
- Throws:
IOException
-
getMediaType
string media_type = 1;
- Specified by:
getMediaType
in interfaceControlOuterClass.DescriptorOrBuilder
- Returns:
- The mediaType.
-
getMediaTypeBytes
public com.google.protobuf.ByteString getMediaTypeBytes()string media_type = 1;
- Specified by:
getMediaTypeBytes
in interfaceControlOuterClass.DescriptorOrBuilder
- Returns:
- The bytes for mediaType.
-
setMediaType
string media_type = 1;
- Parameters:
value
- The mediaType to set.- Returns:
- This builder for chaining.
-
clearMediaType
string media_type = 1;
- Returns:
- This builder for chaining.
-
setMediaTypeBytes
string media_type = 1;
- Parameters:
value
- The bytes for mediaType to set.- Returns:
- This builder for chaining.
-
getDigest
string digest = 2;
- Specified by:
getDigest
in interfaceControlOuterClass.DescriptorOrBuilder
- Returns:
- The digest.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes()string digest = 2;
- Specified by:
getDigestBytes
in interfaceControlOuterClass.DescriptorOrBuilder
- Returns:
- The bytes for digest.
-
setDigest
string digest = 2;
- Parameters:
value
- The digest to set.- Returns:
- This builder for chaining.
-
clearDigest
string digest = 2;
- Returns:
- This builder for chaining.
-
setDigestBytes
string digest = 2;
- Parameters:
value
- The bytes for digest to set.- Returns:
- This builder for chaining.
-
getSize
public long getSize()int64 size = 3;
- Specified by:
getSize
in interfaceControlOuterClass.DescriptorOrBuilder
- Returns:
- The size.
-
setSize
int64 size = 3;
- Parameters:
value
- The size to set.- Returns:
- This builder for chaining.
-
clearSize
int64 size = 3;
- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:ControlOuterClass.DescriptorOrBuilder
map<string, string> annotations = 5;
- Specified by:
getAnnotationsCount
in interfaceControlOuterClass.DescriptorOrBuilder
-
containsAnnotations
map<string, string> annotations = 5;
- Specified by:
containsAnnotations
in interfaceControlOuterClass.DescriptorOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceControlOuterClass.DescriptorOrBuilder
-
getAnnotationsMap
map<string, string> annotations = 5;
- Specified by:
getAnnotationsMap
in interfaceControlOuterClass.DescriptorOrBuilder
-
getAnnotationsOrDefault
map<string, string> annotations = 5;
- Specified by:
getAnnotationsOrDefault
in interfaceControlOuterClass.DescriptorOrBuilder
-
getAnnotationsOrThrow
map<string, string> annotations = 5;
- Specified by:
getAnnotationsOrThrow
in interfaceControlOuterClass.DescriptorOrBuilder
-
clearAnnotations
-
removeAnnotations
map<string, string> annotations = 5;
-
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
map<string, string> annotations = 5;
-
putAllAnnotations
map<string, string> annotations = 5;
-