- 1.92.0 (latest)
- 1.91.0
- 1.90.0
- 1.88.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class FutureResourcesSpec.Builder extends GeneratedMessageV3.Builder<FutureResourcesSpec.Builder> implements FutureResourcesSpecOrBuilderSpecification 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FutureResourcesSpec.BuilderImplements
FutureResourcesSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FutureResourcesSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
build()
public FutureResourcesSpec build()| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec |
|
buildPartial()
public FutureResourcesSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec |
|
clear()
public FutureResourcesSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
clearDeploymentType()
public FutureResourcesSpec.Builder 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 | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FutureResourcesSpec.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
clearLocationPolicy()
public FutureResourcesSpec.Builder 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;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public FutureResourcesSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
clearTargetResources()
public FutureResourcesSpec.Builder clearTargetResources()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
clearTimeRangeSpec()
public FutureResourcesSpec.Builder 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;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
clone()
public FutureResourcesSpec.Builder clone()| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
getDefaultInstanceForType()
public FutureResourcesSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec |
|
getDeploymentType()
public String 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;
| Returns | |
|---|---|
| Type | Description |
String |
The deploymentType. |
getDeploymentTypeBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deploymentType. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocationPolicy()
public FutureResourcesSpecLocationPolicy 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;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpecLocationPolicy |
The locationPolicy. |
getLocationPolicyBuilder()
public FutureResourcesSpecLocationPolicy.Builder 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;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpecLocationPolicy.Builder |
|
getLocationPolicyOrBuilder()
public FutureResourcesSpecLocationPolicyOrBuilder 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;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpecLocationPolicyOrBuilder |
|
getTargetResources()
public FutureResourcesSpecTargetResources getTargetResources()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpecTargetResources |
The targetResources. |
getTargetResourcesBuilder()
public FutureResourcesSpecTargetResources.Builder getTargetResourcesBuilder()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpecTargetResources.Builder |
|
getTargetResourcesOrBuilder()
public FutureResourcesSpecTargetResourcesOrBuilder getTargetResourcesOrBuilder()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpecTargetResourcesOrBuilder |
|
getTimeRangeSpec()
public FlexibleTimeRange 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;
| Returns | |
|---|---|
| Type | Description |
FlexibleTimeRange |
The timeRangeSpec. |
getTimeRangeSpecBuilder()
public FlexibleTimeRange.Builder 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;
| Returns | |
|---|---|
| Type | Description |
FlexibleTimeRange.Builder |
|
getTimeRangeSpecOrBuilder()
public FlexibleTimeRangeOrBuilder 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;
| Returns | |
|---|---|
| Type | Description |
FlexibleTimeRangeOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deploymentType field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the locationPolicy field is set. |
hasTargetResources()
public boolean hasTargetResources()Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetResources field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeRangeSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FutureResourcesSpec other)
public FutureResourcesSpec.Builder mergeFrom(FutureResourcesSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
FutureResourcesSpec |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FutureResourcesSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FutureResourcesSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
mergeLocationPolicy(FutureResourcesSpecLocationPolicy value)
public FutureResourcesSpec.Builder mergeLocationPolicy(FutureResourcesSpecLocationPolicy value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureResourcesSpecLocationPolicy |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
mergeTargetResources(FutureResourcesSpecTargetResources value)
public FutureResourcesSpec.Builder mergeTargetResources(FutureResourcesSpecTargetResources value)Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureResourcesSpecTargetResources |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
mergeTimeRangeSpec(FlexibleTimeRange value)
public FutureResourcesSpec.Builder mergeTimeRangeSpec(FlexibleTimeRange value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FlexibleTimeRange |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FutureResourcesSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setDeploymentType(String value)
public FutureResourcesSpec.Builder setDeploymentType(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deploymentType to set. |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
This builder for chaining. |
setDeploymentTypeBytes(ByteString value)
public FutureResourcesSpec.Builder setDeploymentTypeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deploymentType to set. |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FutureResourcesSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setLocationPolicy(FutureResourcesSpecLocationPolicy value)
public FutureResourcesSpec.Builder setLocationPolicy(FutureResourcesSpecLocationPolicy value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureResourcesSpecLocationPolicy |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setLocationPolicy(FutureResourcesSpecLocationPolicy.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureResourcesSpecLocationPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FutureResourcesSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setTargetResources(FutureResourcesSpecTargetResources value)
public FutureResourcesSpec.Builder setTargetResources(FutureResourcesSpecTargetResources value)Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureResourcesSpecTargetResources |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setTargetResources(FutureResourcesSpecTargetResources.Builder builderForValue)
public FutureResourcesSpec.Builder setTargetResources(FutureResourcesSpecTargetResources.Builder builderForValue)Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureResourcesSpecTargetResources.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setTimeRangeSpec(FlexibleTimeRange value)
public FutureResourcesSpec.Builder setTimeRangeSpec(FlexibleTimeRange value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FlexibleTimeRange |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setTimeRangeSpec(FlexibleTimeRange.Builder builderForValue)
public FutureResourcesSpec.Builder setTimeRangeSpec(FlexibleTimeRange.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FlexibleTimeRange.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FutureResourcesSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpec.Builder |
|