Class ControlOuterClass.PruneRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ControlOuterClass.PruneRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.PruneRequest.Builder>
moby.buildkit.v1.ControlOuterClass.PruneRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ControlOuterClass.PruneRequestOrBuilder
- Enclosing class:
ControlOuterClass.PruneRequest
public static final class ControlOuterClass.PruneRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.PruneRequest.Builder>
implements ControlOuterClass.PruneRequestOrBuilder
Protobuf type
moby.buildkit.v1.PruneRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFilter
(Iterable<String> values) repeated string filter = 1;
repeated string filter = 1;
addFilterBytes
(com.google.protobuf.ByteString value) repeated string filter = 1;
build()
clear()
clearAll()
bool all = 2;
repeated string filter = 1;
int64 keepDuration = 3;
int64 maxUsedSpace = 5;
int64 minFreeSpace = 6;
int64 reservedSpace = 4;
boolean
getAll()
bool all = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getFilter
(int index) repeated string filter = 1;
com.google.protobuf.ByteString
getFilterBytes
(int index) repeated string filter = 1;
int
repeated string filter = 1;
com.google.protobuf.ProtocolStringList
repeated string filter = 1;
long
int64 keepDuration = 3;
long
int64 maxUsedSpace = 5;
long
int64 minFreeSpace = 6;
long
int64 reservedSpace = 4;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setAll
(boolean value) bool all = 2;
repeated string filter = 1;
setKeepDuration
(long value) int64 keepDuration = 3;
setMaxUsedSpace
(long value) int64 maxUsedSpace = 5;
setMinFreeSpace
(long value) int64 minFreeSpace = 6;
setReservedSpace
(long value) int64 reservedSpace = 4;
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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.PruneRequest.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.PruneRequest.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.PruneRequest.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.PruneRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ControlOuterClass.PruneRequest.Builder>
-
mergeFrom
public ControlOuterClass.PruneRequest.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.PruneRequest.Builder>
- Throws:
IOException
-
getFilterList
public com.google.protobuf.ProtocolStringList getFilterList()repeated string filter = 1;
- Specified by:
getFilterList
in interfaceControlOuterClass.PruneRequestOrBuilder
- Returns:
- A list containing the filter.
-
getFilterCount
public int getFilterCount()repeated string filter = 1;
- Specified by:
getFilterCount
in interfaceControlOuterClass.PruneRequestOrBuilder
- Returns:
- The count of filter.
-
getFilter
repeated string filter = 1;
- Specified by:
getFilter
in interfaceControlOuterClass.PruneRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The filter at the given index.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes(int index) repeated string filter = 1;
- Specified by:
getFilterBytes
in interfaceControlOuterClass.PruneRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the filter at the given index.
-
setFilter
repeated string filter = 1;
- Parameters:
index
- The index to set the value at.value
- The filter to set.- Returns:
- This builder for chaining.
-
addFilter
repeated string filter = 1;
- Parameters:
value
- The filter to add.- Returns:
- This builder for chaining.
-
addAllFilter
repeated string filter = 1;
- Parameters:
values
- The filter to add.- Returns:
- This builder for chaining.
-
clearFilter
repeated string filter = 1;
- Returns:
- This builder for chaining.
-
addFilterBytes
repeated string filter = 1;
- Parameters:
value
- The bytes of the filter to add.- Returns:
- This builder for chaining.
-
getAll
public boolean getAll()bool all = 2;
- Specified by:
getAll
in interfaceControlOuterClass.PruneRequestOrBuilder
- Returns:
- The all.
-
setAll
bool all = 2;
- Parameters:
value
- The all to set.- Returns:
- This builder for chaining.
-
clearAll
bool all = 2;
- Returns:
- This builder for chaining.
-
getKeepDuration
public long getKeepDuration()int64 keepDuration = 3;
- Specified by:
getKeepDuration
in interfaceControlOuterClass.PruneRequestOrBuilder
- Returns:
- The keepDuration.
-
setKeepDuration
int64 keepDuration = 3;
- Parameters:
value
- The keepDuration to set.- Returns:
- This builder for chaining.
-
clearKeepDuration
int64 keepDuration = 3;
- Returns:
- This builder for chaining.
-
getReservedSpace
public long getReservedSpace()int64 reservedSpace = 4;
- Specified by:
getReservedSpace
in interfaceControlOuterClass.PruneRequestOrBuilder
- Returns:
- The reservedSpace.
-
setReservedSpace
int64 reservedSpace = 4;
- Parameters:
value
- The reservedSpace to set.- Returns:
- This builder for chaining.
-
clearReservedSpace
int64 reservedSpace = 4;
- Returns:
- This builder for chaining.
-
getMaxUsedSpace
public long getMaxUsedSpace()int64 maxUsedSpace = 5;
- Specified by:
getMaxUsedSpace
in interfaceControlOuterClass.PruneRequestOrBuilder
- Returns:
- The maxUsedSpace.
-
setMaxUsedSpace
int64 maxUsedSpace = 5;
- Parameters:
value
- The maxUsedSpace to set.- Returns:
- This builder for chaining.
-
clearMaxUsedSpace
int64 maxUsedSpace = 5;
- Returns:
- This builder for chaining.
-
getMinFreeSpace
public long getMinFreeSpace()int64 minFreeSpace = 6;
- Specified by:
getMinFreeSpace
in interfaceControlOuterClass.PruneRequestOrBuilder
- Returns:
- The minFreeSpace.
-
setMinFreeSpace
int64 minFreeSpace = 6;
- Parameters:
value
- The minFreeSpace to set.- Returns:
- This builder for chaining.
-
clearMinFreeSpace
int64 minFreeSpace = 6;
- Returns:
- This builder for chaining.
-