publicfinalclass ComputeResourceConfigextendsGeneratedMessageV3implementsComputeResourceConfigOrBuilder
Describes how a compute resource should be created at runtime.
Protobuf type google.cloud.hypercomputecluster.v1beta.ComputeResourceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NEW_FLEX_START_INSTANCES_FIELD_NUMBER
publicstaticfinalintNEW_FLEX_START_INSTANCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NEW_ON_DEMAND_INSTANCES_FIELD_NUMBER
publicstaticfinalintNEW_ON_DEMAND_INSTANCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NEW_RESERVED_INSTANCES_FIELD_NUMBER
publicstaticfinalintNEW_RESERVED_INSTANCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NEW_SPOT_INSTANCES_FIELD_NUMBER
publicstaticfinalintNEW_SPOT_INSTANCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticComputeResourceConfiggetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticComputeResourceConfig.BuildernewBuilder()
newBuilder(ComputeResourceConfig prototype)
publicstaticComputeResourceConfig.BuildernewBuilder(ComputeResourceConfigprototype)
publicstaticComputeResourceConfigparseDelimitedFrom(InputStreaminput)
publicstaticComputeResourceConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticComputeResourceConfigparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeResourceConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticComputeResourceConfigparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeResourceConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticComputeResourceConfigparseFrom(CodedInputStreaminput)
publicstaticComputeResourceConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticComputeResourceConfigparseFrom(InputStreaminput)
publicstaticComputeResourceConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticComputeResourceConfigparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeResourceConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<ComputeResourceConfig>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getConfigCase()
publicComputeResourceConfig.ConfigCasegetConfigCase()
getDefaultInstanceForType()
publicComputeResourceConfiggetDefaultInstanceForType()
getNewFlexStartInstances()
publicNewFlexStartInstancesConfiggetNewFlexStartInstances()
Optional. Immutable. If set, indicates that this resource should use
flex-start VMs.
.google.cloud.hypercomputecluster.v1beta.NewFlexStartInstancesConfig new_flex_start_instances = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getNewFlexStartInstancesOrBuilder()
publicNewFlexStartInstancesConfigOrBuildergetNewFlexStartInstancesOrBuilder()
Optional. Immutable. If set, indicates that this resource should use
flex-start VMs.
.google.cloud.hypercomputecluster.v1beta.NewFlexStartInstancesConfig new_flex_start_instances = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getNewOnDemandInstances()
publicNewOnDemandInstancesConfiggetNewOnDemandInstances()
Optional. Immutable. If set, indicates that this resource should use
on-demand VMs.
.google.cloud.hypercomputecluster.v1beta.NewOnDemandInstancesConfig new_on_demand_instances = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getNewOnDemandInstancesOrBuilder()
publicNewOnDemandInstancesConfigOrBuildergetNewOnDemandInstancesOrBuilder()
Optional. Immutable. If set, indicates that this resource should use
on-demand VMs.
.google.cloud.hypercomputecluster.v1beta.NewOnDemandInstancesConfig new_on_demand_instances = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getNewReservedInstances()
publicNewReservedInstancesConfiggetNewReservedInstances()
Optional. Immutable. If set, indicates that this resource should use
reserved VMs.
.google.cloud.hypercomputecluster.v1beta.NewReservedInstancesConfig new_reserved_instances = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getNewReservedInstancesOrBuilder()
publicNewReservedInstancesConfigOrBuildergetNewReservedInstancesOrBuilder()
Optional. Immutable. If set, indicates that this resource should use
reserved VMs.
.google.cloud.hypercomputecluster.v1beta.NewReservedInstancesConfig new_reserved_instances = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getNewSpotInstances()
publicNewSpotInstancesConfiggetNewSpotInstances()
Optional. Immutable. If set, indicates that this resource should use spot
VMs.
.google.cloud.hypercomputecluster.v1beta.NewSpotInstancesConfig new_spot_instances = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getNewSpotInstancesOrBuilder()
publicNewSpotInstancesConfigOrBuildergetNewSpotInstancesOrBuilder()
Optional. Immutable. If set, indicates that this resource should use spot
VMs.
.google.cloud.hypercomputecluster.v1beta.NewSpotInstancesConfig new_spot_instances = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getParserForType()
publicParser<ComputeResourceConfig>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasNewFlexStartInstances()
publicbooleanhasNewFlexStartInstances()
Optional. Immutable. If set, indicates that this resource should use
flex-start VMs.
.google.cloud.hypercomputecluster.v1beta.NewFlexStartInstancesConfig new_flex_start_instances = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
boolean |
Whether the newFlexStartInstances field is set.
|
hasNewOnDemandInstances()
publicbooleanhasNewOnDemandInstances()
Optional. Immutable. If set, indicates that this resource should use
on-demand VMs.
.google.cloud.hypercomputecluster.v1beta.NewOnDemandInstancesConfig new_on_demand_instances = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
boolean |
Whether the newOnDemandInstances field is set.
|
hasNewReservedInstances()
publicbooleanhasNewReservedInstances()
Optional. Immutable. If set, indicates that this resource should use
reserved VMs.
.google.cloud.hypercomputecluster.v1beta.NewReservedInstancesConfig new_reserved_instances = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
boolean |
Whether the newReservedInstances field is set.
|
hasNewSpotInstances()
publicbooleanhasNewSpotInstances()
Optional. Immutable. If set, indicates that this resource should use spot
VMs.
.google.cloud.hypercomputecluster.v1beta.NewSpotInstancesConfig new_spot_instances = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
boolean |
Whether the newSpotInstances field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicComputeResourceConfig.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedComputeResourceConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicComputeResourceConfig.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides