Package com.google.storage.v2
Class Bucket.Lifecycle.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
com.google.storage.v2.Bucket.Lifecycle.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Bucket.LifecycleOrBuilder,Cloneable
- Enclosing class:
- Bucket.Lifecycle
public static final class Bucket.Lifecycle.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
implements Bucket.LifecycleOrBuilder
Lifecycle properties of a bucket. For more information, see https://cloud.google.com/storage/docs/lifecycle.Protobuf type
google.storage.v2.Bucket.Lifecycle-
Method Summary
Modifier and TypeMethodDescriptionaddAllRule(Iterable<? extends Bucket.Lifecycle.Rule> values) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRule(int index, Bucket.Lifecycle.Rule value) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.addRule(int index, Bucket.Lifecycle.Rule.Builder builderForValue) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.addRule(Bucket.Lifecycle.Rule value) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.addRule(Bucket.Lifecycle.Rule.Builder builderForValue) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.addRuleBuilder(int index) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRule(int index) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.getRuleBuilder(int index) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.intA lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.getRuleOrBuilder(int index) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.List<? extends Bucket.Lifecycle.RuleOrBuilder>A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Bucket.Lifecycle other) final Bucket.Lifecycle.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeRule(int index) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRule(int index, Bucket.Lifecycle.Rule value) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.setRule(int index, Bucket.Lifecycle.Rule.Builder builderForValue) A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.final Bucket.Lifecycle.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
setField
public Bucket.Lifecycle.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
setRepeatedField
public Bucket.Lifecycle.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
addRepeatedField
public Bucket.Lifecycle.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Bucket.Lifecycle.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
mergeFrom
public Bucket.Lifecycle.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Bucket.Lifecycle.Builder>- Throws:
IOException
-
getRuleList
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;- Specified by:
getRuleListin interfaceBucket.LifecycleOrBuilder
-
getRuleCount
public int getRuleCount()A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;- Specified by:
getRuleCountin interfaceBucket.LifecycleOrBuilder
-
getRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;- Specified by:
getRulein interfaceBucket.LifecycleOrBuilder
-
setRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
setRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
addRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
addRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
addRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
addRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
addAllRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
clearRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
removeRule
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
getRuleBuilder
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
getRuleOrBuilder
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;- Specified by:
getRuleOrBuilderin interfaceBucket.LifecycleOrBuilder
-
getRuleOrBuilderList
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1;- Specified by:
getRuleOrBuilderListin interfaceBucket.LifecycleOrBuilder
-
addRuleBuilder
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
addRuleBuilder
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
getRuleBuilderList
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
repeated .google.storage.v2.Bucket.Lifecycle.Rule rule = 1; -
setUnknownFields
public final Bucket.Lifecycle.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-
mergeUnknownFields
public final Bucket.Lifecycle.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Bucket.Lifecycle.Builder>
-