public static final class NodeConfig.Builder extends GeneratedMessageV3.Builder<NodeConfig.Builder> implements NodeConfigOrBuilder
Represents configuration for nodes of the instance.
Protobuf type google.cloud.memorystore.v1beta.NodeConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeConfig.BuilderImplements
NodeConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
build()
public NodeConfig build()
Returns | |
---|---|
Type | Description |
NodeConfig |
buildPartial()
public NodeConfig buildPartial()
Returns | |
---|---|
Type | Description |
NodeConfig |
clear()
public NodeConfig.Builder clear()
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public NodeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
clearSizeGb()
public NodeConfig.Builder clearSizeGb()
Output only. Memory size in GB of the node.
double size_gb = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
This builder for chaining. |
clone()
public NodeConfig.Builder clone()
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
getDefaultInstanceForType()
public NodeConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NodeConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getSizeGb()
public double getSizeGb()
Output only. Memory size in GB of the node.
double size_gb = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
double |
The sizeGb. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NodeConfig other)
public NodeConfig.Builder mergeFrom(NodeConfig other)
Parameter | |
---|---|
Name | Description |
other |
NodeConfig |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NodeConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
setSizeGb(double value)
public NodeConfig.Builder setSizeGb(double value)
Output only. Memory size in GB of the node.
double size_gb = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
double The sizeGb to set. |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodeConfig.Builder |