public final class FutureResourcesSpec extends GeneratedMessage 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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DEPLOYMENT_TYPE_FIELD_NUMBER
public static final int DEPLOYMENT_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOCATION_POLICY_FIELD_NUMBER
public static final int LOCATION_POLICY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGET_RESOURCES_FIELD_NUMBER
public static final int TARGET_RESOURCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TIME_RANGE_SPEC_FIELD_NUMBER
public static final int TIME_RANGE_SPEC_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FutureResourcesSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FutureResourcesSpec.Builder newBuilder()
newBuilder(FutureResourcesSpec prototype)
public static FutureResourcesSpec.Builder newBuilder(FutureResourcesSpec prototype)
public static FutureResourcesSpec parseDelimitedFrom(InputStream input)
public static FutureResourcesSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FutureResourcesSpec parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FutureResourcesSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FutureResourcesSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FutureResourcesSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FutureResourcesSpec parseFrom(CodedInputStream input)
public static FutureResourcesSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FutureResourcesSpec parseFrom(InputStream input)
public static FutureResourcesSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FutureResourcesSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FutureResourcesSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FutureResourcesSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public FutureResourcesSpec getDefaultInstanceForType()
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.
|
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;
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;
getParserForType()
public Parser<FutureResourcesSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTargetResources()
public FutureResourcesSpecTargetResources getTargetResources()
Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
getTargetResourcesOrBuilder()
public FutureResourcesSpecTargetResourcesOrBuilder getTargetResourcesOrBuilder()
Specification of the reserved resources.
optional .google.cloud.compute.v1.FutureResourcesSpecTargetResources target_resources = 528230647;
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;
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;
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FutureResourcesSpec.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FutureResourcesSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public FutureResourcesSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides