public static final class ApplySoftwareUpdateRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder> implements ApplySoftwareUpdateRequestOrBuilder
Request for [ApplySoftwareUpdate][google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate].Protobuf type
google.cloud.memcache.v1beta2.ApplySoftwareUpdateRequest| Modifier and Type | Method and Description |
|---|---|
ApplySoftwareUpdateRequest.Builder |
addAllNodeIds(Iterable<String> values)
Nodes to which we should apply the update to.
|
ApplySoftwareUpdateRequest.Builder |
addNodeIds(String value)
Nodes to which we should apply the update to.
|
ApplySoftwareUpdateRequest.Builder |
addNodeIdsBytes(com.google.protobuf.ByteString value)
Nodes to which we should apply the update to.
|
ApplySoftwareUpdateRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApplySoftwareUpdateRequest |
build() |
ApplySoftwareUpdateRequest |
buildPartial() |
ApplySoftwareUpdateRequest.Builder |
clear() |
ApplySoftwareUpdateRequest.Builder |
clearApplyAll()
Whether to apply the update to all nodes.
|
ApplySoftwareUpdateRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ApplySoftwareUpdateRequest.Builder |
clearInstance()
Required.
|
ApplySoftwareUpdateRequest.Builder |
clearNodeIds()
Nodes to which we should apply the update to.
|
ApplySoftwareUpdateRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApplySoftwareUpdateRequest.Builder |
clone() |
boolean |
getApplyAll()
Whether to apply the update to all nodes.
|
ApplySoftwareUpdateRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
com.google.protobuf.ProtocolStringList |
getNodeIdsList()
Nodes to which we should apply the update to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ApplySoftwareUpdateRequest.Builder |
mergeFrom(ApplySoftwareUpdateRequest other) |
ApplySoftwareUpdateRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApplySoftwareUpdateRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ApplySoftwareUpdateRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ApplySoftwareUpdateRequest.Builder |
setApplyAll(boolean value)
Whether to apply the update to all nodes.
|
ApplySoftwareUpdateRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApplySoftwareUpdateRequest.Builder |
setInstance(String value)
Required.
|
ApplySoftwareUpdateRequest.Builder |
setInstanceBytes(com.google.protobuf.ByteString value)
Required.
|
ApplySoftwareUpdateRequest.Builder |
setNodeIds(int index,
String value)
Nodes to which we should apply the update to.
|
ApplySoftwareUpdateRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ApplySoftwareUpdateRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ApplySoftwareUpdateRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ApplySoftwareUpdateRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ApplySoftwareUpdateRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder mergeFrom(ApplySoftwareUpdateRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public ApplySoftwareUpdateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApplySoftwareUpdateRequest.Builder>IOExceptionpublic 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) = { ... }
getInstance in interface ApplySoftwareUpdateRequestOrBuilderpublic 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) = { ... }
getInstanceBytes in interface ApplySoftwareUpdateRequestOrBuilderpublic ApplySoftwareUpdateRequest.Builder setInstance(String value)
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) = { ... }
value - The instance to set.public ApplySoftwareUpdateRequest.Builder clearInstance()
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) = { ... }
public ApplySoftwareUpdateRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for instance to set.public com.google.protobuf.ProtocolStringList getNodeIdsList()
Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.
repeated string node_ids = 2;getNodeIdsList in interface ApplySoftwareUpdateRequestOrBuilderpublic 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;getNodeIdsCount in interface ApplySoftwareUpdateRequestOrBuilderpublic 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;getNodeIds in interface ApplySoftwareUpdateRequestOrBuilderindex - The index of the element to return.public 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;getNodeIdsBytes in interface ApplySoftwareUpdateRequestOrBuilderindex - The index of the value to return.public ApplySoftwareUpdateRequest.Builder setNodeIds(int index, String value)
Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.
repeated string node_ids = 2;index - The index to set the value at.value - The nodeIds to set.public ApplySoftwareUpdateRequest.Builder addNodeIds(String value)
Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.
repeated string node_ids = 2;value - The nodeIds to add.public ApplySoftwareUpdateRequest.Builder addAllNodeIds(Iterable<String> values)
Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.
repeated string node_ids = 2;values - The nodeIds to add.public ApplySoftwareUpdateRequest.Builder clearNodeIds()
Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.
repeated string node_ids = 2;public ApplySoftwareUpdateRequest.Builder addNodeIdsBytes(com.google.protobuf.ByteString value)
Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.
repeated string node_ids = 2;value - The bytes of the nodeIds to add.public 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;getApplyAll in interface ApplySoftwareUpdateRequestOrBuilderpublic ApplySoftwareUpdateRequest.Builder setApplyAll(boolean value)
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;value - The applyAll to set.public ApplySoftwareUpdateRequest.Builder clearApplyAll()
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;public final ApplySoftwareUpdateRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>public final ApplySoftwareUpdateRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApplySoftwareUpdateRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.