Package com.google.cloud.compute.v1
Class RegionInstanceGroupsListInstancesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
- com.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest.Builder
-
- All Implemented Interfaces:
RegionInstanceGroupsListInstancesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RegionInstanceGroupsListInstancesRequest
public static final class RegionInstanceGroupsListInstancesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder> implements RegionInstanceGroupsListInstancesRequestOrBuilder
Protobuf typegoogle.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
clear
public RegionInstanceGroupsListInstancesRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.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.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
getDefaultInstanceForType
public RegionInstanceGroupsListInstancesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegionInstanceGroupsListInstancesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegionInstanceGroupsListInstancesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegionInstanceGroupsListInstancesRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
setField
public RegionInstanceGroupsListInstancesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
clearField
public RegionInstanceGroupsListInstancesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
clearOneof
public RegionInstanceGroupsListInstancesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
setRepeatedField
public RegionInstanceGroupsListInstancesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
addRepeatedField
public RegionInstanceGroupsListInstancesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(RegionInstanceGroupsListInstancesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupsListInstancesRequest.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<RegionInstanceGroupsListInstancesRequest.Builder>- Throws:
IOException
-
hasInstanceState
public boolean hasInstanceState()
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;- Specified by:
hasInstanceStatein interfaceRegionInstanceGroupsListInstancesRequestOrBuilder- Returns:
- Whether the instanceState field is set.
-
getInstanceState
public String getInstanceState()
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;- Specified by:
getInstanceStatein interfaceRegionInstanceGroupsListInstancesRequestOrBuilder- Returns:
- The instanceState.
-
getInstanceStateBytes
public com.google.protobuf.ByteString getInstanceStateBytes()
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;- Specified by:
getInstanceStateBytesin interfaceRegionInstanceGroupsListInstancesRequestOrBuilder- Returns:
- The bytes for instanceState.
-
setInstanceState
public RegionInstanceGroupsListInstancesRequest.Builder setInstanceState(String value)
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;- Parameters:
value- The instanceState to set.- Returns:
- This builder for chaining.
-
clearInstanceState
public RegionInstanceGroupsListInstancesRequest.Builder clearInstanceState()
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;- Returns:
- This builder for chaining.
-
setInstanceStateBytes
public RegionInstanceGroupsListInstancesRequest.Builder setInstanceStateBytes(com.google.protobuf.ByteString value)
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;- Parameters:
value- The bytes for instanceState to set.- Returns:
- This builder for chaining.
-
hasPortName
public boolean hasPortName()
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;- Specified by:
hasPortNamein interfaceRegionInstanceGroupsListInstancesRequestOrBuilder- Returns:
- Whether the portName field is set.
-
getPortName
public String getPortName()
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;- Specified by:
getPortNamein interfaceRegionInstanceGroupsListInstancesRequestOrBuilder- Returns:
- The portName.
-
getPortNameBytes
public com.google.protobuf.ByteString getPortNameBytes()
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;- Specified by:
getPortNameBytesin interfaceRegionInstanceGroupsListInstancesRequestOrBuilder- Returns:
- The bytes for portName.
-
setPortName
public RegionInstanceGroupsListInstancesRequest.Builder setPortName(String value)
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;- Parameters:
value- The portName to set.- Returns:
- This builder for chaining.
-
clearPortName
public RegionInstanceGroupsListInstancesRequest.Builder clearPortName()
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;- Returns:
- This builder for chaining.
-
setPortNameBytes
public RegionInstanceGroupsListInstancesRequest.Builder setPortNameBytes(com.google.protobuf.ByteString value)
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;- Parameters:
value- The bytes for portName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RegionInstanceGroupsListInstancesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
mergeUnknownFields
public final RegionInstanceGroupsListInstancesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
-