Package com.google.container.v1
Class ListUsableSubnetworksResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListUsableSubnetworksResponse.Builder>
com.google.container.v1.ListUsableSubnetworksResponse.Builder
- All Implemented Interfaces:
ListUsableSubnetworksResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListUsableSubnetworksResponse
public static final class ListUsableSubnetworksResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListUsableSubnetworksResponse.Builder>
implements ListUsableSubnetworksResponseOrBuilder
ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.Protobuf type
google.container.v1.ListUsableSubnetworksResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllSubnetworks(Iterable<? extends UsableSubnetwork> values) A list of usable subnetworks in the specified network project.addSubnetworks(int index, UsableSubnetwork value) A list of usable subnetworks in the specified network project.addSubnetworks(int index, UsableSubnetwork.Builder builderForValue) A list of usable subnetworks in the specified network project.addSubnetworks(UsableSubnetwork value) A list of usable subnetworks in the specified network project.addSubnetworks(UsableSubnetwork.Builder builderForValue) A list of usable subnetworks in the specified network project.A list of usable subnetworks in the specified network project.addSubnetworksBuilder(int index) A list of usable subnetworks in the specified network project.build()clear()This token allows you to get the next page of results for list requests.A list of usable subnetworks in the specified network project.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThis token allows you to get the next page of results for list requests.com.google.protobuf.ByteStringThis token allows you to get the next page of results for list requests.getSubnetworks(int index) A list of usable subnetworks in the specified network project.getSubnetworksBuilder(int index) A list of usable subnetworks in the specified network project.A list of usable subnetworks in the specified network project.intA list of usable subnetworks in the specified network project.A list of usable subnetworks in the specified network project.getSubnetworksOrBuilder(int index) A list of usable subnetworks in the specified network project.List<? extends UsableSubnetworkOrBuilder>A list of usable subnetworks in the specified network project.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSubnetworks(int index) A list of usable subnetworks in the specified network project.setNextPageToken(String value) This token allows you to get the next page of results for list requests.setNextPageTokenBytes(com.google.protobuf.ByteString value) This token allows you to get the next page of results for list requests.setSubnetworks(int index, UsableSubnetwork value) A list of usable subnetworks in the specified network project.setSubnetworks(int index, UsableSubnetwork.Builder builderForValue) A list of usable subnetworks in the specified network project.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListUsableSubnetworksResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListUsableSubnetworksResponse.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.GeneratedMessage.Builder<ListUsableSubnetworksResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListUsableSubnetworksResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListUsableSubnetworksResponse.Builder>
-
mergeFrom
public ListUsableSubnetworksResponse.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<ListUsableSubnetworksResponse.Builder>- Throws:
IOException
-
getSubnetworksList
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;- Specified by:
getSubnetworksListin interfaceListUsableSubnetworksResponseOrBuilder
-
getSubnetworksCount
public int getSubnetworksCount()A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;- Specified by:
getSubnetworksCountin interfaceListUsableSubnetworksResponseOrBuilder
-
getSubnetworks
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;- Specified by:
getSubnetworksin interfaceListUsableSubnetworksResponseOrBuilder
-
setSubnetworks
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
setSubnetworks
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; -
addSubnetworks
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
addSubnetworks
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
addSubnetworks
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
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; -
addAllSubnetworks
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; -
clearSubnetworks
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
removeSubnetworks
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
getSubnetworksBuilder
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
getSubnetworksOrBuilder
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;- Specified by:
getSubnetworksOrBuilderin interfaceListUsableSubnetworksResponseOrBuilder
-
getSubnetworksOrBuilderList
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;- Specified by:
getSubnetworksOrBuilderListin interfaceListUsableSubnetworksResponseOrBuilder
-
addSubnetworksBuilder
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
addSubnetworksBuilder
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
getSubnetworksBuilderList
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1; -
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;- Specified by:
getNextPageTokenin interfaceListUsableSubnetworksResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListUsableSubnetworksResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListUsableSubnetworksResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-