Class ListUsableSubnetworksRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListUsableSubnetworksRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListUsableSubnetworksRequest.Builder>
      • getDefaultInstanceForType

        public ListUsableSubnetworksRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListUsableSubnetworksRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListUsableSubnetworksRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListUsableSubnetworksRequest.Builder>
      • mergeFrom

        public ListUsableSubnetworksRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListUsableSubnetworksRequest.Builder>
        Throws:
        IOException
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         The parent project where subnetworks are usable.
         Specified in the format `projects/*`.
         
        string parent = 1;
        Specified by:
        getParentBytes in interface ListUsableSubnetworksRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListUsableSubnetworksRequest.Builder setParent​(String value)
         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

        public ListUsableSubnetworksRequest.Builder clearParent()
         The parent project where subnetworks are usable.
         Specified in the format `projects/*`.
         
        string parent = 1;
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListUsableSubnetworksRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         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

        public String 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:
        getFilter in interface ListUsableSubnetworksRequestOrBuilder
        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:
        getFilterBytes in interface ListUsableSubnetworksRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListUsableSubnetworksRequest.Builder setFilter​(String 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. This defaults to the
         parent project ID.
         
        string filter = 2;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListUsableSubnetworksRequest.Builder 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

        public ListUsableSubnetworksRequest.Builder 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. 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:
        getPageSize in interface ListUsableSubnetworksRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListUsableSubnetworksRequest.Builder setPageSize​(int value)
         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

        public ListUsableSubnetworksRequest.Builder 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

        public String 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:
        getPageToken in interface ListUsableSubnetworksRequestOrBuilder
        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:
        getPageTokenBytes in interface ListUsableSubnetworksRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListUsableSubnetworksRequest.Builder setPageToken​(String value)
         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

        public ListUsableSubnetworksRequest.Builder 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

        public ListUsableSubnetworksRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         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.