Class ApplySoftwareUpdateRequest (2.4.0)

publicfinalclass ApplySoftwareUpdateRequestextendsGeneratedMessageV3implementsApplySoftwareUpdateRequestOrBuilder

Request for ApplySoftwareUpdate.

Protobuf type google.cloud.memcache.v1beta2.ApplySoftwareUpdateRequest

Inherited Members

Static Fields

APPLY_ALL_FIELD_NUMBER

publicstaticfinalintAPPLY_ALL_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_FIELD_NUMBER

publicstaticfinalintINSTANCE_FIELD_NUMBER
Field Value
Type Description
int

NODE_IDS_FIELD_NUMBER

publicstaticfinalintNODE_IDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticApplySoftwareUpdateRequestgetDefaultInstance()
Returns
Type Description

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

newBuilder()

publicstaticApplySoftwareUpdateRequest.BuildernewBuilder()
Returns
Type Description

newBuilder(ApplySoftwareUpdateRequest prototype)

publicstaticApplySoftwareUpdateRequest.BuildernewBuilder(ApplySoftwareUpdateRequestprototype)
Parameter
Name Description
Returns
Type Description

parseDelimitedFrom(InputStream input)

publicstaticApplySoftwareUpdateRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticApplySoftwareUpdateRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data)

publicstaticApplySoftwareUpdateRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticApplySoftwareUpdateRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data)

publicstaticApplySoftwareUpdateRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticApplySoftwareUpdateRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input)

publicstaticApplySoftwareUpdateRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticApplySoftwareUpdateRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input)

publicstaticApplySoftwareUpdateRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticApplySoftwareUpdateRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data)

publicstaticApplySoftwareUpdateRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticApplySoftwareUpdateRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parser()

publicstaticParser<ApplySoftwareUpdateRequest>parser()
Returns
Type Description

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
Overrides

getApplyAll()

publicbooleangetApplyAll()

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
Type Description
boolean

The applyAll.

getDefaultInstanceForType()

publicApplySoftwareUpdateRequestgetDefaultInstanceForType()
Returns
Type Description

getInstance()

publicStringgetInstance()

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
Type Description
String

The instance.

getInstanceBytes()

publicByteStringgetInstanceBytes()

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
Type Description
ByteString

The bytes for instance.

getNodeIds(int index)

publicStringgetNodeIds(intindex)

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

repeated string node_ids = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The nodeIds at the given index.

getNodeIdsBytes(int index)

publicByteStringgetNodeIdsBytes(intindex)

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

repeated string node_ids = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the nodeIds at the given index.

getNodeIdsCount()

publicintgetNodeIdsCount()

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

repeated string node_ids = 2;

Returns
Type Description
int

The count of nodeIds.

getNodeIdsList()

publicProtocolStringListgetNodeIdsList()

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

repeated string node_ids = 2;

Returns
Type Description
ProtocolStringList

A list containing the nodeIds.

getParserForType()

publicParser<ApplySoftwareUpdateRequest>getParserForType()
Returns
Type Description
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

newBuilderForType()

publicApplySoftwareUpdateRequest.BuildernewBuilderForType()
Returns
Type Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedApplySoftwareUpdateRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
Returns
Type Description
Overrides

toBuilder()

publicApplySoftwareUpdateRequest.BuildertoBuilder()
Returns
Type Description

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
Overrides Exceptions
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.