Package com.google.cloud.compute.v1
Class InstanceGroupsSetNamedPortsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstanceGroupsSetNamedPortsRequest.Builder>
com.google.cloud.compute.v1.InstanceGroupsSetNamedPortsRequest.Builder
- All Implemented Interfaces:
InstanceGroupsSetNamedPortsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceGroupsSetNamedPortsRequest
public static final class InstanceGroupsSetNamedPortsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceGroupsSetNamedPortsRequest.Builder>
implements InstanceGroupsSetNamedPortsRequestOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceGroupsSetNamedPortsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllNamedPorts(Iterable<? extends NamedPort> values) The list of named ports to set for this instance group.addNamedPorts(int index, NamedPort value) The list of named ports to set for this instance group.addNamedPorts(int index, NamedPort.Builder builderForValue) The list of named ports to set for this instance group.addNamedPorts(NamedPort value) The list of named ports to set for this instance group.addNamedPorts(NamedPort.Builder builderForValue) The list of named ports to set for this instance group.The list of named ports to set for this instance group.addNamedPortsBuilder(int index) The list of named ports to set for this instance group.build()clear()The fingerprint of the named ports information for this instance group.The list of named ports to set for this instance group.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe fingerprint of the named ports information for this instance group.com.google.protobuf.ByteStringThe fingerprint of the named ports information for this instance group.getNamedPorts(int index) The list of named ports to set for this instance group.getNamedPortsBuilder(int index) The list of named ports to set for this instance group.The list of named ports to set for this instance group.intThe list of named ports to set for this instance group.The list of named ports to set for this instance group.getNamedPortsOrBuilder(int index) The list of named ports to set for this instance group.List<? extends NamedPortOrBuilder>The list of named ports to set for this instance group.booleanThe fingerprint of the named ports information for this instance group.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeNamedPorts(int index) The list of named ports to set for this instance group.setFingerprint(String value) The fingerprint of the named ports information for this instance group.setFingerprintBytes(com.google.protobuf.ByteString value) The fingerprint of the named ports information for this instance group.setNamedPorts(int index, NamedPort value) The list of named ports to set for this instance group.setNamedPorts(int index, NamedPort.Builder builderForValue) The list of named ports to set for this instance group.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupsSetNamedPortsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupsSetNamedPortsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupsSetNamedPortsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupsSetNamedPortsRequest.Builder>
-
mergeFrom
public InstanceGroupsSetNamedPortsRequest.Builder mergeFrom(InstanceGroupsSetNamedPortsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceGroupsSetNamedPortsRequest.Builder>
-
mergeFrom
public InstanceGroupsSetNamedPortsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceGroupsSetNamedPortsRequest.Builder>- Throws:
IOException
-
hasFingerprint
public boolean hasFingerprint()The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error412 conditionNotMet.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceInstanceGroupsSetNamedPortsRequestOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error412 conditionNotMet.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceInstanceGroupsSetNamedPortsRequestOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error412 conditionNotMet.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceInstanceGroupsSetNamedPortsRequestOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error412 conditionNotMet.
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error412 conditionNotMet.
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
public InstanceGroupsSetNamedPortsRequest.Builder setFingerprintBytes(com.google.protobuf.ByteString value) The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error412 conditionNotMet.
optional string fingerprint = 234678500;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
getNamedPortsList
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsListin interfaceInstanceGroupsSetNamedPortsRequestOrBuilder
-
getNamedPortsCount
public int getNamedPortsCount()The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsCountin interfaceInstanceGroupsSetNamedPortsRequestOrBuilder
-
getNamedPorts
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsin interfaceInstanceGroupsSetNamedPortsRequestOrBuilder
-
setNamedPorts
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
setNamedPorts
public InstanceGroupsSetNamedPortsRequest.Builder setNamedPorts(int index, NamedPort.Builder builderForValue) The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
public InstanceGroupsSetNamedPortsRequest.Builder addNamedPorts(int index, NamedPort.Builder builderForValue) The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addAllNamedPorts
public InstanceGroupsSetNamedPortsRequest.Builder addAllNamedPorts(Iterable<? extends NamedPort> values) The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
clearNamedPorts
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
removeNamedPorts
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsBuilder
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsOrBuilder
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsOrBuilderin interfaceInstanceGroupsSetNamedPortsRequestOrBuilder
-
getNamedPortsOrBuilderList
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsOrBuilderListin interfaceInstanceGroupsSetNamedPortsRequestOrBuilder
-
addNamedPortsBuilder
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPortsBuilder
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsBuilderList
The list of named ports to set for this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-