Class ControlOuterClass.CacheOptionsEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ControlOuterClass.CacheOptionsEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.CacheOptionsEntry.Builder>
moby.buildkit.v1.ControlOuterClass.CacheOptionsEntry.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ControlOuterClass.CacheOptionsEntryOrBuilder
- Enclosing class:
ControlOuterClass.CacheOptionsEntry
public static final class ControlOuterClass.CacheOptionsEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.CacheOptionsEntry.Builder>
implements ControlOuterClass.CacheOptionsEntryOrBuilder
Protobuf type
moby.buildkit.v1.CacheOptionsEntry
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
Type is like "registry" or "local"boolean
containsAttrs
(String key) Attrs are like mode=(min,max), ref=example.com:5000/foo/bar .getAttrs()
Deprecated.int
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar .Attrs are like mode=(min,max), ref=example.com:5000/foo/bar .getAttrsOrDefault
(String key, String defaultValue) Attrs are like mode=(min,max), ref=example.com:5000/foo/bar .getAttrsOrThrow
(String key) Attrs are like mode=(min,max), ref=example.com:5000/foo/bar .static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.getType()
Type is like "registry" or "local"com.google.protobuf.ByteString
Type is like "registry" or "local"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) putAllAttrs
(Map<String, String> values) Attrs are like mode=(min,max), ref=example.com:5000/foo/bar .Attrs are like mode=(min,max), ref=example.com:5000/foo/bar .removeAttrs
(String key) Attrs are like mode=(min,max), ref=example.com:5000/foo/bar .Type is like "registry" or "local"setTypeBytes
(com.google.protobuf.ByteString value) Type is like "registry" or "local"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.CacheOptionsEntry.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.CacheOptionsEntry.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.CacheOptionsEntry.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.CacheOptionsEntry.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.CacheOptionsEntry.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.CacheOptionsEntry.Builder>
-
mergeFrom
public ControlOuterClass.CacheOptionsEntry.Builder mergeFrom(ControlOuterClass.CacheOptionsEntry other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.CacheOptionsEntry.Builder>
-
mergeFrom
public ControlOuterClass.CacheOptionsEntry.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.CacheOptionsEntry.Builder>
- Throws:
IOException
-
getType
Type is like "registry" or "local"
string Type = 1;
- Specified by:
getType
in interfaceControlOuterClass.CacheOptionsEntryOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Type is like "registry" or "local"
string Type = 1;
- Specified by:
getTypeBytes
in interfaceControlOuterClass.CacheOptionsEntryOrBuilder
- Returns:
- The bytes for type.
-
setType
Type is like "registry" or "local"
string Type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type is like "registry" or "local"
string Type = 1;
- Returns:
- This builder for chaining.
-
setTypeBytes
public ControlOuterClass.CacheOptionsEntry.Builder setTypeBytes(com.google.protobuf.ByteString value) Type is like "registry" or "local"
string Type = 1;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getAttrsCount
public int getAttrsCount()Description copied from interface:ControlOuterClass.CacheOptionsEntryOrBuilder
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . See cache importer/exporter implementations' documentation.
map<string, string> Attrs = 2;
- Specified by:
getAttrsCount
in interfaceControlOuterClass.CacheOptionsEntryOrBuilder
-
containsAttrs
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . See cache importer/exporter implementations' documentation.
map<string, string> Attrs = 2;
- Specified by:
containsAttrs
in interfaceControlOuterClass.CacheOptionsEntryOrBuilder
-
getAttrs
Deprecated.UsegetAttrsMap()
instead.- Specified by:
getAttrs
in interfaceControlOuterClass.CacheOptionsEntryOrBuilder
-
getAttrsMap
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . See cache importer/exporter implementations' documentation.
map<string, string> Attrs = 2;
- Specified by:
getAttrsMap
in interfaceControlOuterClass.CacheOptionsEntryOrBuilder
-
getAttrsOrDefault
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . See cache importer/exporter implementations' documentation.
map<string, string> Attrs = 2;
- Specified by:
getAttrsOrDefault
in interfaceControlOuterClass.CacheOptionsEntryOrBuilder
-
getAttrsOrThrow
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . See cache importer/exporter implementations' documentation.
map<string, string> Attrs = 2;
- Specified by:
getAttrsOrThrow
in interfaceControlOuterClass.CacheOptionsEntryOrBuilder
-
clearAttrs
-
removeAttrs
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . See cache importer/exporter implementations' documentation.
map<string, string> Attrs = 2;
-
getMutableAttrs
Deprecated.Use alternate mutation accessors instead. -
putAttrs
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . See cache importer/exporter implementations' documentation.
map<string, string> Attrs = 2;
-
putAllAttrs
Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . See cache importer/exporter implementations' documentation.
map<string, string> Attrs = 2;
-