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
google.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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
clear
public RegionInstanceGroupsListInstancesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
getDefaultInstanceForType
public RegionInstanceGroupsListInstancesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegionInstanceGroupsListInstancesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegionInstanceGroupsListInstancesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegionInstanceGroupsListInstancesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
setField
public RegionInstanceGroupsListInstancesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
clearField
public RegionInstanceGroupsListInstancesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
clearOneof
public RegionInstanceGroupsListInstancesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
setRepeatedField
public RegionInstanceGroupsListInstancesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
addRepeatedField
public RegionInstanceGroupsListInstancesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
mergeFrom
public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(RegionInstanceGroupsListInstancesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasInstanceState
in 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:
getInstanceState
in 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:
getInstanceStateBytes
in 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:
hasPortName
in 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:
getPortName
in 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:
getPortNameBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
mergeUnknownFields
public final RegionInstanceGroupsListInstancesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder>
-
-