public static final class V1.ResourceQuotaSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder> implements V1.ResourceQuotaSpecOrBuilder
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.Protobuf type
k8s.io.api.core.v1.ResourceQuotaSpec| Modifier and Type | Method and Description |
|---|---|
V1.ResourceQuotaSpec.Builder |
addAllScopes(Iterable<String> values)
A collection of filters that must match each object tracked by a quota.
|
V1.ResourceQuotaSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.ResourceQuotaSpec.Builder |
addScopes(String value)
A collection of filters that must match each object tracked by a quota.
|
V1.ResourceQuotaSpec.Builder |
addScopesBytes(com.google.protobuf.ByteString value)
A collection of filters that must match each object tracked by a quota.
|
V1.ResourceQuotaSpec |
build() |
V1.ResourceQuotaSpec |
buildPartial() |
V1.ResourceQuotaSpec.Builder |
clear() |
V1.ResourceQuotaSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.ResourceQuotaSpec.Builder |
clearHard() |
V1.ResourceQuotaSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.ResourceQuotaSpec.Builder |
clearScopes()
A collection of filters that must match each object tracked by a quota.
|
V1.ResourceQuotaSpec.Builder |
clone() |
boolean |
containsHard(String key)
Hard is the set of desired hard limits for each named resource.
|
V1.ResourceQuotaSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,Resource.Quantity> |
getHard()
Deprecated.
|
int |
getHardCount()
Hard is the set of desired hard limits for each named resource.
|
Map<String,Resource.Quantity> |
getHardMap()
Hard is the set of desired hard limits for each named resource.
|
Resource.Quantity |
getHardOrDefault(String key,
Resource.Quantity defaultValue)
Hard is the set of desired hard limits for each named resource.
|
Resource.Quantity |
getHardOrThrow(String key)
Hard is the set of desired hard limits for each named resource.
|
Map<String,Resource.Quantity> |
getMutableHard()
Deprecated.
|
String |
getScopes(int index)
A collection of filters that must match each object tracked by a quota.
|
com.google.protobuf.ByteString |
getScopesBytes(int index)
A collection of filters that must match each object tracked by a quota.
|
int |
getScopesCount()
A collection of filters that must match each object tracked by a quota.
|
com.google.protobuf.ProtocolStringList |
getScopesList()
A collection of filters that must match each object tracked by a quota.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1.ResourceQuotaSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.ResourceQuotaSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.ResourceQuotaSpec.Builder |
mergeFrom(V1.ResourceQuotaSpec other) |
V1.ResourceQuotaSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.ResourceQuotaSpec.Builder |
putAllHard(Map<String,Resource.Quantity> values)
Hard is the set of desired hard limits for each named resource.
|
V1.ResourceQuotaSpec.Builder |
putHard(String key,
Resource.Quantity value)
Hard is the set of desired hard limits for each named resource.
|
V1.ResourceQuotaSpec.Builder |
removeHard(String key)
Hard is the set of desired hard limits for each named resource.
|
V1.ResourceQuotaSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.ResourceQuotaSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.ResourceQuotaSpec.Builder |
setScopes(int index,
String value)
A collection of filters that must match each object tracked by a quota.
|
V1.ResourceQuotaSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.ResourceQuotaSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.ResourceQuotaSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.ResourceQuotaSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder mergeFrom(V1.ResourceQuotaSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public V1.ResourceQuotaSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ResourceQuotaSpec.Builder>IOExceptionpublic int getHardCount()
V1.ResourceQuotaSpecOrBuilderHard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;getHardCount in interface V1.ResourceQuotaSpecOrBuilderpublic boolean containsHard(String key)
Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;containsHard in interface V1.ResourceQuotaSpecOrBuilder@Deprecated public Map<String,Resource.Quantity> getHard()
getHardMap() instead.getHard in interface V1.ResourceQuotaSpecOrBuilderpublic Map<String,Resource.Quantity> getHardMap()
Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;getHardMap in interface V1.ResourceQuotaSpecOrBuilderpublic Resource.Quantity getHardOrDefault(String key, Resource.Quantity defaultValue)
Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;getHardOrDefault in interface V1.ResourceQuotaSpecOrBuilderpublic Resource.Quantity getHardOrThrow(String key)
Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;getHardOrThrow in interface V1.ResourceQuotaSpecOrBuilderpublic V1.ResourceQuotaSpec.Builder clearHard()
public V1.ResourceQuotaSpec.Builder removeHard(String key)
Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;@Deprecated public Map<String,Resource.Quantity> getMutableHard()
public V1.ResourceQuotaSpec.Builder putHard(String key, Resource.Quantity value)
Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;public V1.ResourceQuotaSpec.Builder putAllHard(Map<String,Resource.Quantity> values)
Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;public com.google.protobuf.ProtocolStringList getScopesList()
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;getScopesList in interface V1.ResourceQuotaSpecOrBuilderpublic int getScopesCount()
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;getScopesCount in interface V1.ResourceQuotaSpecOrBuilderpublic String getScopes(int index)
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;getScopes in interface V1.ResourceQuotaSpecOrBuilderpublic com.google.protobuf.ByteString getScopesBytes(int index)
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;getScopesBytes in interface V1.ResourceQuotaSpecOrBuilderpublic V1.ResourceQuotaSpec.Builder setScopes(int index, String value)
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;public V1.ResourceQuotaSpec.Builder addScopes(String value)
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;public V1.ResourceQuotaSpec.Builder addAllScopes(Iterable<String> values)
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;public V1.ResourceQuotaSpec.Builder clearScopes()
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;public V1.ResourceQuotaSpec.Builder addScopesBytes(com.google.protobuf.ByteString value)
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional
repeated string scopes = 2;public final V1.ResourceQuotaSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>public final V1.ResourceQuotaSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ResourceQuotaSpec.Builder>Copyright © 2018. All rights reserved.