Package com.google.cloud.compute.v1
Class FutureResourcesSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureResourcesSpec.Builder>
com.google.cloud.compute.v1.FutureResourcesSpec.Builder
- All Implemented Interfaces:
FutureResourcesSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FutureResourcesSpec
public static final class FutureResourcesSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FutureResourcesSpec.Builder>
implements FutureResourcesSpecOrBuilder
Specification of resources to be created at some time in the future within an optionally specified set of locations, and within the specified time range.Protobuf type
google.cloud.compute.v1.FutureResourcesSpec-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).Optional location policy allowing to exclude some zone(s) in which the resources must not be created.Specification of the reserved resources.Specification of a time range in which the resources may be created.Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).com.google.protobuf.ByteStringIndicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional location policy allowing to exclude some zone(s) in which the resources must not be created.Optional location policy allowing to exclude some zone(s) in which the resources must not be created.Optional location policy allowing to exclude some zone(s) in which the resources must not be created.Specification of the reserved resources.Specification of the reserved resources.Specification of the reserved resources.Specification of a time range in which the resources may be created.Specification of a time range in which the resources may be created.Specification of a time range in which the resources may be created.booleanIndicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).booleanOptional location policy allowing to exclude some zone(s) in which the resources must not be created.booleanSpecification of the reserved resources.booleanSpecification of a time range in which the resources may be created.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(FutureResourcesSpec other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional location policy allowing to exclude some zone(s) in which the resources must not be created.Specification of the reserved resources.Specification of a time range in which the resources may be created.setDeploymentType(String value) Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).setDeploymentTypeBytes(com.google.protobuf.ByteString value) Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD).Optional location policy allowing to exclude some zone(s) in which the resources must not be created.setLocationPolicy(FutureResourcesSpecLocationPolicy.Builder builderForValue) Optional location policy allowing to exclude some zone(s) in which the resources must not be created.Specification of the reserved resources.setTargetResources(FutureResourcesSpecTargetResources.Builder builderForValue) Specification of the reserved resources.Specification of a time range in which the resources may be created.setTimeRangeSpec(FlexibleTimeRange.Builder builderForValue) Specification of a time range in which the resources may be created.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<FutureResourcesSpec.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<FutureResourcesSpec.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<FutureResourcesSpec.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<FutureResourcesSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FutureResourcesSpec.Builder>
-
mergeFrom
public FutureResourcesSpec.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<FutureResourcesSpec.Builder>- Throws:
IOException
-
hasDeploymentType
public boolean hasDeploymentType()Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Specified by:
hasDeploymentTypein interfaceFutureResourcesSpecOrBuilder- Returns:
- Whether the deploymentType field is set.
-
getDeploymentType
Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Specified by:
getDeploymentTypein interfaceFutureResourcesSpecOrBuilder- Returns:
- The deploymentType.
-
getDeploymentTypeBytes
public com.google.protobuf.ByteString getDeploymentTypeBytes()Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Specified by:
getDeploymentTypeBytesin interfaceFutureResourcesSpecOrBuilder- Returns:
- The bytes for deploymentType.
-
setDeploymentType
Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Parameters:
value- The deploymentType to set.- Returns:
- This builder for chaining.
-
clearDeploymentType
Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Returns:
- This builder for chaining.
-
setDeploymentTypeBytes
Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;- Parameters:
value- The bytes for deploymentType to set.- Returns:
- This builder for chaining.
-
hasLocationPolicy
public boolean hasLocationPolicy()Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852;- Specified by:
hasLocationPolicyin interfaceFutureResourcesSpecOrBuilder- Returns:
- Whether the locationPolicy field is set.
-
getLocationPolicy
Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852;- Specified by:
getLocationPolicyin interfaceFutureResourcesSpecOrBuilder- Returns:
- The locationPolicy.
-
setLocationPolicy
Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852; -
setLocationPolicy
public FutureResourcesSpec.Builder setLocationPolicy(FutureResourcesSpecLocationPolicy.Builder builderForValue) Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852; -
mergeLocationPolicy
Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852; -
clearLocationPolicy
Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852; -
getLocationPolicyBuilder
Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852; -
getLocationPolicyOrBuilder
Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
optional .google.cloud.compute.v1.FutureResourcesSpecLocationPolicy location_policy = 465689852;- Specified by:
getLocationPolicyOrBuilderin interfaceFutureResourcesSpecOrBuilder
-
hasTargetResources
public boolean hasTargetResources()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;- Specified by:
hasTargetResourcesin interfaceFutureResourcesSpecOrBuilder- Returns:
- Whether the targetResources field is set.
-
getTargetResources
Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;- Specified by:
getTargetResourcesin interfaceFutureResourcesSpecOrBuilder- Returns:
- The targetResources.
-
setTargetResources
Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647; -
setTargetResources
public FutureResourcesSpec.Builder setTargetResources(FutureResourcesSpecTargetResources.Builder builderForValue) Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647; -
mergeTargetResources
Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647; -
clearTargetResources
Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647; -
getTargetResourcesBuilder
Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647; -
getTargetResourcesOrBuilder
Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;- Specified by:
getTargetResourcesOrBuilderin interfaceFutureResourcesSpecOrBuilder
-
hasTimeRangeSpec
public boolean hasTimeRangeSpec()Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399;- Specified by:
hasTimeRangeSpecin interfaceFutureResourcesSpecOrBuilder- Returns:
- Whether the timeRangeSpec field is set.
-
getTimeRangeSpec
Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399;- Specified by:
getTimeRangeSpecin interfaceFutureResourcesSpecOrBuilder- Returns:
- The timeRangeSpec.
-
setTimeRangeSpec
Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399; -
setTimeRangeSpec
Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399; -
mergeTimeRangeSpec
Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399; -
clearTimeRangeSpec
Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399; -
getTimeRangeSpecBuilder
Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399; -
getTimeRangeSpecOrBuilder
Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
optional .google.cloud.compute.v1.FlexibleTimeRange time_range_spec = 116516399;- Specified by:
getTimeRangeSpecOrBuilderin interfaceFutureResourcesSpecOrBuilder
-