public static final class ListUsableSubnetworksResponse.Builder extends GeneratedMessageV3.Builder<ListUsableSubnetworksResponse.Builder> implements ListUsableSubnetworksResponseOrBuilder
ListUsableSubnetworksResponse is the response of
ListUsableSubnetworksRequest.
Protobuf type google.container.v1.ListUsableSubnetworksResponse
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
addAllSubnetworks(Iterable<? extends UsableSubnetwork> values)
public ListUsableSubnetworksResponse.Builder addAllSubnetworks(Iterable<? extends UsableSubnetwork> values)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.container.v1.UsableSubnetwork>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListUsableSubnetworksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSubnetworks(UsableSubnetwork value)
public ListUsableSubnetworksResponse.Builder addSubnetworks(UsableSubnetwork value)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
addSubnetworks(UsableSubnetwork.Builder builderForValue)
public ListUsableSubnetworksResponse.Builder addSubnetworks(UsableSubnetwork.Builder builderForValue)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
addSubnetworks(int index, UsableSubnetwork value)
public ListUsableSubnetworksResponse.Builder addSubnetworks(int index, UsableSubnetwork value)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
addSubnetworks(int index, UsableSubnetwork.Builder builderForValue)
public ListUsableSubnetworksResponse.Builder addSubnetworks(int index, UsableSubnetwork.Builder builderForValue)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
addSubnetworksBuilder()
public UsableSubnetwork.Builder addSubnetworksBuilder()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
addSubnetworksBuilder(int index)
public UsableSubnetwork.Builder addSubnetworksBuilder(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListUsableSubnetworksResponse build()
buildPartial()
public ListUsableSubnetworksResponse buildPartial()
clear()
public ListUsableSubnetworksResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListUsableSubnetworksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListUsableSubnetworksResponse.Builder clearNextPageToken()
This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size
, use the
next_page_token
as a value for the query parameter page_token
in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListUsableSubnetworksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubnetworks()
public ListUsableSubnetworksResponse.Builder clearSubnetworks()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
clone()
public ListUsableSubnetworksResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListUsableSubnetworksResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size
, use the
next_page_token
as a value for the query parameter page_token
in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size
, use the
next_page_token
as a value for the query parameter page_token
in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getSubnetworks(int index)
public UsableSubnetwork getSubnetworks(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Parameter |
---|
Name | Description |
index | int
|
getSubnetworksBuilder(int index)
public UsableSubnetwork.Builder getSubnetworksBuilder(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Parameter |
---|
Name | Description |
index | int
|
getSubnetworksBuilderList()
public List<UsableSubnetwork.Builder> getSubnetworksBuilderList()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
getSubnetworksCount()
public int getSubnetworksCount()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Returns |
---|
Type | Description |
int | |
getSubnetworksList()
public List<UsableSubnetwork> getSubnetworksList()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
getSubnetworksOrBuilder(int index)
public UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Parameter |
---|
Name | Description |
index | int
|
getSubnetworksOrBuilderList()
public List<? extends UsableSubnetworkOrBuilder> getSubnetworksOrBuilderList()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Returns |
---|
Type | Description |
List<? extends com.google.container.v1.UsableSubnetworkOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListUsableSubnetworksResponse other)
public ListUsableSubnetworksResponse.Builder mergeFrom(ListUsableSubnetworksResponse other)
public ListUsableSubnetworksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListUsableSubnetworksResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListUsableSubnetworksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSubnetworks(int index)
public ListUsableSubnetworksResponse.Builder removeSubnetworks(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListUsableSubnetworksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListUsableSubnetworksResponse.Builder setNextPageToken(String value)
This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size
, use the
next_page_token
as a value for the query parameter page_token
in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListUsableSubnetworksResponse.Builder setNextPageTokenBytes(ByteString value)
This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size
, use the
next_page_token
as a value for the query parameter page_token
in the
next request. The value will become empty when there are no more 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 ListUsableSubnetworksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubnetworks(int index, UsableSubnetwork value)
public ListUsableSubnetworksResponse.Builder setSubnetworks(int index, UsableSubnetwork value)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
setSubnetworks(int index, UsableSubnetwork.Builder builderForValue)
public ListUsableSubnetworksResponse.Builder setSubnetworks(int index, UsableSubnetwork.Builder builderForValue)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListUsableSubnetworksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides