public static final class Elastic.Spec extends com.google.protobuf.GeneratedMessageV3 implements Elastic.SpecOrBuilder
appscode.kubernetes.v1beta2.Elastic.Spec| Modifier and Type | Class and Description |
|---|---|
static class |
Elastic.Spec.Builder
Protobuf type
appscode.kubernetes.v1beta2.Elastic.Spec |
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 Elastic.Spec |
getDefaultInstance() |
Elastic.Spec |
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<Elastic.Spec> |
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 Elastic.Spec.Builder |
newBuilder() |
static Elastic.Spec.Builder |
newBuilder(Elastic.Spec prototype) |
Elastic.Spec.Builder |
newBuilderForType() |
protected Elastic.Spec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Elastic.Spec |
parseDelimitedFrom(java.io.InputStream input) |
static Elastic.Spec |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Elastic.Spec |
parseFrom(byte[] data) |
static Elastic.Spec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Elastic.Spec |
parseFrom(com.google.protobuf.ByteString data) |
static Elastic.Spec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Elastic.Spec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Elastic.Spec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Elastic.Spec |
parseFrom(java.io.InputStream input) |
static Elastic.Spec |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Elastic.Spec> |
parser() |
Elastic.Spec.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 Elastic.SpecOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
optional string version = 1;getVersionBytes in interface Elastic.SpecOrBuilderpublic int getReplicas()
optional int32 replicas = 2;getReplicas in interface Elastic.SpecOrBuilderpublic boolean hasStorage()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3;hasStorage in interface Elastic.SpecOrBuilderpublic StorageSpec getStorage()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3;getStorage in interface Elastic.SpecOrBuilderpublic StorageSpecOrBuilder getStorageOrBuilder()
optional .appscode.kubernetes.v1beta2.StorageSpec storage = 3;getStorageOrBuilder in interface Elastic.SpecOrBuilderpublic java.lang.String getServiceAccountName()
optional string service_account_name = 4;getServiceAccountName in interface Elastic.SpecOrBuilderpublic com.google.protobuf.ByteString getServiceAccountNameBytes()
optional string service_account_name = 4;getServiceAccountNameBytes in interface Elastic.SpecOrBuilderpublic int getNodeSelectorCount()
Elastic.SpecOrBuildermap<string, string> node_selector = 5;getNodeSelectorCount in interface Elastic.SpecOrBuilderpublic boolean containsNodeSelector(java.lang.String key)
map<string, string> node_selector = 5;containsNodeSelector in interface Elastic.SpecOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getNodeSelector()
getNodeSelectorMap() instead.getNodeSelector in interface Elastic.SpecOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getNodeSelectorMap()
map<string, string> node_selector = 5;getNodeSelectorMap in interface Elastic.SpecOrBuilderpublic java.lang.String getNodeSelectorOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> node_selector = 5;getNodeSelectorOrDefault in interface Elastic.SpecOrBuilderpublic java.lang.String getNodeSelectorOrThrow(java.lang.String key)
map<string, string> node_selector = 5;getNodeSelectorOrThrow in interface Elastic.SpecOrBuilderpublic boolean hasInit()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6;hasInit in interface Elastic.SpecOrBuilderpublic InitSpec getInit()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6;getInit in interface Elastic.SpecOrBuilderpublic InitSpecOrBuilder getInitOrBuilder()
optional .appscode.kubernetes.v1beta2.InitSpec init = 6;getInitOrBuilder in interface Elastic.SpecOrBuilderpublic boolean hasBackupSchedule()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7;hasBackupSchedule in interface Elastic.SpecOrBuilderpublic BackupScheduleSpec getBackupSchedule()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7;getBackupSchedule in interface Elastic.SpecOrBuilderpublic BackupScheduleSpecOrBuilder getBackupScheduleOrBuilder()
optional .appscode.kubernetes.v1beta2.BackupScheduleSpec backup_schedule = 7;getBackupScheduleOrBuilder in interface Elastic.SpecOrBuilderpublic boolean getDoNotDelete()
optional bool do_not_delete = 8;getDoNotDelete in interface Elastic.SpecOrBuilderpublic 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 Elastic.Spec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Elastic.Spec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Elastic.Spec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Elastic.Spec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Elastic.Spec parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Elastic.Spec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Elastic.Spec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Elastic.Spec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Elastic.Spec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Elastic.Spec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Elastic.Spec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Elastic.Spec.Builder newBuilder()
public static Elastic.Spec.Builder newBuilder(Elastic.Spec prototype)
public Elastic.Spec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Elastic.Spec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Elastic.Spec getDefaultInstance()
public static com.google.protobuf.Parser<Elastic.Spec> parser()
public com.google.protobuf.Parser<Elastic.Spec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Elastic.Spec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder