public static final class Instance.NodeConfig extends GeneratedMessageV3 implements Instance.NodeConfigOrBuilder
Configuration for a Memcached Node.
Protobuf type google.cloud.memcache.v1.Instance.NodeConfig
Static Fields
CPU_COUNT_FIELD_NUMBER
public static final int CPU_COUNT_FIELD_NUMBER
Field Value
MEMORY_SIZE_MB_FIELD_NUMBER
public static final int MEMORY_SIZE_MB_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Instance.NodeConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Instance.NodeConfig.Builder newBuilder()
Returns
newBuilder(Instance.NodeConfig prototype)
public static Instance.NodeConfig.Builder newBuilder(Instance.NodeConfig prototype)
Parameter
Returns
public static Instance.NodeConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.NodeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Instance.NodeConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.NodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Instance.NodeConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.NodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.NodeConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Instance.NodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.NodeConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.NodeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Instance.NodeConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.NodeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Instance.NodeConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCpuCount()
Required. Number of cpus per Memcached node.
int32 cpu_count = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The cpuCount.
|
getDefaultInstanceForType()
public Instance.NodeConfig getDefaultInstanceForType()
Returns
getMemorySizeMb()
public int getMemorySizeMb()
Required. Memory size in MiB for each Memcached node.
int32 memory_size_mb = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The memorySizeMb.
|
getParserForType()
public Parser<Instance.NodeConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Instance.NodeConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.NodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Instance.NodeConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions