Package com.google.cloud.compute.v1
Class SnapshotSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SnapshotSettings.Builder>
com.google.cloud.compute.v1.SnapshotSettings.Builder
- All Implemented Interfaces:
SnapshotSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SnapshotSettings
public static final class SnapshotSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SnapshotSettings.Builder>
implements SnapshotSettingsOrBuilder
Protobuf type
google.cloud.compute.v1.SnapshotSettings-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()(Regional snapshots use only)Policy of which location is allowed to access snapshot.Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.(Regional snapshots use only)Policy of which location is allowed to access snapshot.(Regional snapshots use only)Policy of which location is allowed to access snapshot.(Regional snapshots use only)Policy of which location is allowed to access snapshot.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPolicy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.boolean(Regional snapshots use only)Policy of which location is allowed to access snapshot.booleanPolicy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal boolean(Regional snapshots use only)Policy of which location is allowed to access snapshot.mergeFrom(SnapshotSettings other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.(Regional snapshots use only)Policy of which location is allowed to access snapshot.setAccessLocation(SnapshotSettingsAccessLocation.Builder builderForValue) (Regional snapshots use only)Policy of which location is allowed to access snapshot.Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.setStorageLocation(SnapshotSettingsStorageLocationSettings.Builder builderForValue) Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SnapshotSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SnapshotSettings.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.GeneratedMessage.Builder<SnapshotSettings.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SnapshotSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SnapshotSettings.Builder>
-
mergeFrom
public SnapshotSettings.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<SnapshotSettings.Builder>- Throws:
IOException
-
hasAccessLocation
public boolean hasAccessLocation()(Regional snapshots use only)Policy of which location is allowed to access snapshot.
optional .google.cloud.compute.v1.SnapshotSettingsAccessLocation access_location = 18410544;- Specified by:
hasAccessLocationin interfaceSnapshotSettingsOrBuilder- Returns:
- Whether the accessLocation field is set.
-
getAccessLocation
(Regional snapshots use only)Policy of which location is allowed to access snapshot.
optional .google.cloud.compute.v1.SnapshotSettingsAccessLocation access_location = 18410544;- Specified by:
getAccessLocationin interfaceSnapshotSettingsOrBuilder- Returns:
- The accessLocation.
-
setAccessLocation
(Regional snapshots use only)Policy of which location is allowed to access snapshot.
optional .google.cloud.compute.v1.SnapshotSettingsAccessLocation access_location = 18410544; -
setAccessLocation
public SnapshotSettings.Builder setAccessLocation(SnapshotSettingsAccessLocation.Builder builderForValue) (Regional snapshots use only)Policy of which location is allowed to access snapshot.
optional .google.cloud.compute.v1.SnapshotSettingsAccessLocation access_location = 18410544; -
mergeAccessLocation
(Regional snapshots use only)Policy of which location is allowed to access snapshot.
optional .google.cloud.compute.v1.SnapshotSettingsAccessLocation access_location = 18410544; -
clearAccessLocation
(Regional snapshots use only)Policy of which location is allowed to access snapshot.
optional .google.cloud.compute.v1.SnapshotSettingsAccessLocation access_location = 18410544; -
getAccessLocationBuilder
(Regional snapshots use only)Policy of which location is allowed to access snapshot.
optional .google.cloud.compute.v1.SnapshotSettingsAccessLocation access_location = 18410544; -
getAccessLocationOrBuilder
(Regional snapshots use only)Policy of which location is allowed to access snapshot.
optional .google.cloud.compute.v1.SnapshotSettingsAccessLocation access_location = 18410544;- Specified by:
getAccessLocationOrBuilderin interfaceSnapshotSettingsOrBuilder
-
hasStorageLocation
public boolean hasStorageLocation()Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;- Specified by:
hasStorageLocationin interfaceSnapshotSettingsOrBuilder- Returns:
- Whether the storageLocation field is set.
-
getStorageLocation
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;- Specified by:
getStorageLocationin interfaceSnapshotSettingsOrBuilder- Returns:
- The storageLocation.
-
setStorageLocation
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641; -
setStorageLocation
public SnapshotSettings.Builder setStorageLocation(SnapshotSettingsStorageLocationSettings.Builder builderForValue) Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641; -
mergeStorageLocation
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641; -
clearStorageLocation
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641; -
getStorageLocationBuilder
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641; -
getStorageLocationOrBuilder
Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
optional .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings storage_location = 460859641;- Specified by:
getStorageLocationOrBuilderin interfaceSnapshotSettingsOrBuilder
-