public static final class PersistentVolume.PersistentVolumeSpec extends com.google.protobuf.GeneratedMessageV3 implements PersistentVolume.PersistentVolumeSpecOrBuilder
appscode.kubernetes.v1beta2.PersistentVolume.PersistentVolumeSpec| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentVolume.PersistentVolumeSpec.Builder
Protobuf type
appscode.kubernetes.v1beta2.PersistentVolume.PersistentVolumeSpec |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_MODES_FIELD_NUMBER |
static int |
CAPACITY_FIELD_NUMBER |
static int |
CLAIM_REF_FIELD_NUMBER |
static int |
PERSISTENT_VOLUME_RECLAIM_POLICY_FIELD_NUMBER |
static int |
PERSISTENT_VOLUME_SOURCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCapacity(java.lang.String key)
map<string, string> capacity = 1; |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccessModes(int index)
repeated string access_modes = 2; |
com.google.protobuf.ByteString |
getAccessModesBytes(int index)
repeated string access_modes = 2; |
int |
getAccessModesCount()
repeated string access_modes = 2; |
com.google.protobuf.ProtocolStringList |
getAccessModesList()
repeated string access_modes = 2; |
java.util.Map<java.lang.String,java.lang.String> |
getCapacity()
Deprecated.
|
int |
getCapacityCount()
map<string, string> capacity = 1; |
java.util.Map<java.lang.String,java.lang.String> |
getCapacityMap()
map<string, string> capacity = 1; |
java.lang.String |
getCapacityOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> capacity = 1; |
java.lang.String |
getCapacityOrThrow(java.lang.String key)
map<string, string> capacity = 1; |
ObjectReference |
getClaimRef()
optional .appscode.kubernetes.v1beta2.ObjectReference claim_ref = 4; |
ObjectReferenceOrBuilder |
getClaimRefOrBuilder()
optional .appscode.kubernetes.v1beta2.ObjectReference claim_ref = 4; |
static PersistentVolume.PersistentVolumeSpec |
getDefaultInstance() |
PersistentVolume.PersistentVolumeSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<PersistentVolume.PersistentVolumeSpec> |
getParserForType() |
java.lang.String |
getPersistentVolumeReclaimPolicy()
optional string persistent_volume_reclaim_policy = 3; |
com.google.protobuf.ByteString |
getPersistentVolumeReclaimPolicyBytes()
optional string persistent_volume_reclaim_policy = 3; |
PersistentVolumeSource |
getPersistentVolumeSource()
optional .appscode.kubernetes.v1beta2.PersistentVolumeSource persistent_volume_source = 5; |
PersistentVolumeSourceOrBuilder |
getPersistentVolumeSourceOrBuilder()
optional .appscode.kubernetes.v1beta2.PersistentVolumeSource persistent_volume_source = 5; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClaimRef()
optional .appscode.kubernetes.v1beta2.ObjectReference claim_ref = 4; |
int |
hashCode() |
boolean |
hasPersistentVolumeSource()
optional .appscode.kubernetes.v1beta2.PersistentVolumeSource persistent_volume_source = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static PersistentVolume.PersistentVolumeSpec.Builder |
newBuilder() |
static PersistentVolume.PersistentVolumeSpec.Builder |
newBuilder(PersistentVolume.PersistentVolumeSpec prototype) |
PersistentVolume.PersistentVolumeSpec.Builder |
newBuilderForType() |
protected PersistentVolume.PersistentVolumeSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static PersistentVolume.PersistentVolumeSpec |
parseDelimitedFrom(java.io.InputStream input) |
static PersistentVolume.PersistentVolumeSpec |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersistentVolume.PersistentVolumeSpec |
parseFrom(byte[] data) |
static PersistentVolume.PersistentVolumeSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersistentVolume.PersistentVolumeSpec |
parseFrom(com.google.protobuf.ByteString data) |
static PersistentVolume.PersistentVolumeSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersistentVolume.PersistentVolumeSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PersistentVolume.PersistentVolumeSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PersistentVolume.PersistentVolumeSpec |
parseFrom(java.io.InputStream input) |
static PersistentVolume.PersistentVolumeSpec |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PersistentVolume.PersistentVolumeSpec> |
parser() |
PersistentVolume.PersistentVolumeSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CAPACITY_FIELD_NUMBER
public static final int ACCESS_MODES_FIELD_NUMBER
public static final int PERSISTENT_VOLUME_RECLAIM_POLICY_FIELD_NUMBER
public static final int CLAIM_REF_FIELD_NUMBER
public static final int PERSISTENT_VOLUME_SOURCE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getCapacityCount()
PersistentVolume.PersistentVolumeSpecOrBuildermap<string, string> capacity = 1;getCapacityCount in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic boolean containsCapacity(java.lang.String key)
map<string, string> capacity = 1;containsCapacity in interface PersistentVolume.PersistentVolumeSpecOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getCapacity()
getCapacityMap() instead.getCapacity in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getCapacityMap()
map<string, string> capacity = 1;getCapacityMap in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic java.lang.String getCapacityOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> capacity = 1;getCapacityOrDefault in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic java.lang.String getCapacityOrThrow(java.lang.String key)
map<string, string> capacity = 1;getCapacityOrThrow in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic com.google.protobuf.ProtocolStringList getAccessModesList()
repeated string access_modes = 2;getAccessModesList in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic int getAccessModesCount()
repeated string access_modes = 2;getAccessModesCount in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic java.lang.String getAccessModes(int index)
repeated string access_modes = 2;getAccessModes in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic com.google.protobuf.ByteString getAccessModesBytes(int index)
repeated string access_modes = 2;getAccessModesBytes in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic java.lang.String getPersistentVolumeReclaimPolicy()
optional string persistent_volume_reclaim_policy = 3;getPersistentVolumeReclaimPolicy in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic com.google.protobuf.ByteString getPersistentVolumeReclaimPolicyBytes()
optional string persistent_volume_reclaim_policy = 3;getPersistentVolumeReclaimPolicyBytes in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic boolean hasClaimRef()
optional .appscode.kubernetes.v1beta2.ObjectReference claim_ref = 4;hasClaimRef in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic ObjectReference getClaimRef()
optional .appscode.kubernetes.v1beta2.ObjectReference claim_ref = 4;getClaimRef in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic ObjectReferenceOrBuilder getClaimRefOrBuilder()
optional .appscode.kubernetes.v1beta2.ObjectReference claim_ref = 4;getClaimRefOrBuilder in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic boolean hasPersistentVolumeSource()
optional .appscode.kubernetes.v1beta2.PersistentVolumeSource persistent_volume_source = 5;hasPersistentVolumeSource in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic PersistentVolumeSource getPersistentVolumeSource()
optional .appscode.kubernetes.v1beta2.PersistentVolumeSource persistent_volume_source = 5;getPersistentVolumeSource in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic PersistentVolumeSourceOrBuilder getPersistentVolumeSourceOrBuilder()
optional .appscode.kubernetes.v1beta2.PersistentVolumeSource persistent_volume_source = 5;getPersistentVolumeSourceOrBuilder in interface PersistentVolume.PersistentVolumeSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PersistentVolume.PersistentVolumeSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersistentVolume.PersistentVolumeSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersistentVolume.PersistentVolumeSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersistentVolume.PersistentVolumeSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PersistentVolume.PersistentVolumeSpec parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PersistentVolume.PersistentVolumeSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PersistentVolume.PersistentVolumeSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PersistentVolume.PersistentVolumeSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PersistentVolume.PersistentVolumeSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PersistentVolume.PersistentVolumeSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic PersistentVolume.PersistentVolumeSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PersistentVolume.PersistentVolumeSpec.Builder newBuilder()
public static PersistentVolume.PersistentVolumeSpec.Builder newBuilder(PersistentVolume.PersistentVolumeSpec prototype)
public PersistentVolume.PersistentVolumeSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PersistentVolume.PersistentVolumeSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PersistentVolume.PersistentVolumeSpec getDefaultInstance()
public static com.google.protobuf.Parser<PersistentVolume.PersistentVolumeSpec> parser()
public com.google.protobuf.Parser<PersistentVolume.PersistentVolumeSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PersistentVolume.PersistentVolumeSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder