Package com.google.container.v1
Class ListUsableSubnetworksRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListUsableSubnetworksRequest.Builder>
com.google.container.v1.ListUsableSubnetworksRequest.Builder
- All Implemented Interfaces:
ListUsableSubnetworksRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListUsableSubnetworksRequest
public static final class ListUsableSubnetworksRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListUsableSubnetworksRequest.Builder>
implements ListUsableSubnetworksRequestOrBuilder
ListUsableSubnetworksRequest requests the list of usable subnetworks available to a user for creating clusters.Protobuf type
google.container.v1.ListUsableSubnetworksRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks.The max number of results per page that should be returned.Specifies a page token to use.The parent project where subnetworks are usable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFiltering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks.com.google.protobuf.ByteStringFiltering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks.intThe max number of results per page that should be returned.Specifies a page token to use.com.google.protobuf.ByteStringSpecifies a page token to use.The parent project where subnetworks are usable.com.google.protobuf.ByteStringThe parent project where subnetworks are usable.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks.setFilterBytes(com.google.protobuf.ByteString value) Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks.setPageSize(int value) The max number of results per page that should be returned.setPageToken(String value) Specifies a page token to use.setPageTokenBytes(com.google.protobuf.ByteString value) Specifies a page token to use.The parent project where subnetworks are usable.setParentBytes(com.google.protobuf.ByteString value) The parent project where subnetworks are usable.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<ListUsableSubnetworksRequest.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<ListUsableSubnetworksRequest.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<ListUsableSubnetworksRequest.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<ListUsableSubnetworksRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListUsableSubnetworksRequest.Builder>
-
mergeFrom
public ListUsableSubnetworksRequest.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<ListUsableSubnetworksRequest.Builder>- Throws:
IOException
-
getParent
The parent project where subnetworks are usable. Specified in the format `projects/*`.
string parent = 1;- Specified by:
getParentin interfaceListUsableSubnetworksRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()The parent project where subnetworks are usable. Specified in the format `projects/*`.
string parent = 1;- Specified by:
getParentBytesin interfaceListUsableSubnetworksRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The parent project where subnetworks are usable. Specified in the format `projects/*`.
string parent = 1;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The parent project where subnetworks are usable. Specified in the format `projects/*`.
string parent = 1;- Returns:
- This builder for chaining.
-
setParentBytes
The parent project where subnetworks are usable. Specified in the format `projects/*`.
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getFilter
Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.
string filter = 2;- Specified by:
getFilterin interfaceListUsableSubnetworksRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.
string filter = 2;- Specified by:
getFilterBytesin interfaceListUsableSubnetworksRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.
string filter = 2;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.
string filter = 2;- Returns:
- This builder for chaining.
-
setFilterBytes
Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.
string filter = 2;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
int32 page_size = 3;- Specified by:
getPageSizein interfaceListUsableSubnetworksRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
int32 page_size = 3;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
int32 page_size = 3;- Returns:
- This builder for chaining.
-
getPageToken
Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.
string page_token = 4;- Specified by:
getPageTokenin interfaceListUsableSubnetworksRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.
string page_token = 4;- Specified by:
getPageTokenBytesin interfaceListUsableSubnetworksRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.
string page_token = 4;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.
string page_token = 4;- Returns:
- This builder for chaining.
-
setPageTokenBytes
Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.
string page_token = 4;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-