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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSubnetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSubnets(Subnet value)
public ListSubnetsResponse.Builder addSubnets(Subnet value)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter |
---|
Name | Description |
value | Subnet
|
addSubnets(Subnet.Builder builderForValue)
public ListSubnetsResponse.Builder addSubnets(Subnet.Builder builderForValue)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
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;
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;
addSubnetsBuilder()
public Subnet.Builder addSubnetsBuilder()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
addSubnetsBuilder(int index)
public Subnet.Builder addSubnetsBuilder(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListSubnetsResponse build()
buildPartial()
public ListSubnetsResponse buildPartial()
clear()
public ListSubnetsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSubnetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSubnetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubnets()
public ListSubnetsResponse.Builder clearSubnets()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
clone()
public ListSubnetsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSubnetsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
getSubnetsBuilder(int index)
public Subnet.Builder getSubnetsBuilder(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter |
---|
Name | Description |
index | int
|
getSubnetsBuilderList()
public List<Subnet.Builder> getSubnetsBuilderList()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
getSubnetsCount()
public int getSubnetsCount()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Returns |
---|
Type | Description |
int | |
getSubnetsList()
public List<Subnet> getSubnetsList()
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
getSubnetsOrBuilder(int index)
public SubnetOrBuilder getSubnetsOrBuilder(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSubnetsResponse other)
public ListSubnetsResponse.Builder mergeFrom(ListSubnetsResponse other)
public ListSubnetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSubnetsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSubnetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSubnets(int index)
public ListSubnetsResponse.Builder removeSubnets(int index)
A list of subnets.
repeated .google.cloud.vmwareengine.v1.Subnet subnets = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSubnetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSubnetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSubnetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides