public final class SpotConfig extends GeneratedMessage implements SpotConfigOrBuilderSpotConfig has configuration info for Spot node.
Protobuf type google.cloud.gkemulticloud.v1.SpotConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SpotConfigImplements
SpotConfigOrBuilderStatic Fields
INSTANCE_TYPES_FIELD_NUMBER (deprecated)
public static final int INSTANCE_TYPES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance() (deprecated)
public static SpotConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
getDescriptor() (deprecated)
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder() (deprecated)
public static SpotConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SpotConfig.Builder |
|
newBuilder(SpotConfig prototype) (deprecated)
public static SpotConfig.Builder newBuilder(SpotConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SpotConfig |
| Returns | |
|---|---|
| Type | Description |
SpotConfig.Builder |
|
parseDelimitedFrom(InputStream input) (deprecated)
public static SpotConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static SpotConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data) (deprecated)
public static SpotConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static SpotConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data) (deprecated)
public static SpotConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static SpotConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input) (deprecated)
public static SpotConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static SpotConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input) (deprecated)
public static SpotConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)
public static SpotConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data) (deprecated)
public static SpotConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static SpotConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser() (deprecated)
public static Parser<SpotConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SpotConfig> |
|
Methods
equals(Object obj) (deprecated)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType() (deprecated)
public SpotConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SpotConfig |
|
getInstanceTypes(int index) (deprecated)
public String getInstanceTypes(int index)Required. A list of instance types for creating spot node pool.
repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The instanceTypes at the given index. |
getInstanceTypesBytes(int index) (deprecated)
public ByteString getInstanceTypesBytes(int index)Required. A list of instance types for creating spot node pool.
repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the instanceTypes at the given index. |
getInstanceTypesCount() (deprecated)
public int getInstanceTypesCount()Required. A list of instance types for creating spot node pool.
repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of instanceTypes. |
getInstanceTypesList() (deprecated)
public ProtocolStringList getInstanceTypesList()Required. A list of instance types for creating spot node pool.
repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the instanceTypes. |
getParserForType() (deprecated)
public Parser<SpotConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SpotConfig> |
|
getSerializedSize() (deprecated)
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode() (deprecated)
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable() (deprecated)
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized() (deprecated)
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType() (deprecated)
public SpotConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SpotConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent) (deprecated)
protected SpotConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SpotConfig.Builder |
|
toBuilder() (deprecated)
public SpotConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SpotConfig.Builder |
|
writeTo(CodedOutputStream output) (deprecated)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|