public final class ElasticSpec extends com.google.protobuf.GeneratedMessageV3 implements ElasticSpecOrBuilder
appscode.kubernetes.v1beta2.ElasticSpec| Modifier and Type | Class and Description |
|---|---|
static class |
ElasticSpec.Builder
Protobuf type
appscode.kubernetes.v1beta2.ElasticSpec |
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 |
BACKUP_SCHEDULE_FIELD_NUMBER |
static int |
DO_NOT_DELETE_FIELD_NUMBER |
static int |
INIT_FIELD_NUMBER |
static int |
NODE_SELECTOR_FIELD_NUMBER |
static int |
REPLICAS_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_NAME_FIELD_NUMBER |
static int |
STORAGE_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNodeSelector(java.lang.String key)
map<string, string> node_selector = 5; |
boolean |
equals(java.lang.Object obj) |
BackupScheduleSpec |
getBackupSchedule()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7; |
BackupScheduleSpecOrBuilder |
getBackupScheduleOrBuilder()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7; |
static ElasticSpec |
getDefaultInstance() |
ElasticSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDoNotDelete()
optional bool do_not_delete = 8; |
InitSpec |
getInit()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6; |
InitSpecOrBuilder |
getInitOrBuilder()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6; |
java.util.Map<java.lang.String,java.lang.String> |
getNodeSelector()
Deprecated.
|
int |
getNodeSelectorCount()
map<string, string> node_selector = 5; |
java.util.Map<java.lang.String,java.lang.String> |
getNodeSelectorMap()
map<string, string> node_selector = 5; |
java.lang.String |
getNodeSelectorOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> node_selector = 5; |
java.lang.String |
getNodeSelectorOrThrow(java.lang.String key)
map<string, string> node_selector = 5; |
com.google.protobuf.Parser<ElasticSpec> |
getParserForType() |
int |
getReplicas()
optional int32 replicas = 2; |
int |
getSerializedSize() |
java.lang.String |
getServiceAccountName()
optional string service_account_name = 4; |
com.google.protobuf.ByteString |
getServiceAccountNameBytes()
optional string service_account_name = 4; |
StorageSpec |
getStorage()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3; |
StorageSpecOrBuilder |
getStorageOrBuilder()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getVersion()
optional string version = 1; |
com.google.protobuf.ByteString |
getVersionBytes()
optional string version = 1; |
boolean |
hasBackupSchedule()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7; |
int |
hashCode() |
boolean |
hasInit()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6; |
boolean |
hasStorage()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ElasticSpec.Builder |
newBuilder() |
static ElasticSpec.Builder |
newBuilder(ElasticSpec prototype) |
ElasticSpec.Builder |
newBuilderForType() |
protected ElasticSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ElasticSpec |
parseDelimitedFrom(java.io.InputStream input) |
static ElasticSpec |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElasticSpec |
parseFrom(byte[] data) |
static ElasticSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElasticSpec |
parseFrom(com.google.protobuf.ByteString data) |
static ElasticSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElasticSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ElasticSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ElasticSpec |
parseFrom(java.io.InputStream input) |
static ElasticSpec |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ElasticSpec> |
parser() |
ElasticSpec.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 VERSION_FIELD_NUMBER
public static final int REPLICAS_FIELD_NUMBER
public static final int STORAGE_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER
public static final int NODE_SELECTOR_FIELD_NUMBER
public static final int INIT_FIELD_NUMBER
public static final int BACKUP_SCHEDULE_FIELD_NUMBER
public static final int DO_NOT_DELETE_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 java.lang.String getVersion()
optional string version = 1;getVersion in interface ElasticSpecOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
optional string version = 1;getVersionBytes in interface ElasticSpecOrBuilderpublic int getReplicas()
optional int32 replicas = 2;getReplicas in interface ElasticSpecOrBuilderpublic boolean hasStorage()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3;hasStorage in interface ElasticSpecOrBuilderpublic StorageSpec getStorage()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3;getStorage in interface ElasticSpecOrBuilderpublic StorageSpecOrBuilder getStorageOrBuilder()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3;getStorageOrBuilder in interface ElasticSpecOrBuilderpublic java.lang.String getServiceAccountName()
optional string service_account_name = 4;getServiceAccountName in interface ElasticSpecOrBuilderpublic com.google.protobuf.ByteString getServiceAccountNameBytes()
optional string service_account_name = 4;getServiceAccountNameBytes in interface ElasticSpecOrBuilderpublic int getNodeSelectorCount()
ElasticSpecOrBuildermap<string, string> node_selector = 5;getNodeSelectorCount in interface ElasticSpecOrBuilderpublic boolean containsNodeSelector(java.lang.String key)
map<string, string> node_selector = 5;containsNodeSelector in interface ElasticSpecOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getNodeSelector()
getNodeSelectorMap() instead.getNodeSelector in interface ElasticSpecOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getNodeSelectorMap()
map<string, string> node_selector = 5;getNodeSelectorMap in interface ElasticSpecOrBuilderpublic java.lang.String getNodeSelectorOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> node_selector = 5;getNodeSelectorOrDefault in interface ElasticSpecOrBuilderpublic java.lang.String getNodeSelectorOrThrow(java.lang.String key)
map<string, string> node_selector = 5;getNodeSelectorOrThrow in interface ElasticSpecOrBuilderpublic boolean hasInit()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6;hasInit in interface ElasticSpecOrBuilderpublic InitSpec getInit()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6;getInit in interface ElasticSpecOrBuilderpublic InitSpecOrBuilder getInitOrBuilder()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6;getInitOrBuilder in interface ElasticSpecOrBuilderpublic boolean hasBackupSchedule()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7;hasBackupSchedule in interface ElasticSpecOrBuilderpublic BackupScheduleSpec getBackupSchedule()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7;getBackupSchedule in interface ElasticSpecOrBuilderpublic BackupScheduleSpecOrBuilder getBackupScheduleOrBuilder()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7;getBackupScheduleOrBuilder in interface ElasticSpecOrBuilderpublic boolean getDoNotDelete()
optional bool do_not_delete = 8;getDoNotDelete in interface ElasticSpecOrBuilderpublic 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 ElasticSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElasticSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElasticSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElasticSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ElasticSpec parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ElasticSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ElasticSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ElasticSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ElasticSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ElasticSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ElasticSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ElasticSpec.Builder newBuilder()
public static ElasticSpec.Builder newBuilder(ElasticSpec prototype)
public ElasticSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ElasticSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ElasticSpec getDefaultInstance()
public static com.google.protobuf.Parser<ElasticSpec> parser()
public com.google.protobuf.Parser<ElasticSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ElasticSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder