public static final class Instance.NodeConfig extends GeneratedMessageV3 implements Instance.NodeConfigOrBuilder
Configuration for a Memcached Node.
Protobuf type google.cloud.memcache.v1beta2.Instance.NodeConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CPU_COUNT_FIELD_NUMBER
public static final int CPU_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MEMORY_SIZE_MB_FIELD_NUMBER
public static final int MEMORY_SIZE_MB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Instance.NodeConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Instance.NodeConfig.Builder newBuilder()
newBuilder(Instance.NodeConfig prototype)
public static Instance.NodeConfig.Builder newBuilder(Instance.NodeConfig prototype)
public static Instance.NodeConfig parseDelimitedFrom(InputStream input)
public static Instance.NodeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Instance.NodeConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.NodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Instance.NodeConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.NodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.NodeConfig parseFrom(CodedInputStream input)
public static Instance.NodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.NodeConfig parseFrom(InputStream input)
public static Instance.NodeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Instance.NodeConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.NodeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Instance.NodeConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Instance.NodeConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.NodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Instance.NodeConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides