public static final class Backup.Spec.RetentionPolicy extends com.google.protobuf.GeneratedMessageV3 implements Backup.Spec.RetentionPolicyOrBuilder
appscode.kubernetes.v1beta2.Backup.Spec.RetentionPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
Backup.Spec.RetentionPolicy.Builder
Protobuf type
appscode.kubernetes.v1beta2.Backup.Spec.RetentionPolicy |
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 |
KEEP_DAILY_SNAPSHOTS_FIELD_NUMBER |
static int |
KEEP_HOURLY_SNAPSHOTS_FIELD_NUMBER |
static int |
KEEP_LAST_SNAPSHOTS_FIELD_NUMBER |
static int |
KEEP_MONTHLY_SNAPSHOTS_FIELD_NUMBER |
static int |
KEEP_TAGS_FIELD_NUMBER |
static int |
KEEP_WEEKLY_SNAPSHOTS_FIELD_NUMBER |
static int |
KEEP_YEARLY_SNAPSHOTS_FIELD_NUMBER |
static int |
RETAIN_HOST_NAME_FIELD_NUMBER |
static int |
RETAIN_TAGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Backup.Spec.RetentionPolicy |
getDefaultInstance() |
Backup.Spec.RetentionPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getKeepDailySnapshots()
optional int32 keep_daily_snapshots = 3; |
int |
getKeepHourlySnapshots()
optional int32 keep_hourly_snapshots = 2; |
int |
getKeepLastSnapshots()
optional int32 keep_last_snapshots = 1; |
int |
getKeepMonthlySnapshots()
optional int32 keep_monthly_snapshots = 5; |
java.lang.String |
getKeepTags(int index)
repeated string keep_tags = 7; |
com.google.protobuf.ByteString |
getKeepTagsBytes(int index)
repeated string keep_tags = 7; |
int |
getKeepTagsCount()
repeated string keep_tags = 7; |
com.google.protobuf.ProtocolStringList |
getKeepTagsList()
repeated string keep_tags = 7; |
int |
getKeepWeeklySnapshots()
optional int32 keep_weekly_snapshots = 4; |
int |
getKeepYearlySnapshots()
optional int32 keep_yearly_snapshots = 6; |
com.google.protobuf.Parser<Backup.Spec.RetentionPolicy> |
getParserForType() |
java.lang.String |
getRetainHostName()
optional string retain_host_name = 8; |
com.google.protobuf.ByteString |
getRetainHostNameBytes()
optional string retain_host_name = 8; |
java.lang.String |
getRetainTags(int index)
repeated string retain_tags = 9; |
com.google.protobuf.ByteString |
getRetainTagsBytes(int index)
repeated string retain_tags = 9; |
int |
getRetainTagsCount()
repeated string retain_tags = 9; |
com.google.protobuf.ProtocolStringList |
getRetainTagsList()
repeated string retain_tags = 9; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Backup.Spec.RetentionPolicy.Builder |
newBuilder() |
static Backup.Spec.RetentionPolicy.Builder |
newBuilder(Backup.Spec.RetentionPolicy prototype) |
Backup.Spec.RetentionPolicy.Builder |
newBuilderForType() |
protected Backup.Spec.RetentionPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Backup.Spec.RetentionPolicy |
parseDelimitedFrom(java.io.InputStream input) |
static Backup.Spec.RetentionPolicy |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.Spec.RetentionPolicy |
parseFrom(byte[] data) |
static Backup.Spec.RetentionPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.Spec.RetentionPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static Backup.Spec.RetentionPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.Spec.RetentionPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Backup.Spec.RetentionPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.Spec.RetentionPolicy |
parseFrom(java.io.InputStream input) |
static Backup.Spec.RetentionPolicy |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Backup.Spec.RetentionPolicy> |
parser() |
Backup.Spec.RetentionPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 KEEP_LAST_SNAPSHOTS_FIELD_NUMBER
public static final int KEEP_HOURLY_SNAPSHOTS_FIELD_NUMBER
public static final int KEEP_DAILY_SNAPSHOTS_FIELD_NUMBER
public static final int KEEP_WEEKLY_SNAPSHOTS_FIELD_NUMBER
public static final int KEEP_MONTHLY_SNAPSHOTS_FIELD_NUMBER
public static final int KEEP_YEARLY_SNAPSHOTS_FIELD_NUMBER
public static final int KEEP_TAGS_FIELD_NUMBER
public static final int RETAIN_HOST_NAME_FIELD_NUMBER
public static final int RETAIN_TAGS_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getKeepLastSnapshots()
optional int32 keep_last_snapshots = 1;getKeepLastSnapshots in interface Backup.Spec.RetentionPolicyOrBuilderpublic int getKeepHourlySnapshots()
optional int32 keep_hourly_snapshots = 2;getKeepHourlySnapshots in interface Backup.Spec.RetentionPolicyOrBuilderpublic int getKeepDailySnapshots()
optional int32 keep_daily_snapshots = 3;getKeepDailySnapshots in interface Backup.Spec.RetentionPolicyOrBuilderpublic int getKeepWeeklySnapshots()
optional int32 keep_weekly_snapshots = 4;getKeepWeeklySnapshots in interface Backup.Spec.RetentionPolicyOrBuilderpublic int getKeepMonthlySnapshots()
optional int32 keep_monthly_snapshots = 5;getKeepMonthlySnapshots in interface Backup.Spec.RetentionPolicyOrBuilderpublic int getKeepYearlySnapshots()
optional int32 keep_yearly_snapshots = 6;getKeepYearlySnapshots in interface Backup.Spec.RetentionPolicyOrBuilderpublic com.google.protobuf.ProtocolStringList getKeepTagsList()
repeated string keep_tags = 7;getKeepTagsList in interface Backup.Spec.RetentionPolicyOrBuilderpublic int getKeepTagsCount()
repeated string keep_tags = 7;getKeepTagsCount in interface Backup.Spec.RetentionPolicyOrBuilderpublic java.lang.String getKeepTags(int index)
repeated string keep_tags = 7;getKeepTags in interface Backup.Spec.RetentionPolicyOrBuilderpublic com.google.protobuf.ByteString getKeepTagsBytes(int index)
repeated string keep_tags = 7;getKeepTagsBytes in interface Backup.Spec.RetentionPolicyOrBuilderpublic java.lang.String getRetainHostName()
optional string retain_host_name = 8;getRetainHostName in interface Backup.Spec.RetentionPolicyOrBuilderpublic com.google.protobuf.ByteString getRetainHostNameBytes()
optional string retain_host_name = 8;getRetainHostNameBytes in interface Backup.Spec.RetentionPolicyOrBuilderpublic com.google.protobuf.ProtocolStringList getRetainTagsList()
repeated string retain_tags = 9;getRetainTagsList in interface Backup.Spec.RetentionPolicyOrBuilderpublic int getRetainTagsCount()
repeated string retain_tags = 9;getRetainTagsCount in interface Backup.Spec.RetentionPolicyOrBuilderpublic java.lang.String getRetainTags(int index)
repeated string retain_tags = 9;getRetainTags in interface Backup.Spec.RetentionPolicyOrBuilderpublic com.google.protobuf.ByteString getRetainTagsBytes(int index)
repeated string retain_tags = 9;getRetainTagsBytes in interface Backup.Spec.RetentionPolicyOrBuilderpublic 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 Backup.Spec.RetentionPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.Spec.RetentionPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.Spec.RetentionPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.Spec.RetentionPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.Spec.RetentionPolicy parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Backup.Spec.RetentionPolicy parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Backup.Spec.RetentionPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Backup.Spec.RetentionPolicy parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Backup.Spec.RetentionPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Backup.Spec.RetentionPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Backup.Spec.RetentionPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Backup.Spec.RetentionPolicy.Builder newBuilder()
public static Backup.Spec.RetentionPolicy.Builder newBuilder(Backup.Spec.RetentionPolicy prototype)
public Backup.Spec.RetentionPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Backup.Spec.RetentionPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Backup.Spec.RetentionPolicy getDefaultInstance()
public static com.google.protobuf.Parser<Backup.Spec.RetentionPolicy> parser()
public com.google.protobuf.Parser<Backup.Spec.RetentionPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Backup.Spec.RetentionPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder