Interface ApplySoftwareUpdateRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApplySoftwareUpdateRequest
,ApplySoftwareUpdateRequest.Builder
public interface ApplySoftwareUpdateRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getApplyAll()
Whether to apply the update to all nodes.String
getInstance()
Required.com.google.protobuf.ByteString
getInstanceBytes()
Required.String
getNodeIds(int index)
Nodes to which we should apply the update to.com.google.protobuf.ByteString
getNodeIdsBytes(int index)
Nodes to which we should apply the update to.int
getNodeIdsCount()
Nodes to which we should apply the update to.List<String>
getNodeIdsList()
Nodes to which we should apply the update to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInstance
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:
- The instance.
-
getInstanceBytes
com.google.protobuf.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:
- The bytes for instance.
-
getNodeIdsList
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:
- A list containing the nodeIds.
-
getNodeIdsCount
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:
- The count of nodeIds.
-
getNodeIds
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The nodeIds at the given index.
-
getNodeIdsBytes
com.google.protobuf.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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the nodeIds at the given index.
-
getApplyAll
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:
- The applyAll.
-
-