public static final class ApplyParametersRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.Builder> implements ApplyParametersRequestOrBuilder
Request for [ApplyParameters][google.cloud.memcache.v1.CloudMemcache.ApplyParameters].Protobuf type
google.cloud.memcache.v1.ApplyParametersRequest| Modifier and Type | Method and Description |
|---|---|
ApplyParametersRequest.Builder |
addAllNodeIds(Iterable<String> values)
Nodes to which the instance-level parameter group is applied.
|
ApplyParametersRequest.Builder |
addNodeIds(String value)
Nodes to which the instance-level parameter group is applied.
|
ApplyParametersRequest.Builder |
addNodeIdsBytes(com.google.protobuf.ByteString value)
Nodes to which the instance-level parameter group is applied.
|
ApplyParametersRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApplyParametersRequest |
build() |
ApplyParametersRequest |
buildPartial() |
ApplyParametersRequest.Builder |
clear() |
ApplyParametersRequest.Builder |
clearApplyAll()
Whether to apply instance-level parameter group to all nodes.
|
ApplyParametersRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ApplyParametersRequest.Builder |
clearName()
Required.
|
ApplyParametersRequest.Builder |
clearNodeIds()
Nodes to which the instance-level parameter group is applied.
|
ApplyParametersRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApplyParametersRequest.Builder |
clone() |
boolean |
getApplyAll()
Whether to apply instance-level parameter group to all nodes.
|
ApplyParametersRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getNodeIds(int index)
Nodes to which the instance-level parameter group is applied.
|
com.google.protobuf.ByteString |
getNodeIdsBytes(int index)
Nodes to which the instance-level parameter group is applied.
|
int |
getNodeIdsCount()
Nodes to which the instance-level parameter group is applied.
|
com.google.protobuf.ProtocolStringList |
getNodeIdsList()
Nodes to which the instance-level parameter group is applied.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ApplyParametersRequest.Builder |
mergeFrom(ApplyParametersRequest other) |
ApplyParametersRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApplyParametersRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ApplyParametersRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ApplyParametersRequest.Builder |
setApplyAll(boolean value)
Whether to apply instance-level parameter group to all nodes.
|
ApplyParametersRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApplyParametersRequest.Builder |
setName(String value)
Required.
|
ApplyParametersRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ApplyParametersRequest.Builder |
setNodeIds(int index,
String value)
Nodes to which the instance-level parameter group is applied.
|
ApplyParametersRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ApplyParametersRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.Builder>public ApplyParametersRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.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<ApplyParametersRequest.Builder>public ApplyParametersRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ApplyParametersRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ApplyParametersRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ApplyParametersRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.Builder>public ApplyParametersRequest.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<ApplyParametersRequest.Builder>public ApplyParametersRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.Builder>public ApplyParametersRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.Builder>public ApplyParametersRequest.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<ApplyParametersRequest.Builder>public ApplyParametersRequest.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<ApplyParametersRequest.Builder>public ApplyParametersRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApplyParametersRequest.Builder>public ApplyParametersRequest.Builder mergeFrom(ApplyParametersRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.Builder>public ApplyParametersRequest.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<ApplyParametersRequest.Builder>IOExceptionpublic String getName()
Required. Resource name of the Memcached instance for which parameter group updates should be applied.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ApplyParametersRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. Resource name of the Memcached instance for which parameter group updates should be applied.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ApplyParametersRequestOrBuilderpublic ApplyParametersRequest.Builder setName(String value)
Required. Resource name of the Memcached instance for which parameter group updates should be applied.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public ApplyParametersRequest.Builder clearName()
Required. Resource name of the Memcached instance for which parameter group updates should be applied.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ApplyParametersRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Resource name of the Memcached instance for which parameter group updates should be applied.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public com.google.protobuf.ProtocolStringList getNodeIdsList()
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;getNodeIdsList in interface ApplyParametersRequestOrBuilderpublic int getNodeIdsCount()
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;getNodeIdsCount in interface ApplyParametersRequestOrBuilderpublic String getNodeIds(int index)
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;getNodeIds in interface ApplyParametersRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNodeIdsBytes(int index)
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;getNodeIdsBytes in interface ApplyParametersRequestOrBuilderindex - The index of the value to return.public ApplyParametersRequest.Builder setNodeIds(int index, String value)
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;index - The index to set the value at.value - The nodeIds to set.public ApplyParametersRequest.Builder addNodeIds(String value)
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;value - The nodeIds to add.public ApplyParametersRequest.Builder addAllNodeIds(Iterable<String> values)
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;values - The nodeIds to add.public ApplyParametersRequest.Builder clearNodeIds()
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;public ApplyParametersRequest.Builder addNodeIdsBytes(com.google.protobuf.ByteString value)
Nodes to which the instance-level parameter group is applied.
repeated string node_ids = 2;value - The bytes of the nodeIds to add.public boolean getApplyAll()
Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and `ApplyParameters` updates all nodes within the instance.
bool apply_all = 3;getApplyAll in interface ApplyParametersRequestOrBuilderpublic ApplyParametersRequest.Builder setApplyAll(boolean value)
Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and `ApplyParameters` updates all nodes within the instance.
bool apply_all = 3;value - The applyAll to set.public ApplyParametersRequest.Builder clearApplyAll()
Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and `ApplyParameters` updates all nodes within the instance.
bool apply_all = 3;public final ApplyParametersRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.Builder>public final ApplyParametersRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyParametersRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.