Interface ApplySoftwareUpdateRequestOrBuilder (2.7.0)

public interface ApplySoftwareUpdateRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApplyAll()

public abstract boolean getApplyAll()

Whether to apply the update to all nodes. If set to true, will explicitly restrict users from specifying any nodes, and apply software update to all nodes (where applicable) within the instance.

bool apply_all = 3;

Returns
TypeDescription
boolean

The applyAll.

getInstance()

public abstract String getInstance()

Required. Resource name of the Memcached instance for which software update should be applied.

string instance = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Required. Resource name of the Memcached instance for which software update should be applied.

string instance = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for instance.

getNodeIds(int index)

public abstract String getNodeIds(int index)

Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.

repeated string node_ids = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The nodeIds at the given index.

getNodeIdsBytes(int index)

public abstract ByteString getNodeIdsBytes(int index)

Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.

repeated string node_ids = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the nodeIds at the given index.

getNodeIdsCount()

public abstract int getNodeIdsCount()

Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.

repeated string node_ids = 2;

Returns
TypeDescription
int

The count of nodeIds.

getNodeIdsList()

public abstract List<String> getNodeIdsList()

Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.

repeated string node_ids = 2;

Returns
TypeDescription
List<String>

A list containing the nodeIds.