public static final class ListSubnetsResponse.Builder extends GeneratedMessageV3.Builder<ListSubnetsResponse.Builder> implements ListSubnetsResponseOrBuilder
Response message for VmwareEngine.ListSubnets
Protobuf type google.cloud.vmwareengine.v1.ListSubnetsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllSubnets(Iterable<? extends Subnet> values)
public ListSubnetsResponse.Builder addAllSubnets(Iterable<? extends Subnet> values)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.vmwareengine.v1.Subnet>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSubnetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSubnets(Subnet value)
public ListSubnetsResponse.Builder addSubnets(Subnet value)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter
Returns
addSubnets(Subnet.Builder builderForValue)
public ListSubnetsResponse.Builder addSubnets(Subnet.Builder builderForValue)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter
Returns
addSubnets(int index, Subnet value)
public ListSubnetsResponse.Builder addSubnets(int index, Subnet value)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameters
Returns
addSubnets(int index, Subnet.Builder builderForValue)
public ListSubnetsResponse.Builder addSubnets(int index, Subnet.Builder builderForValue)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameters
Returns
addSubnetsBuilder()
public Subnet.Builder addSubnetsBuilder()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Returns
addSubnetsBuilder(int index)
public Subnet.Builder addSubnetsBuilder(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter
Returns
build()
public ListSubnetsResponse build()
Returns
buildPartial()
public ListSubnetsResponse buildPartial()
Returns
clear()
public ListSubnetsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSubnetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListSubnetsResponse.Builder clearNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSubnetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSubnets()
public ListSubnetsResponse.Builder clearSubnets()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Returns
clone()
public ListSubnetsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSubnetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getSubnets(int index)
public Subnet getSubnets(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter
Returns
getSubnetsBuilder(int index)
public Subnet.Builder getSubnetsBuilder(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter
Returns
getSubnetsBuilderList()
public List<Subnet.Builder> getSubnetsBuilderList()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Returns
getSubnetsCount()
public int getSubnetsCount()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Returns
getSubnetsList()
public List<Subnet> getSubnetsList()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Returns
getSubnetsOrBuilder(int index)
public SubnetOrBuilder getSubnetsOrBuilder(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter
Returns
getSubnetsOrBuilderList()
public List<? extends SubnetOrBuilder> getSubnetsOrBuilderList()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.vmwareengine.v1.SubnetOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListSubnetsResponse other)
public ListSubnetsResponse.Builder mergeFrom(ListSubnetsResponse other)
Parameter
Returns
public ListSubnetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSubnetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSubnetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSubnets(int index)
public ListSubnetsResponse.Builder removeSubnets(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSubnetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListSubnetsResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListSubnetsResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSubnetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSubnets(int index, Subnet value)
public ListSubnetsResponse.Builder setSubnets(int index, Subnet value)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameters
Returns
setSubnets(int index, Subnet.Builder builderForValue)
public ListSubnetsResponse.Builder setSubnets(int index, Subnet.Builder builderForValue)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSubnetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides